@ProviderType public interface ResourcePermissionModel extends BaseModel<ResourcePermission>, CTModel<ResourcePermission>, MVCCModel, ShardedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.ResourcePermissionModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.ResourcePermissionImpl
.
ResourcePermission
Modifier and Type | Method and Description |
---|---|
ResourcePermission |
cloneWithOriginalValues() |
long |
getActionIds()
Returns the action IDs of this resource permission.
|
long |
getCompanyId()
Returns the company ID of this resource permission.
|
long |
getCtCollectionId()
Returns the ct collection ID of this resource permission.
|
long |
getMvccVersion()
Returns the mvcc version of this resource permission.
|
String |
getName()
Returns the name of this resource permission.
|
long |
getOwnerId()
Returns the owner ID of this resource permission.
|
long |
getPrimaryKey()
Returns the primary key of this resource permission.
|
String |
getPrimKey()
Returns the prim key of this resource permission.
|
long |
getPrimKeyId()
Returns the prim key ID of this resource permission.
|
long |
getResourcePermissionId()
Returns the resource permission ID of this resource permission.
|
long |
getRoleId()
Returns the role ID of this resource permission.
|
int |
getScope()
Returns the scope of this resource permission.
|
boolean |
getViewActionId()
Returns the view action ID of this resource permission.
|
boolean |
isViewActionId()
Returns
true if this resource permission is view action ID. |
void |
setActionIds(long actionIds)
Sets the action IDs of this resource permission.
|
void |
setCompanyId(long companyId)
Sets the company ID of this resource permission.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this resource permission.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this resource permission.
|
void |
setName(String name)
Sets the name of this resource permission.
|
void |
setOwnerId(long ownerId)
Sets the owner ID of this resource permission.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this resource permission.
|
void |
setPrimKey(String primKey)
Sets the prim key of this resource permission.
|
void |
setPrimKeyId(long primKeyId)
Sets the prim key ID of this resource permission.
|
void |
setResourcePermissionId(long resourcePermissionId)
Sets the resource permission ID of this resource permission.
|
void |
setRoleId(long roleId)
Sets the role ID of this resource permission.
|
void |
setScope(int scope)
Sets the scope of this resource permission.
|
void |
setViewActionId(boolean viewActionId)
Sets whether this resource permission is view action ID.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
long getPrimaryKey()
getPrimaryKey
in interface CTModel<ResourcePermission>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<ResourcePermission>
primaryKey
- the primary key of this resource permissionlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this resource permissionlong getCtCollectionId()
getCtCollectionId
in interface CTModel<ResourcePermission>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<ResourcePermission>
ctCollectionId
- the ct collection ID of this resource permissionlong getResourcePermissionId()
void setResourcePermissionId(long resourcePermissionId)
resourcePermissionId
- the resource permission ID of this resource permissionlong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this resource permission@AutoEscape String getName()
void setName(String name)
name
- the name of this resource permissionint getScope()
void setScope(int scope)
scope
- the scope of this resource permission@AutoEscape String getPrimKey()
void setPrimKey(String primKey)
primKey
- the prim key of this resource permissionlong getPrimKeyId()
void setPrimKeyId(long primKeyId)
primKeyId
- the prim key ID of this resource permissionlong getRoleId()
void setRoleId(long roleId)
roleId
- the role ID of this resource permissionlong getOwnerId()
void setOwnerId(long ownerId)
ownerId
- the owner ID of this resource permissionlong getActionIds()
void setActionIds(long actionIds)
actionIds
- the action IDs of this resource permissionboolean getViewActionId()
boolean isViewActionId()
true
if this resource permission is view action ID.true
if this resource permission is view action ID; false
otherwisevoid setViewActionId(boolean viewActionId)
viewActionId
- the view action ID of this resource permissionResourcePermission cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<ResourcePermission>