@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, saveAndFlush
DuracloudGroup findByNameAndAccountId(String name, Long accountId)
name
- of groupaccountId
- associated with groupList<DuracloudGroup> findByAccountId(Long acctId)
acctId
- associated with groupCopyright © 2009–2014 DuraSpace. All rights reserved.