Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class PortletPreferencesCacheModel

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

@ProviderType
public class PortletPreferencesCacheModel
extends Object
implements CacheModel<PortletPreferences>, Externalizable, MVCCModel

The cache model class for representing PortletPreferences in entity cache.

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

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)
           
 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 MVCCModel

setMvccVersion

public void setMvccVersion(long mvccVersion)
Specified by:
setMvccVersion in interface MVCCModel

toString

public String toString()
Overrides:
toString in class Object

toEntityModel

public PortletPreferences toEntityModel()
Specified by:
toEntityModel in interface CacheModel<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-ce-b4