com.liferay.portal.model.impl
Class ImageCacheModel
java.lang.Object
com.liferay.portal.model.impl.ImageCacheModel
- All Implemented Interfaces:
- com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image>, com.liferay.portal.kernel.model.MVCCModel, Externalizable, Serializable
@ProviderType
public class ImageCacheModel
- extends Object
- implements com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image>, Externalizable, com.liferay.portal.kernel.model.MVCCModel
The cache model class for representing Image in entity cache.
- See Also:
Image,
Serialized Form- {$generated.description}
mvccVersion
public long mvccVersion
imageId
public long imageId
companyId
public long companyId
modifiedDate
public long modifiedDate
type
public String type
height
public int height
width
public int width
size
public int size
ImageCacheModel
public ImageCacheModel()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
getMvccVersion
public long getMvccVersion()
- Specified by:
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
toString
public String toString()
- Overrides:
toString in class Object
toEntityModel
public com.liferay.portal.kernel.model.Image toEntityModel()
- Specified by:
toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Image>
readExternal
public void readExternal(ObjectInput objectInput)
throws IOException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
writeExternal
public void writeExternal(ObjectOutput objectOutput)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException