com.liferay.portal.model.impl
Class PortletCacheModel
java.lang.Object
com.liferay.portal.model.impl.PortletCacheModel
- All Implemented Interfaces:
- CacheModel<Portlet>, MVCCModel, Externalizable, Serializable
@ProviderType
public class PortletCacheModel
- extends Object
- implements CacheModel<Portlet>, Externalizable, MVCCModel
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.
mvccVersion
public long mvccVersion
id
public long id
companyId
public long companyId
portletId
public String portletId
roles
public String roles
active
public boolean active
PortletCacheModel
public PortletCacheModel()
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 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