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 void
delete(String key)
void
delete(Delegation delegation)
Delegation
find(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)
Delegation
save(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)
-
-