public class SQLUserSearchDAO extends AbstractMyBatisDAO
SQLSynchronizableUDOrgunitCollection
s which need to access a SQL databaseModifier 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, setPluginInfo
getLogger, setLogger
protected 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 AbstractMyBatisDAO
configuration
- the configurationConfigurationException
- if an error occurredprotected String _getDataSourceId()
AbstractMyBatisDAO
_getDataSourceId
in class AbstractMyBatisDAO
protected void _setDataSourceId(String dataSourceId)
dataSourceId
- the datasource id