com.venky.swf.plugins.collab.db.model.user.UserEmailImpl 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 UserEmailImpl extends CompanySpecificImpl {
public UserEmailImpl(UserEmail proxy) {
super(proxy);
}
public Integer getCompanyId(){
UserEmail 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){
}
}