@ProviderType public interface AttachmentModel extends com.liferay.portal.kernel.model.BaseModel<Attachment>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.mail.reader.model.impl.AttachmentModelImpl
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.AttachmentImpl
.
Attachment
Modifier and Type | Method and Description |
---|---|
long |
getAccountId()
Returns the account ID of this attachment.
|
long |
getAttachmentId()
Returns the attachment ID of this attachment.
|
long |
getCompanyId()
Returns the company ID of this attachment.
|
java.lang.String |
getContentPath()
Returns the content path of this attachment.
|
java.lang.String |
getFileName()
Returns the file name of this attachment.
|
long |
getFolderId()
Returns the folder ID of this attachment.
|
long |
getMessageId()
Returns the message ID of this attachment.
|
long |
getPrimaryKey()
Returns the primary key of this attachment.
|
long |
getSize()
Returns the size of this attachment.
|
long |
getUserId()
Returns the user ID of this attachment.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this attachment.
|
void |
setAccountId(long accountId)
Sets the account ID of this attachment.
|
void |
setAttachmentId(long attachmentId)
Sets the attachment ID of this attachment.
|
void |
setCompanyId(long companyId)
Sets the company ID of this attachment.
|
void |
setContentPath(java.lang.String contentPath)
Sets the content path of this attachment.
|
void |
setFileName(java.lang.String fileName)
Sets the file name of this attachment.
|
void |
setFolderId(long folderId)
Sets the folder ID of this attachment.
|
void |
setMessageId(long messageId)
Sets the message ID of this attachment.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this attachment.
|
void |
setSize(long size)
Sets the size of this attachment.
|
void |
setUserId(long userId)
Sets the user ID of this attachment.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this attachment.
|
clone, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this attachmentlong getAttachmentId()
void setAttachmentId(long attachmentId)
attachmentId
- the attachment ID of this attachmentlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this attachmentlong getUserId()
void setUserId(long userId)
userId
- the user ID of this attachmentjava.lang.String getUserUuid()
void setUserUuid(java.lang.String userUuid)
userUuid
- the user uuid of this attachmentlong getAccountId()
void setAccountId(long accountId)
accountId
- the account ID of this attachmentlong getFolderId()
void setFolderId(long folderId)
folderId
- the folder ID of this attachmentlong getMessageId()
void setMessageId(long messageId)
messageId
- the message ID of this attachment@AutoEscape java.lang.String getContentPath()
void setContentPath(java.lang.String contentPath)
contentPath
- the content path of this attachment@AutoEscape java.lang.String getFileName()
void setFileName(java.lang.String fileName)
fileName
- the file name of this attachmentlong getSize()
void setSize(long size)
size
- the size of this attachment