public static class UserManagement.Config extends Object
Modifier and Type | Field and Description |
---|---|
static Map<Class<?>,LazyLoadingStrategy> |
DEFAULT_STRATEGIES |
Constructor and Description |
---|
UserManagement.Config(SaClassicConnector connector)
Creates a new Config for the UserManagement usind a ClassicConnector instance to get the
required settings.
|
Modifier and Type | Method and Description |
---|---|
UserManagement |
build()
Creates a UserManagement instance.
|
UserManagement.Config |
setStrategy(Class<? extends UserManagementItem> type,
LazyLoadingStrategy loadingStrategy) |
public static final Map<Class<?>,LazyLoadingStrategy> DEFAULT_STRATEGIES
public UserManagement.Config(SaClassicConnector connector)
connector
- ClassicConnector instancepublic UserManagement.Config setStrategy(Class<? extends UserManagementItem> type, LazyLoadingStrategy loadingStrategy)
public UserManagement build() throws RemoteException, NotBoundException, SaAuthenticationException, SaSystemException
RemoteException
- remote exception when connecting to the backendNotBoundException
- server endpoint not foundSaAuthenticationException
- user is not logged inSaSystemException
- system exception when connecting to the backendCopyright © 2016 SAPERION AG. All rights reserved.