|
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.RoleWrapper
public class RoleWrapper
This class is a wrapper for Role.
Role,
Serialized Form| Constructor Summary | |
|---|---|
RoleWrapper(Role role)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Role role)
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
String |
getDescription()
|
String |
getDescriptiveName()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
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()
|
String |
getTypeLabel()
|
Role |
getWrappedRole()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isTeam()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setDescription(String description)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RoleWrapper(Role role)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface RoleModelpublic void setPrimaryKey(long pk)
setPrimaryKey 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 String getClassName()
getClassName in interface RoleModelpublic long getClassNameId()
getClassNameId in interface RoleModelpublic void setClassNameId(long classNameId)
setClassNameId in interface RoleModelpublic long getClassPK()
getClassPK in interface RoleModelpublic void setClassPK(long classPK)
setClassPK in interface RoleModelpublic String getName()
getName in interface RoleModelpublic void setName(String name)
setName in interface RoleModelpublic 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 RolegetTitle in interface RoleModel
public String getTitle(String languageId,
boolean useDefault)
getTitle in interface RolegetTitle 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 boolean isNew()
BaseModel
isNew in interface BaseModel<Role>isNew in interface RoleModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<Role>setNew in interface RoleModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Role>isCachedModel in interface RoleModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Role>setCachedModel in interface RoleModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Role>isEscapedModel in interface RoleModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Role>setEscapedModel in interface RoleModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Role>getPrimaryKeyObj in interface RoleModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Role>getExpandoBridge in interface RoleModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Role>setExpandoBridgeAttributes in interface RoleModelserviceContext - 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 Objectpublic int compareTo(Role role)
compareTo in interface RoleModelcompareTo in interface Comparable<Role>public 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
public String getDescriptiveName()
throws PortalException,
SystemException
getDescriptiveName in interface RolePortalException
SystemExceptionpublic String getTypeLabel()
getTypeLabel in interface Rolepublic boolean isTeam()
isTeam in interface Rolepublic Role getWrappedRole()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||