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

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

There is a newer version: 2.12
Show newest version
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
	}
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy