Interface AccountServiceFactory

All Known Implementing Classes:
AccountServiceFactoryImpl

public interface AccountServiceFactory
Author:
Andrew Woods Date: 4/7/11
  • Method Summary

    Modifier and Type
    Method
    Description
    getAccount(Long acctId)
    This method provides an AccountService for access to the arg acctId
    getAccount(org.duracloud.account.db.model.AccountInfo acctInfo)
    This method provides an AccountService for access to the arg acctInfo
  • Method Details

    • getAccount

      AccountService getAccount(org.duracloud.account.db.model.AccountInfo acctInfo)
      This method provides an AccountService for access to the arg acctInfo
      Parameters:
      acctInfo - of the expected AccountService
      Returns:
      AccountService
    • getAccount

      AccountService getAccount(Long acctId) throws AccountNotFoundException
      This method provides an AccountService for access to the arg acctId
      Parameters:
      acctId - of the expected AccountService
      Returns:
      AccountService
      Throws:
      AccountNotFoundException - if not acct with acctId found in DB