|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface AccountModel
The base model interface for the Account service. Represents a row in the "Account_" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation AccountModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AccountImpl.
Account,
AccountImpl,
AccountModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Account account)
|
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. |
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. |
int |
hashCode()
|
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. |
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 |
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 interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this accountlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this accountlong getAccountId()
void setAccountId(long accountId)
accountId - the account ID of this accountlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this accountlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this accountString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this account@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this accountDate getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this accountDate getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this accountlong getParentAccountId()
void setParentAccountId(long parentAccountId)
parentAccountId - the parent account ID of this account@AutoEscape String getName()
void setName(String name)
name - the name of this account@AutoEscape String getLegalName()
void setLegalName(String legalName)
legalName - the legal name of this account@AutoEscape String getLegalId()
void setLegalId(String legalId)
legalId - the legal ID of this account@AutoEscape String getLegalType()
void setLegalType(String legalType)
legalType - the legal type of this account@AutoEscape String getSicCode()
void setSicCode(String sicCode)
sicCode - the sic code of this account@AutoEscape String getTickerSymbol()
void setTickerSymbol(String tickerSymbol)
tickerSymbol - the ticker symbol of this account@AutoEscape String getIndustry()
void setIndustry(String industry)
industry - the industry of this account@AutoEscape String getType()
void setType(String type)
type - the type of this account@AutoEscape String getSize()
void setSize(String size)
size - the size of this accountboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Account>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Account>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Account>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Account>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Account>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Account>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Account>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Account>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Account>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Account>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Account>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModel
clone in interface BaseModel<Account>int compareTo(Account account)
compareTo in interface Comparable<Account>int hashCode()
hashCode in class ObjectCacheModel<Account> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Account>Account toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Account>AutoEscapeBeanHandlerAccount toUnescapedModel()
toUnescapedModel in interface BaseModel<Account>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString 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 | |||||||||