Package com.liferay.portal.kernel.model
Interface CompanyModel
- All Superinterfaces:
AuditedModel
,BaseModel<Company>
,ClassedModel
,Cloneable
,Comparable<Company>
,MVCCModel
,Serializable
- All Known Subinterfaces:
Company
- All Known Implementing Classes:
CompanyWrapper
The base model interface for the Company service. Represents a row in the "Company" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.CompanyModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.CompanyImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this company.long
Returns the company ID of this company.Returns the create date of this company.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.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.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
isActive()
Returnstrue
if this company is active.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
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
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
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
Sets the web ID of this company.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this company.- Returns:
- the primary key of this company
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this company.- Parameters:
primaryKey
- the primary key of this company
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this company.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this company
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this company.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this company
-
getCompanyId
long getCompanyId()Returns the company ID of this company.- Specified by:
getCompanyId
in interfaceAuditedModel
- Returns:
- the company ID of this company
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this company.- Specified by:
setCompanyId
in interfaceAuditedModel
- Parameters:
companyId
- the company ID of this company
-
getUserId
long getUserId()Returns the user ID of this company.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this company
-
setUserId
void setUserId(long userId) Sets the user ID of this company.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this company
-
getUserUuid
String getUserUuid()Returns the user uuid of this company.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this company
-
setUserUuid
Sets the user uuid of this company.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this company
-
getUserName
Returns the user name of this company.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this company
-
setUserName
Sets the user name of this company.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this company
-
getCreateDate
Date getCreateDate()Returns the create date of this company.- Specified by:
getCreateDate
in interfaceAuditedModel
- Returns:
- the create date of this company
-
setCreateDate
Sets the create date of this company.- Specified by:
setCreateDate
in interfaceAuditedModel
- Parameters:
createDate
- the create date of this company
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this company.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Returns:
- the modified date of this company
-
setModifiedDate
Sets the modified date of this company.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Parameters:
modifiedDate
- the modified date of this company
-
getWebId
Returns the web ID of this company.- Returns:
- the web ID of this company
-
setWebId
Sets the web ID of this company.- Parameters:
webId
- the web ID of this company
-
getMx
Returns the mx of this company.- Returns:
- the mx of this company
-
setMx
Sets the mx of this company.- Parameters:
mx
- the mx of this company
-
getHomeURL
Returns the home url of this company.- Returns:
- the home url of this company
-
setHomeURL
Sets the home url of this company.- Parameters:
homeURL
- the home url of this company
-
getLogoId
long getLogoId()Returns the logo ID of this company.- Returns:
- the logo ID of this company
-
setLogoId
void setLogoId(long logoId) Sets the logo ID of this company.- Parameters:
logoId
- the logo ID of this company
-
getMaxUsers
int getMaxUsers()Returns the max users of this company.- Returns:
- the max users of this company
-
setMaxUsers
void setMaxUsers(int maxUsers) Sets the max users of this company.- Parameters:
maxUsers
- the max users of this company
-
getActive
boolean getActive()Returns the active of this company.- Returns:
- the active of this company
-
isActive
boolean isActive()Returnstrue
if this company is active.- Returns:
true
if this company is active;false
otherwise
-
setActive
void setActive(boolean active) Sets whether this company is active.- Parameters:
active
- the active of this company
-
getName
Returns the name of this company.- Returns:
- the name of this company
-
setName
Sets the name of this company.- Parameters:
name
- the name of this company
-
getLegalName
Returns the legal name of this company.- Returns:
- the legal name of this company
-
setLegalName
Sets the legal name of this company.- Parameters:
legalName
- the legal name of this company
-
getLegalId
Returns the legal ID of this company.- Returns:
- the legal ID of this company
-
setLegalId
Sets the legal ID of this company.- Parameters:
legalId
- the legal ID of this company
-
getLegalType
Returns the legal type of this company.- Returns:
- the legal type of this company
-
setLegalType
Sets the legal type of this company.- Parameters:
legalType
- the legal type of this company
-
getSicCode
Returns the sic code of this company.- Returns:
- the sic code of this company
-
setSicCode
Sets the sic code of this company.- Parameters:
sicCode
- the sic code of this company
-
getTickerSymbol
Returns the ticker symbol of this company.- Returns:
- the ticker symbol of this company
-
setTickerSymbol
Sets the ticker symbol of this company.- Parameters:
tickerSymbol
- the ticker symbol of this company
-
getIndustry
Returns the industry of this company.- Returns:
- the industry of this company
-
setIndustry
Sets the industry of this company.- Parameters:
industry
- the industry of this company
-
getType
Returns the type of this company.- Returns:
- the type of this company
-
setType
Sets the type of this company.- Parameters:
type
- the type of this company
-
getSize
Returns the size of this company.- Returns:
- the size of this company
-
setSize
Sets the size of this company.- Parameters:
size
- the size of this company
-
getIndexNameCurrent
Returns the index name current of this company.- Returns:
- the index name current of this company
-
setIndexNameCurrent
Sets the index name current of this company.- Parameters:
indexNameCurrent
- the index name current of this company
-
getIndexNameNext
Returns the index name next of this company.- Returns:
- the index name next of this company
-
setIndexNameNext
Sets the index name next of this company.- Parameters:
indexNameNext
- the index name next of this company
-
cloneWithOriginalValues
Company cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Company>
-
toXmlString
-