Package com.liferay.portal.model.impl
Class RoleModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
com.liferay.portal.model.impl.RoleModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.RoleModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<com.liferay.portal.kernel.model.Role>
- Direct Known Subclasses:
RoleBaseImpl
@JSON(strict=true)
public class RoleModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
implements com.liferay.portal.kernel.model.RoleModel
The base model implementation for the Role service. Represents a row in the "Role_" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface RoleModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RoleImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Deprecated.static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
static final Object[][]
static final String
static final String
static final Object[][]
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final String
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final Object[][]
static final String
static final String
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.portal.kernel.model.Role
int
compareTo
(com.liferay.portal.kernel.model.Role role) boolean
Map<String,
BiConsumer<com.liferay.portal.kernel.model.Role, Object>> String[]
long
long
long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) long
long
getDescription
(String languageId) getDescription
(String languageId, boolean useDefault) getDescription
(Locale locale) getDescription
(Locale locale, boolean useDefault) com.liferay.expando.kernel.model.ExpandoBridge
Class<?>
long
getName()
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
long
com.liferay.exportimport.kernel.lar.StagedModelType
getTitle()
int
getType()
long
getUuid()
int
hashCode()
boolean
boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementvoid
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
void
setClassName
(String className) void
setClassNameId
(long classNameId) void
setClassPK
(long classPK) void
setCompanyId
(long companyId) void
setCreateDate
(Date createDate) void
setCtCollectionId
(long ctCollectionId) void
setDescription
(String description) void
setDescription
(String description, Locale locale) void
setDescription
(String description, Locale locale, Locale defaultLocale) void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) void
setDescriptionMap
(Map<Locale, String> descriptionMap, Locale defaultLocale) void
setExpandoBridgeAttributes
(com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setExternalReferenceCode
(String externalReferenceCode) void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) void
setMvccVersion
(long mvccVersion) void
void
setPrimaryKey
(long primaryKey) void
setPrimaryKeyObj
(Serializable primaryKeyObj) void
setRoleId
(long roleId) void
setSubtype
(String subtype) void
void
void
void
setTitleCurrentLanguageId
(String languageId) void
setTitleMap
(Map<Locale, String> titleMap) void
setTitleMap
(Map<Locale, String> titleMap, Locale defaultLocale) void
setType
(int type) void
setUserId
(long userId) void
setUserName
(String userName) void
setUserUuid
(String userUuid) void
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role>
com.liferay.portal.kernel.model.Role
toString()
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.RoleModel
toXmlString
-
Field Details
-
TABLE_NAME
- See Also:
-
TABLE_COLUMNS
-
TABLE_COLUMNS_MAP
-
TABLE_SQL_CREATE
- See Also:
-
TABLE_SQL_DROP
- See Also:
-
ORDER_BY_JPQL
- See Also:
-
ORDER_BY_SQL
- See Also:
-
ORDER_BY_SQL_INLINE_DISTINCT
- See Also:
-
DATA_SOURCE
- See Also:
-
SESSION_FACTORY
- See Also:
-
TX_MANAGER
- See Also:
-
ENTITY_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
FINDER_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COLUMN_BITMASK_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
CLASSNAMEID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CLASSPK_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
COMPANYID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
EXTERNALREFERENCECODE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
NAME_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
SUBTYPE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
TYPE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
UUID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
MAPPING_TABLE_GROUPS_ROLES_NAME
- See Also:
-
MAPPING_TABLE_GROUPS_ROLES_COLUMNS
-
MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
- See Also:
-
FINDER_CACHE_ENABLED_GROUPS_ROLES
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
MAPPING_TABLE_USERS_ROLES_NAME
- See Also:
-
MAPPING_TABLE_USERS_ROLES_COLUMNS
-
MAPPING_TABLE_USERS_ROLES_SQL_CREATE
- See Also:
-
FINDER_CACHE_ENABLED_USERS_ROLES
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
-
-
Constructor Details
-
RoleModelImpl
public RoleModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassName
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.portal.kernel.model.Role, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.portal.kernel.model.Role, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
-
getMvccVersion
@JSON public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getCtCollectionId
@JSON public long getCtCollectionId()- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getUuid
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
-
setUuid
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
-
getOriginalUuid
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getExternalReferenceCode
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setExternalReferenceCode
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getOriginalExternalReferenceCode
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getRoleId
@JSON public long getRoleId()- Specified by:
getRoleId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setRoleId
public void setRoleId(long roleId) - Specified by:
setRoleId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getCompanyId
@JSON public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
-
getOriginalCompanyId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getUserId
@JSON public long getUserId()- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setUserId
public void setUserId(long userId) - Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getUserUuid
- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setUserUuid
- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getUserName
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setUserName
- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getCreateDate
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
-
setCreateDate
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
-
getModifiedDate
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
-
hasSetModifiedDate
public boolean hasSetModifiedDate() -
setModifiedDate
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassName
- Specified by:
setClassName
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getClassNameId
@JSON public long getClassNameId()- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassNameId
public void setClassNameId(long classNameId) - Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.RoleModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
getOriginalClassNameId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getClassPK
@JSON public long getClassPK()- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setClassPK
public void setClassPK(long classPK) - Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getOriginalClassPK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getName
- Specified by:
getName
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setName
- Specified by:
setName
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getOriginalName
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitle
- Specified by:
getTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitleCurrentLanguageId
- Specified by:
getTitleCurrentLanguageId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitleCurrentValue
- Specified by:
getTitleCurrentValue
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getTitleMap
- Specified by:
getTitleMap
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setTitle
- Specified by:
setTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setTitle
- Specified by:
setTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setTitle
- Specified by:
setTitle
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setTitleMap
- Specified by:
setTitleMap
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setTitleMap
- Specified by:
setTitleMap
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescription
- Specified by:
getDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescription
- Specified by:
getDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescription
- Specified by:
getDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescription
- Specified by:
getDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescription
- Specified by:
getDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValue
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDescriptionMap
- Specified by:
getDescriptionMap
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setDescription
- Specified by:
setDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setDescription
- Specified by:
setDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setDescription
- Specified by:
setDescription
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setDescriptionMap
- Specified by:
setDescriptionMap
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setDescriptionMap
- Specified by:
setDescriptionMap
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getType
@JSON public int getType()- Specified by:
getType
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setType
public void setType(int type) - Specified by:
setType
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getOriginalType
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getSubtype
- Specified by:
getSubtype
in interfacecom.liferay.portal.kernel.model.RoleModel
-
setSubtype
- Specified by:
setSubtype
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getOriginalSubtype
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
getColumnBitmask
public long getColumnBitmask() -
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Overrides:
getExpandoBridge
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
setExpandoBridgeAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.RoleModel
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.RoleModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.RoleModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.RoleModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
toEscapedModel
public com.liferay.portal.kernel.model.Role toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.StagedModel
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
cloneWithOriginalValues
public com.liferay.portal.kernel.model.Role cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.RoleModel
-
compareTo
public int compareTo(com.liferay.portal.kernel.model.Role role) - Specified by:
compareTo
in interfaceComparable<com.liferay.portal.kernel.model.Role>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-
getColumnBitmask(String)