@ProviderType public interface AccountModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<Account>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.mail.reader.model.impl.AccountModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.mail.reader.model.impl.AccountImpl
.
Account
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(Account account) |
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.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 |
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.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isDefaultSender()
Returns
true if this account is default sender. |
boolean |
isEscapedModel() |
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 |
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 |
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 |
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() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this accountlong getAccountId()
void setAccountId(long accountId)
accountId
- the account ID of this accountlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this accountlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this accountjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this account@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this accountjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this accountjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this account@AutoEscape java.lang.String getAddress()
void setAddress(java.lang.String address)
address
- the address of this account@AutoEscape java.lang.String getPersonalName()
void setPersonalName(java.lang.String personalName)
personalName
- the personal name of this account@AutoEscape java.lang.String getProtocol()
void setProtocol(java.lang.String protocol)
protocol
- the protocol of this account@AutoEscape java.lang.String getIncomingHostName()
void setIncomingHostName(java.lang.String incomingHostName)
incomingHostName
- the incoming host name of this accountint getIncomingPort()
void setIncomingPort(int incomingPort)
incomingPort
- the incoming port of this accountboolean getIncomingSecure()
boolean isIncomingSecure()
true
if this account is incoming secure.true
if this account is incoming secure; false
otherwisevoid setIncomingSecure(boolean incomingSecure)
incomingSecure
- the incoming secure of this account@AutoEscape java.lang.String getOutgoingHostName()
void setOutgoingHostName(java.lang.String outgoingHostName)
outgoingHostName
- the outgoing host name of this accountint getOutgoingPort()
void setOutgoingPort(int outgoingPort)
outgoingPort
- the outgoing port of this accountboolean getOutgoingSecure()
boolean isOutgoingSecure()
true
if this account is outgoing secure.true
if this account is outgoing secure; false
otherwisevoid setOutgoingSecure(boolean outgoingSecure)
outgoingSecure
- the outgoing secure of this account@AutoEscape java.lang.String getLogin()
void setLogin(java.lang.String login)
login
- the login of this account@AutoEscape java.lang.String getPassword()
void setPassword(java.lang.String password)
password
- the password of this accountboolean getSavePassword()
boolean isSavePassword()
true
if this account is save password.true
if this account is save password; false
otherwisevoid setSavePassword(boolean savePassword)
savePassword
- the save password of this account@AutoEscape java.lang.String getSignature()
void setSignature(java.lang.String signature)
signature
- the signature of this accountboolean getUseSignature()
boolean isUseSignature()
true
if this account is use signature.true
if this account is use signature; false
otherwisevoid setUseSignature(boolean useSignature)
useSignature
- the use signature of this account@AutoEscape java.lang.String getFolderPrefix()
void setFolderPrefix(java.lang.String folderPrefix)
folderPrefix
- the folder prefix of this accountlong getInboxFolderId()
void setInboxFolderId(long inboxFolderId)
inboxFolderId
- the inbox folder ID of this accountlong getDraftFolderId()
void setDraftFolderId(long draftFolderId)
draftFolderId
- the draft folder ID of this accountlong getSentFolderId()
void setSentFolderId(long sentFolderId)
sentFolderId
- the sent folder ID of this accountlong getTrashFolderId()
void setTrashFolderId(long trashFolderId)
trashFolderId
- the trash folder ID of this accountboolean getDefaultSender()
boolean isDefaultSender()
true
if this account is default sender.true
if this account is default sender; false
otherwisevoid setDefaultSender(boolean defaultSender)
defaultSender
- the default sender of this accountboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<Account>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<Account>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Account>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<Account>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<Account>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Account>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Account>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<Account>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<Account>
int compareTo(Account account)
compareTo
in interface java.lang.Comparable<Account>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<Account> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
Account toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
Account toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<Account>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<Account>