public class CompanyWrapper extends BaseModelWrapper<Company> implements Company, ModelWrapper<Company>
This class is a wrapper for Company.
Company,
Serialized FormmodelCOMPANY_ID_ACCESSOR| Constructor and Description |
|---|
CompanyWrapper(Company company) |
| Modifier and Type | Method and Description |
|---|---|
Company |
cloneWithOriginalValues() |
int |
compareTo(Company company) |
boolean |
getActive()
Returns the active of this company.
|
String |
getAdminName() |
String |
getAuthType() |
long |
getCompanyId()
Returns the company ID of this company.
|
CompanyInfo |
getCompanyInfo() |
Date |
getCreateDate()
Returns the create date of this company.
|
User |
getDefaultUser() |
String |
getDefaultWebId() |
String |
getEmailAddress() |
Group |
getGroup() |
long |
getGroupId() |
String |
getHomeURL()
Returns the home url of this company.
|
String |
getIndustry()
Returns the industry of this company.
|
String |
getKey() |
Key |
getKeyObj() |
String |
getLegalId()
Returns the legal ID of this company.
|
String |
getLegalName()
Returns the legal name of this company.
|
String |
getLegalType()
Returns the legal type of this company.
|
Locale |
getLocale() |
long |
getLogoId()
Returns the logo ID of this company.
|
int |
getMaxUsers()
Returns the max users of this company.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this company.
|
long |
getMvccVersion()
Returns the mvcc version of this company.
|
String |
getMx()
Returns the mx of this company.
|
String |
getName()
Returns the name of this company.
|
String |
getPortalURL(long groupId) |
String |
getPortalURL(long groupId,
boolean privateLayout) |
long |
getPrimaryKey()
Returns the primary key of this company.
|
String |
getShortName() |
String |
getSicCode()
Returns the sic code of this company.
|
String |
getSize()
Returns the size of this company.
|
boolean |
getSystem()
Returns the system of this company.
|
String |
getTickerSymbol()
Returns the ticker symbol of this company.
|
TimeZone |
getTimeZone() |
String |
getType()
Returns the type of this company.
|
long |
getUserId()
Returns the user ID of this company.
|
String |
getUserName()
Returns the user name of this company.
|
String |
getUserUuid()
Returns the user uuid of this company.
|
String |
getVirtualHostname() |
String |
getWebId()
Returns the web ID of this company.
|
boolean |
hasCompanyMx(String emailAddress) |
boolean |
isActive()
Returns
true if this company is active. |
boolean |
isAutoLogin() |
boolean |
isSendPasswordResetLink() |
boolean |
isSiteLogo() |
boolean |
isStrangers() |
boolean |
isStrangersVerify() |
boolean |
isStrangersWithMx() |
boolean |
isSystem()
Returns
true if this company is system. |
boolean |
isUpdatePasswordRequired() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActive(boolean active)
Sets whether this company is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this company.
|
void |
setCreateDate(Date createDate)
Sets the create date of this company.
|
void |
setHomeURL(String homeURL)
Sets the home url of this company.
|
void |
setIndustry(String industry)
Sets the industry of this company.
|
void |
setKey(String key) |
void |
setKeyObj(Key keyObj) |
void |
setLegalId(String legalId)
Sets the legal ID of this company.
|
void |
setLegalName(String legalName)
Sets the legal name of this company.
|
void |
setLegalType(String legalType)
Sets the legal type of this company.
|
void |
setLogoId(long logoId)
Sets the logo ID of this company.
|
void |
setMaxUsers(int maxUsers)
Sets the max users of this company.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this company.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this company.
|
void |
setMx(String mx)
Sets the mx of this company.
|
void |
setName(String name)
Sets the name of this company.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this company.
|
void |
setSicCode(String sicCode)
Sets the sic code of this company.
|
void |
setSize(String size)
Sets the size of this company.
|
void |
setSystem(boolean system)
Sets whether this company is system.
|
void |
setTickerSymbol(String tickerSymbol)
Sets the ticker symbol of this company.
|
void |
setType(String type)
Sets the type of this company.
|
void |
setUserId(long userId)
Sets the user ID of this company.
|
void |
setUserName(String userName)
Sets the user name of this company.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this company.
|
void |
setVirtualHostname(String virtualHostname) |
void |
setWebId(String webId)
Sets the web ID of this company.
|
protected CompanyWrapper |
wrap(Company company) |
clone, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic CompanyWrapper(Company company)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Company>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Company>public Company cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Company>cloneWithOriginalValues in interface CompanyModelpublic int compareTo(Company company)
public boolean getActive()
getActive in interface CompanyModelpublic String getAdminName()
getAdminName in interface Companypublic String getAuthType()
getAuthType in interface Companypublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface CompanyModelpublic CompanyInfo getCompanyInfo()
getCompanyInfo in interface Companypublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface CompanyModelpublic User getDefaultUser() throws PortalException
getDefaultUser in interface CompanyPortalExceptionpublic String getDefaultWebId()
getDefaultWebId in interface Companypublic String getEmailAddress()
getEmailAddress in interface Companypublic Group getGroup() throws PortalException
getGroup in interface CompanyPortalExceptionpublic long getGroupId()
throws PortalException
getGroupId in interface CompanyPortalExceptionpublic String getHomeURL()
getHomeURL in interface CompanyModelpublic String getIndustry()
getIndustry in interface CompanyModelpublic String getLegalId()
getLegalId in interface CompanyModelpublic String getLegalName()
getLegalName in interface CompanyModelpublic String getLegalType()
getLegalType in interface CompanyModelpublic Locale getLocale()
throws PortalException
getLocale in interface CompanyPortalExceptionpublic long getLogoId()
getLogoId in interface CompanyModelpublic int getMaxUsers()
getMaxUsers in interface CompanyModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface CompanyModelpublic long getMvccVersion()
getMvccVersion in interface CompanyModelgetMvccVersion in interface MVCCModelpublic String getMx()
getMx in interface CompanyModelpublic String getName()
getName in interface CompanyModelpublic String getPortalURL(long groupId)
throws PortalException
getPortalURL in interface CompanyPortalExceptionpublic String getPortalURL(long groupId,
boolean privateLayout)
throws PortalException
getPortalURL in interface CompanyPortalExceptionpublic long getPrimaryKey()
getPrimaryKey in interface CompanyModelpublic String getShortName()
throws PortalException
getShortName in interface CompanyPortalExceptionpublic String getSicCode()
getSicCode in interface CompanyModelpublic String getSize()
getSize in interface CompanyModelpublic boolean getSystem()
getSystem in interface CompanyModelpublic String getTickerSymbol()
getTickerSymbol in interface CompanyModelpublic TimeZone getTimeZone()
throws PortalException
getTimeZone in interface CompanyPortalExceptionpublic String getType()
getType in interface CompanyModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface CompanyModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface CompanyModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface CompanyModelpublic String getVirtualHostname()
getVirtualHostname in interface Companypublic String getWebId()
getWebId in interface CompanyModelpublic boolean hasCompanyMx(String emailAddress)
hasCompanyMx in interface Companypublic boolean isActive()
true if this company is active.isActive in interface CompanyModeltrue if this company is active; false otherwisepublic boolean isAutoLogin()
isAutoLogin in interface Companypublic boolean isSendPasswordResetLink()
isSendPasswordResetLink in interface Companypublic boolean isSiteLogo()
isSiteLogo in interface Companypublic boolean isStrangers()
isStrangers in interface Companypublic boolean isStrangersVerify()
isStrangersVerify in interface Companypublic boolean isStrangersWithMx()
isStrangersWithMx in interface Companypublic boolean isSystem()
true if this company is system.isSystem in interface CompanyModeltrue if this company is system; false otherwisepublic boolean isUpdatePasswordRequired()
isUpdatePasswordRequired in interface Companypublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActive(boolean active)
setActive in interface CompanyModelactive - the active of this companypublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface CompanyModelcompanyId - the company ID of this companypublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface CompanyModelcreateDate - the create date of this companypublic void setHomeURL(String homeURL)
setHomeURL in interface CompanyModelhomeURL - the home url of this companypublic void setIndustry(String industry)
setIndustry in interface CompanyModelindustry - the industry of this companypublic void setLegalId(String legalId)
setLegalId in interface CompanyModellegalId - the legal ID of this companypublic void setLegalName(String legalName)
setLegalName in interface CompanyModellegalName - the legal name of this companypublic void setLegalType(String legalType)
setLegalType in interface CompanyModellegalType - the legal type of this companypublic void setLogoId(long logoId)
setLogoId in interface CompanyModellogoId - the logo ID of this companypublic void setMaxUsers(int maxUsers)
setMaxUsers in interface CompanyModelmaxUsers - the max users of this companypublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface CompanyModelmodifiedDate - the modified date of this companypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CompanyModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this companypublic void setMx(String mx)
setMx in interface CompanyModelmx - the mx of this companypublic void setName(String name)
setName in interface CompanyModelname - the name of this companypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CompanyModelprimaryKey - the primary key of this companypublic void setSicCode(String sicCode)
setSicCode in interface CompanyModelsicCode - the sic code of this companypublic void setSize(String size)
setSize in interface CompanyModelsize - the size of this companypublic void setSystem(boolean system)
setSystem in interface CompanyModelsystem - the system of this companypublic void setTickerSymbol(String tickerSymbol)
setTickerSymbol in interface CompanyModeltickerSymbol - the ticker symbol of this companypublic void setType(String type)
setType in interface CompanyModeltype - the type of this companypublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface CompanyModeluserId - the user ID of this companypublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface CompanyModeluserName - the user name of this companypublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface CompanyModeluserUuid - the user uuid of this companypublic void setVirtualHostname(String virtualHostname)
setVirtualHostname in interface Companypublic void setWebId(String webId)
setWebId in interface CompanyModelwebId - the web ID of this companyprotected CompanyWrapper wrap(Company company)
wrap in class BaseModelWrapper<Company>