public interface AclSidPersistence extends org.springframework.data.jpa.repository.JpaRepository<AclSid,Long>
| Modifier and Type | Method and Description |
|---|---|
AclSid |
findBySidAndPrincipal(String sid,
boolean principal)
Find by sid and principal.
|
Long |
getSidId(String sid)
Gets the sid id.
|
List<AclSid> |
listAuthoritySids()
List SIDs of authorities (roles).
|
List<AclSid> |
listById(Iterable<Long> ids)
List ACL SIDs with internal identifiers.
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllAclSid findBySidAndPrincipal(String sid, boolean principal)
sid - the sidprincipal - the principal@Query(value="select distinct sid from AclSid sid where sid.id in :ids") List<AclSid> listById(@Param(value="ids") Iterable<Long> ids)
ids - internal (database) SID identifiers@Query(value="select sid from AclSid sid where sid.principal = false") List<AclSid> listAuthoritySids()
AclSid for registered authoritiesCopyright © 2020 Global Crop Diversity Trust. All rights reserved.