@Component(value="accountServiceFactory") public class AccountServiceFactoryImpl extends Object implements AccountServiceFactory
| Constructor and Description |
|---|
AccountServiceFactoryImpl(org.duracloud.account.db.repo.DuracloudRepoMgr repoMgr,
org.springframework.security.access.AccessDecisionVoter voter,
SecurityContextUtil securityContext,
AnnotationParser annotationParser,
AmaEndpoint amaEndpoint,
org.duracloud.common.sns.AccountChangeNotifier accountChangeNotifier,
NotificationMgr notificationMgr,
EmailTemplateService emailTemplateService) |
| Modifier and Type | Method and Description |
|---|---|
AccountService |
getAccount(org.duracloud.account.db.model.AccountInfo acctInfo)
This method provides an AccountService for access to the arg acctInfo
|
AccountService |
getAccount(Long acctId)
This method provides an AccountService for access to the arg acctId
|
@Autowired
public AccountServiceFactoryImpl(org.duracloud.account.db.repo.DuracloudRepoMgr repoMgr,
@Qualifier(value="acctVoter")
org.springframework.security.access.AccessDecisionVoter voter,
SecurityContextUtil securityContext,
AnnotationParser annotationParser,
AmaEndpoint amaEndpoint,
org.duracloud.common.sns.AccountChangeNotifier accountChangeNotifier,
NotificationMgr notificationMgr,
EmailTemplateService emailTemplateService)
public AccountService getAccount(Long acctId) throws AccountNotFoundException
AccountServiceFactorygetAccount in interface AccountServiceFactoryacctId - of the expected AccountServiceAccountNotFoundException - if not acct with acctId found in DBpublic AccountService getAccount(org.duracloud.account.db.model.AccountInfo acctInfo)
AccountServiceFactorygetAccount in interface AccountServiceFactoryacctInfo - of the expected AccountServiceCopyright © 2009–2019 DuraSpace. All rights reserved.