@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.ClassedModel
public java.lang.String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
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 java.lang.Object clone()
clone
in interface AccountModel
clone
in interface com.liferay.portal.kernel.model.BaseModel<Account>
clone
in class java.lang.Object
public int compareTo(Account account)
compareTo
in interface AccountModel
compareTo
in interface java.lang.Comparable<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 com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface AccountModel
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Account>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
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.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface AccountModel
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Account>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
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 boolean getUseSignature()
getUseSignature
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 int hashCode()
hashCode
in interface AccountModel
hashCode
in class java.lang.Object
public boolean isCachedModel()
isCachedModel
in interface AccountModel
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public boolean isDefaultSender()
true
if this account is default sender.isDefaultSender
in interface AccountModel
true
if this account is default sender; false
otherwisepublic boolean isEscapedModel()
isEscapedModel
in interface AccountModel
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public boolean isIncomingSecure()
true
if this account is incoming secure.isIncomingSecure
in interface AccountModel
true
if this account is incoming secure; false
otherwisepublic boolean isNew()
isNew
in interface AccountModel
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public 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 setCachedModel(boolean cachedModel)
setCachedModel
in interface AccountModel
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public 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 setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface AccountModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface AccountModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface AccountModel
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public 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 setNew(boolean n)
setNew
in interface AccountModel
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public 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 setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface AccountModel
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Account>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public 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 setUseSignature(boolean useSignature)
setUseSignature
in interface AccountModel
useSignature
- the use signature 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 com.liferay.portal.kernel.model.CacheModel<Account> toCacheModel()
toCacheModel
in interface AccountModel
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public Account toEscapedModel()
toEscapedModel
in interface AccountModel
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public java.lang.String toString()
toString
in interface AccountModel
toString
in class java.lang.Object
public Account toUnescapedModel()
toUnescapedModel
in interface AccountModel
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public java.lang.String toXmlString()
toXmlString
in interface AccountModel
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Account>
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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>