@ProviderType
public class AttachmentModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>
implements com.liferay.mail.reader.model.AttachmentModel
This implementation and its corresponding interface AttachmentModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AttachmentImpl.
AttachmentImpl,
Attachment,
AttachmentModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
ATTACHMENTID_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static long |
MESSAGEID_COLUMN_BITMASK |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
AttachmentModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.mail.reader.model.Attachment attachment) |
boolean |
equals(java.lang.Object obj) |
long |
getAccountId() |
long |
getAttachmentId() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.lang.String |
getContentPath() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getFileName() |
long |
getFolderId() |
long |
getMessageId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getOriginalMessageId() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getSize() |
long |
getUserId() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAccountId(long accountId) |
void |
setAttachmentId(long attachmentId) |
void |
setCompanyId(long companyId) |
void |
setContentPath(java.lang.String contentPath) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setFileName(java.lang.String fileName) |
void |
setFolderId(long folderId) |
void |
setMessageId(long messageId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setSize(long size) |
void |
setUserId(long userId) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.mail.reader.model.Attachment> |
toCacheModel() |
com.liferay.mail.reader.model.Attachment |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long MESSAGEID_COLUMN_BITMASK
public static final long ATTACHMENTID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.mail.reader.model.AttachmentModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.mail.reader.model.AttachmentModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.mail.reader.model.AttachmentModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.mail.reader.model.AttachmentModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public long getAttachmentId()
getAttachmentId in interface com.liferay.mail.reader.model.AttachmentModelpublic void setAttachmentId(long attachmentId)
setAttachmentId in interface com.liferay.mail.reader.model.AttachmentModelpublic long getCompanyId()
getCompanyId in interface com.liferay.mail.reader.model.AttachmentModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.mail.reader.model.AttachmentModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getUserId()
getUserId in interface com.liferay.mail.reader.model.AttachmentModelpublic void setUserId(long userId)
setUserId in interface com.liferay.mail.reader.model.AttachmentModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.mail.reader.model.AttachmentModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.mail.reader.model.AttachmentModelpublic long getAccountId()
getAccountId in interface com.liferay.mail.reader.model.AttachmentModelpublic void setAccountId(long accountId)
setAccountId in interface com.liferay.mail.reader.model.AttachmentModelpublic long getFolderId()
getFolderId in interface com.liferay.mail.reader.model.AttachmentModelpublic void setFolderId(long folderId)
setFolderId in interface com.liferay.mail.reader.model.AttachmentModelpublic long getMessageId()
getMessageId in interface com.liferay.mail.reader.model.AttachmentModelpublic void setMessageId(long messageId)
setMessageId in interface com.liferay.mail.reader.model.AttachmentModelpublic long getOriginalMessageId()
public java.lang.String getContentPath()
getContentPath in interface com.liferay.mail.reader.model.AttachmentModelpublic void setContentPath(java.lang.String contentPath)
setContentPath in interface com.liferay.mail.reader.model.AttachmentModelpublic java.lang.String getFileName()
getFileName in interface com.liferay.mail.reader.model.AttachmentModelpublic void setFileName(java.lang.String fileName)
setFileName in interface com.liferay.mail.reader.model.AttachmentModelpublic long getSize()
getSize in interface com.liferay.mail.reader.model.AttachmentModelpublic void setSize(long size)
setSize in interface com.liferay.mail.reader.model.AttachmentModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.mail.reader.model.AttachmentModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.mail.reader.model.AttachmentModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public com.liferay.mail.reader.model.Attachment toEscapedModel()
toEscapedModel in interface com.liferay.mail.reader.model.AttachmentModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public java.lang.Object clone()
clone in interface com.liferay.mail.reader.model.AttachmentModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public int compareTo(com.liferay.mail.reader.model.Attachment attachment)
compareTo in interface com.liferay.mail.reader.model.AttachmentModelcompareTo in interface java.lang.Comparable<com.liferay.mail.reader.model.Attachment>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.mail.reader.model.AttachmentModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public com.liferay.portal.kernel.model.CacheModel<com.liferay.mail.reader.model.Attachment> toCacheModel()
toCacheModel in interface com.liferay.mail.reader.model.AttachmentModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.mail.reader.model.Attachment>public java.lang.String toString()
toString in interface com.liferay.mail.reader.model.AttachmentModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.mail.reader.model.AttachmentModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.mail.reader.model.Attachment>