|
Liferay 6.0.3 | |||||||||
| 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()
|
long |
getCompanyId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getIndustry()
|
String |
getLegalId()
|
String |
getLegalName()
|
String |
getLegalType()
|
Date |
getModifiedDate()
|
String |
getName()
|
long |
getParentAccountId()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getSicCode()
|
String |
getSize()
|
String |
getTickerSymbol()
|
String |
getType()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
Account |
getWrappedAccount()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setAccountId(long accountId)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setLegalId(String legalId)
|
void |
setLegalName(String legalName)
|
void |
setLegalType(String legalType)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentAccountId(long parentAccountId)
|
void |
setPrimaryKey(long pk)
|
void |
setSicCode(String sicCode)
|
void |
setSize(String size)
|
void |
setTickerSymbol(String tickerSymbol)
|
void |
setType(String type)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
Account |
toEscapedModel()
|
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()
getPrimaryKey in interface AccountModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface AccountModelpublic long getAccountId()
getAccountId in interface AccountModelpublic void setAccountId(long accountId)
setAccountId in interface AccountModelpublic long getCompanyId()
getCompanyId in interface AccountModelpublic void setCompanyId(long companyId)
setCompanyId in interface AccountModelpublic long getUserId()
getUserId in interface AccountModelpublic void setUserId(long userId)
setUserId in interface AccountModel
public String getUserUuid()
throws SystemException
getUserUuid in interface AccountModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface AccountModelpublic String getUserName()
getUserName in interface AccountModelpublic void setUserName(String userName)
setUserName in interface AccountModelpublic Date getCreateDate()
getCreateDate in interface AccountModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AccountModelpublic Date getModifiedDate()
getModifiedDate in interface AccountModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AccountModelpublic long getParentAccountId()
getParentAccountId in interface AccountModelpublic void setParentAccountId(long parentAccountId)
setParentAccountId in interface AccountModelpublic String getName()
getName in interface AccountModelpublic void setName(String name)
setName in interface AccountModelpublic String getLegalName()
getLegalName in interface AccountModelpublic void setLegalName(String legalName)
setLegalName in interface AccountModelpublic String getLegalId()
getLegalId in interface AccountModelpublic void setLegalId(String legalId)
setLegalId in interface AccountModelpublic String getLegalType()
getLegalType in interface AccountModelpublic void setLegalType(String legalType)
setLegalType in interface AccountModelpublic String getSicCode()
getSicCode in interface AccountModelpublic void setSicCode(String sicCode)
setSicCode in interface AccountModelpublic String getTickerSymbol()
getTickerSymbol in interface AccountModelpublic void setTickerSymbol(String tickerSymbol)
setTickerSymbol in interface AccountModelpublic String getIndustry()
getIndustry in interface AccountModelpublic void setIndustry(String industry)
setIndustry in interface AccountModelpublic String getType()
getType in interface AccountModelpublic void setType(String type)
setType in interface AccountModelpublic String getSize()
getSize in interface AccountModelpublic void setSize(String size)
setSize in interface AccountModelpublic Account toEscapedModel()
toEscapedModel in interface AccountModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||