Interface DelegationDAO
-
- All Superinterfaces:
DAO<Delegation>
- All Known Implementing Classes:
JPADelegationDAO
public interface DelegationDAO extends DAO<Delegation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String key)voiddelete(Delegation delegation)Delegationfind(String key)List<Delegation>findAll()List<Delegation>findByDelegated(User user)List<Delegation>findByDelegating(User user)List<Delegation>findByRole(Role role)List<String>findValidDelegating(String delegated)Optional<String>findValidFor(String delegating, String delegated)Delegationsave(Delegation delegation)
-
-
-
Method Detail
-
find
Delegation find(String key)
-
findByDelegating
List<Delegation> findByDelegating(User user)
-
findByDelegated
List<Delegation> findByDelegated(User user)
-
findByRole
List<Delegation> findByRole(Role role)
-
findAll
List<Delegation> findAll()
-
save
Delegation save(Delegation delegation)
-
delete
void delete(Delegation delegation)
-
delete
void delete(String key)
-
-