Liferay 7.0-ga1 portal-impl

com.liferay.portal.model.impl
Class PortletPreferencesCacheModel

java.lang.Object
  extended by com.liferay.portal.model.impl.PortletPreferencesCacheModel
All Implemented Interfaces:
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferences>, com.liferay.portal.kernel.model.MVCCModel, Externalizable, Serializable

@ProviderType
public class PortletPreferencesCacheModel
extends Object
implements com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferences>, Externalizable, com.liferay.portal.kernel.model.MVCCModel

The cache model class for representing PortletPreferences in entity cache.

See Also:
PortletPreferences, Serialized Form
{$generated.description}

Field Summary
 long companyId
           
 long mvccVersion
           
 long ownerId
           
 int ownerType
           
 long plid
           
 String portletId
           
 long portletPreferencesId
           
 String preferences
           
 
Constructor Summary
PortletPreferencesCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 com.liferay.portal.kernel.model.PortletPreferences toEntityModel()
           
 String toString()
           
 void writeExternal(ObjectOutput objectOutput)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

mvccVersion

public long mvccVersion

portletPreferencesId

public long portletPreferencesId

companyId

public long companyId

ownerId

public long ownerId

ownerType

public int ownerType

plid

public long plid

portletId

public String portletId

preferences

public String preferences
Constructor Detail

PortletPreferencesCacheModel

public PortletPreferencesCacheModel()
Method Detail

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.PortletPreferences toEntityModel()
Specified by:
toEntityModel in interface com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.PortletPreferences>

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 7.0-ga1 portal-impl