Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class PortalPreferencesCacheModel

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

@ProviderType
public class PortalPreferencesCacheModel
extends Object
implements CacheModel<PortalPreferences>, Externalizable, MVCCModel

The cache model class for representing PortalPreferences in entity cache.

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

Field Summary
 long mvccVersion
           
 long ownerId
           
 int ownerType
           
 long portalPreferencesId
           
 String preferences
           
 
Constructor Summary
PortalPreferencesCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 PortalPreferences 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

portalPreferencesId

public long portalPreferencesId

ownerId

public long ownerId

ownerType

public int ownerType

preferences

public String preferences
Constructor Detail

PortalPreferencesCacheModel

public PortalPreferencesCacheModel()
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 PortalPreferences toEntityModel()
Specified by:
toEntityModel in interface CacheModel<PortalPreferences>

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