@ProviderType public class ResourceActionWrapper extends java.lang.Object implements ResourceAction, ModelWrapper<ResourceAction>
This class is a wrapper for ResourceAction.
ResourceAction,
Serialized Form| Constructor and Description |
|---|
ResourceActionWrapper(ResourceAction resourceAction) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ResourceAction resourceAction) |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName()
Returns the name of this resource action.
|
long |
getPrimaryKey()
Returns the primary key of this resource action.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getResourceActionId()
Returns the resource action ID of this resource action.
|
ResourceAction |
getWrappedModel() |
ResourceAction |
getWrappedResourceAction()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
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(java.lang.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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.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(java.io.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. |
java.lang.String |
toString() |
ResourceAction |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public ResourceActionWrapper(ResourceAction resourceAction)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ResourceAction>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ResourceAction>public long getPrimaryKey()
getPrimaryKey in interface ResourceActionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ResourceActionModelprimaryKey - the primary key of this resource actionpublic long getResourceActionId()
getResourceActionId in interface ResourceActionModelpublic void setResourceActionId(long resourceActionId)
setResourceActionId in interface ResourceActionModelresourceActionId - the resource action ID of this resource actionpublic java.lang.String getName()
getName in interface ResourceActionModelpublic void setName(java.lang.String name)
setName in interface ResourceActionModelname - the name of this resource actionpublic java.lang.String getActionId()
getActionId in interface ResourceActionModelpublic void setActionId(java.lang.String actionId)
setActionId in interface ResourceActionModelactionId - the action ID of this resource actionpublic long getBitwiseValue()
getBitwiseValue in interface ResourceActionModelpublic void setBitwiseValue(long bitwiseValue)
setBitwiseValue in interface ResourceActionModelbitwiseValue - the bitwise value of this resource actionpublic 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 setNew(boolean n)
BaseModelsetNew in interface BaseModel<ResourceAction>setNew in interface ResourceActionModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ResourceAction>setCachedModel in interface ResourceActionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ResourceAction>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ResourceActionModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ResourceAction>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ResourceActionModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ResourceAction>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ResourceActionModelpublic 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)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ResourceAction>setExpandoBridgeAttributes in interface ResourceActionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<ResourceAction>clone in interface ResourceActionModelclone in class java.lang.Objectpublic int compareTo(ResourceAction resourceAction)
compareTo in interface ResourceActionModelcompareTo in interface java.lang.Comparable<ResourceAction>public int hashCode()
hashCode in interface ResourceActionModelhashCode in class java.lang.Objectpublic CacheModel<ResourceAction> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ResourceAction>toCacheModel in interface ResourceActionModelpublic ResourceAction toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ResourceAction>toEscapedModel in interface ResourceActionModelAutoEscapeBeanHandlerpublic ResourceAction toUnescapedModel()
toUnescapedModel in interface BaseModel<ResourceAction>toUnescapedModel in interface ResourceActionModelpublic java.lang.String toString()
toString in interface ResourceActionModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ResourceAction>toXmlString in interface ResourceActionModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ResourceAction getWrappedResourceAction()
getWrappedModel()public ResourceAction getWrappedModel()
getWrappedModel in interface ModelWrapper<ResourceAction>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ResourceAction>