Package org.duracloud.account.db.util
Interface AccountServiceFactory
-
- All Known Implementing Classes:
AccountServiceFactoryImpl
public interface AccountServiceFactory- Author:
- Andrew Woods Date: 4/7/11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountServicegetAccount(Long acctId)This method provides an AccountService for access to the arg acctIdAccountServicegetAccount(org.duracloud.account.db.model.AccountInfo acctInfo)This method provides an AccountService for access to the arg acctInfo
-
-
-
Method Detail
-
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
-
-