Package com.liferay.portal.kernel.model
Class CompanyWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Company>
com.liferay.portal.kernel.model.CompanyWrapper
- All Implemented Interfaces:
AuditedModel,BaseModel<Company>,ClassedModel,Company,CompanyModel,ModelWrapper<Company>,MVCCModel,PersistedModel,Serializable,Cloneable,Comparable<Company>
public class CompanyWrapper
extends BaseModelWrapper<Company>
implements Company, ModelWrapper<Company>
This class is a wrapper for Company.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Company
COMPANY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns the active of this company.longReturns the company ID of this company.Returns the create date of this company.Deprecated.getGroup()longReturns the home url of this company.Returns the index name current of this company.Returns the index name next of this company.Returns the industry of this company.getKey()Returns the legal ID of this company.Returns the legal name of this company.Returns the legal type of this company.longReturns the logo ID of this company.intReturns the max users of this company.Returns the modified date of this company.longReturns the mvcc version of this company.getMx()Returns the mx of this company.getName()Returns the name of this company.getPortalURL(long groupId) getPortalURL(long groupId, boolean privateLayout) longReturns the primary key of this company.Returns the sic code of this company.getSize()Returns the size of this company.Returns the ticker symbol of this company.getType()Returns the type of this company.longReturns the user ID of this company.Returns the user name of this company.Returns the user uuid of this company.getWebId()Returns the web ID of this company.booleanhasCompanyMx(String emailAddress) booleanisActive()Returnstrueif this company is active.booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetActive(boolean active) Sets whether this company is active.voidsetCompanyId(long companyId) Sets the company ID of this company.voidsetCreateDate(Date createDate) Sets the create date of this company.voidsetGroupId(long groupId) voidsetHomeURL(String homeURL) Sets the home url of this company.voidsetIndexNameCurrent(String indexNameCurrent) Sets the index name current of this company.voidsetIndexNameNext(String indexNameNext) Sets the index name next of this company.voidsetIndustry(String industry) Sets the industry of this company.voidvoidvoidsetLegalId(String legalId) Sets the legal ID of this company.voidsetLegalName(String legalName) Sets the legal name of this company.voidsetLegalType(String legalType) Sets the legal type of this company.voidsetLogoId(long logoId) Sets the logo ID of this company.voidsetMaxUsers(int maxUsers) Sets the max users of this company.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this company.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this company.voidSets the mx of this company.voidSets the name of this company.voidsetPrimaryKey(long primaryKey) Sets the primary key of this company.voidsetSicCode(String sicCode) Sets the sic code of this company.voidSets the size of this company.voidsetTickerSymbol(String tickerSymbol) Sets the ticker symbol of this company.voidSets the type of this company.voidsetUserId(long userId) Sets the user ID of this company.voidsetUserName(String userName) Sets the user name of this company.voidsetUserUuid(String userUuid) Sets the user uuid of this company.voidsetVirtualHostname(String virtualHostname) voidSets the web ID of this company.protected CompanyWrapperMethods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CompanyWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Company>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Company>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Company>- Specified by:
cloneWithOriginalValuesin interfaceCompanyModel
-
compareTo
- Specified by:
compareToin interfaceCompany- Specified by:
compareToin interfaceComparable<Company>- Overrides:
compareToin classBaseModelWrapper<Company>
-
getActive
public boolean getActive()Returns the active of this company.- Specified by:
getActivein interfaceCompanyModel- Returns:
- the active of this company
-
getAdminName
- Specified by:
getAdminNamein interfaceCompany
-
getAuthType
- Specified by:
getAuthTypein interfaceCompany
-
getCompanyId
public long getCompanyId()Returns the company ID of this company.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceCompanyModel- Returns:
- the company ID of this company
-
getCompanyInfo
- Specified by:
getCompanyInfoin interfaceCompany
-
getCreateDate
Returns the create date of this company.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceCompanyModel- Returns:
- the create date of this company
-
getDefaultUser
Deprecated.As of Cavanaugh (7.4.x), replaced bygetGuestUser()- Specified by:
getDefaultUserin interfaceCompany- Throws:
PortalException
-
getDefaultWebId
- Specified by:
getDefaultWebIdin interfaceCompany
-
getEmailAddress
- Specified by:
getEmailAddressin interfaceCompany
-
getGroup
- Specified by:
getGroupin interfaceCompany- Throws:
PortalException
-
getGroupId
public long getGroupId()- Specified by:
getGroupIdin interfaceCompany
-
getGuestUser
- Specified by:
getGuestUserin interfaceCompany- Throws:
PortalException
-
getHomeURL
Returns the home url of this company.- Specified by:
getHomeURLin interfaceCompanyModel- Returns:
- the home url of this company
-
getIndexNameCurrent
Returns the index name current of this company.- Specified by:
getIndexNameCurrentin interfaceCompanyModel- Returns:
- the index name current of this company
-
getIndexNameNext
Returns the index name next of this company.- Specified by:
getIndexNameNextin interfaceCompanyModel- Returns:
- the index name next of this company
-
getIndustry
Returns the industry of this company.- Specified by:
getIndustryin interfaceCompanyModel- Returns:
- the industry of this company
-
getKey
-
getKeyObj
-
getLegalId
Returns the legal ID of this company.- Specified by:
getLegalIdin interfaceCompanyModel- Returns:
- the legal ID of this company
-
getLegalName
Returns the legal name of this company.- Specified by:
getLegalNamein interfaceCompanyModel- Returns:
- the legal name of this company
-
getLegalType
Returns the legal type of this company.- Specified by:
getLegalTypein interfaceCompanyModel- Returns:
- the legal type of this company
-
getLocale
- Specified by:
getLocalein interfaceCompany- Throws:
PortalException
-
getLogoId
public long getLogoId()Returns the logo ID of this company.- Specified by:
getLogoIdin interfaceCompanyModel- Returns:
- the logo ID of this company
-
getMaxUsers
public int getMaxUsers()Returns the max users of this company.- Specified by:
getMaxUsersin interfaceCompanyModel- Returns:
- the max users of this company
-
getModifiedDate
Returns the modified date of this company.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceCompanyModel- Returns:
- the modified date of this company
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this company.- Specified by:
getMvccVersionin interfaceCompanyModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this company
-
getMx
Returns the mx of this company.- Specified by:
getMxin interfaceCompanyModel- Returns:
- the mx of this company
-
getName
Returns the name of this company.- Specified by:
getNamein interfaceCompanyModel- Returns:
- the name of this company
-
getPortalURL
- Specified by:
getPortalURLin interfaceCompany- Throws:
PortalException
-
getPortalURL
- Specified by:
getPortalURLin interfaceCompany- Throws:
PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this company.- Specified by:
getPrimaryKeyin interfaceCompanyModel- Returns:
- the primary key of this company
-
getShortName
- Specified by:
getShortNamein interfaceCompany- Throws:
PortalException
-
getSicCode
Returns the sic code of this company.- Specified by:
getSicCodein interfaceCompanyModel- Returns:
- the sic code of this company
-
getSize
Returns the size of this company.- Specified by:
getSizein interfaceCompanyModel- Returns:
- the size of this company
-
getTickerSymbol
Returns the ticker symbol of this company.- Specified by:
getTickerSymbolin interfaceCompanyModel- Returns:
- the ticker symbol of this company
-
getTimeZone
- Specified by:
getTimeZonein interfaceCompany- Throws:
PortalException
-
getType
Returns the type of this company.- Specified by:
getTypein interfaceCompanyModel- Returns:
- the type of this company
-
getUserId
public long getUserId()Returns the user ID of this company.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceCompanyModel- Returns:
- the user ID of this company
-
getUserName
Returns the user name of this company.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceCompanyModel- Returns:
- the user name of this company
-
getUserUuid
Returns the user uuid of this company.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceCompanyModel- Returns:
- the user uuid of this company
-
getVirtualHostname
- Specified by:
getVirtualHostnamein interfaceCompany
-
getWebId
Returns the web ID of this company.- Specified by:
getWebIdin interfaceCompanyModel- Returns:
- the web ID of this company
-
hasCompanyMx
- Specified by:
hasCompanyMxin interfaceCompany
-
isActive
public boolean isActive()Returnstrueif this company is active.- Specified by:
isActivein interfaceCompanyModel- Returns:
trueif this company is active;falseotherwise
-
isAutoLogin
public boolean isAutoLogin()- Specified by:
isAutoLoginin interfaceCompany
-
isSendPasswordResetLink
public boolean isSendPasswordResetLink()- Specified by:
isSendPasswordResetLinkin interfaceCompany
-
isSiteLogo
public boolean isSiteLogo()- Specified by:
isSiteLogoin interfaceCompany
-
isStrangers
public boolean isStrangers()- Specified by:
isStrangersin interfaceCompany
-
isStrangersVerify
public boolean isStrangersVerify()- Specified by:
isStrangersVerifyin interfaceCompany
-
isStrangersWithMx
public boolean isStrangersWithMx()- Specified by:
isStrangersWithMxin interfaceCompany
-
isUpdatePasswordRequired
public boolean isUpdatePasswordRequired()- Specified by:
isUpdatePasswordRequiredin interfaceCompany
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setActive
public void setActive(boolean active) Sets whether this company is active.- Specified by:
setActivein interfaceCompanyModel- Parameters:
active- the active of this company
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this company.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceCompanyModel- Parameters:
companyId- the company ID of this company
-
setCreateDate
Sets the create date of this company.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceCompanyModel- Parameters:
createDate- the create date of this company
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupIdin interfaceCompany
-
setHomeURL
Sets the home url of this company.- Specified by:
setHomeURLin interfaceCompanyModel- Parameters:
homeURL- the home url of this company
-
setIndexNameCurrent
Sets the index name current of this company.- Specified by:
setIndexNameCurrentin interfaceCompanyModel- Parameters:
indexNameCurrent- the index name current of this company
-
setIndexNameNext
Sets the index name next of this company.- Specified by:
setIndexNameNextin interfaceCompanyModel- Parameters:
indexNameNext- the index name next of this company
-
setIndustry
Sets the industry of this company.- Specified by:
setIndustryin interfaceCompanyModel- Parameters:
industry- the industry of this company
-
setKey
-
setKeyObj
-
setLegalId
Sets the legal ID of this company.- Specified by:
setLegalIdin interfaceCompanyModel- Parameters:
legalId- the legal ID of this company
-
setLegalName
Sets the legal name of this company.- Specified by:
setLegalNamein interfaceCompanyModel- Parameters:
legalName- the legal name of this company
-
setLegalType
Sets the legal type of this company.- Specified by:
setLegalTypein interfaceCompanyModel- Parameters:
legalType- the legal type of this company
-
setLogoId
public void setLogoId(long logoId) Sets the logo ID of this company.- Specified by:
setLogoIdin interfaceCompanyModel- Parameters:
logoId- the logo ID of this company
-
setMaxUsers
public void setMaxUsers(int maxUsers) Sets the max users of this company.- Specified by:
setMaxUsersin interfaceCompanyModel- Parameters:
maxUsers- the max users of this company
-
setModifiedDate
Sets the modified date of this company.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceCompanyModel- Parameters:
modifiedDate- the modified date of this company
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this company.- Specified by:
setMvccVersionin interfaceCompanyModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this company
-
setMx
Sets the mx of this company.- Specified by:
setMxin interfaceCompanyModel- Parameters:
mx- the mx of this company
-
setName
Sets the name of this company.- Specified by:
setNamein interfaceCompanyModel- Parameters:
name- the name of this company
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this company.- Specified by:
setPrimaryKeyin interfaceCompanyModel- Parameters:
primaryKey- the primary key of this company
-
setSicCode
Sets the sic code of this company.- Specified by:
setSicCodein interfaceCompanyModel- Parameters:
sicCode- the sic code of this company
-
setSize
Sets the size of this company.- Specified by:
setSizein interfaceCompanyModel- Parameters:
size- the size of this company
-
setTickerSymbol
Sets the ticker symbol of this company.- Specified by:
setTickerSymbolin interfaceCompanyModel- Parameters:
tickerSymbol- the ticker symbol of this company
-
setType
Sets the type of this company.- Specified by:
setTypein interfaceCompanyModel- Parameters:
type- the type of this company
-
setUserId
public void setUserId(long userId) Sets the user ID of this company.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceCompanyModel- Parameters:
userId- the user ID of this company
-
setUserName
Sets the user name of this company.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceCompanyModel- Parameters:
userName- the user name of this company
-
setUserUuid
Sets the user uuid of this company.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceCompanyModel- Parameters:
userUuid- the user uuid of this company
-
setVirtualHostname
- Specified by:
setVirtualHostnamein interfaceCompany
-
setWebId
Sets the web ID of this company.- Specified by:
setWebIdin interfaceCompanyModel- Parameters:
webId- the web ID of this company
-
toXmlString
- Specified by:
toXmlStringin interfaceCompanyModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Company>
-
getGuestUser()