com.venky.swf.plugins.collab.db.model.user.UserRoleImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swf-plugin-collab Show documentation
Show all versions of swf-plugin-collab Show documentation
Succinct Web Framework - Plugin collaboration
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){
}
}