Interface JdbcEntitlementsDAO
-
- All Known Implementing Classes:
JDBCEntitlementsDAOImpl
public interface JdbcEntitlementsDAO
Interface for JDBC query for Entitlement pages- Author:
- Andrey Lezhebokov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends AbstractKeyDoc>
voidfillDocWithEntitlementIds(T doc)
Call for populate entitlements id set for specify class for convert object for ES repoInternalEntitlementsObject
getGroup(String id, Date date)
Get Group with all entitlements and access rightsInternalEntitlementsObject
getOrganization(String id, Date date)
Get Organization with all entitlements and access rightsInternalEntitlementsObject
getResource(String id, Date date)
Get Resource with all entitlements and access rightsInternalEntitlementsObject
getRole(String id, Date date)
Get Role with all entitlements and access rightsList<AuthorizationUser>
getUsersForResource(String resourceId)
List<AuthorizationUser>
getUsersForResource(String resourceId, String rightId)
List<AuthorizationUser>
getUsersForRole(String roleId)
List<AuthorizationUser>
getUsersForRole(String roleId, String rightId)
-
-
-
Method Detail
-
fillDocWithEntitlementIds
<T extends AbstractKeyDoc> void fillDocWithEntitlementIds(T doc)
Call for populate entitlements id set for specify class for convert object for ES repo- Type Parameters:
T
-- Parameters:
doc
-
-
getResource
InternalEntitlementsObject getResource(String id, Date date)
Get Resource with all entitlements and access rights- Parameters:
id
-- Returns:
-
getRole
InternalEntitlementsObject getRole(String id, Date date)
Get Role with all entitlements and access rights- Parameters:
id
-- Returns:
-
getGroup
InternalEntitlementsObject getGroup(String id, Date date)
Get Group with all entitlements and access rights- Parameters:
id
-- Returns:
-
getOrganization
InternalEntitlementsObject getOrganization(String id, Date date)
Get Organization with all entitlements and access rights- Parameters:
id
-- Returns:
-
getUsersForRole
List<AuthorizationUser> getUsersForRole(String roleId)
-
getUsersForRole
List<AuthorizationUser> getUsersForRole(String roleId, String rightId)
-
getUsersForResource
List<AuthorizationUser> getUsersForResource(String resourceId)
-
getUsersForResource
List<AuthorizationUser> getUsersForResource(String resourceId, String rightId)
-
-