public class JsonicAccessRightDao extends Object implements AccessRightDao
| Constructor and Description |
|---|
JsonicAccessRightDao(JsonicDaoContext context) |
| 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) |
public JsonicAccessRightDao(JsonicDaoContext context)
public void clear()
throws DaoException
clear in interface AccessRightDaoDaoExceptionpublic void clearExceptDefaults()
throws DaoException
clearExceptDefaults in interface AccessRightDaoDaoExceptionpublic List<AccessRight> listAccessRights(String serviceGridId) throws DaoException
listAccessRights in interface AccessRightDaoDaoExceptionpublic Iterable<ServicePK> listAccessibleServices(String userGridId, String userid) throws DaoException
listAccessibleServices in interface AccessRightDaoDaoExceptionpublic AccessRightSearchResult searchAccessRights(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, String[] serviceIds, Order[] orders) throws DaoException
searchAccessRights in interface AccessRightDaoDaoExceptionpublic AccessRightSearchResult searchAccessRightsAccordingToDefaultAndOwner(int startIndex, int maxCount, String userGridId, String userId, String serviceGridId, String[] serviceIds, String ownerUserId, Order[] orders) throws DaoException
searchAccessRightsAccordingToDefaultAndOwner in interface AccessRightDaoDaoExceptionpublic AccessRight getAccessRight(String userGridId, String userId, String serviceGridId, String serviceId) throws DaoException
getAccessRight in interface AccessRightDaoDaoExceptionpublic AccessRight setAccessRight(String userGridId, String userId, String serviceGridId, String serviceId, boolean permitted) throws DaoException
setAccessRight in interface AccessRightDaoDaoExceptionpublic void deleteAccessRight(String userGridId, String userId, String serviceGridId, String serviceId) throws AccessRightNotFoundException, DaoException
deleteAccessRight in interface AccessRightDaoAccessRightNotFoundExceptionDaoExceptionpublic AccessRight getGridDefaultAccessRight(String userGridId, String serviceGridId, String serviceId) throws DaoException
getGridDefaultAccessRight in interface AccessRightDaoDaoExceptionpublic AccessRight setGridDefaultAccessRight(String userGridId, String serviceGridId, String serviceId, boolean permitted) throws DaoException
setGridDefaultAccessRight in interface AccessRightDaoDaoExceptionpublic void deleteGridDefaultAccessRight(String userGridId, String serviceGridId, String serviceId) throws AccessRightNotFoundException, DaoException
deleteGridDefaultAccessRight in interface AccessRightDaoAccessRightNotFoundExceptionDaoExceptionpublic void adjustUserRights(String userGridId, String serviceGridId, String serviceId, String ownerUserId, boolean permitted) throws DaoException
adjustUserRights in interface AccessRightDaoDaoExceptionpublic AccessRight getServiceDefaultAccessRight(String serviceGridId, String serviceId) throws DaoException
getServiceDefaultAccessRight in interface AccessRightDaoDaoExceptionpublic AccessRight setServiceDefaultAccessRight(String serviceGridId, String serviceId, boolean permitted) throws DaoException
setServiceDefaultAccessRight in interface AccessRightDaoDaoExceptionpublic void adjustGridDefaultRights(String serviceGridId, String serviceId, boolean permitted) throws DaoException
adjustGridDefaultRights in interface AccessRightDaoDaoExceptionpublic void deleteAccessRightsOfGrid(String gridId) throws DaoException
deleteAccessRightsOfGrid in interface AccessRightDaoDaoExceptionpublic void deleteAccessRightsOfService(String serviceGridId, String serviceId) throws DaoException
deleteAccessRightsOfService in interface AccessRightDaoDaoExceptionpublic void deleteAccessRightsOfUser(String userGridId, String userId) throws DaoException
deleteAccessRightsOfUser in interface AccessRightDaoDaoException