@Repository(value="groupRepo") public interface DuracloudGroupRepo extends org.springframework.data.jpa.repository.JpaRepository<DuracloudGroup,Long>
| Modifier and Type | Method and Description |
|---|---|
List<DuracloudGroup> |
findByAccountId(Long acctId)
This method returns all groups within the given account.
|
DuracloudGroup |
findByNameAndAccountId(String name,
Long accountId)
This method returns a single group within the given account, with the
given groupname.
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, flush, getOne, save, saveAndFlushDuracloudGroup findByNameAndAccountId(String name, Long accountId)
name - of groupaccountId - associated with groupList<DuracloudGroup> findByAccountId(Long acctId)
acctId - associated with groupCopyright © 2015–2016 DuraSpace. All rights reserved.