org.iternine.jeppetto.dao
Interface AccessControllable<ID>
- Type Parameters:
ID - ID type of the persistent class.
public interface AccessControllable<ID>
grantAccess
void grantAccess(ID id,
String accessId,
AccessType accessType)
throws NoSuchItemException,
AccessControlException
- Throws:
NoSuchItemException
AccessControlException
revokeAccess
void revokeAccess(ID id,
String accessId)
throws NoSuchItemException,
AccessControlException
- Throws:
NoSuchItemException
AccessControlException
getGrantedAccess
AccessType getGrantedAccess(ID id,
String accessId)
throws NoSuchItemException,
AccessControlException
- Throws:
NoSuchItemException
AccessControlException
getGrantedAccesses
Map<String,AccessType> getGrantedAccesses(ID id)
throws NoSuchItemException,
AccessControlException
- Throws:
NoSuchItemException
AccessControlException
getAccessControlContextProvider
AccessControlContextProvider getAccessControlContextProvider()
Copyright © 2012. All Rights Reserved.