Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class ResourceBlockCacheModel

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

@ProviderType
public class ResourceBlockCacheModel
extends Object
implements CacheModel<ResourceBlock>, Externalizable, MVCCModel

The cache model class for representing ResourceBlock in entity cache.

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

Field Summary
 long companyId
           
 long groupId
           
 long mvccVersion
           
 String name
           
 String permissionsHash
           
 long referenceCount
           
 long resourceBlockId
           
 
Constructor Summary
ResourceBlockCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 ResourceBlock 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

resourceBlockId

public long resourceBlockId

companyId

public long companyId

groupId

public long groupId

name

public String name

permissionsHash

public String permissionsHash

referenceCount

public long referenceCount
Constructor Detail

ResourceBlockCacheModel

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

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