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
modelFields 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.longReturns the bitwise value of this resource action.longReturns the mvcc version of this resource action.getName()Returns the name of this resource action.longReturns the primary key of this resource action.longReturns the resource action ID of this resource action.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetActionId(String actionId) Sets the action ID of this resource action.voidsetBitwiseValue(long bitwiseValue) Sets the bitwise value of this resource action.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this resource action.voidSets the name of this resource action.voidsetPrimaryKey(long primaryKey) Sets the primary key of this resource action.voidsetResourceActionId(long resourceActionId) Sets the resource action ID of this resource action.protected ResourceActionWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
ResourceActionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<ResourceAction>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<ResourceAction>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<ResourceAction>- Specified by:
cloneWithOriginalValuesin interfaceResourceActionModel
-
getActionId
Returns the action ID of this resource action.- Specified by:
getActionIdin interfaceResourceActionModel- Returns:
- the action ID of this resource action
-
getBitwiseValue
public long getBitwiseValue()Returns the bitwise value of this resource action.- Specified by:
getBitwiseValuein interfaceResourceActionModel- Returns:
- the bitwise value of this resource action
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this resource action.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceResourceActionModel- Returns:
- the mvcc version of this resource action
-
getName
Returns the name of this resource action.- Specified by:
getNamein interfaceResourceActionModel- Returns:
- the name of this resource action
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this resource action.- Specified by:
getPrimaryKeyin interfaceResourceActionModel- Returns:
- the primary key of this resource action
-
getResourceActionId
public long getResourceActionId()Returns the resource action ID of this resource action.- Specified by:
getResourceActionIdin interfaceResourceActionModel- Returns:
- the resource action ID of this resource action
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setActionId
Sets the action ID of this resource action.- Specified by:
setActionIdin 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:
setBitwiseValuein 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:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceResourceActionModel- Parameters:
mvccVersion- the mvcc version of this resource action
-
setName
Sets the name of this resource action.- Specified by:
setNamein 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:
setPrimaryKeyin 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:
setResourceActionIdin interfaceResourceActionModel- Parameters:
resourceActionId- the resource action ID of this resource action
-
toXmlString
- Specified by:
toXmlStringin interfaceResourceActionModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<ResourceAction>
-