|
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.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()
|
long |
getCompanyId()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getPrimKey()
|
long |
getResourcePermissionId()
|
long |
getRoleId()
|
int |
getScope()
|
ResourcePermission |
getWrappedResourcePermission()
|
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. |
void |
setActionIds(long actionIds)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
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 |
setPrimKey(String primKey)
|
void |
setResourcePermissionId(long resourcePermissionId)
|
void |
setRoleId(long roleId)
|
void |
setScope(int scope)
|
ResourcePermission |
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 ResourcePermissionWrapper(ResourcePermission resourcePermission)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ResourcePermissionModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ResourcePermissionModelpublic long getResourcePermissionId()
getResourcePermissionId in interface ResourcePermissionModelpublic void setResourcePermissionId(long resourcePermissionId)
setResourcePermissionId in interface ResourcePermissionModelpublic long getCompanyId()
getCompanyId in interface ResourcePermissionModelpublic void setCompanyId(long companyId)
setCompanyId in interface ResourcePermissionModelpublic String getName()
getName in interface ResourcePermissionModelpublic void setName(String name)
setName in interface ResourcePermissionModelpublic int getScope()
getScope in interface ResourcePermissionModelpublic void setScope(int scope)
setScope in interface ResourcePermissionModelpublic String getPrimKey()
getPrimKey in interface ResourcePermissionModelpublic void setPrimKey(String primKey)
setPrimKey in interface ResourcePermissionModelpublic long getRoleId()
getRoleId in interface ResourcePermissionModelpublic void setRoleId(long roleId)
setRoleId in interface ResourcePermissionModelpublic long getActionIds()
getActionIds in interface ResourcePermissionModelpublic void setActionIds(long actionIds)
setActionIds in interface ResourcePermissionModelpublic ResourcePermission toEscapedModel()
toEscapedModel in interface ResourcePermissionModelpublic 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 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<ResourcePermission>setEscapedModel in interface ResourcePermissionModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||