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
model
Fields inherited from interface com.liferay.portal.kernel.model.Company
COMPANY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Returns the active of this company.long
Returns the company ID of this company.Returns the create date of this company.Deprecated.getGroup()
long
Returns 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.long
Returns the logo ID of this company.int
Returns the max users of this company.Returns the modified date of this company.long
Returns 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) long
Returns 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.long
Returns 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.boolean
hasCompanyMx
(String emailAddress) boolean
isActive()
Returnstrue
if this company is active.boolean
boolean
boolean
boolean
boolean
boolean
boolean
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
setGroupId
(long groupId) void
setHomeURL
(String homeURL) Sets the home url of this company.void
setIndexNameCurrent
(String indexNameCurrent) Sets the index name current of this company.void
setIndexNameNext
(String indexNameNext) Sets the index name next of this company.void
setIndustry
(String industry) Sets the industry of this company.void
void
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
Sets the mx of this company.void
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
Sets the size of this company.void
setTickerSymbol
(String tickerSymbol) Sets the ticker symbol of this company.void
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
Sets the web ID of this company.protected CompanyWrapper
Methods 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CompanyWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Company>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Company>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Company>
- Specified by:
cloneWithOriginalValues
in interfaceCompanyModel
-
compareTo
- Specified by:
compareTo
in interfaceCompany
- Specified by:
compareTo
in interfaceComparable<Company>
- Overrides:
compareTo
in classBaseModelWrapper<Company>
-
getActive
public boolean getActive()Returns the active of this company.- Specified by:
getActive
in interfaceCompanyModel
- Returns:
- the active of this company
-
getAdminName
- Specified by:
getAdminName
in interfaceCompany
-
getAuthType
- Specified by:
getAuthType
in interfaceCompany
-
getCompanyId
public long getCompanyId()Returns the company ID of this company.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceCompanyModel
- Returns:
- the company ID of this company
-
getCompanyInfo
- Specified by:
getCompanyInfo
in interfaceCompany
-
getCreateDate
Returns the create date of this company.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceCompanyModel
- Returns:
- the create date of this company
-
getDefaultUser
Deprecated.As of Cavanaugh (7.4.x), replaced bygetGuestUser()
- Specified by:
getDefaultUser
in interfaceCompany
- Throws:
PortalException
-
getDefaultWebId
- Specified by:
getDefaultWebId
in interfaceCompany
-
getEmailAddress
- Specified by:
getEmailAddress
in interfaceCompany
-
getGroup
- Specified by:
getGroup
in interfaceCompany
- Throws:
PortalException
-
getGroupId
public long getGroupId()- Specified by:
getGroupId
in interfaceCompany
-
getGuestUser
- Specified by:
getGuestUser
in interfaceCompany
- Throws:
PortalException
-
getHomeURL
Returns the home url of this company.- Specified by:
getHomeURL
in interfaceCompanyModel
- Returns:
- the home url of this company
-
getIndexNameCurrent
Returns the index name current of this company.- Specified by:
getIndexNameCurrent
in interfaceCompanyModel
- Returns:
- the index name current of this company
-
getIndexNameNext
Returns the index name next of this company.- Specified by:
getIndexNameNext
in interfaceCompanyModel
- Returns:
- the index name next of this company
-
getIndustry
Returns the industry of this company.- Specified by:
getIndustry
in interfaceCompanyModel
- Returns:
- the industry of this company
-
getKey
-
getKeyObj
-
getLegalId
Returns the legal ID of this company.- Specified by:
getLegalId
in interfaceCompanyModel
- Returns:
- the legal ID of this company
-
getLegalName
Returns the legal name of this company.- Specified by:
getLegalName
in interfaceCompanyModel
- Returns:
- the legal name of this company
-
getLegalType
Returns the legal type of this company.- Specified by:
getLegalType
in interfaceCompanyModel
- Returns:
- the legal type of this company
-
getLocale
- Specified by:
getLocale
in interfaceCompany
- Throws:
PortalException
-
getLogoId
public long getLogoId()Returns the logo ID of this company.- Specified by:
getLogoId
in interfaceCompanyModel
- Returns:
- the logo ID of this company
-
getMaxUsers
public int getMaxUsers()Returns the max users of this company.- Specified by:
getMaxUsers
in interfaceCompanyModel
- Returns:
- the max users of this company
-
getModifiedDate
Returns the modified date of this company.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceCompanyModel
- Returns:
- the modified date of this company
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this company.- Specified by:
getMvccVersion
in interfaceCompanyModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this company
-
getMx
Returns the mx of this company.- Specified by:
getMx
in interfaceCompanyModel
- Returns:
- the mx of this company
-
getName
Returns the name of this company.- Specified by:
getName
in interfaceCompanyModel
- Returns:
- the name of this company
-
getPortalURL
- Specified by:
getPortalURL
in interfaceCompany
- Throws:
PortalException
-
getPortalURL
- Specified by:
getPortalURL
in interfaceCompany
- Throws:
PortalException
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this company.- Specified by:
getPrimaryKey
in interfaceCompanyModel
- Returns:
- the primary key of this company
-
getShortName
- Specified by:
getShortName
in interfaceCompany
- Throws:
PortalException
-
getSicCode
Returns the sic code of this company.- Specified by:
getSicCode
in interfaceCompanyModel
- Returns:
- the sic code of this company
-
getSize
Returns the size of this company.- Specified by:
getSize
in interfaceCompanyModel
- Returns:
- the size of this company
-
getTickerSymbol
Returns the ticker symbol of this company.- Specified by:
getTickerSymbol
in interfaceCompanyModel
- Returns:
- the ticker symbol of this company
-
getTimeZone
- Specified by:
getTimeZone
in interfaceCompany
- Throws:
PortalException
-
getType
Returns the type of this company.- Specified by:
getType
in interfaceCompanyModel
- Returns:
- the type of this company
-
getUserId
public long getUserId()Returns the user ID of this company.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceCompanyModel
- Returns:
- the user ID of this company
-
getUserName
Returns the user name of this company.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceCompanyModel
- Returns:
- the user name of this company
-
getUserUuid
Returns the user uuid of this company.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceCompanyModel
- Returns:
- the user uuid of this company
-
getVirtualHostname
- Specified by:
getVirtualHostname
in interfaceCompany
-
getWebId
Returns the web ID of this company.- Specified by:
getWebId
in interfaceCompanyModel
- Returns:
- the web ID of this company
-
hasCompanyMx
- Specified by:
hasCompanyMx
in interfaceCompany
-
isActive
public boolean isActive()Returnstrue
if this company is active.- Specified by:
isActive
in interfaceCompanyModel
- Returns:
true
if this company is active;false
otherwise
-
isAutoLogin
public boolean isAutoLogin()- Specified by:
isAutoLogin
in interfaceCompany
-
isSendPasswordResetLink
public boolean isSendPasswordResetLink()- Specified by:
isSendPasswordResetLink
in interfaceCompany
-
isSiteLogo
public boolean isSiteLogo()- Specified by:
isSiteLogo
in interfaceCompany
-
isStrangers
public boolean isStrangers()- Specified by:
isStrangers
in interfaceCompany
-
isStrangersVerify
public boolean isStrangersVerify()- Specified by:
isStrangersVerify
in interfaceCompany
-
isStrangersWithMx
public boolean isStrangersWithMx()- Specified by:
isStrangersWithMx
in interfaceCompany
-
isUpdatePasswordRequired
public boolean isUpdatePasswordRequired()- Specified by:
isUpdatePasswordRequired
in interfaceCompany
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setActive
public void setActive(boolean active) Sets whether this company is active.- Specified by:
setActive
in interfaceCompanyModel
- Parameters:
active
- the active of this company
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this company.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceCompanyModel
- Parameters:
companyId
- the company ID of this company
-
setCreateDate
Sets the create date of this company.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceCompanyModel
- Parameters:
createDate
- the create date of this company
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupId
in interfaceCompany
-
setHomeURL
Sets the home url of this company.- Specified by:
setHomeURL
in interfaceCompanyModel
- Parameters:
homeURL
- the home url of this company
-
setIndexNameCurrent
Sets the index name current of this company.- Specified by:
setIndexNameCurrent
in interfaceCompanyModel
- Parameters:
indexNameCurrent
- the index name current of this company
-
setIndexNameNext
Sets the index name next of this company.- Specified by:
setIndexNameNext
in interfaceCompanyModel
- Parameters:
indexNameNext
- the index name next of this company
-
setIndustry
Sets the industry of this company.- Specified by:
setIndustry
in interfaceCompanyModel
- Parameters:
industry
- the industry of this company
-
setKey
-
setKeyObj
-
setLegalId
Sets the legal ID of this company.- Specified by:
setLegalId
in interfaceCompanyModel
- Parameters:
legalId
- the legal ID of this company
-
setLegalName
Sets the legal name of this company.- Specified by:
setLegalName
in interfaceCompanyModel
- Parameters:
legalName
- the legal name of this company
-
setLegalType
Sets the legal type of this company.- Specified by:
setLegalType
in interfaceCompanyModel
- Parameters:
legalType
- the legal type of this company
-
setLogoId
public void setLogoId(long logoId) Sets the logo ID of this company.- Specified by:
setLogoId
in interfaceCompanyModel
- Parameters:
logoId
- the logo ID of this company
-
setMaxUsers
public void setMaxUsers(int maxUsers) Sets the max users of this company.- Specified by:
setMaxUsers
in interfaceCompanyModel
- Parameters:
maxUsers
- the max users of this company
-
setModifiedDate
Sets the modified date of this company.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceCompanyModel
- Parameters:
modifiedDate
- the modified date of this company
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this company.- Specified by:
setMvccVersion
in interfaceCompanyModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this company
-
setMx
Sets the mx of this company.- Specified by:
setMx
in interfaceCompanyModel
- Parameters:
mx
- the mx of this company
-
setName
Sets the name of this company.- Specified by:
setName
in interfaceCompanyModel
- Parameters:
name
- the name of this company
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this company.- Specified by:
setPrimaryKey
in interfaceCompanyModel
- Parameters:
primaryKey
- the primary key of this company
-
setSicCode
Sets the sic code of this company.- Specified by:
setSicCode
in interfaceCompanyModel
- Parameters:
sicCode
- the sic code of this company
-
setSize
Sets the size of this company.- Specified by:
setSize
in interfaceCompanyModel
- Parameters:
size
- the size of this company
-
setTickerSymbol
Sets the ticker symbol of this company.- Specified by:
setTickerSymbol
in interfaceCompanyModel
- Parameters:
tickerSymbol
- the ticker symbol of this company
-
setType
Sets the type of this company.- Specified by:
setType
in interfaceCompanyModel
- Parameters:
type
- the type of this company
-
setUserId
public void setUserId(long userId) Sets the user ID of this company.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceCompanyModel
- Parameters:
userId
- the user ID of this company
-
setUserName
Sets the user name of this company.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceCompanyModel
- Parameters:
userName
- the user name of this company
-
setUserUuid
Sets the user uuid of this company.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceCompanyModel
- Parameters:
userUuid
- the user uuid of this company
-
setVirtualHostname
- Specified by:
setVirtualHostname
in interfaceCompany
-
setWebId
Sets the web ID of this company.- Specified by:
setWebId
in interfaceCompanyModel
- Parameters:
webId
- the web ID of this company
-
toXmlString
- Specified by:
toXmlString
in interfaceCompanyModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Company>
-
getGuestUser()