public class AccountWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Account> 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 |
---|---|
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() |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public AccountWrapper(Account account)
public 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 long getAccountId()
getAccountId
in interface AccountModel
public java.lang.String getAddress()
getAddress
in interface AccountModel
public long getCompanyId()
getCompanyId
in interface AccountModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface AccountModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean getDefaultSender()
getDefaultSender
in interface AccountModel
public long getDraftFolderId()
getDraftFolderId
in interface AccountModel
public java.lang.String getFolderPrefix()
getFolderPrefix
in interface AccountModel
public long getInboxFolderId()
getInboxFolderId
in interface AccountModel
public java.lang.String getIncomingHostName()
getIncomingHostName
in interface AccountModel
public int getIncomingPort()
getIncomingPort
in interface AccountModel
public boolean getIncomingSecure()
getIncomingSecure
in interface AccountModel
public java.lang.String getLogin()
getLogin
in interface AccountModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AccountModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getOutgoingHostName()
getOutgoingHostName
in interface AccountModel
public int getOutgoingPort()
getOutgoingPort
in interface AccountModel
public boolean getOutgoingSecure()
getOutgoingSecure
in interface AccountModel
public java.lang.String getPassword()
getPassword
in interface AccountModel
public java.lang.String getPasswordDecrypted()
getPasswordDecrypted
in interface Account
public java.lang.String getPersonalName()
getPersonalName
in interface AccountModel
public long getPrimaryKey()
getPrimaryKey
in interface AccountModel
public java.lang.String getProtocol()
getProtocol
in interface AccountModel
public boolean getSavePassword()
getSavePassword
in interface AccountModel
public long getSentFolderId()
getSentFolderId
in interface AccountModel
public java.lang.String getSignature()
getSignature
in interface AccountModel
public long getTrashFolderId()
getTrashFolderId
in interface AccountModel
public long getUserId()
getUserId
in interface AccountModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface AccountModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface AccountModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean getUseSignature()
getUseSignature
in interface AccountModel
public boolean isDefaultSender()
true
if this account is default sender.isDefaultSender
in interface AccountModel
true
if this account is default sender; false
otherwisepublic boolean isIncomingSecure()
true
if this account is incoming secure.isIncomingSecure
in interface AccountModel
true
if this account is incoming secure; false
otherwisepublic boolean isOutgoingSecure()
true
if this account is outgoing secure.isOutgoingSecure
in interface AccountModel
true
if this account is outgoing secure; false
otherwisepublic boolean isSavePassword()
true
if this account is save password.isSavePassword
in interface AccountModel
true
if this account is save password; false
otherwisepublic boolean isUseSignature()
true
if this account is use signature.isUseSignature
in interface AccountModel
true
if this account is use signature; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAccountId(long accountId)
setAccountId
in interface AccountModel
accountId
- the account ID of this accountpublic void setAddress(java.lang.String address)
setAddress
in interface AccountModel
address
- the address of this accountpublic void setCompanyId(long companyId)
setCompanyId
in interface AccountModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this accountpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AccountModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this accountpublic void setDefaultSender(boolean defaultSender)
setDefaultSender
in interface AccountModel
defaultSender
- the default sender of this accountpublic void setDraftFolderId(long draftFolderId)
setDraftFolderId
in interface AccountModel
draftFolderId
- the draft folder ID of this accountpublic void setFolderPrefix(java.lang.String folderPrefix)
setFolderPrefix
in interface AccountModel
folderPrefix
- the folder prefix of this accountpublic void setInboxFolderId(long inboxFolderId)
setInboxFolderId
in interface AccountModel
inboxFolderId
- the inbox folder ID of this accountpublic void setIncomingHostName(java.lang.String incomingHostName)
setIncomingHostName
in interface AccountModel
incomingHostName
- the incoming host name of this accountpublic void setIncomingPort(int incomingPort)
setIncomingPort
in interface AccountModel
incomingPort
- the incoming port of this accountpublic void setIncomingSecure(boolean incomingSecure)
setIncomingSecure
in interface AccountModel
incomingSecure
- the incoming secure of this accountpublic void setLogin(java.lang.String login)
setLogin
in interface AccountModel
login
- the login of this accountpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AccountModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this accountpublic void setOutgoingHostName(java.lang.String outgoingHostName)
setOutgoingHostName
in interface AccountModel
outgoingHostName
- the outgoing host name of this accountpublic void setOutgoingPort(int outgoingPort)
setOutgoingPort
in interface AccountModel
outgoingPort
- the outgoing port of this accountpublic void setOutgoingSecure(boolean outgoingSecure)
setOutgoingSecure
in interface AccountModel
outgoingSecure
- the outgoing secure of this accountpublic void setPassword(java.lang.String password)
setPassword
in interface AccountModel
password
- the password of this accountpublic void setPasswordDecrypted(java.lang.String unencryptedPassword)
setPasswordDecrypted
in interface Account
public void setPersonalName(java.lang.String personalName)
setPersonalName
in interface AccountModel
personalName
- the personal name of this accountpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AccountModel
primaryKey
- the primary key of this accountpublic void setProtocol(java.lang.String protocol)
setProtocol
in interface AccountModel
protocol
- the protocol of this accountpublic void setSavePassword(boolean savePassword)
setSavePassword
in interface AccountModel
savePassword
- the save password of this accountpublic void setSentFolderId(long sentFolderId)
setSentFolderId
in interface AccountModel
sentFolderId
- the sent folder ID of this accountpublic void setSignature(java.lang.String signature)
setSignature
in interface AccountModel
signature
- the signature of this accountpublic void setTrashFolderId(long trashFolderId)
setTrashFolderId
in interface AccountModel
trashFolderId
- the trash folder ID of this accountpublic void setUserId(long userId)
setUserId
in interface AccountModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this accountpublic void setUserName(java.lang.String userName)
setUserName
in interface AccountModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this accountpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AccountModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this accountpublic void setUseSignature(boolean useSignature)
setUseSignature
in interface AccountModel
useSignature
- the use signature of this accountprotected AccountWrapper wrap(Account account)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Account>