public class CheckDataSourceAction extends ServiceableAction
Modifier and Type | Field and Description |
---|---|
private static String |
__SQL_DATASOURCE_CHECKER_ID
The id of the SQL data source checker
|
private I18nUtils |
_i18nUtils
Utility methods helping the management of internationalizable text
|
private JSONUtils |
_jsonUtils
Helper component gathering utility methods for the management of JSON entities
|
private LDAPDataSourceManager |
_ldapDataSourceManager
The manager for SQL data source
|
private SQLDatabaseTypeExtensionPoint |
_sqlDatabaseTypeExtensionPoint
The extension point for SQL database types
|
private SQLDatabaseTypeManager |
_sqlDatabaseTypeManager
The manager for SQL database types
|
private SQLDataSourceManager |
_sqlDataSourceManager
The manager for SQL data source
|
manager
EMPTY_MAP
Constructor and Description |
---|
CheckDataSourceAction() |
Modifier and Type | Method and Description |
---|---|
private void |
_checkLDAPParameters(List<Object> values) |
private void |
_checkSQLParameters(List<Object> values) |
Map |
act(Redirector redirector,
SourceResolver resolver,
Map objectModel,
String source,
Parameters parameters) |
void |
service(ServiceManager serviceManager) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private static final String __SQL_DATASOURCE_CHECKER_ID
private SQLDataSourceManager _sqlDataSourceManager
private LDAPDataSourceManager _ldapDataSourceManager
private SQLDatabaseTypeManager _sqlDatabaseTypeManager
private SQLDatabaseTypeExtensionPoint _sqlDatabaseTypeExtensionPoint
private I18nUtils _i18nUtils
private JSONUtils _jsonUtils
public CheckDataSourceAction()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableAction
ServiceException
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
Exception
private void _checkSQLParameters(List<Object> values) throws ItemCheckerTestFailureException
ItemCheckerTestFailureException
private void _checkLDAPParameters(List<Object> values) throws ItemCheckerTestFailureException
ItemCheckerTestFailureException