@Deprecated public class ResourceTypePermissionWrapper extends BaseModelWrapper<ResourceTypePermission> implements ModelWrapper<ResourceTypePermission>, ResourceTypePermission
This class is a wrapper for ResourceTypePermission
.
ResourceTypePermission
,
Serialized Formmodel
RESOURCE_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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public 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 ResourceTypePermissionModel
public long getCompanyId()
getCompanyId
in interface ResourceTypePermissionModel
getCompanyId
in interface ShardedModel
public long getGroupId()
getGroupId
in interface ResourceTypePermissionModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface ResourceTypePermissionModel
public String getName()
getName
in interface ResourceTypePermissionModel
public long getPrimaryKey()
getPrimaryKey
in interface ResourceTypePermissionModel
public long getResourceTypePermissionId()
getResourceTypePermissionId
in interface ResourceTypePermissionModel
public long getRoleId()
getRoleId
in interface ResourceTypePermissionModel
public boolean hasAction(ResourceAction resourceAction)
hasAction
in interface ResourceTypePermission
public boolean isCompanyScope()
isCompanyScope
in interface ResourceTypePermission
public boolean isGroupScope()
isGroupScope
in interface ResourceTypePermission
public void persist()
ResourceTypePermission
interface instead.persist
in interface PersistedModel
public void setActionIds(long actionIds)
setActionIds
in interface ResourceTypePermissionModel
actionIds
- the action IDs of this resource type permissionpublic void setCompanyId(long companyId)
setCompanyId
in interface ResourceTypePermissionModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this resource type permissionpublic void setGroupId(long groupId)
setGroupId
in interface ResourceTypePermissionModel
groupId
- the group ID of this resource type permissionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface ResourceTypePermissionModel
mvccVersion
- the mvcc version of this resource type permissionpublic void setName(String name)
setName
in interface ResourceTypePermissionModel
name
- the name of this resource type permissionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ResourceTypePermissionModel
primaryKey
- the primary key of this resource type permissionpublic void setResourceTypePermissionId(long resourceTypePermissionId)
setResourceTypePermissionId
in interface ResourceTypePermissionModel
resourceTypePermissionId
- the resource type permission ID of this resource type permissionpublic void setRoleId(long roleId)
setRoleId
in interface ResourceTypePermissionModel
roleId
- the role ID of this resource type permissionprotected ResourceTypePermissionWrapper wrap(ResourceTypePermission resourceTypePermission)
wrap
in class BaseModelWrapper<ResourceTypePermission>