Package com.liferay.portal.kernel.model
Interface ResourcePermissionModel
- All Superinterfaces:
BaseModel<ResourcePermission>
,ClassedModel
,Cloneable
,Comparable<ResourcePermission>
,CTModel<ResourcePermission>
,MVCCModel
,Serializable
,ShardedModel
- All Known Subinterfaces:
ResourcePermission
- All Known Implementing Classes:
ResourcePermissionWrapper
@ProviderType
public interface ResourcePermissionModel
extends BaseModel<ResourcePermission>, CTModel<ResourcePermission>, MVCCModel, ShardedModel
The base model interface for the ResourcePermission service. Represents a row in the "ResourcePermission" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the action IDs of this resource permission.long
Returns the company ID of this resource permission.long
Returns the ct collection ID of this resource permission.long
Returns the mvcc version of this resource permission.getName()
Returns the name of this resource permission.long
Returns the owner ID of this resource permission.long
Returns the primary key of this resource permission.Returns the prim key of this resource permission.long
Returns the prim key ID of this resource permission.long
Returns the resource permission ID of this resource permission.long
Returns the role ID of this resource permission.int
getScope()
Returns the scope of this resource permission.boolean
Returns the view action ID of this resource permission.boolean
Returnstrue
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this resource permission.- Specified by:
getPrimaryKey
in interfaceCTModel<ResourcePermission>
- Returns:
- the primary key of this resource permission
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this resource permission.- Specified by:
setPrimaryKey
in interfaceCTModel<ResourcePermission>
- Parameters:
primaryKey
- the primary key of this resource permission
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this resource permission.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this resource permission
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this resource permission.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this resource permission
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this resource permission.- Specified by:
getCtCollectionId
in interfaceCTModel<ResourcePermission>
- Returns:
- the ct collection ID of this resource permission
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this resource permission.- Specified by:
setCtCollectionId
in interfaceCTModel<ResourcePermission>
- Parameters:
ctCollectionId
- the ct collection ID of this resource permission
-
getResourcePermissionId
long getResourcePermissionId()Returns the resource permission ID of this resource permission.- Returns:
- the resource permission ID of this resource permission
-
setResourcePermissionId
void setResourcePermissionId(long resourcePermissionId) Sets the resource permission ID of this resource permission.- Parameters:
resourcePermissionId
- the resource permission ID of this resource permission
-
getCompanyId
long getCompanyId()Returns the company ID of this resource permission.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this resource permission
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this resource permission.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this resource permission
-
getName
Returns the name of this resource permission.- Returns:
- the name of this resource permission
-
setName
Sets the name of this resource permission.- Parameters:
name
- the name of this resource permission
-
getScope
int getScope()Returns the scope of this resource permission.- Returns:
- the scope of this resource permission
-
setScope
void setScope(int scope) Sets the scope of this resource permission.- Parameters:
scope
- the scope of this resource permission
-
getPrimKey
Returns the prim key of this resource permission.- Returns:
- the prim key of this resource permission
-
setPrimKey
Sets the prim key of this resource permission.- Parameters:
primKey
- the prim key of this resource permission
-
getPrimKeyId
long getPrimKeyId()Returns the prim key ID of this resource permission.- Returns:
- the prim key ID of this resource permission
-
setPrimKeyId
void setPrimKeyId(long primKeyId) Sets the prim key ID of this resource permission.- Parameters:
primKeyId
- the prim key ID of this resource permission
-
getRoleId
long getRoleId()Returns the role ID of this resource permission.- Returns:
- the role ID of this resource permission
-
setRoleId
void setRoleId(long roleId) Sets the role ID of this resource permission.- Parameters:
roleId
- the role ID of this resource permission
-
getOwnerId
long getOwnerId()Returns the owner ID of this resource permission.- Returns:
- the owner ID of this resource permission
-
setOwnerId
void setOwnerId(long ownerId) Sets the owner ID of this resource permission.- Parameters:
ownerId
- the owner ID of this resource permission
-
getActionIds
long getActionIds()Returns the action IDs of this resource permission.- Returns:
- the action IDs of this resource permission
-
setActionIds
void setActionIds(long actionIds) Sets the action IDs of this resource permission.- Parameters:
actionIds
- the action IDs of this resource permission
-
getViewActionId
boolean getViewActionId()Returns the view action ID of this resource permission.- Returns:
- the view action ID of this resource permission
-
isViewActionId
boolean isViewActionId()Returnstrue
if this resource permission is view action ID.- Returns:
true
if this resource permission is view action ID;false
otherwise
-
setViewActionId
void setViewActionId(boolean viewActionId) Sets whether this resource permission is view action ID.- Parameters:
viewActionId
- the view action ID of this resource permission
-
cloneWithOriginalValues
ResourcePermission cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<ResourcePermission>
-
toXmlString
-