|
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.AccountWrapper
@ProviderType public class AccountWrapper
This class is a wrapper for Account.
Account,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.Account |
|---|
ACCOUNT_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
AccountWrapper(Account account)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Account account)
|
boolean |
equals(Object obj)
|
long |
getAccountId()
Returns the account ID of this account. |
long |
getCompanyId()
Returns the company ID of this account. |
Date |
getCreateDate()
Returns the create date of this account. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getIndustry()
Returns the industry of this account. |
String |
getLegalId()
Returns the legal ID of this account. |
String |
getLegalName()
Returns the legal name of this account. |
String |
getLegalType()
Returns the legal type of this account. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this account. |
long |
getMvccVersion()
Returns the mvcc version of this account. |
String |
getName()
Returns the name of this account. |
long |
getParentAccountId()
Returns the parent account ID of this account. |
long |
getPrimaryKey()
Returns the primary key of this account. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getSicCode()
Returns the sic code of this account. |
String |
getSize()
Returns the size of this account. |
String |
getTickerSymbol()
Returns the ticker symbol of this account. |
String |
getType()
Returns the type of this account. |
long |
getUserId()
Returns the user ID of this account. |
String |
getUserName()
Returns the user name of this account. |
String |
getUserUuid()
Returns the user uuid of this account. |
Account |
getWrappedModel()
|
int |
hashCode()
|
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. |
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 account. |
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 account. |
void |
setCreateDate(Date createDate)
Sets the create date of this account. |
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 |
setIndustry(String industry)
Sets the industry of this account. |
void |
setLegalId(String legalId)
Sets the legal ID of this account. |
void |
setLegalName(String legalName)
Sets the legal name of this account. |
void |
setLegalType(String legalType)
Sets the legal type of this account. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this account. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this account. |
void |
setName(String name)
Sets the name of this account. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentAccountId(long parentAccountId)
Sets the parent account ID of this account. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this account. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setSicCode(String sicCode)
Sets the sic code of this account. |
void |
setSize(String size)
Sets the size of this account. |
void |
setTickerSymbol(String tickerSymbol)
Sets the ticker symbol of this account. |
void |
setType(String type)
Sets the type of this account. |
void |
setUserId(long userId)
Sets the user ID of this account. |
void |
setUserName(String userName)
Sets the user name of this account. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this account. |
CacheModel<Account> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Account |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
Account |
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 AccountWrapper(Account account)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Account>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Account>public Object clone()
BaseModel
clone in interface AccountModelclone in interface BaseModel<Account>clone in class Objectpublic int compareTo(Account account)
compareTo in interface AccountModelcompareTo in interface Comparable<Account>public long getAccountId()
getAccountId in interface AccountModelpublic long getCompanyId()
getCompanyId in interface AccountModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelpublic Date getCreateDate()
getCreateDate in interface AccountModelgetCreateDate in interface AuditedModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface AccountModelgetExpandoBridge in interface BaseModel<Account>getExpandoBridge in interface ClassedModelpublic String getIndustry()
getIndustry in interface AccountModelpublic String getLegalId()
getLegalId in interface AccountModelpublic String getLegalName()
getLegalName in interface AccountModelpublic String getLegalType()
getLegalType in interface AccountModelpublic Date getModifiedDate()
getModifiedDate in interface AccountModelgetModifiedDate in interface AuditedModelpublic long getMvccVersion()
getMvccVersion in interface AccountModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface AccountModelpublic long getParentAccountId()
getParentAccountId in interface AccountModelpublic long getPrimaryKey()
getPrimaryKey in interface AccountModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface AccountModelgetPrimaryKeyObj in interface BaseModel<Account>getPrimaryKeyObj in interface ClassedModelpublic String getSicCode()
getSicCode in interface AccountModelpublic String getSize()
getSize in interface AccountModelpublic String getTickerSymbol()
getTickerSymbol in interface AccountModelpublic String getType()
getType in interface AccountModelpublic long getUserId()
getUserId in interface AccountModelgetUserId in interface AuditedModelpublic String getUserName()
getUserName in interface AccountModelgetUserName in interface AuditedModelpublic String getUserUuid()
getUserUuid in interface AccountModelgetUserUuid in interface AuditedModelpublic int hashCode()
hashCode in interface AccountModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface AccountModelisCachedModel in interface BaseModel<Account>true 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 AccountModelisEscapedModel in interface BaseModel<Account>true 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 AccountModelisNew in interface BaseModel<Account>true if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setAccountId(long accountId)
setAccountId in interface AccountModelaccountId - the account ID of this accountpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface AccountModelsetCachedModel in interface BaseModel<Account>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AccountModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this accountpublic void setCreateDate(Date createDate)
setCreateDate in interface AccountModelsetCreateDate in interface AuditedModelcreateDate - the create date of this accountpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setIndustry(String industry)
setIndustry in interface AccountModelindustry - the industry of this accountpublic void setLegalId(String legalId)
setLegalId in interface AccountModellegalId - the legal ID of this accountpublic void setLegalName(String legalName)
setLegalName in interface AccountModellegalName - the legal name of this accountpublic void setLegalType(String legalType)
setLegalType in interface AccountModellegalType - the legal type of this accountpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AccountModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this accountpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface AccountModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this accountpublic void setName(String name)
setName in interface AccountModelname - the name of this accountpublic void setNew(boolean n)
BaseModel
setNew in interface AccountModelsetNew in interface BaseModel<Account>n - whether this model instance does not yet exist in the databasepublic void setParentAccountId(long parentAccountId)
setParentAccountId in interface AccountModelparentAccountId - the parent account ID of this accountpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AccountModelprimaryKey - the primary key of this accountpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface AccountModelsetPrimaryKeyObj in interface BaseModel<Account>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setSicCode(String sicCode)
setSicCode in interface AccountModelsicCode - the sic code of this accountpublic void setSize(String size)
setSize in interface AccountModelsize - the size of this accountpublic void setTickerSymbol(String tickerSymbol)
setTickerSymbol in interface AccountModeltickerSymbol - the ticker symbol of this accountpublic void setType(String type)
setType in interface AccountModeltype - the type of this accountpublic void setUserId(long userId)
setUserId in interface AccountModelsetUserId in interface AuditedModeluserId - the user ID of this accountpublic void setUserName(String userName)
setUserName in interface AccountModelsetUserName in interface AuditedModeluserName - the user name of this accountpublic void setUserUuid(String userUuid)
setUserUuid in interface AccountModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this accountpublic CacheModel<Account> toCacheModel()
BaseModel
toCacheModel in interface AccountModeltoCacheModel in interface BaseModel<Account>public Account toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface AccountModeltoEscapedModel in interface BaseModel<Account>AutoEscapeBeanHandlerpublic String toString()
toString in interface AccountModeltoString in class Objectpublic Account toUnescapedModel()
toUnescapedModel in interface AccountModeltoUnescapedModel in interface BaseModel<Account>public String toXmlString()
BaseModel
toXmlString in interface AccountModeltoXmlString in interface BaseModel<Account>public boolean equals(Object obj)
equals in class Objectpublic Account getWrappedModel()
getWrappedModel in interface ModelWrapper<Account>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<Account>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<Account>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Account>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||