Liferay 6.2-ce-ga5

com.liferay.portal.model.impl
Class PortletCacheModel

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

public class PortletCacheModel
extends Object
implements CacheModel<Portlet>, Externalizable

The cache model class for representing Portlet in entity cache.

See Also:
Portlet, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
 boolean active
           
 long companyId
           
 long id
           
 String portletId
           
 String roles
           
 
Constructor Summary
PortletCacheModel()
           
 
Method Summary
 void readExternal(ObjectInput objectInput)
           
 Portlet 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

id

public long id

companyId

public long companyId

portletId

public String portletId

roles

public String roles

active

public boolean active
Constructor Detail

PortletCacheModel

public PortletCacheModel()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toEntityModel

public Portlet toEntityModel()
Specified by:
toEntityModel in interface CacheModel<Portlet>

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