@ProviderType
public class AttachmentCacheModel
extends java.lang.Object
implements com.liferay.portal.kernel.model.CacheModel<com.liferay.mail.reader.model.Attachment>, java.io.Externalizable
Attachment,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
long |
accountId |
long |
attachmentId |
long |
companyId |
java.lang.String |
contentPath |
java.lang.String |
fileName |
long |
folderId |
long |
messageId |
long |
size |
long |
userId |
| Constructor and Description |
|---|
AttachmentCacheModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
readExternal(java.io.ObjectInput objectInput) |
com.liferay.mail.reader.model.Attachment |
toEntityModel() |
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput objectOutput) |
public long attachmentId
public long companyId
public long userId
public long accountId
public long folderId
public long messageId
public java.lang.String contentPath
public java.lang.String fileName
public long size
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic com.liferay.mail.reader.model.Attachment toEntityModel()
toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.mail.reader.model.Attachment>public void readExternal(java.io.ObjectInput objectInput)
throws java.io.IOException
readExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void writeExternal(java.io.ObjectOutput objectOutput)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException