org.opencms.db.jpa.persistence
Interface I_CmsDAOAccessControl

All Known Implementing Classes:
CmsDAOOfflineAccessControl, CmsDAOOnlineAccessControl

public interface I_CmsDAOAccessControl

This interface declares the getters and setters for the access control data access objects.

Since:
8.0.0
See Also:
CmsAccessControlEntry

Method Summary
 int getAccessAllowed()
          Returns the allowed permissions of the permission set.
 int getAccessDenied()
          Returns the denied permissions of the permission set.
 int getAccessFlags()
          Returns the flags of the access control entry.
 java.lang.String getPrincipalId()
          Returns the id of the principal assigned with this access control entry.
 java.lang.String getResourceId()
          Returns the id of the resource assigned with this access control entry.
 void setAccessAllowed(int accessAllowed)
          Sets the allowed permissions for the permission set.
 void setAccessDenied(int accessDenied)
          Sets the denied permission for the permission set.
 void setAccessFlags(int accessFlags)
          Sets the flags of the access control entry.
 void setPrincipalId(java.lang.String principalId)
          Sets the principal id assigned with this access control entry.
 void setResourceId(java.lang.String resourceId)
          Sets the resource id assigned with this access control entry.
 

Method Detail

getAccessAllowed

int getAccessAllowed()
Returns the allowed permissions of the permission set.

Returns:
the allowed permissions as bitset

getAccessDenied

int getAccessDenied()
Returns the denied permissions of the permission set.

Returns:
the denied permissions as bitset.

getAccessFlags

int getAccessFlags()
Returns the flags of the access control entry.

Returns:
the flags as bitset

getPrincipalId

java.lang.String getPrincipalId()
Returns the id of the principal assigned with this access control entry.

Returns:
the principal id

getResourceId

java.lang.String getResourceId()
Returns the id of the resource assigned with this access control entry.

Returns:
the resource id

setAccessAllowed

void setAccessAllowed(int accessAllowed)
Sets the allowed permissions for the permission set.

Parameters:
accessAllowed - the allowed permissions as bitset

setAccessDenied

void setAccessDenied(int accessDenied)
Sets the denied permission for the permission set.

Parameters:
accessDenied - the denied permissions as bitset

setAccessFlags

void setAccessFlags(int accessFlags)
Sets the flags of the access control entry.

Parameters:
accessFlags - the flags as bitset

setPrincipalId

void setPrincipalId(java.lang.String principalId)
Sets the principal id assigned with this access control entry.

Parameters:
principalId - the principal id

setResourceId

void setResourceId(java.lang.String resourceId)
Sets the resource id assigned with this access control entry.

Parameters:
resourceId - the resource id