@ProviderType public interface CompanyModel extends BaseModel<Company>, MVCCModel
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.
Company,
com.liferay.portal.model.impl.CompanyImpl,
com.liferay.portal.model.impl.CompanyModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Company company) |
long |
getAccountId()
Returns the account ID of this company.
|
boolean |
getActive()
Returns the active of this company.
|
long |
getCompanyId()
Returns the company ID of this company.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getHomeURL()
Returns the home u r l of this company.
|
String |
getKey()
Returns the key of this company.
|
long |
getLogoId()
Returns the logo ID of this company.
|
int |
getMaxUsers()
Returns the max users of this company.
|
long |
getMvccVersion()
Returns the mvcc version of this company.
|
String |
getMx()
Returns the mx of this company.
|
long |
getPrimaryKey()
Returns the primary key of this company.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getSystem()
Returns the system of this company.
|
String |
getWebId()
Returns the web ID of this company.
|
int |
hashCode() |
boolean |
isActive()
Returns
true if this company is active. |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isSystem()
Returns
true if this company is system. |
void |
setAccountId(long accountId)
Sets the account ID of this company.
|
void |
setActive(boolean active)
Sets whether this company is active.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this company.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setHomeURL(String homeURL)
Sets the home u r l of this company.
|
void |
setKey(String key)
Sets the key 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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this company.
|
void |
setMx(String mx)
Sets the mx of this company.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this company.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSystem(boolean system)
Sets whether this company is system.
|
void |
setWebId(String webId)
Sets the web ID of this company.
|
CacheModel<Company> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Company |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
Company |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this companylong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this companylong getCompanyId()
void setCompanyId(long companyId)
companyId - the company ID of this companylong getAccountId()
void setAccountId(long accountId)
accountId - the account ID of this company@AutoEscape String getWebId()
void setWebId(String webId)
webId - the web ID of this company@AutoEscape String getKey()
void setKey(String key)
key - the key of this company@AutoEscape String getMx()
void setMx(String mx)
mx - the mx of this company@AutoEscape String getHomeURL()
void setHomeURL(String homeURL)
homeURL - the home u r l of this companylong getLogoId()
void setLogoId(long logoId)
logoId - the logo ID of this companyboolean getSystem()
boolean isSystem()
true if this company is system.true if this company is system; false otherwisevoid setSystem(boolean system)
system - the system of this companyint getMaxUsers()
void setMaxUsers(int maxUsers)
maxUsers - the max users of this companyboolean getActive()
boolean isActive()
true if this company is active.true if this company is active; false otherwisevoid setActive(boolean active)
active - the active of this companyboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModelboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<Company>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<Company>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<Company>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<Company>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<Company>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<Company>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Company>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Company>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<Company>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelint compareTo(Company company)
compareTo in interface Comparable<Company>CacheModel<Company> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<Company>Company toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<Company>AutoEscapeBeanHandlerCompany toUnescapedModel()
toUnescapedModel in interface BaseModel<Company>String toXmlString()
BaseModeltoXmlString in interface BaseModel<Company>