Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class SubscriptionCacheModel

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

@ProviderType
public class SubscriptionCacheModel
extends Object
implements CacheModel<Subscription>, Externalizable, MVCCModel

The cache model class for representing Subscription in entity cache.

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

Field Summary
 long classNameId
           
 long classPK
           
 long companyId
           
 long createDate
           
 String frequency
           
 long groupId
           
 long modifiedDate
           
 long mvccVersion
           
 long subscriptionId
           
 long userId
           
 String userName
           
 
Constructor Summary
SubscriptionCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 Subscription 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

subscriptionId

public long subscriptionId

groupId

public long groupId

companyId

public long companyId

userId

public long userId

userName

public String userName

createDate

public long createDate

modifiedDate

public long modifiedDate

classNameId

public long classNameId

classPK

public long classPK

frequency

public String frequency
Constructor Detail

SubscriptionCacheModel

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

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