@Repository(value="rightsRepo") public interface DuracloudRightsRepo extends org.springframework.data.jpa.repository.JpaRepository<AccountRights,Long>
| Modifier and Type | Method and Description |
|---|---|
List<AccountRights> |
findByAccountId(Long accountId)
This method returns the set of rights for a given account
The list may be of 0 length
|
AccountRights |
findByAccountIdAndUserId(Long accountId,
Long userId)
This method returns the set of rights for a given user in a given account
|
List<AccountRights> |
findByUserId(Long userId)
This method returns the set of rights for a given user
The list may be of 0 length
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, flush, getOne, save, saveAndFlushList<AccountRights> findByAccountId(Long accountId)
accountId - of accountList<AccountRights> findByUserId(Long userId)
userId - of UserAccountRights findByAccountIdAndUserId(Long accountId, Long userId)
accountId - userId - Copyright © 2015 DuraSpace. All rights reserved.