|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<Account> com.liferay.portal.model.impl.AccountModelImpl
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
.
Never modify or reference this class directly. All methods that expect a account model instance should use the Account
interface instead.
AccountImpl
,
Account
,
AccountModel
,
Serialized FormField Summary | |
---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
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()
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. |
int |
hashCode()
|
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 |
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 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 . |
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()
Gets the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
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, setEscapedModel, setNew |
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 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 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 AccountModel
public void setPrimaryKey(long pk)
AccountModel
setPrimaryKey
in interface AccountModel
pk
- the primary key of this accountpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface AccountModel
getPrimaryKeyObj
in interface BaseModel<Account>
public long getAccountId()
AccountModel
getAccountId
in interface AccountModel
public void setAccountId(long accountId)
AccountModel
setAccountId
in interface AccountModel
accountId
- the account id of this accountpublic long getCompanyId()
AccountModel
getCompanyId
in interface AccountModel
public void setCompanyId(long companyId)
AccountModel
setCompanyId
in interface AccountModel
companyId
- the company id of this accountpublic long getUserId()
AccountModel
getUserId
in interface AccountModel
public void setUserId(long userId)
AccountModel
setUserId
in interface AccountModel
userId
- the user id of this accountpublic String getUserUuid() throws SystemException
AccountModel
getUserUuid
in interface AccountModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AccountModel
setUserUuid
in interface AccountModel
userUuid
- the user uuid of this accountpublic String getUserName()
AccountModel
getUserName
in interface AccountModel
public void setUserName(String userName)
AccountModel
setUserName
in interface AccountModel
userName
- the user name of this accountpublic Date getCreateDate()
AccountModel
getCreateDate
in interface AccountModel
public void setCreateDate(Date createDate)
AccountModel
setCreateDate
in interface AccountModel
createDate
- the create date of this accountpublic Date getModifiedDate()
AccountModel
getModifiedDate
in interface AccountModel
public void setModifiedDate(Date modifiedDate)
AccountModel
setModifiedDate
in interface AccountModel
modifiedDate
- the modified date of this accountpublic long getParentAccountId()
AccountModel
getParentAccountId
in interface AccountModel
public void setParentAccountId(long parentAccountId)
AccountModel
setParentAccountId
in interface AccountModel
parentAccountId
- the parent account id of this accountpublic String getName()
AccountModel
getName
in interface AccountModel
public void setName(String name)
AccountModel
setName
in interface AccountModel
name
- the name of this accountpublic String getLegalName()
AccountModel
getLegalName
in interface AccountModel
public void setLegalName(String legalName)
AccountModel
setLegalName
in interface AccountModel
legalName
- the legal name of this accountpublic String getLegalId()
AccountModel
getLegalId
in interface AccountModel
public void setLegalId(String legalId)
AccountModel
setLegalId
in interface AccountModel
legalId
- the legal id of this accountpublic String getLegalType()
AccountModel
getLegalType
in interface AccountModel
public void setLegalType(String legalType)
AccountModel
setLegalType
in interface AccountModel
legalType
- the legal type of this accountpublic String getSicCode()
AccountModel
getSicCode
in interface AccountModel
public void setSicCode(String sicCode)
AccountModel
setSicCode
in interface AccountModel
sicCode
- the sic code of this accountpublic String getTickerSymbol()
AccountModel
getTickerSymbol
in interface AccountModel
public void setTickerSymbol(String tickerSymbol)
AccountModel
setTickerSymbol
in interface AccountModel
tickerSymbol
- the ticker symbol of this accountpublic String getIndustry()
AccountModel
getIndustry
in interface AccountModel
public void setIndustry(String industry)
AccountModel
setIndustry
in interface AccountModel
industry
- the industry of this accountpublic String getType()
AccountModel
getType
in interface AccountModel
public void setType(String type)
AccountModel
setType
in interface AccountModel
type
- the type of this accountpublic String getSize()
AccountModel
getSize
in interface AccountModel
public void setSize(String size)
AccountModel
setSize
in interface AccountModel
size
- the size of this accountpublic Account toEscapedModel()
AccountModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AccountModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface AccountModel
getExpandoBridge
in interface BaseModel<Account>
getExpandoBridge
in class BaseModelImpl<Account>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface AccountModel
setExpandoBridgeAttributes
in interface BaseModel<Account>
setExpandoBridgeAttributes
in class BaseModelImpl<Account>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface AccountModel
clone
in interface BaseModel<Account>
clone
in class BaseModelImpl<Account>
public int compareTo(Account account)
compareTo
in interface AccountModel
compareTo
in interface Comparable<Account>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AccountModel
hashCode
in class Object
public String toString()
toString
in interface AccountModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface AccountModel
toXmlString
in interface BaseModel<Account>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |