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 TypeMethodDescriptionlongReturns the action IDs of this resource permission.longReturns the company ID of this resource permission.longReturns the ct collection ID of this resource permission.longReturns the mvcc version of this resource permission.getName()Returns the name of this resource permission.longReturns the owner ID of this resource permission.longReturns the primary key of this resource permission.Returns the prim key of this resource permission.longReturns the prim key ID of this resource permission.longReturns the resource permission ID of this resource permission.longReturns the role ID of this resource permission.intgetScope()Returns the scope of this resource permission.booleanReturns the view action ID of this resource permission.booleanReturnstrueif this resource permission is view action ID.voidsetActionIds(long actionIds) Sets the action IDs of this resource permission.voidsetCompanyId(long companyId) Sets the company ID of this resource permission.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this resource permission.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this resource permission.voidSets the name of this resource permission.voidsetOwnerId(long ownerId) Sets the owner ID of this resource permission.voidsetPrimaryKey(long primaryKey) Sets the primary key of this resource permission.voidsetPrimKey(String primKey) Sets the prim key of this resource permission.voidsetPrimKeyId(long primKeyId) Sets the prim key ID of this resource permission.voidsetResourcePermissionId(long resourcePermissionId) Sets the resource permission ID of this resource permission.voidsetRoleId(long roleId) Sets the role ID of this resource permission.voidsetScope(int scope) Sets the scope of this resource permission.voidsetViewActionId(boolean viewActionId) Sets whether this resource permission is view action ID.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this resource permission.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<ResourcePermission>- Parameters:
primaryKey- the primary key of this resource permission
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this resource permission.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this resource permission
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this resource permission.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this resource permission
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this resource permission.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this resource permission
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this resource permission.- Specified by:
setCompanyIdin 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()Returnstrueif this resource permission is view action ID.- Returns:
trueif this resource permission is view action ID;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<ResourcePermission>
-
toXmlString
-