com.venky.swf.plugins.collab.db.model.CompanySpecificImpl 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;
import com.venky.swf.db.Database;
import com.venky.swf.db.model.Model;
import com.venky.swf.db.table.ModelImpl;
public class CompanySpecificImpl extends ModelImpl{
public CompanySpecificImpl(M proxy) {
super(proxy);
}
public Integer getCompanyCreatorUserId(){
CompanySpecific cs = null ;
if (CompanySpecific.class.isInstance(getProxy())){
cs = (CompanySpecific)getProxy();
}
if (cs != null && !Database.getJdbcTypeHelper().isVoid(cs.getCompanyId())) {
return cs.getCompany().getCreatorUserId();
}
return null; //root
}
}