@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
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
.
RoleImpl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
CLASSPK_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED_GROUPS_ROLES
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED_USERS_ROLES
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static Object[][] |
MAPPING_TABLE_GROUPS_ROLES_COLUMNS |
static String |
MAPPING_TABLE_GROUPS_ROLES_NAME |
static String |
MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE |
static Object[][] |
MAPPING_TABLE_USERS_ROLES_COLUMNS |
static String |
MAPPING_TABLE_USERS_ROLES_NAME |
static String |
MAPPING_TABLE_USERS_ROLES_SQL_CREATE |
static long |
NAME_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
SUBTYPE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
TYPE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
UUID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
Constructor and Description |
---|
RoleModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
com.liferay.portal.kernel.model.Role |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.portal.kernel.model.Role role) |
boolean |
equals(Object object) |
Map<String,Function<com.liferay.portal.kernel.model.Role,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.portal.kernel.model.Role,Object>> |
getAttributeSetterBiConsumers() |
String[] |
getAvailableLanguageIds() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
Date |
getCreateDate() |
long |
getCtCollectionId() |
String |
getDefaultLanguageId() |
String |
getDescription() |
String |
getDescription(Locale locale) |
String |
getDescription(Locale locale,
boolean useDefault) |
String |
getDescription(String languageId) |
String |
getDescription(String languageId,
boolean useDefault) |
String |
getDescriptionCurrentLanguageId() |
String |
getDescriptionCurrentValue() |
Map<Locale,String> |
getDescriptionMap() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
String |
getName() |
long |
getOriginalClassNameId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalClassPK()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalName()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalSubtype()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
int |
getOriginalType()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalUuid()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getRoleId() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
String |
getSubtype() |
String |
getTitle() |
String |
getTitle(Locale locale) |
String |
getTitle(Locale locale,
boolean useDefault) |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getTitleCurrentLanguageId() |
String |
getTitleCurrentValue() |
Map<Locale,String> |
getTitleMap() |
int |
getType() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale) |
void |
resetOriginalValues() |
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRoleId(long roleId) |
void |
setSubtype(String subtype) |
void |
setTitle(String title) |
void |
setTitle(String title,
Locale locale) |
void |
setTitle(String title,
Locale locale,
Locale defaultLocale) |
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 |
setUuid(String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role> |
toCacheModel() |
com.liferay.portal.kernel.model.Role |
toEscapedModel() |
String |
toString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long CLASSNAMEID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long CLASSPK_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long NAME_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long SUBTYPE_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long TYPE_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long UUID_COLUMN_BITMASK
getColumnBitmask(String)
public static final String MAPPING_TABLE_GROUPS_ROLES_NAME
public static final Object[][] MAPPING_TABLE_GROUPS_ROLES_COLUMNS
public static final String MAPPING_TABLE_GROUPS_ROLES_SQL_CREATE
@Deprecated public static final boolean FINDER_CACHE_ENABLED_GROUPS_ROLES
public static final String MAPPING_TABLE_USERS_ROLES_NAME
public static final Object[][] MAPPING_TABLE_USERS_ROLES_COLUMNS
public static final String MAPPING_TABLE_USERS_ROLES_SQL_CREATE
@Deprecated public static final boolean FINDER_CACHE_ENABLED_USERS_ROLES
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
getPrimaryKey
in interface com.liferay.portal.kernel.model.RoleModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
setPrimaryKey
in interface com.liferay.portal.kernel.model.RoleModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public Map<String,Function<com.liferay.portal.kernel.model.Role,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
public Map<String,BiConsumer<com.liferay.portal.kernel.model.Role,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.RoleModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public long getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
getCtCollectionId
in interface com.liferay.portal.kernel.model.RoleModel
public void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.portal.kernel.model.Role>
setCtCollectionId
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.RoleModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(String uuid)
setUuid
in interface com.liferay.portal.kernel.model.RoleModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
@Deprecated public String getOriginalUuid()
getColumnOriginalValue(String)
@JSON public long getRoleId()
getRoleId
in interface com.liferay.portal.kernel.model.RoleModel
public void setRoleId(long roleId)
setRoleId
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.RoleModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.RoleModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)
@JSON public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface com.liferay.portal.kernel.model.RoleModel
public void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface com.liferay.portal.kernel.model.RoleModel
public String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface com.liferay.portal.kernel.model.RoleModel
public void setUserUuid(String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface com.liferay.portal.kernel.model.RoleModel
public void setUserName(String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.RoleModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.RoleModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
@JSON public Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.RoleModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.RoleModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.RoleModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassName(String className)
setClassName
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.RoleModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.RoleModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
@Deprecated public long getOriginalClassNameId()
getColumnOriginalValue(String)
@JSON public long getClassPK()
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
getClassPK
in interface com.liferay.portal.kernel.model.RoleModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
in interface com.liferay.portal.kernel.model.RoleModel
@Deprecated public long getOriginalClassPK()
getColumnOriginalValue(String)
@JSON public String getName()
getName
in interface com.liferay.portal.kernel.model.RoleModel
public void setName(String name)
setName
in interface com.liferay.portal.kernel.model.RoleModel
@Deprecated public String getOriginalName()
getColumnOriginalValue(String)
@JSON public String getTitle()
getTitle
in interface com.liferay.portal.kernel.model.RoleModel
public String getTitle(Locale locale)
getTitle
in interface com.liferay.portal.kernel.model.RoleModel
public String getTitle(Locale locale, boolean useDefault)
getTitle
in interface com.liferay.portal.kernel.model.RoleModel
public String getTitle(String languageId)
getTitle
in interface com.liferay.portal.kernel.model.RoleModel
public String getTitle(String languageId, boolean useDefault)
getTitle
in interface com.liferay.portal.kernel.model.RoleModel
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public String getTitleCurrentValue()
getTitleCurrentValue
in interface com.liferay.portal.kernel.model.RoleModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface com.liferay.portal.kernel.model.RoleModel
public void setTitle(String title)
setTitle
in interface com.liferay.portal.kernel.model.RoleModel
public void setTitle(String title, Locale locale)
setTitle
in interface com.liferay.portal.kernel.model.RoleModel
public void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface com.liferay.portal.kernel.model.RoleModel
public void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface com.liferay.portal.kernel.model.RoleModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface com.liferay.portal.kernel.model.RoleModel
public void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public String getDescription()
getDescription
in interface com.liferay.portal.kernel.model.RoleModel
public String getDescription(Locale locale)
getDescription
in interface com.liferay.portal.kernel.model.RoleModel
public String getDescription(Locale locale, boolean useDefault)
getDescription
in interface com.liferay.portal.kernel.model.RoleModel
public String getDescription(String languageId)
getDescription
in interface com.liferay.portal.kernel.model.RoleModel
public String getDescription(String languageId, boolean useDefault)
getDescription
in interface com.liferay.portal.kernel.model.RoleModel
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface com.liferay.portal.kernel.model.RoleModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface com.liferay.portal.kernel.model.RoleModel
public void setDescription(String description)
setDescription
in interface com.liferay.portal.kernel.model.RoleModel
public void setDescription(String description, Locale locale)
setDescription
in interface com.liferay.portal.kernel.model.RoleModel
public void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface com.liferay.portal.kernel.model.RoleModel
public void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface com.liferay.portal.kernel.model.RoleModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface com.liferay.portal.kernel.model.RoleModel
public void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface com.liferay.portal.kernel.model.RoleModel
@JSON public int getType()
getType
in interface com.liferay.portal.kernel.model.RoleModel
public void setType(int type)
setType
in interface com.liferay.portal.kernel.model.RoleModel
@Deprecated public int getOriginalType()
getColumnOriginalValue(String)
@JSON public String getSubtype()
getSubtype
in interface com.liferay.portal.kernel.model.RoleModel
public void setSubtype(String subtype)
setSubtype
in interface com.liferay.portal.kernel.model.RoleModel
@Deprecated public String getOriginalSubtype()
getColumnOriginalValue(String)
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.RoleModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.RoleModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.RoleModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.RoleModel
com.liferay.portal.kernel.exception.LocaleException
public com.liferay.portal.kernel.model.Role toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public com.liferay.portal.kernel.model.Role cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.RoleModel
public int compareTo(com.liferay.portal.kernel.model.Role role)
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Role>
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
@Deprecated public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Role> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public String toString()
toString
in class Object
public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)