@Deprecated public class ResourceTypePermissionWrapper extends BaseModelWrapper<ResourceTypePermission> implements ModelWrapper<ResourceTypePermission>, ResourceTypePermission
This class is a wrapper for ResourceTypePermission.
ResourceTypePermission,
Serialized FormmodelRESOURCE_TYPE_PERMISSION_ID_ACCESSOR| Constructor and Description |
|---|
ResourceTypePermissionWrapper(ResourceTypePermission resourceTypePermission)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getActionIds()
Deprecated.
Returns the action IDs of this resource type permission.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this resource type permission.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this resource type permission.
|
Map<String,Object> |
getModelAttributes()
Deprecated.
|
long |
getMvccVersion()
Deprecated.
Returns the mvcc version of this resource type permission.
|
String |
getName()
Deprecated.
Returns the name of this resource type permission.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this resource type permission.
|
long |
getResourceTypePermissionId()
Deprecated.
Returns the resource type permission ID of this resource type permission.
|
long |
getRoleId()
Deprecated.
Returns the role ID of this resource type permission.
|
boolean |
hasAction(ResourceAction resourceAction)
Deprecated.
|
boolean |
isCompanyScope()
Deprecated.
|
boolean |
isGroupScope()
Deprecated.
|
void |
persist()
Deprecated.
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setActionIds(long actionIds)
Deprecated.
Sets the action IDs of this resource type permission.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this resource type permission.
|
void |
setGroupId(long groupId)
Deprecated.
Sets the group ID of this resource type permission.
|
void |
setModelAttributes(Map<String,Object> attributes)
Deprecated.
|
void |
setMvccVersion(long mvccVersion)
Deprecated.
Sets the mvcc version of this resource type permission.
|
void |
setName(String name)
Deprecated.
Sets the name of this resource type permission.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this resource type permission.
|
void |
setResourceTypePermissionId(long resourceTypePermissionId)
Deprecated.
Sets the resource type permission ID of this resource type permission.
|
void |
setRoleId(long roleId)
Deprecated.
Sets the role ID of this resource type permission.
|
protected ResourceTypePermissionWrapper |
wrap(ResourceTypePermission resourceTypePermission)
Deprecated.
|
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, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic ResourceTypePermissionWrapper(ResourceTypePermission resourceTypePermission)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<ResourceTypePermission>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<ResourceTypePermission>public long getActionIds()
getActionIds in interface ResourceTypePermissionModelpublic long getCompanyId()
getCompanyId in interface ResourceTypePermissionModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface ResourceTypePermissionModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface ResourceTypePermissionModelpublic String getName()
getName in interface ResourceTypePermissionModelpublic long getPrimaryKey()
getPrimaryKey in interface ResourceTypePermissionModelpublic long getResourceTypePermissionId()
getResourceTypePermissionId in interface ResourceTypePermissionModelpublic long getRoleId()
getRoleId in interface ResourceTypePermissionModelpublic boolean hasAction(ResourceAction resourceAction)
hasAction in interface ResourceTypePermissionpublic boolean isCompanyScope()
isCompanyScope in interface ResourceTypePermissionpublic boolean isGroupScope()
isGroupScope in interface ResourceTypePermissionpublic void persist()
ResourceTypePermission interface instead.persist in interface PersistedModelpublic void setActionIds(long actionIds)
setActionIds in interface ResourceTypePermissionModelactionIds - the action IDs of this resource type permissionpublic void setCompanyId(long companyId)
setCompanyId in interface ResourceTypePermissionModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this resource type permissionpublic void setGroupId(long groupId)
setGroupId in interface ResourceTypePermissionModelgroupId - the group ID of this resource type permissionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface ResourceTypePermissionModelmvccVersion - the mvcc version of this resource type permissionpublic void setName(String name)
setName in interface ResourceTypePermissionModelname - the name of this resource type permissionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ResourceTypePermissionModelprimaryKey - the primary key of this resource type permissionpublic void setResourceTypePermissionId(long resourceTypePermissionId)
setResourceTypePermissionId in interface ResourceTypePermissionModelresourceTypePermissionId - the resource type permission ID of this resource type permissionpublic void setRoleId(long roleId)
setRoleId in interface ResourceTypePermissionModelroleId - the role ID of this resource type permissionprotected ResourceTypePermissionWrapper wrap(ResourceTypePermission resourceTypePermission)
wrap in class BaseModelWrapper<ResourceTypePermission>