public class SaWsConfigurationService extends AbstractService
configured
Constructor and Description |
---|
SaWsConfigurationService()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<SaWsProperty> |
getConfiguration(int token,
String section)
Reads the configuration properties from the backend system.
|
List<SaWsFieldDescription> |
getDefinition(int token,
String definition)
Reads the DDC definition of one database with the given name.
|
String[] |
getDefinitions(int token)
Reads the registered DDC names from the repository.
|
addToRequest, getConnection, getSession, isConfigured
public String[] getDefinitions(int token) throws SaWsAuthenticationException, SaWsRepositoryException, SaWsException
token
- to identify the sessionSaWsAuthenticationException
- if an authentication error occurs.SaWsRepositoryException
- if a repository error occurs.SaWsException
SaClassicConnector.getDefinitions()
public List<SaWsFieldDescription> getDefinition(int token, String definition) throws SaWsAuthenticationException, SaWsRepositoryException, SaWsException
token
- to identify the sessiondefinition
- Database nameSaWsAuthenticationException
- if an authentication error occurs.SaWsRepositoryException
- if a repository error occurs.SaWsException
SaClassicConnector.getDBDefinition(java.lang.String)
public List<SaWsProperty> getConfiguration(int token, String section) throws SaWsRepositoryException, SaWsAuthenticationException, SaWsException
token
- to identify the sessionsection
- Section in program.iniSaWsAuthenticationException
- if an authentication error occurs.SaWsRepositoryException
- if a repository error occurs.SaWsException
SaClassicConnector.getConfiguration(java.lang.String)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.