public class SQLUserSearchDAO extends AbstractMyBatisDAO
SQLSynchronizableUDOrgunitCollections which need to access a SQL database| Modifier and Type | Field and Description |
|---|---|
protected String |
_dataSourceId
The datesource id
|
static String |
ROLE
Avalon ROLE
|
_manager| Constructor and Description |
|---|
SQLUserSearchDAO() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_configureDatasource(Configuration configuration)
Configure datasource
|
protected String |
_getDataSourceId()
Get datasource id
|
protected void |
_setDataSourceId(String dataSourceId)
Set the datasource id
|
List<Map<String,Object>> |
searchUser(Map<String,Object> params,
String dataSourceId)
Get the list of synchronized content
|
_getMyBatisConfiguration, configure, contextualize, getSession, getSession, reload, service, setPluginInfogetLogger, setLoggerprotected String _dataSourceId
public SQLUserSearchDAO()
public List<Map<String,Object>> searchUser(Map<String,Object> params, String dataSourceId)
params - the filter paramatersdataSourceId - the datasource IDprotected void _configureDatasource(Configuration configuration) throws ConfigurationException
AbstractMyBatisDAO_configureDatasource in class AbstractMyBatisDAOconfiguration - the configurationConfigurationException - if an error occurredprotected String _getDataSourceId()
AbstractMyBatisDAO_getDataSourceId in class AbstractMyBatisDAOprotected void _setDataSourceId(String dataSourceId)
dataSourceId - the datasource id