public interface PermissionsStore<V extends Permission> extends Store<V>
Created by Jeff Gaynor
on 10/10/16 at 4:16 PM
Modifier and Type | Method and Description |
---|---|
PermissionList |
get(Identifier adminID,
Identifier clientID)
Retrieve a permission from the admin and client identifier.
|
List<Identifier> |
getAdmins(Identifier clientID)
A list of all admin ids for a given client.
|
int |
getClientCount(Identifier adminID) |
List<Identifier> |
getClients(Identifier adminID)
A list of all identifiers that a given admin can manage.
|
boolean |
hasEntry(Identifier adminID,
Identifier clientID)
Returns whether or not there is an entry for this pair of identifiers.
|
create, getAll, getXMLConverter, register, save, search, update
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
List<Identifier> getClients(Identifier adminID)
adminID
- List<Identifier> getAdmins(Identifier clientID)
clientID
- PermissionList get(Identifier adminID, Identifier clientID)
adminID
- clientID
- boolean hasEntry(Identifier adminID, Identifier clientID)
adminID
- clientID
- int getClientCount(Identifier adminID)
Copyright © 2019. All Rights Reserved.