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 Type
    Method
    Description
     
     
    This method returns the account with the given subdomain
    This method returns the account with the given subdomain

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findBySubdomain

      AccountInfo findBySubdomain(String subdomain)
      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

      AccountInfo findByPrimaryStorageProviderAccountId(Long id)
      Parameters:
      id -
      Returns:
    • findBySecondaryStorageProviderAccountsId

      AccountInfo findBySecondaryStorageProviderAccountsId(Long id)
      Parameters:
      id -
      Returns: