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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this resource permission.
      Specified by:
      getPrimaryKey in interface CTModel<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 interface CTModel<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 interface MVCCModel
      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 interface MVCCModel
      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 interface CTModel<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 interface CTModel<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 interface ShardedModel
      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 interface ShardedModel
      Parameters:
      companyId - the company ID of this resource permission
    • getName

      @AutoEscape String getName()
      Returns the name of this resource permission.
      Returns:
      the name of this resource permission
    • setName

      void setName(String name)
      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

      @AutoEscape String getPrimKey()
      Returns the prim key of this resource permission.
      Returns:
      the prim key of this resource permission
    • setPrimKey

      void setPrimKey(String primKey)
      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()
      Returns true 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 interface BaseModel<ResourcePermission>
    • toXmlString

      default String toXmlString()