Package com.liferay.portal.kernel.model
Class ResourceActionWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ResourceAction>
com.liferay.portal.kernel.model.ResourceActionWrapper
- All Implemented Interfaces:
BaseModel<ResourceAction>
,ClassedModel
,ModelWrapper<ResourceAction>
,MVCCModel
,PersistedModel
,ResourceAction
,ResourceActionModel
,Serializable
,Cloneable
,Comparable<ResourceAction>
public class ResourceActionWrapper
extends BaseModelWrapper<ResourceAction>
implements ModelWrapper<ResourceAction>, ResourceAction
This class is a wrapper for ResourceAction
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.portal.kernel.model.ResourceAction
RESOURCE_ACTION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the action ID of this resource action.long
Returns the bitwise value of this resource action.long
Returns the mvcc version of this resource action.getName()
Returns the name of this resource action.long
Returns the primary key of this resource action.long
Returns the resource action ID of this resource action.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this resource action.void
Sets the name of this resource action.void
setPrimaryKey
(long primaryKey) Sets the primary key of this resource action.void
setResourceActionId
(long resourceActionId) Sets the resource action ID of this resource action.protected ResourceActionWrapper
wrap
(ResourceAction resourceAction) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ResourceActionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<ResourceAction>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<ResourceAction>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ResourceAction>
- Specified by:
cloneWithOriginalValues
in interfaceResourceActionModel
-
getActionId
Returns the action ID of this resource action.- Specified by:
getActionId
in interfaceResourceActionModel
- Returns:
- the action ID of this resource action
-
getBitwiseValue
public long getBitwiseValue()Returns the bitwise value of this resource action.- Specified by:
getBitwiseValue
in interfaceResourceActionModel
- Returns:
- the bitwise value of this resource action
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this resource action.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceResourceActionModel
- Returns:
- the mvcc version of this resource action
-
getName
Returns the name of this resource action.- Specified by:
getName
in interfaceResourceActionModel
- Returns:
- the name of this resource action
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this resource action.- Specified by:
getPrimaryKey
in interfaceResourceActionModel
- Returns:
- the primary key of this resource action
-
getResourceActionId
public long getResourceActionId()Returns the resource action ID of this resource action.- Specified by:
getResourceActionId
in interfaceResourceActionModel
- Returns:
- the resource action ID of this resource action
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setActionId
Sets the action ID of this resource action.- Specified by:
setActionId
in interfaceResourceActionModel
- Parameters:
actionId
- the action ID of this resource action
-
setBitwiseValue
public void setBitwiseValue(long bitwiseValue) Sets the bitwise value of this resource action.- Specified by:
setBitwiseValue
in interfaceResourceActionModel
- Parameters:
bitwiseValue
- the bitwise value of this resource action
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this resource action.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceResourceActionModel
- Parameters:
mvccVersion
- the mvcc version of this resource action
-
setName
Sets the name of this resource action.- Specified by:
setName
in interfaceResourceActionModel
- Parameters:
name
- the name of this resource action
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this resource action.- Specified by:
setPrimaryKey
in interfaceResourceActionModel
- Parameters:
primaryKey
- the primary key of this resource action
-
setResourceActionId
public void setResourceActionId(long resourceActionId) Sets the resource action ID of this resource action.- Specified by:
setResourceActionId
in interfaceResourceActionModel
- Parameters:
resourceActionId
- the resource action ID of this resource action
-
toXmlString
- Specified by:
toXmlString
in interfaceResourceActionModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<ResourceAction>
-