Package com.liferay.portal.model.impl
Class RoleCacheModel
Object
com.liferay.portal.model.impl.RoleCacheModel
- All Implemented Interfaces:
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role>,com.liferay.portal.kernel.model.MVCCModel,Externalizable,Serializable
public class RoleCacheModel
extends Object
implements com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role>, Externalizable, com.liferay.portal.kernel.model.MVCCModel
The cache model class for representing Role in entity cache.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionlonglonglonglonglonglonglonglongintlong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonginthashCode()voidreadExternal(ObjectInput objectInput) voidsetMvccVersion(long mvccVersion) com.liferay.portal.kernel.model.RoletoString()voidwriteExternal(ObjectOutput objectOutput)
-
Field Details
-
mvccVersion
public long mvccVersion -
ctCollectionId
public long ctCollectionId -
uuid
-
externalReferenceCode
-
roleId
public long roleId -
companyId
public long companyId -
userId
public long userId -
userName
-
createDate
public long createDate -
modifiedDate
public long modifiedDate -
classNameId
public long classNameId -
classPK
public long classPK -
name
-
title
-
description
-
type
public int type -
subtype
-
-
Constructor Details
-
RoleCacheModel
public RoleCacheModel()
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel
-
toString
-
toEntityModel
public com.liferay.portal.kernel.model.Role toEntityModel()- Specified by:
toEntityModelin interfacecom.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role>
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
ClassNotFoundExceptionIOException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-