|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.CompanyWrapper
@ProviderType public class CompanyWrapper
This class is a wrapper for Company.
Company,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.Company |
|---|
COMPANY_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
CompanyWrapper(Company company)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Company company)
|
boolean |
equals(Object obj)
|
Account |
getAccount()
|
long |
getAccountId()
Returns the account ID of this company. |
boolean |
getActive()
Returns the active of this company. |
String |
getAdminName()
|
String |
getAuthType()
|
long |
getCompanyId()
Returns the company ID of this company. |
User |
getDefaultUser()
|
String |
getDefaultWebId()
|
String |
getEmailAddress()
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Group |
getGroup()
|
long |
getGroupId()
|
String |
getHomeURL()
Returns the home u r l of this company. |
String |
getKey()
Returns the key of this company. |
Key |
getKeyObj()
|
Locale |
getLocale()
|
long |
getLogoId()
Returns the logo ID of this company. |
int |
getMaxUsers()
Returns the max users of this company. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this company. |
String |
getMx()
Returns the mx of this company. |
String |
getName()
|
String |
getPortalURL(long groupId)
|
long |
getPrimaryKey()
Returns the primary key of this company. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getShortName()
|
boolean |
getSystem()
Returns the system of this company. |
TimeZone |
getTimeZone()
|
String |
getVirtualHostname()
|
String |
getWebId()
Returns the web ID of this company. |
Company |
getWrappedModel()
|
boolean |
hasCompanyMx(String emailAddress)
|
int |
hashCode()
|
boolean |
isActive()
Returns true if this company is active. |
boolean |
isAutoLogin()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isSendPassword()
|
boolean |
isSendPasswordResetLink()
|
boolean |
isSiteLogo()
|
boolean |
isStrangers()
|
boolean |
isStrangersVerify()
|
boolean |
isStrangersWithMx()
|
boolean |
isSystem()
Returns true if this company is system. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setKeyObj(Key keyObj)
|
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 |
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 |
setVirtualHostname(String virtualHostname)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompanyWrapper(Company company)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Company>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Company>public Object clone()
BaseModel
clone in interface BaseModel<Company>clone in interface CompanyModelclone in class Objectpublic int compareTo(Company company)
compareTo in interface CompanyModelcompareTo in interface Comparable<Company>
public Account getAccount()
throws PortalException
getAccount in interface CompanyPortalExceptionpublic long getAccountId()
getAccountId in interface CompanyModelpublic boolean getActive()
getActive in interface CompanyModelpublic String getAdminName()
getAdminName in interface Companypublic String getAuthType()
getAuthType in interface Companypublic long getCompanyId()
getCompanyId in interface CompanyModel
public User getDefaultUser()
throws PortalException
getDefaultUser in interface CompanyPortalExceptionpublic String getDefaultWebId()
getDefaultWebId in interface Companypublic String getEmailAddress()
getEmailAddress in interface Companypublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Company>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface CompanyModel
public Group getGroup()
throws PortalException
getGroup in interface CompanyPortalException
public long getGroupId()
throws PortalException
getGroupId in interface CompanyPortalExceptionpublic String getHomeURL()
getHomeURL in interface CompanyModelpublic String getKey()
getKey in interface CompanyModelpublic Key getKeyObj()
getKeyObj in interface Company
public Locale getLocale()
throws PortalException
getLocale in interface CompanyPortalExceptionpublic long getLogoId()
getLogoId in interface CompanyModelpublic int getMaxUsers()
getMaxUsers in interface CompanyModelpublic long getMvccVersion()
getMvccVersion in interface CompanyModelgetMvccVersion in interface MVCCModelpublic String getMx()
getMx in interface CompanyModel
public String getName()
throws PortalException
getName in interface CompanyPortalException
public String getPortalURL(long groupId)
throws PortalException
getPortalURL in interface CompanyPortalExceptionpublic long getPrimaryKey()
getPrimaryKey in interface CompanyModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Company>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface CompanyModel
public String getShortName()
throws PortalException
getShortName in interface CompanyPortalExceptionpublic boolean getSystem()
getSystem in interface CompanyModel
public TimeZone getTimeZone()
throws PortalException
getTimeZone in interface CompanyPortalExceptionpublic String getVirtualHostname()
getVirtualHostname in interface Companypublic String getWebId()
getWebId in interface CompanyModelpublic boolean hasCompanyMx(String emailAddress)
hasCompanyMx in interface Companypublic int hashCode()
hashCode in interface CompanyModelhashCode in class Objectpublic 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 isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Company>isCachedModel in interface CompanyModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Company>isEscapedModel in interface CompanyModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Company>isNew in interface CompanyModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isSendPassword()
isSendPassword 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 void persist()
PersistedModel
persist in interface PersistedModelpublic void setAccountId(long accountId)
setAccountId in interface CompanyModelaccountId - the account ID of this companypublic void setActive(boolean active)
setActive in interface CompanyModelactive - the active of this companypublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Company>setCachedModel in interface CompanyModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface CompanyModelcompanyId - the company ID of this companypublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Company>setExpandoBridgeAttributes in interface CompanyModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Company>setExpandoBridgeAttributes in interface CompanyModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Company>setExpandoBridgeAttributes in interface CompanyModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setHomeURL(String homeURL)
setHomeURL in interface CompanyModelhomeURL - the home u r l of this companypublic void setKey(String key)
setKey in interface CompanyModelkey - the key of this companypublic void setKeyObj(Key keyObj)
setKeyObj in interface 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 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 setNew(boolean n)
BaseModel
setNew in interface BaseModel<Company>setNew in interface CompanyModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CompanyModelprimaryKey - the primary key of this companypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Company>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface CompanyModelprimaryKeyObj - the primary key of this model instancepublic void setSystem(boolean system)
setSystem in interface CompanyModelsystem - the system of this companypublic void setVirtualHostname(String virtualHostname)
setVirtualHostname in interface Companypublic void setWebId(String webId)
setWebId in interface CompanyModelwebId - the web ID of this companypublic CacheModel<Company> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Company>toCacheModel in interface CompanyModelpublic Company toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Company>toEscapedModel in interface CompanyModelAutoEscapeBeanHandlerpublic String toString()
toString in interface CompanyModeltoString in class Objectpublic Company toUnescapedModel()
toUnescapedModel in interface BaseModel<Company>toUnescapedModel in interface CompanyModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Company>toXmlString in interface CompanyModelpublic boolean equals(Object obj)
equals in class Objectpublic Company getWrappedModel()
getWrappedModel in interface ModelWrapper<Company>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Company>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<Company>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Company>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||