com.liferay.portal.model.impl
Class ImageCacheModel
java.lang.Object
com.liferay.portal.model.impl.ImageCacheModel
- All Implemented Interfaces:
- CacheModel<Image>, MVCCModel, Externalizable, Serializable
@ProviderType
public class ImageCacheModel
- extends Object
- implements CacheModel<Image>, Externalizable, MVCCModel
The cache model class for representing Image in entity cache.
- See Also:
Image,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
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 MVCCModel
setMvccVersion
public void setMvccVersion(long mvccVersion)
- Specified by:
setMvccVersion in interface MVCCModel
toString
public String toString()
- Overrides:
toString in class Object
toEntityModel
public Image toEntityModel()
- Specified by:
toEntityModel in interface CacheModel<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