Package org.duracloud.account.db.repo
Interface DuracloudAccountRepo
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<AccountInfo,,Long> org.springframework.data.jpa.repository.JpaRepository<AccountInfo,,Long> org.springframework.data.repository.PagingAndSortingRepository<AccountInfo,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<AccountInfo>,org.springframework.data.repository.Repository<AccountInfo,Long>
@Repository("accountRepo")
public interface DuracloudAccountRepo
extends org.springframework.data.jpa.repository.JpaRepository<AccountInfo,Long>
- Author:
- Erik Paulsson Date: 7/8/13
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the account with the given subdomainfindBySubdomain(String subdomain) This method returns the account with the given subdomainMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findBySubdomain
This method returns the account with the given subdomain- Parameters:
subdomain- of account- Returns:
- account info
-
findByStatus
This method returns the account with the given subdomain- Parameters:
status-- Returns:
- list of account info
-
findByPrimaryStorageProviderAccountId
- Parameters:
id-- Returns:
-
findBySecondaryStorageProviderAccountsId
- Parameters:
id-- Returns:
-