com.liferay.portal.model
Class RoleWrapper
java.lang.Object
com.liferay.portal.model.RoleWrapper
- All Implemented Interfaces:
- BaseModel<Role>, Role, RoleModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Role>
public class RoleWrapper
- extends java.lang.Object
- implements Role
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Role
.
- Author:
- Brian Wing Shun Chan
- See Also:
Role
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
RoleWrapper
public RoleWrapper(Role role)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface RoleModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface RoleModel
getRoleId
public long getRoleId()
- Specified by:
getRoleId
in interface RoleModel
setRoleId
public void setRoleId(long roleId)
- Specified by:
setRoleId
in interface RoleModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface RoleModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface RoleModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface RoleModel
getClassNameId
public long getClassNameId()
- Specified by:
getClassNameId
in interface RoleModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId
in interface RoleModel
getClassPK
public long getClassPK()
- Specified by:
getClassPK
in interface RoleModel
setClassPK
public void setClassPK(long classPK)
- Specified by:
setClassPK
in interface RoleModel
getName
public java.lang.String getName()
- Specified by:
getName
in interface RoleModel
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface RoleModel
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface RoleModel
getTitle
public java.lang.String getTitle(java.util.Locale locale)
- Specified by:
getTitle
in interface RoleModel
getTitle
public java.lang.String getTitle(java.util.Locale locale,
boolean useDefault)
- Specified by:
getTitle
in interface RoleModel
getTitle
public java.lang.String getTitle(java.lang.String languageId)
- Specified by:
getTitle
in interface Role
- Specified by:
getTitle
in interface RoleModel
getTitle
public java.lang.String getTitle(java.lang.String languageId,
boolean useDefault)
- Specified by:
getTitle
in interface Role
- Specified by:
getTitle
in interface RoleModel
getTitleMap
public java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
- Specified by:
getTitleMap
in interface RoleModel
setTitle
public void setTitle(java.lang.String title)
- Specified by:
setTitle
in interface RoleModel
setTitle
public void setTitle(java.util.Locale locale,
java.lang.String title)
- Specified by:
setTitle
in interface RoleModel
setTitleMap
public void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
- Specified by:
setTitleMap
in interface RoleModel
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface RoleModel
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescription
in interface RoleModel
getType
public int getType()
- Specified by:
getType
in interface RoleModel
setType
public void setType(int type)
- Specified by:
setType
in interface RoleModel
getSubtype
public java.lang.String getSubtype()
- Specified by:
getSubtype
in interface RoleModel
setSubtype
public void setSubtype(java.lang.String subtype)
- Specified by:
setSubtype
in interface RoleModel
toEscapedModel
public Role toEscapedModel()
- Specified by:
toEscapedModel
in interface RoleModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<Role>
- Specified by:
isNew
in interface RoleModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<Role>
- Specified by:
setNew
in interface RoleModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<Role>
- Specified by:
isCachedModel
in interface RoleModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<Role>
- Specified by:
setCachedModel
in interface RoleModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<Role>
- Specified by:
isEscapedModel
in interface RoleModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<Role>
- Specified by:
setEscapedModel
in interface RoleModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Role>
- Specified by:
getPrimaryKeyObj
in interface RoleModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<Role>
- Specified by:
getExpandoBridge
in interface RoleModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Role>
- Specified by:
setExpandoBridgeAttributes
in interface RoleModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<Role>
- Specified by:
clone
in interface RoleModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(Role role)
- Specified by:
compareTo
in interface RoleModel
- Specified by:
compareTo
in interface java.lang.Comparable<Role>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface RoleModel
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface RoleModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<Role>
- Specified by:
toXmlString
in interface RoleModel
getTypeLabel
public java.lang.String getTypeLabel()
- Specified by:
getTypeLabel
in interface Role
getWrappedRole
public Role getWrappedRole()