public interface AccessRightDao
| Modifier and Type | Method and Description |
|---|---|
void |
adjustGridDefaultRights(String serviceGridId,
String serviceId,
boolean permitted) |
void |
adjustUserRights(String userGridId,
String serviceGridId,
String serviceId,
String ownerUserId,
boolean permitted) |
void |
clear() |
void |
clearExceptDefaults() |
void |
deleteAccessRight(String userGridId,
String userId,
String serviceGridId,
String serviceId) |
void |
deleteAccessRightsOfGrid(String gridId) |
void |
deleteAccessRightsOfService(String serviceGridId,
String serviceId) |
void |
deleteAccessRightsOfUser(String userGridId,
String userId) |
void |
deleteGridDefaultAccessRight(String userGridId,
String serviceGridId,
String serviceId) |
AccessRight |
getAccessRight(String userGridId,
String userId,
String serviceGridId,
String serviceId) |
AccessRight |
getGridDefaultAccessRight(String userGridId,
String serviceGridId,
String serviceId) |
AccessRight |
getServiceDefaultAccessRight(String serviceGridId,
String serviceId) |
Iterable<ServicePK> |
listAccessibleServices(String userGridId,
String userid) |
List<AccessRight> |
listAccessRights(String serviceGridId) |
AccessRightSearchResult |
searchAccessRights(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
Order[] orders) |
AccessRightSearchResult |
searchAccessRightsAccordingToDefaultAndOwner(int startIndex,
int maxCount,
String userGridId,
String userId,
String serviceGridId,
String[] serviceIds,
String ownerUserId,
Order[] orders) |
AccessRight |
setAccessRight(String userGridId,
String userId,
String serviceGridId,
String serviceId,
boolean permitted) |
AccessRight |
setGridDefaultAccessRight(String userGridId,
String serviceGridId,
String serviceId,
boolean permitted) |
AccessRight |
setServiceDefaultAccessRight(String serviceGridId,
String serviceId,
boolean permitted) |
void clear()
throws DaoException
DaoExceptionvoid clearExceptDefaults()
throws DaoException
DaoExceptionList<AccessRight> listAccessRights(String serviceGridId) throws DaoException
DaoExceptionIterable<ServicePK> listAccessibleServices(String userGridId, String userid) throws DaoException
DaoExceptionAccessRightSearchResult searchAccessRights(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, String[] serviceIds, Order[] orders) throws DaoException
DaoExceptionAccessRightSearchResult searchAccessRightsAccordingToDefaultAndOwner(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, String[] serviceIds, String ownerUserId, Order[] orders) throws DaoException
DaoExceptionAccessRight getAccessRight(String userGridId, String userId, String serviceGridId, String serviceId) throws DaoException
DaoExceptionAccessRight setAccessRight(String userGridId, String userId, String serviceGridId, String serviceId, boolean permitted) throws DaoException
DaoExceptionvoid deleteAccessRight(String userGridId, String userId, String serviceGridId, String serviceId) throws AccessRightNotFoundException, DaoException
AccessRight getGridDefaultAccessRight(String userGridId, String serviceGridId, String serviceId) throws DaoException
DaoExceptionAccessRight setGridDefaultAccessRight(String userGridId, String serviceGridId, String serviceId, boolean permitted) throws DaoException
DaoExceptionvoid deleteGridDefaultAccessRight(String userGridId, String serviceGridId, String serviceId) throws AccessRightNotFoundException, DaoException
void adjustUserRights(String userGridId, String serviceGridId, String serviceId, String ownerUserId, boolean permitted) throws DaoException
DaoExceptionAccessRight getServiceDefaultAccessRight(String serviceGridId, String serviceId) throws DaoException
DaoExceptionAccessRight setServiceDefaultAccessRight(String serviceGridId, String serviceId, boolean permitted) throws DaoException
DaoExceptionvoid adjustGridDefaultRights(String serviceGridId, String serviceId, boolean permitted) throws DaoException
DaoExceptionvoid deleteAccessRightsOfGrid(String gridId) throws DaoException
DaoExceptionvoid deleteAccessRightsOfService(String serviceGridId, String serviceId) throws DaoException
DaoExceptionvoid deleteAccessRightsOfUser(String userGridId, String userId) throws DaoException
DaoException