Liferay 7.0-ce-b4

com.liferay.portal.model.impl
Class ResourcePermissionCacheModel

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

@ProviderType
public class ResourcePermissionCacheModel
extends Object
implements CacheModel<ResourcePermission>, Externalizable, MVCCModel

The cache model class for representing ResourcePermission in entity cache.

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

Field Summary
 long actionIds
           
 long companyId
           
 long mvccVersion
           
 String name
           
 long ownerId
           
 String primKey
           
 long primKeyId
           
 long resourcePermissionId
           
 long roleId
           
 int scope
           
 boolean viewActionId
           
 
Constructor Summary
ResourcePermissionCacheModel()
           
 
Method Summary
 boolean equals(Object obj)
           
 long getMvccVersion()
           
 int hashCode()
           
 void readExternal(ObjectInput objectInput)
           
 void setMvccVersion(long mvccVersion)
           
 ResourcePermission 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

resourcePermissionId

public long resourcePermissionId

companyId

public long companyId

name

public String name

scope

public int scope

primKey

public String primKey

primKeyId

public long primKeyId

roleId

public long roleId

ownerId

public long ownerId

actionIds

public long actionIds

viewActionId

public boolean viewActionId
Constructor Detail

ResourcePermissionCacheModel

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

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