@Repository(value="accountRepo") public interface DuracloudAccountRepo extends org.springframework.data.jpa.repository.JpaRepository<AccountInfo,Long>
| Modifier and Type | Method and Description |
|---|---|
AccountInfo |
findByPrimaryStorageProviderAccountId(Long id) |
AccountInfo |
findBySecondaryStorageProviderAccountsId(Long id) |
List<AccountInfo> |
findByStatus(AccountInfo.AccountStatus status)
This method returns the account with the given subdomain
|
AccountInfo |
findBySubdomain(String subdomain)
This method returns the account with the given subdomain
|
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllAccountInfo findBySubdomain(String subdomain)
subdomain - of accountList<AccountInfo> findByStatus(AccountInfo.AccountStatus status)
status - AccountInfo findByPrimaryStorageProviderAccountId(Long id)
id - AccountInfo findBySecondaryStorageProviderAccountsId(Long id)
id - Copyright © 2015–2016 DuraSpace. All rights reserved.