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
Modifier and TypeMethodDescriptiongetAccount(Long acctId) This method provides an AccountService for access to the arg acctIdgetAccount(org.duracloud.account.db.model.AccountInfo acctInfo) This method provides an AccountService for access to the arg acctInfo
-
Method Details
-
getAccount
This method provides an AccountService for access to the arg acctInfo- Parameters:
acctInfo- of the expected AccountService- Returns:
- AccountService
-
getAccount
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
-