|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.ResourceActionWrapper
@ProviderType public class ResourceActionWrapper
This class is a wrapper for ResourceAction.
ResourceAction,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.ResourceAction |
|---|
RESOURCE_ACTION_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
ResourceActionWrapper(ResourceAction resourceAction)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ResourceAction resourceAction)
|
boolean |
equals(Object obj)
|
String |
getActionId()
Returns the action ID of this resource action. |
long |
getBitwiseValue()
Returns the bitwise value of this resource action. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this resource action. |
String |
getName()
Returns the name of this resource action. |
long |
getPrimaryKey()
Returns the primary key of this resource action. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getResourceActionId()
Returns the resource action ID of this resource action. |
ResourceAction |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this resource action. |
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 primaryKey)
Sets the primary key of this resource action. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setResourceActionId(long resourceActionId)
Sets the resource action ID of this resource action. |
CacheModel<ResourceAction> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ResourceAction |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
ResourceAction |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceActionWrapper(ResourceAction resourceAction)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ResourceAction>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ResourceAction>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 String getActionId()
getActionId in interface ResourceActionModelpublic long getBitwiseValue()
getBitwiseValue in interface ResourceActionModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ResourceAction>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ResourceActionModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface ResourceActionModelpublic String getName()
getName in interface ResourceActionModelpublic long getPrimaryKey()
getPrimaryKey in interface ResourceActionModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ResourceAction>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ResourceActionModelpublic long getResourceActionId()
getResourceActionId in interface ResourceActionModelpublic int hashCode()
hashCode in interface ResourceActionModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ResourceAction>isCachedModel in interface ResourceActionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ResourceAction>isEscapedModel in interface ResourceActionModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ResourceAction>isNew in interface ResourceActionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setActionId(String actionId)
setActionId in interface ResourceActionModelactionId - the action ID of this resource actionpublic void setBitwiseValue(long bitwiseValue)
setBitwiseValue in interface ResourceActionModelbitwiseValue - the bitwise value of this resource actionpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ResourceAction>setCachedModel in interface ResourceActionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ResourceAction>setExpandoBridgeAttributes in interface ResourceActionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ResourceAction>setExpandoBridgeAttributes in interface ResourceActionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ResourceAction>setExpandoBridgeAttributes in interface ResourceActionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface ResourceActionModelmvccVersion - the mvcc version of this resource actionpublic void setName(String name)
setName in interface ResourceActionModelname - the name of this resource actionpublic 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 void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ResourceActionModelprimaryKey - the primary key of this resource actionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ResourceAction>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ResourceActionModelprimaryKeyObj - the primary key of this model instancepublic void setResourceActionId(long resourceActionId)
setResourceActionId in interface ResourceActionModelresourceActionId - the resource action ID of this resource actionpublic CacheModel<ResourceAction> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ResourceAction>toCacheModel in interface ResourceActionModelpublic ResourceAction toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ResourceAction>toEscapedModel in interface ResourceActionModelAutoEscapeBeanHandlerpublic String toString()
toString in interface ResourceActionModeltoString in class Objectpublic ResourceAction toUnescapedModel()
toUnescapedModel in interface BaseModel<ResourceAction>toUnescapedModel in interface ResourceActionModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ResourceAction>toXmlString in interface ResourceActionModelpublic boolean equals(Object obj)
equals in class Objectpublic ResourceAction getWrappedModel()
getWrappedModel in interface ModelWrapper<ResourceAction>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<ResourceAction>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<ResourceAction>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<ResourceAction>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||