@JSON(strict=true)
@ProviderType
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
,
Role
,
RoleModel
,
Serialized FormConstructor and Description |
---|
RoleModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
compareTo(com.liferay.portal.kernel.model.Role role) |
boolean |
equals(Object obj) |
String[] |
getAvailableLanguageIds() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
Date |
getCreateDate() |
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() |
long |
getOriginalClassPK() |
long |
getOriginalCompanyId() |
String |
getOriginalName() |
String |
getOriginalSubtype() |
int |
getOriginalType() |
String |
getOriginalUuid() |
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() |
boolean |
isFinderCacheEnabled() |
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 |
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() |
static com.liferay.portal.kernel.model.Role |
toModel(com.liferay.portal.kernel.model.RoleSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static List<com.liferay.portal.kernel.model.Role> |
toModels(com.liferay.portal.kernel.model.RoleSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
String |
toString() |
String |
toXmlString() |
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
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long SUBTYPE_COLUMN_BITMASK
public static final long TYPE_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
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
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
public static final boolean FINDER_CACHE_ENABLED_USERS_ROLES
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.portal.kernel.model.Role toModel(com.liferay.portal.kernel.model.RoleSoap soapModel)
soapModel
- the soap model instance to convertpublic static List<com.liferay.portal.kernel.model.Role> toModels(com.liferay.portal.kernel.model.RoleSoap[] soapModels)
soapModels
- the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.RoleModel
public void setPrimaryKey(long primaryKey)
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
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.RoleModel
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
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.RoleModel
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>
@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 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
public String getOriginalUuid()
@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
public long getOriginalCompanyId()
@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
public long getOriginalClassNameId()
@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
public long getOriginalClassPK()
@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
public String getOriginalName()
@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
public int getOriginalType()
@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
public String getOriginalSubtype()
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 interface com.liferay.portal.kernel.model.RoleModel
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 interface com.liferay.portal.kernel.model.RoleModel
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 interface com.liferay.portal.kernel.model.RoleModel
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.RoleModel
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 int compareTo(com.liferay.portal.kernel.model.Role role)
compareTo
in interface com.liferay.portal.kernel.model.RoleModel
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Role>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface com.liferay.portal.kernel.model.RoleModel
hashCode
in class Object
public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
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 interface com.liferay.portal.kernel.model.RoleModel
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Role>
public String toString()
toString
in interface com.liferay.portal.kernel.model.RoleModel
toString
in class Object
public String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Role>
toXmlString
in interface com.liferay.portal.kernel.model.RoleModel