public class AccountWrapper extends BaseModelWrapper<Account> implements Account, ModelWrapper<Account>
This class is a wrapper for Account.
Account,
Serialized FormmodelACCOUNT_ID_ACCESSOR| Constructor and Description |
|---|
AccountWrapper(Account account) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.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.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.
|
boolean |
isDefaultSender()
Returns
true if this account is default sender. |
boolean |
isIncomingSecure()
Returns
true if this account is incoming secure. |
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setAccountId(long accountId)
Sets the account ID of this account.
|
void |
setAddress(java.lang.String address)
Sets the address of this account.
|
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 |
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 |
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 |
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.
|
protected AccountWrapper |
wrap(Account account) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic AccountWrapper(Account account)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<Account>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<Account>public long getAccountId()
getAccountId in interface AccountModelpublic java.lang.String getAddress()
getAddress in interface AccountModelpublic long getCompanyId()
getCompanyId in interface AccountModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface AccountModelgetCreateDate in interface AuditedModelpublic boolean getDefaultSender()
getDefaultSender in interface AccountModelpublic long getDraftFolderId()
getDraftFolderId in interface AccountModelpublic java.lang.String getFolderPrefix()
getFolderPrefix in interface AccountModelpublic long getInboxFolderId()
getInboxFolderId in interface AccountModelpublic java.lang.String getIncomingHostName()
getIncomingHostName in interface AccountModelpublic int getIncomingPort()
getIncomingPort in interface AccountModelpublic boolean getIncomingSecure()
getIncomingSecure in interface AccountModelpublic java.lang.String getLogin()
getLogin in interface AccountModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface AccountModelgetModifiedDate in interface AuditedModelpublic java.lang.String getOutgoingHostName()
getOutgoingHostName in interface AccountModelpublic int getOutgoingPort()
getOutgoingPort in interface AccountModelpublic boolean getOutgoingSecure()
getOutgoingSecure 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 long getPrimaryKey()
getPrimaryKey in interface AccountModelpublic java.lang.String getProtocol()
getProtocol in interface AccountModelpublic boolean getSavePassword()
getSavePassword in interface AccountModelpublic long getSentFolderId()
getSentFolderId in interface AccountModelpublic java.lang.String getSignature()
getSignature in interface AccountModelpublic long getTrashFolderId()
getTrashFolderId in interface AccountModelpublic long getUserId()
getUserId in interface AccountModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface AccountModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface AccountModelgetUserUuid in interface AuditedModelpublic boolean getUseSignature()
getUseSignature in interface AccountModelpublic boolean isDefaultSender()
true if this account is default sender.isDefaultSender in interface AccountModeltrue if this account is default sender; false otherwisepublic boolean isIncomingSecure()
true if this account is incoming secure.isIncomingSecure in interface AccountModeltrue if this account is incoming secure; false otherwisepublic 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 void persist()
PersistedModelpersist in interface 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 setCompanyId(long companyId)
setCompanyId in interface AccountModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this accountpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AccountModelsetCreateDate in interface 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 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 AuditedModelmodifiedDate - the modified date of this accountpublic 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 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 setUserId(long userId)
setUserId in interface AccountModelsetUserId in interface AuditedModeluserId - the user ID of this accountpublic void setUserName(java.lang.String userName)
setUserName in interface AccountModelsetUserName in interface AuditedModeluserName - the user name of this accountpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AccountModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this accountpublic void setUseSignature(boolean useSignature)
setUseSignature in interface AccountModeluseSignature - the use signature of this accountprotected AccountWrapper wrap(Account account)
wrap in class BaseModelWrapper<Account>