|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ResourcePermissionWrapper
public class ResourcePermissionWrapper
This class is a wrapper for ResourcePermission.
ResourcePermission,
Serialized Form| Constructor Summary | |
|---|---|
ResourcePermissionWrapper(ResourcePermission resourcePermission)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourcePermission resourcePermission)
|
long |
getActionIds()
Gets the action ids of this resource permission. |
long |
getCompanyId()
Gets the company id of this resource permission. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this resource permission. |
long |
getPrimaryKey()
Gets the primary key of this resource permission. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getPrimKey()
Gets the prim key of this resource permission. |
long |
getResourcePermissionId()
Gets the resource permission id of this resource permission. |
long |
getRoleId()
Gets the role id of this resource permission. |
int |
getScope()
Gets the scope of this resource permission. |
ResourcePermission |
getWrappedResourcePermission()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setActionIds(long actionIds)
Sets the action ids of this resource permission. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
Sets the company id of this resource permission. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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)
Sets the name of this resource permission. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
Sets the primary key of this resource permission |
void |
setPrimKey(String primKey)
Sets the prim key of this resource permission. |
void |
setResourcePermissionId(long resourcePermissionId)
Sets the resource permission id of this resource permission. |
void |
setRoleId(long roleId)
Sets the role id of this resource permission. |
void |
setScope(int scope)
Sets the scope of this resource permission. |
ResourcePermission |
toEscapedModel()
Gets a copy of this resource permission as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
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 ResourcePermissionWrapper(ResourcePermission resourcePermission)
| Method Detail |
|---|
public long getPrimaryKey()
ResourcePermissionModel
getPrimaryKey in interface ResourcePermissionModelpublic void setPrimaryKey(long pk)
ResourcePermissionModel
setPrimaryKey in interface ResourcePermissionModelpk - the primary key of this resource permissionpublic long getResourcePermissionId()
ResourcePermissionModel
getResourcePermissionId in interface ResourcePermissionModelpublic void setResourcePermissionId(long resourcePermissionId)
ResourcePermissionModel
setResourcePermissionId in interface ResourcePermissionModelresourcePermissionId - the resource permission id of this resource permissionpublic long getCompanyId()
ResourcePermissionModel
getCompanyId in interface ResourcePermissionModelpublic void setCompanyId(long companyId)
ResourcePermissionModel
setCompanyId in interface ResourcePermissionModelcompanyId - the company id of this resource permissionpublic String getName()
ResourcePermissionModel
getName in interface ResourcePermissionModelpublic void setName(String name)
ResourcePermissionModel
setName in interface ResourcePermissionModelname - the name of this resource permissionpublic int getScope()
ResourcePermissionModel
getScope in interface ResourcePermissionModelpublic void setScope(int scope)
ResourcePermissionModel
setScope in interface ResourcePermissionModelscope - the scope of this resource permissionpublic String getPrimKey()
ResourcePermissionModel
getPrimKey in interface ResourcePermissionModelpublic void setPrimKey(String primKey)
ResourcePermissionModel
setPrimKey in interface ResourcePermissionModelprimKey - the prim key of this resource permissionpublic long getRoleId()
ResourcePermissionModel
getRoleId in interface ResourcePermissionModelpublic void setRoleId(long roleId)
ResourcePermissionModel
setRoleId in interface ResourcePermissionModelroleId - the role id of this resource permissionpublic long getActionIds()
ResourcePermissionModel
getActionIds in interface ResourcePermissionModelpublic void setActionIds(long actionIds)
ResourcePermissionModel
setActionIds in interface ResourcePermissionModelactionIds - the action ids of this resource permissionpublic ResourcePermission toEscapedModel()
ResourcePermissionModelAutoEscapeBeanHandler.
toEscapedModel in interface ResourcePermissionModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ResourcePermission>isNew in interface ResourcePermissionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ResourcePermission>setNew in interface ResourcePermissionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ResourcePermission>isCachedModel in interface ResourcePermissionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ResourcePermission>setCachedModel in interface ResourcePermissionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ResourcePermission>isEscapedModel in interface ResourcePermissionModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ResourcePermission>setEscapedModel in interface ResourcePermissionModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ResourcePermission>getPrimaryKeyObj in interface ResourcePermissionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourcePermission>getExpandoBridge in interface ResourcePermissionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourcePermission>setExpandoBridgeAttributes in interface ResourcePermissionModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ResourcePermission>clone in interface ResourcePermissionModelclone in class Objectpublic int compareTo(ResourcePermission resourcePermission)
compareTo in interface ResourcePermissionModelcompareTo in interface Comparable<ResourcePermission>public int hashCode()
hashCode in interface ResourcePermissionModelhashCode in class Objectpublic String toString()
toString in interface ResourcePermissionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ResourcePermission>toXmlString in interface ResourcePermissionModelpublic ResourcePermission getWrappedResourcePermission()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||