com.liferay.portal.model.impl
Class RoleCacheModel
java.lang.Object
com.liferay.portal.model.impl.RoleCacheModel
- All Implemented Interfaces:
- CacheModel<Role>, MVCCModel, Externalizable, Serializable
@ProviderType
public class RoleCacheModel
- extends Object
- implements CacheModel<Role>, Externalizable, MVCCModel
The cache model class for representing Role in entity cache.
- See Also:
Role,
Serialized Form- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
mvccVersion
public long mvccVersion
uuid
public String uuid
roleId
public long roleId
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
name
public String name
title
public String title
description
public String description
type
public int type
subtype
public String subtype
RoleCacheModel
public RoleCacheModel()
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 Role toEntityModel()
- Specified by:
toEntityModel in interface CacheModel<Role>
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