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 Detail

      • findBySubdomain

        AccountInfo findBySubdomain​(String subdomain)
        This method returns the account with the given subdomain
        Parameters:
        subdomain - of account
        Returns:
        account info
      • findByPrimaryStorageProviderAccountId

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

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