|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.AccountWrapper
public class AccountWrapper
This class is a wrapper for Account.
Account,
Serialized Form| Constructor Summary | |
|---|---|
AccountWrapper(Account account)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Account account)
|
long |
getAccountId()
Gets the account id of this account. |
long |
getCompanyId()
Gets the company id of this account. |
Date |
getCreateDate()
Gets the create date of this account. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getIndustry()
Gets the industry of this account. |
String |
getLegalId()
Gets the legal id of this account. |
String |
getLegalName()
Gets the legal name of this account. |
String |
getLegalType()
Gets the legal type of this account. |
Date |
getModifiedDate()
Gets the modified date of this account. |
String |
getName()
Gets the name of this account. |
long |
getParentAccountId()
Gets the parent account id of this account. |
long |
getPrimaryKey()
Gets the primary key of this account. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getSicCode()
Gets the sic code of this account. |
String |
getSize()
Gets the size of this account. |
String |
getTickerSymbol()
Gets the ticker symbol of this account. |
String |
getType()
Gets the type of this account. |
long |
getUserId()
Gets the user id of this account. |
String |
getUserName()
Gets the user name of this account. |
String |
getUserUuid()
Gets the user uuid of this account. |
Account |
getWrappedAccount()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
setModifiedDate(Date modifiedDate)
Sets the modified date 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 pk)
Sets the primary key of this account |
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. |
Account |
toEscapedModel()
Gets a copy of this account as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AccountWrapper(Account account)
| Method Detail |
|---|
public long getPrimaryKey()
AccountModel
getPrimaryKey in interface AccountModelpublic void setPrimaryKey(long pk)
AccountModel
setPrimaryKey in interface AccountModelpk - the primary key of this accountpublic long getAccountId()
AccountModel
getAccountId in interface AccountModelpublic void setAccountId(long accountId)
AccountModel
setAccountId in interface AccountModelaccountId - the account id of this accountpublic long getCompanyId()
AccountModel
getCompanyId in interface AccountModelpublic void setCompanyId(long companyId)
AccountModel
setCompanyId in interface AccountModelcompanyId - the company id of this accountpublic long getUserId()
AccountModel
getUserId in interface AccountModelpublic void setUserId(long userId)
AccountModel
setUserId in interface AccountModeluserId - the user id of this account
public String getUserUuid()
throws SystemException
AccountModel
getUserUuid in interface AccountModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AccountModel
setUserUuid in interface AccountModeluserUuid - the user uuid of this accountpublic String getUserName()
AccountModel
getUserName in interface AccountModelpublic void setUserName(String userName)
AccountModel
setUserName in interface AccountModeluserName - the user name of this accountpublic Date getCreateDate()
AccountModel
getCreateDate in interface AccountModelpublic void setCreateDate(Date createDate)
AccountModel
setCreateDate in interface AccountModelcreateDate - the create date of this accountpublic Date getModifiedDate()
AccountModel
getModifiedDate in interface AccountModelpublic void setModifiedDate(Date modifiedDate)
AccountModel
setModifiedDate in interface AccountModelmodifiedDate - the modified date of this accountpublic long getParentAccountId()
AccountModel
getParentAccountId in interface AccountModelpublic void setParentAccountId(long parentAccountId)
AccountModel
setParentAccountId in interface AccountModelparentAccountId - the parent account id of this accountpublic String getName()
AccountModel
getName in interface AccountModelpublic void setName(String name)
AccountModel
setName in interface AccountModelname - the name of this accountpublic String getLegalName()
AccountModel
getLegalName in interface AccountModelpublic void setLegalName(String legalName)
AccountModel
setLegalName in interface AccountModellegalName - the legal name of this accountpublic String getLegalId()
AccountModel
getLegalId in interface AccountModelpublic void setLegalId(String legalId)
AccountModel
setLegalId in interface AccountModellegalId - the legal id of this accountpublic String getLegalType()
AccountModel
getLegalType in interface AccountModelpublic void setLegalType(String legalType)
AccountModel
setLegalType in interface AccountModellegalType - the legal type of this accountpublic String getSicCode()
AccountModel
getSicCode in interface AccountModelpublic void setSicCode(String sicCode)
AccountModel
setSicCode in interface AccountModelsicCode - the sic code of this accountpublic String getTickerSymbol()
AccountModel
getTickerSymbol in interface AccountModelpublic void setTickerSymbol(String tickerSymbol)
AccountModel
setTickerSymbol in interface AccountModeltickerSymbol - the ticker symbol of this accountpublic String getIndustry()
AccountModel
getIndustry in interface AccountModelpublic void setIndustry(String industry)
AccountModel
setIndustry in interface AccountModelindustry - the industry of this accountpublic String getType()
AccountModel
getType in interface AccountModelpublic void setType(String type)
AccountModel
setType in interface AccountModeltype - the type of this accountpublic String getSize()
AccountModel
getSize in interface AccountModelpublic void setSize(String size)
AccountModel
setSize in interface AccountModelsize - the size of this accountpublic Account toEscapedModel()
AccountModelAutoEscapeBeanHandler.
toEscapedModel in interface AccountModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface AccountModelisNew in interface BaseModel<Account>true if this model instance does not yet exist in
the database; false otherwisepublic 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 boolean isCachedModel()
BaseModel
isCachedModel in interface AccountModelisCachedModel in interface BaseModel<Account>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface AccountModelsetCachedModel in interface BaseModel<Account>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface AccountModelisEscapedModel in interface BaseModel<Account>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface AccountModelsetEscapedModel in interface BaseModel<Account>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface AccountModelgetPrimaryKeyObj in interface BaseModel<Account>public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface AccountModelgetExpandoBridge in interface BaseModel<Account>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)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 int hashCode()
hashCode in interface AccountModelhashCode in class Objectpublic String toString()
toString in interface AccountModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface AccountModeltoXmlString in interface BaseModel<Account>public Account getWrappedAccount()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||