public class ResourceBlockPermissionsContainer
extends Object
Constructor and Description |
---|
ResourceBlockPermissionsContainer() |
Modifier and Type | Method and Description |
---|---|
void |
addPermission(long roleId,
long actionIdsLong) |
long |
getActionIds(long roleId) |
SortedMap<Long,Long> |
getPermissions() |
String |
getPermissionsHash()
Returns the permissions hash of the resource permissions.
|
Set<Long> |
getRoleIds() |
boolean |
hasPermission(long roleId,
long actionIdsLong) |
void |
removePermission(long roleId,
long actionIdsLong) |
void |
setPermissions(long roleId,
long actionIdsLong) |
public void addPermission(long roleId, long actionIdsLong)
public long getActionIds(long roleId)
public SortedMap<Long,Long> getPermissions()
public String getPermissionsHash()
public Set<Long> getRoleIds()
public boolean hasPermission(long roleId, long actionIdsLong)
public void removePermission(long roleId, long actionIdsLong)
public void setPermissions(long roleId, long actionIdsLong)