|
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.ResourceActionWrapper
public class ResourceActionWrapper
This class is a wrapper for ResourceAction.
ResourceAction,
Serialized Form| Constructor Summary | |
|---|---|
ResourceActionWrapper(ResourceAction resourceAction)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceAction resourceAction)
|
String |
getActionId()
Gets the action id of this resource action. |
long |
getBitwiseValue()
Gets the bitwise value of this resource action. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getName()
Gets the name of this resource action. |
long |
getPrimaryKey()
Gets the primary key of this resource action. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getResourceActionId()
Gets the resource action id of this resource action. |
ResourceAction |
getWrappedResourceAction()
|
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 |
setActionId(String actionId)
Sets the action id of this resource action. |
void |
setBitwiseValue(long bitwiseValue)
Sets the bitwise value of this resource action. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 action. |
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 action |
void |
setResourceActionId(long resourceActionId)
Sets the resource action id of this resource action. |
ResourceAction |
toEscapedModel()
Gets a copy of this resource action 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 ResourceActionWrapper(ResourceAction resourceAction)
| Method Detail |
|---|
public long getPrimaryKey()
ResourceActionModel
getPrimaryKey in interface ResourceActionModelpublic void setPrimaryKey(long pk)
ResourceActionModel
setPrimaryKey in interface ResourceActionModelpk - the primary key of this resource actionpublic long getResourceActionId()
ResourceActionModel
getResourceActionId in interface ResourceActionModelpublic void setResourceActionId(long resourceActionId)
ResourceActionModel
setResourceActionId in interface ResourceActionModelresourceActionId - the resource action id of this resource actionpublic String getName()
ResourceActionModel
getName in interface ResourceActionModelpublic void setName(String name)
ResourceActionModel
setName in interface ResourceActionModelname - the name of this resource actionpublic String getActionId()
ResourceActionModel
getActionId in interface ResourceActionModelpublic void setActionId(String actionId)
ResourceActionModel
setActionId in interface ResourceActionModelactionId - the action id of this resource actionpublic long getBitwiseValue()
ResourceActionModel
getBitwiseValue in interface ResourceActionModelpublic void setBitwiseValue(long bitwiseValue)
ResourceActionModel
setBitwiseValue in interface ResourceActionModelbitwiseValue - the bitwise value of this resource actionpublic ResourceAction toEscapedModel()
ResourceActionModelAutoEscapeBeanHandler.
toEscapedModel in interface ResourceActionModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ResourceAction>isNew in interface ResourceActionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ResourceAction>setNew in interface ResourceActionModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ResourceAction>isCachedModel in interface ResourceActionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ResourceAction>setCachedModel in interface ResourceActionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ResourceAction>isEscapedModel in interface ResourceActionModeltrue 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<ResourceAction>setEscapedModel in interface ResourceActionModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ResourceAction>getPrimaryKeyObj in interface ResourceActionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourceAction>getExpandoBridge in interface ResourceActionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourceAction>setExpandoBridgeAttributes in interface ResourceActionModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ResourceAction>clone in interface ResourceActionModelclone in class Objectpublic int compareTo(ResourceAction resourceAction)
compareTo in interface ResourceActionModelcompareTo in interface Comparable<ResourceAction>public int hashCode()
hashCode in interface ResourceActionModelhashCode in class Objectpublic String toString()
toString in interface ResourceActionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ResourceAction>toXmlString in interface ResourceActionModelpublic ResourceAction getWrappedResourceAction()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||