@ProviderType public class AccountWrapper extends java.lang.Object implements Account, com.liferay.portal.kernel.model.ModelWrapper<Account>
This class is a wrapper for Account.
Account,
Serialized FormACCOUNT_ID_ACCESSOR| Constructor and Description |
|---|
AccountWrapper(Account account) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(Account account) |
boolean |
equals(java.lang.Object obj) |
long |
getAccountId()
Returns the account ID of this account.
|
java.lang.String |
getAddress()
Returns the address of this account.
|
long |
getCompanyId()
Returns the company ID of this account.
|
java.util.Date |
getCreateDate()
Returns the create date of this account.
|
boolean |
getDefaultSender()
Returns the default sender of this account.
|
long |
getDraftFolderId()
Returns the draft folder ID of this account.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getFolderPrefix()
Returns the folder prefix of this account.
|
long |
getInboxFolderId()
Returns the inbox folder ID of this account.
|
java.lang.String |
getIncomingHostName()
Returns the incoming host name of this account.
|
int |
getIncomingPort()
Returns the incoming port of this account.
|
boolean |
getIncomingSecure()
Returns the incoming secure of this account.
|
java.lang.String |
getLogin()
Returns the login of this account.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this account.
|
java.lang.String |
getOutgoingHostName()
Returns the outgoing host name of this account.
|
int |
getOutgoingPort()
Returns the outgoing port of this account.
|
boolean |
getOutgoingSecure()
Returns the outgoing secure of this account.
|
java.lang.String |
getPassword()
Returns the password of this account.
|
java.lang.String |
getPasswordDecrypted() |
java.lang.String |
getPersonalName()
Returns the personal name of this account.
|
long |
getPrimaryKey()
Returns the primary key of this account.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getProtocol()
Returns the protocol of this account.
|
boolean |
getSavePassword()
Returns the save password of this account.
|
long |
getSentFolderId()
Returns the sent folder ID of this account.
|
java.lang.String |
getSignature()
Returns the signature of this account.
|
long |
getTrashFolderId()
Returns the trash folder ID of this account.
|
long |
getUserId()
Returns the user ID of this account.
|
java.lang.String |
getUserName()
Returns the user name of this account.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this account.
|
boolean |
getUseSignature()
Returns the use signature of this account.
|
Account |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isDefaultSender()
Returns
true if this account is default sender. |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isIncomingSecure()
Returns
true if this account is incoming secure. |
boolean |
isNew() |
boolean |
isOutgoingSecure()
Returns
true if this account is outgoing secure. |
boolean |
isSavePassword()
Returns
true if this account is save password. |
boolean |
isUseSignature()
Returns
true if this account is use signature. |
void |
persist() |
void |
resetOriginalValues() |
void |
setAccountId(long accountId)
Sets the account ID of this account.
|
void |
setAddress(java.lang.String address)
Sets the address of this account.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this account.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this account.
|
void |
setDefaultSender(boolean defaultSender)
Sets whether this account is default sender.
|
void |
setDraftFolderId(long draftFolderId)
Sets the draft folder ID of this account.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFolderPrefix(java.lang.String folderPrefix)
Sets the folder prefix of this account.
|
void |
setInboxFolderId(long inboxFolderId)
Sets the inbox folder ID of this account.
|
void |
setIncomingHostName(java.lang.String incomingHostName)
Sets the incoming host name of this account.
|
void |
setIncomingPort(int incomingPort)
Sets the incoming port of this account.
|
void |
setIncomingSecure(boolean incomingSecure)
Sets whether this account is incoming secure.
|
void |
setLogin(java.lang.String login)
Sets the login of this account.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this account.
|
void |
setNew(boolean n) |
void |
setOutgoingHostName(java.lang.String outgoingHostName)
Sets the outgoing host name of this account.
|
void |
setOutgoingPort(int outgoingPort)
Sets the outgoing port of this account.
|
void |
setOutgoingSecure(boolean outgoingSecure)
Sets whether this account is outgoing secure.
|
void |
setPassword(java.lang.String password)
Sets the password of this account.
|
void |
setPasswordDecrypted(java.lang.String unencryptedPassword) |
void |
setPersonalName(java.lang.String personalName)
Sets the personal name of this account.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this account.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setProtocol(java.lang.String protocol)
Sets the protocol of this account.
|
void |
setSavePassword(boolean savePassword)
Sets whether this account is save password.
|
void |
setSentFolderId(long sentFolderId)
Sets the sent folder ID of this account.
|
void |
setSignature(java.lang.String signature)
Sets the signature of this account.
|
void |
setTrashFolderId(long trashFolderId)
Sets the trash folder ID of this account.
|
void |
setUserId(long userId)
Sets the user ID of this account.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this account.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this account.
|
void |
setUseSignature(boolean useSignature)
Sets whether this account is use signature.
|
com.liferay.portal.kernel.model.CacheModel<Account> |
toCacheModel() |
Account |
toEscapedModel() |
java.lang.String |
toString() |
Account |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public AccountWrapper(Account account)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Account>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<Account>public Account toEscapedModel()
toEscapedModel in interface AccountModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<Account>public Account toUnescapedModel()
toUnescapedModel in interface AccountModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<Account>public boolean getDefaultSender()
getDefaultSender in interface AccountModelpublic boolean getIncomingSecure()
getIncomingSecure in interface AccountModelpublic boolean getOutgoingSecure()
getOutgoingSecure in interface AccountModelpublic boolean getSavePassword()
getSavePassword in interface AccountModelpublic boolean getUseSignature()
getUseSignature in interface AccountModelpublic boolean isCachedModel()
isCachedModel in interface AccountModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<Account>public boolean isDefaultSender()
true if this account is default sender.isDefaultSender in interface AccountModeltrue if this account is default sender; false otherwisepublic boolean isEscapedModel()
isEscapedModel in interface AccountModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<Account>public boolean isIncomingSecure()
true if this account is incoming secure.isIncomingSecure in interface AccountModeltrue if this account is incoming secure; false otherwisepublic boolean isNew()
isNew in interface AccountModelisNew in interface com.liferay.portal.kernel.model.BaseModel<Account>public boolean isOutgoingSecure()
true if this account is outgoing secure.isOutgoingSecure in interface AccountModeltrue if this account is outgoing secure; false otherwisepublic boolean isSavePassword()
true if this account is save password.isSavePassword in interface AccountModeltrue if this account is save password; false otherwisepublic boolean isUseSignature()
true if this account is use signature.isUseSignature in interface AccountModeltrue if this account is use signature; false otherwisepublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface AccountModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<Account>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic com.liferay.portal.kernel.model.CacheModel<Account> toCacheModel()
toCacheModel in interface AccountModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<Account>public int compareTo(Account account)
compareTo in interface AccountModelcompareTo in interface java.lang.Comparable<Account>public int getIncomingPort()
getIncomingPort in interface AccountModelpublic int getOutgoingPort()
getOutgoingPort in interface AccountModelpublic int hashCode()
hashCode in interface AccountModelhashCode in class java.lang.Objectpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface AccountModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<Account>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Object clone()
clone in interface AccountModelclone in interface com.liferay.portal.kernel.model.BaseModel<Account>clone in class java.lang.Objectpublic java.lang.String getAddress()
getAddress in interface AccountModelpublic java.lang.String getFolderPrefix()
getFolderPrefix in interface AccountModelpublic java.lang.String getIncomingHostName()
getIncomingHostName in interface AccountModelpublic java.lang.String getLogin()
getLogin in interface AccountModelpublic java.lang.String getOutgoingHostName()
getOutgoingHostName in interface AccountModelpublic java.lang.String getPassword()
getPassword in interface AccountModelpublic java.lang.String getPasswordDecrypted()
getPasswordDecrypted in interface Accountpublic java.lang.String getPersonalName()
getPersonalName in interface AccountModelpublic java.lang.String getProtocol()
getProtocol in interface AccountModelpublic java.lang.String getSignature()
getSignature in interface AccountModelpublic java.lang.String getUserName()
getUserName in interface AccountModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface AccountModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String toString()
toString in interface AccountModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface AccountModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<Account>public java.util.Date getCreateDate()
getCreateDate in interface AccountModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AccountModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getAccountId()
getAccountId in interface AccountModelpublic long getCompanyId()
getCompanyId in interface AccountModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getDraftFolderId()
getDraftFolderId in interface AccountModelpublic long getInboxFolderId()
getInboxFolderId in interface AccountModelpublic long getPrimaryKey()
getPrimaryKey in interface AccountModelpublic long getSentFolderId()
getSentFolderId in interface AccountModelpublic long getTrashFolderId()
getTrashFolderId in interface AccountModelpublic long getUserId()
getUserId in interface AccountModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAccountId(long accountId)
setAccountId in interface AccountModelaccountId - the account ID of this accountpublic void setAddress(java.lang.String address)
setAddress in interface AccountModeladdress - the address of this accountpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface AccountModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<Account>public void setCompanyId(long companyId)
setCompanyId in interface AccountModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this accountpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AccountModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this accountpublic void setDefaultSender(boolean defaultSender)
setDefaultSender in interface AccountModeldefaultSender - the default sender of this accountpublic void setDraftFolderId(long draftFolderId)
setDraftFolderId in interface AccountModeldraftFolderId - the draft folder ID of this accountpublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Account>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Account>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface AccountModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<Account>public void setFolderPrefix(java.lang.String folderPrefix)
setFolderPrefix in interface AccountModelfolderPrefix - the folder prefix of this accountpublic void setInboxFolderId(long inboxFolderId)
setInboxFolderId in interface AccountModelinboxFolderId - the inbox folder ID of this accountpublic void setIncomingHostName(java.lang.String incomingHostName)
setIncomingHostName in interface AccountModelincomingHostName - the incoming host name of this accountpublic void setIncomingPort(int incomingPort)
setIncomingPort in interface AccountModelincomingPort - the incoming port of this accountpublic void setIncomingSecure(boolean incomingSecure)
setIncomingSecure in interface AccountModelincomingSecure - the incoming secure of this accountpublic void setLogin(java.lang.String login)
setLogin in interface AccountModellogin - the login of this accountpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AccountModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this accountpublic void setNew(boolean n)
setNew in interface AccountModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<Account>public void setOutgoingHostName(java.lang.String outgoingHostName)
setOutgoingHostName in interface AccountModeloutgoingHostName - the outgoing host name of this accountpublic void setOutgoingPort(int outgoingPort)
setOutgoingPort in interface AccountModeloutgoingPort - the outgoing port of this accountpublic void setOutgoingSecure(boolean outgoingSecure)
setOutgoingSecure in interface AccountModeloutgoingSecure - the outgoing secure of this accountpublic void setPassword(java.lang.String password)
setPassword in interface AccountModelpassword - the password of this accountpublic void setPasswordDecrypted(java.lang.String unencryptedPassword)
setPasswordDecrypted in interface Accountpublic void setPersonalName(java.lang.String personalName)
setPersonalName in interface AccountModelpersonalName - the personal name of this accountpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AccountModelprimaryKey - the primary key of this accountpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface AccountModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<Account>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setProtocol(java.lang.String protocol)
setProtocol in interface AccountModelprotocol - the protocol of this accountpublic void setSavePassword(boolean savePassword)
setSavePassword in interface AccountModelsavePassword - the save password of this accountpublic void setSentFolderId(long sentFolderId)
setSentFolderId in interface AccountModelsentFolderId - the sent folder ID of this accountpublic void setSignature(java.lang.String signature)
setSignature in interface AccountModelsignature - the signature of this accountpublic void setTrashFolderId(long trashFolderId)
setTrashFolderId in interface AccountModeltrashFolderId - the trash folder ID of this accountpublic void setUseSignature(boolean useSignature)
setUseSignature in interface AccountModeluseSignature - the use signature of this accountpublic void setUserId(long userId)
setUserId in interface AccountModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this accountpublic void setUserName(java.lang.String userName)
setUserName in interface AccountModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this accountpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AccountModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this accountpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic Account getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<Account>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<Account>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<Account>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<Account>