|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Role>
com.liferay.portal.model.impl.RoleModelImpl
public class RoleModelImpl
This interface is a model that represents the Role_ table in the database.
RoleImpl,
Role,
RoleModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED_GROUPS_ROLES
|
static boolean |
FINDER_CACHE_ENABLED_ROLES_PERMISSIONS
|
static boolean |
FINDER_CACHE_ENABLED_USERS_ROLES
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
MAPPING_TABLE_GROUPS_ROLES_NAME
|
static Object[][] |
MAPPING_TABLE_ROLES_PERMISSIONS_COLUMNS
|
static String |
MAPPING_TABLE_ROLES_PERMISSIONS_NAME
|
static String |
MAPPING_TABLE_ROLES_PERMISSIONS_SQL_CREATE
|
static String |
MAPPING_TABLE_USERS_ROLES_NAME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
RoleModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Role role)
|
boolean |
equals(Object obj)
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
String |
getOriginalName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
long |
getRoleId()
|
String |
getSubtype()
|
String |
getTitle()
|
String |
getTitle(Locale locale)
|
String |
getTitle(Locale locale,
boolean useDefault)
|
String |
getTitle(String languageId)
|
String |
getTitle(String languageId,
boolean useDefault)
|
Map<Locale,String> |
getTitleMap()
|
int |
getType()
|
int |
hashCode()
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setDescription(String description)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setName(String name)
|
void |
setPrimaryKey(long pk)
|
void |
setRoleId(long roleId)
|
void |
setSubtype(String subtype)
|
void |
setTitle(Locale locale,
String title)
|
void |
setTitle(String title)
|
void |
setTitleMap(Map<Locale,String> titleMap)
|
void |
setType(int type)
|
Role |
toEscapedModel()
|
static Role |
toModel(RoleSoap soapModel)
|
static List<Role> |
toModels(RoleSoap[] soapModels)
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.RoleModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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 String MAPPING_TABLE_GROUPS_ROLES_NAME
public static final boolean FINDER_CACHE_ENABLED_GROUPS_ROLES
public static final String MAPPING_TABLE_ROLES_PERMISSIONS_NAME
public static final Object[][] MAPPING_TABLE_ROLES_PERMISSIONS_COLUMNS
public static final String MAPPING_TABLE_ROLES_PERMISSIONS_SQL_CREATE
public static final boolean FINDER_CACHE_ENABLED_ROLES_PERMISSIONS
public static final String MAPPING_TABLE_USERS_ROLES_NAME
public static final boolean FINDER_CACHE_ENABLED_USERS_ROLES
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public RoleModelImpl()
| Method Detail |
|---|
public static Role toModel(RoleSoap soapModel)
public static List<Role> toModels(RoleSoap[] soapModels)
public long getPrimaryKey()
getPrimaryKey in interface RoleModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface RoleModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Role>getPrimaryKeyObj in interface RoleModelpublic long getRoleId()
getRoleId in interface RoleModelpublic void setRoleId(long roleId)
setRoleId in interface RoleModelpublic long getCompanyId()
getCompanyId in interface RoleModelpublic void setCompanyId(long companyId)
setCompanyId in interface RoleModelpublic long getOriginalCompanyId()
public String getClassName()
getClassName in interface RoleModelpublic long getClassNameId()
getClassNameId in interface RoleModelpublic void setClassNameId(long classNameId)
setClassNameId in interface RoleModelpublic long getOriginalClassNameId()
public long getClassPK()
getClassPK in interface RoleModelpublic void setClassPK(long classPK)
setClassPK in interface RoleModelpublic long getOriginalClassPK()
public String getName()
getName in interface RoleModelpublic void setName(String name)
setName in interface RoleModelpublic String getOriginalName()
public String getTitle()
getTitle in interface RoleModelpublic String getTitle(Locale locale)
getTitle in interface RoleModel
public String getTitle(Locale locale,
boolean useDefault)
getTitle in interface RoleModelpublic String getTitle(String languageId)
getTitle in interface RoleModel
public String getTitle(String languageId,
boolean useDefault)
getTitle in interface RoleModelpublic Map<Locale,String> getTitleMap()
getTitleMap in interface RoleModelpublic void setTitle(String title)
setTitle in interface RoleModel
public void setTitle(Locale locale,
String title)
setTitle in interface RoleModelpublic void setTitleMap(Map<Locale,String> titleMap)
setTitleMap in interface RoleModelpublic String getDescription()
getDescription in interface RoleModelpublic void setDescription(String description)
setDescription in interface RoleModelpublic int getType()
getType in interface RoleModelpublic void setType(int type)
setType in interface RoleModelpublic String getSubtype()
getSubtype in interface RoleModelpublic void setSubtype(String subtype)
setSubtype in interface RoleModelpublic Role toEscapedModel()
toEscapedModel in interface RoleModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Role>getExpandoBridge in interface RoleModelgetExpandoBridge in class BaseModelImpl<Role>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Role>setExpandoBridgeAttributes in interface RoleModelsetExpandoBridgeAttributes in class BaseModelImpl<Role>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<Role>clone in interface RoleModelclone in class BaseModelImpl<Role>public int compareTo(Role role)
compareTo in interface RoleModelcompareTo in interface Comparable<Role>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface RoleModelhashCode in class Objectpublic String toString()
toString in interface RoleModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<Role>toXmlString in interface RoleModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||