|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Account>
com.liferay.portal.model.impl.AccountModelImpl
@JSON(strict=true) public class AccountModelImpl
The base model implementation for the Account service. Represents a row in the "Account_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AccountModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AccountImpl.
AccountImpl,
Account,
AccountModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
AccountModelImpl()
|
|
| 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. |
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()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setAccountId(long accountId)
Sets the account ID of this account. |
void |
setCompanyId(long companyId)
Sets the company ID of this account. |
void |
setCreateDate(Date createDate)
Sets the create date of this account. |
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 |
setName(String name)
Sets the name of this account. |
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. |
static Account |
toModel(AccountSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Account> |
toModels(AccountSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.AccountModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AccountModelImpl()
| Method Detail |
|---|
public static Account toModel(AccountSoap soapModel)
soapModel - the soap model instance to convert
public static List<Account> toModels(AccountSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
AccountModel
getPrimaryKey in interface AccountModelpublic void setPrimaryKey(long primaryKey)
AccountModel
setPrimaryKey in interface AccountModelprimaryKey - the primary key of this accountpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface AccountModelgetPrimaryKeyObj in interface BaseModel<Account>getPrimaryKeyObj in interface ClassedModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface AccountModelsetPrimaryKeyObj in interface BaseModel<Account>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Account>getModelAttributes in class BaseModelImpl<Account>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Account>setModelAttributes in class BaseModelImpl<Account>@JSON public long getAccountId()
AccountModel
getAccountId in interface AccountModelpublic void setAccountId(long accountId)
AccountModel
setAccountId in interface AccountModelaccountId - the account ID of this account@JSON public long getCompanyId()
AccountModel
getCompanyId in interface AccountModelgetCompanyId in interface AuditedModelpublic void setCompanyId(long companyId)
AccountModel
setCompanyId in interface AccountModelsetCompanyId in interface AuditedModelcompanyId - the company ID of this account@JSON public long getUserId()
AccountModel
getUserId in interface AccountModelgetUserId in interface AuditedModelpublic void setUserId(long userId)
AccountModel
setUserId in interface AccountModelsetUserId in interface AuditedModeluserId - the user ID of this account
public String getUserUuid()
throws SystemException
AccountModel
getUserUuid in interface AccountModelgetUserUuid in interface AuditedModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AccountModel
setUserUuid in interface AccountModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this account@JSON public String getUserName()
AccountModel
getUserName in interface AccountModelgetUserName in interface AuditedModelpublic void setUserName(String userName)
AccountModel
setUserName in interface AccountModelsetUserName in interface AuditedModeluserName - the user name of this account@JSON public Date getCreateDate()
AccountModel
getCreateDate in interface AccountModelgetCreateDate in interface AuditedModelpublic void setCreateDate(Date createDate)
AccountModel
setCreateDate in interface AccountModelsetCreateDate in interface AuditedModelcreateDate - the create date of this account@JSON public Date getModifiedDate()
AccountModel
getModifiedDate in interface AccountModelgetModifiedDate in interface AuditedModelpublic void setModifiedDate(Date modifiedDate)
AccountModel
setModifiedDate in interface AccountModelsetModifiedDate in interface AuditedModelmodifiedDate - the modified date of this account@JSON public long getParentAccountId()
AccountModel
getParentAccountId in interface AccountModelpublic void setParentAccountId(long parentAccountId)
AccountModel
setParentAccountId in interface AccountModelparentAccountId - the parent account ID of this account@JSON public String getName()
AccountModel
getName in interface AccountModelpublic void setName(String name)
AccountModel
setName in interface AccountModelname - the name of this account@JSON public String getLegalName()
AccountModel
getLegalName in interface AccountModelpublic void setLegalName(String legalName)
AccountModel
setLegalName in interface AccountModellegalName - the legal name of this account@JSON public String getLegalId()
AccountModel
getLegalId in interface AccountModelpublic void setLegalId(String legalId)
AccountModel
setLegalId in interface AccountModellegalId - the legal ID of this account@JSON public String getLegalType()
AccountModel
getLegalType in interface AccountModelpublic void setLegalType(String legalType)
AccountModel
setLegalType in interface AccountModellegalType - the legal type of this account@JSON public String getSicCode()
AccountModel
getSicCode in interface AccountModelpublic void setSicCode(String sicCode)
AccountModel
setSicCode in interface AccountModelsicCode - the sic code of this account@JSON public String getTickerSymbol()
AccountModel
getTickerSymbol in interface AccountModelpublic void setTickerSymbol(String tickerSymbol)
AccountModel
setTickerSymbol in interface AccountModeltickerSymbol - the ticker symbol of this account@JSON public String getIndustry()
AccountModel
getIndustry in interface AccountModelpublic void setIndustry(String industry)
AccountModel
setIndustry in interface AccountModelindustry - the industry of this account@JSON public String getType()
AccountModel
getType in interface AccountModelpublic void setType(String type)
AccountModel
setType in interface AccountModeltype - the type of this account@JSON public String getSize()
AccountModel
getSize in interface AccountModelpublic void setSize(String size)
AccountModel
setSize in interface AccountModelsize - the size of this accountpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface AccountModelgetExpandoBridge in interface BaseModel<Account>getExpandoBridge in interface ClassedModelgetExpandoBridge in class BaseModelImpl<Account>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface BaseModel<Account>setExpandoBridgeAttributes in class BaseModelImpl<Account>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Account toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface AccountModeltoEscapedModel in interface BaseModel<Account>toEscapedModel in class BaseModelImpl<Account>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface AccountModelclone in interface BaseModel<Account>clone in class BaseModelImpl<Account>public int compareTo(Account account)
compareTo in interface AccountModelcompareTo in interface Comparable<Account>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AccountModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<Account>resetOriginalValues in class BaseModelImpl<Account>public CacheModel<Account> toCacheModel()
BaseModel
toCacheModel in interface AccountModeltoCacheModel in interface BaseModel<Account>toCacheModel in class BaseModelImpl<Account>public String toString()
toString in interface AccountModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface AccountModeltoXmlString in interface BaseModel<Account>
|
Liferay 6.2-ce-ga4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||