|
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.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()
|
long |
getBitwiseValue()
|
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 |
getResourceActionId()
|
ResourceAction |
getWrappedResourceAction()
|
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 |
setActionId(String actionId)
|
void |
setBitwiseValue(long bitwiseValue)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setResourceActionId(long resourceActionId)
|
ResourceAction |
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 ResourceActionWrapper(ResourceAction resourceAction)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ResourceActionModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ResourceActionModelpublic long getResourceActionId()
getResourceActionId in interface ResourceActionModelpublic void setResourceActionId(long resourceActionId)
setResourceActionId in interface ResourceActionModelpublic String getName()
getName in interface ResourceActionModelpublic void setName(String name)
setName in interface ResourceActionModelpublic String getActionId()
getActionId in interface ResourceActionModelpublic void setActionId(String actionId)
setActionId in interface ResourceActionModelpublic long getBitwiseValue()
getBitwiseValue in interface ResourceActionModelpublic void setBitwiseValue(long bitwiseValue)
setBitwiseValue in interface ResourceActionModelpublic ResourceAction toEscapedModel()
toEscapedModel in interface ResourceActionModelpublic 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 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<ResourceAction>setEscapedModel in interface ResourceActionModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||