Liferay 6.2-ce-ga5

com.liferay.portal.model.impl
Class ImageCacheModel

java.lang.Object
  extended by com.liferay.portal.model.impl.ImageCacheModel
All Implemented Interfaces:
CacheModel<Image>, Externalizable, Serializable

public class ImageCacheModel
extends Object
implements CacheModel<Image>, Externalizable

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.

Field Summary
 int height
           
 long imageId
           
 long modifiedDate
           
 int size
           
 String type
           
 int width
           
 
Constructor Summary
ImageCacheModel()
           
 
Method Summary
 void readExternal(ObjectInput objectInput)
           
 Image toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

imageId

public long imageId

modifiedDate

public long modifiedDate

type

public String type

height

public int height

width

public int width

size

public int size
Constructor Detail

ImageCacheModel

public ImageCacheModel()
Method Detail

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

Liferay 6.2-ce-ga5