All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.venky.swf.plugins.collab.db.model.user.UserRoleImpl Maven / Gradle / Ivy

There is a newer version: 2.12
Show newest version
package com.venky.swf.plugins.collab.db.model.user;

import com.venky.swf.db.Database;
import com.venky.swf.plugins.collab.db.model.CompanySpecificImpl;

public class UserRoleImpl extends CompanySpecificImpl {

	public UserRoleImpl(UserRole proxy) {
		super(proxy);
	}
	
	public Integer getCompanyId(){
		UserRole ur = getProxy();
		if (!Database.getJdbcTypeHelper().isVoid(ur.getUserId())){
			User u = (User)ur.getUser();
			if (u != null) {
				return u.getCompanyId();
			}
		}
		return null;
	}
	public void setCompanyId(Integer id){
		
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy