org.talend.esb.sam.server.ui
Class UIProviderImpl
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
org.talend.esb.sam.server.ui.UIProviderImpl
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, UIProvider
public class UIProviderImpl
- extends org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport
- implements UIProvider
Default implementation of UIProvider based on
SimpleJdbcDaoSupport
- Author:
- zubairov
| Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
|
Method Summary |
com.google.gson.JsonObject |
getEventDetails(String eventID)
Returns a detailed information about event with given ID or null if no such event was found |
com.google.gson.JsonObject |
getEvents(long offset,
String baseURL,
CriteriaAdapter criteria)
Retrieve an aggregated list of events
starting with offset
maximum number of items is limit |
com.google.gson.JsonObject |
getFlowDetails(String flowID,
String baseURL)
Returns a detailed information about flow with given ID or null if no such flow was found |
void |
setDialect(DatabaseDialect dialect)
Injector method for DatabaseDialect |
| Methods inherited from class org.springframework.jdbc.core.simple.SimpleJdbcDaoSupport |
getSimpleJdbcTemplate, initTemplateConfig |
| Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, releaseConnection, setDataSource, setJdbcTemplate |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UIProviderImpl
public UIProviderImpl()
setDialect
public void setDialect(DatabaseDialect dialect)
- Injector method for
DatabaseDialect
- Parameters:
dialect -
getEvents
public com.google.gson.JsonObject getEvents(long offset,
String baseURL,
CriteriaAdapter criteria)
- Description copied from interface:
UIProvider
- Retrieve an aggregated list of events
starting with offset
maximum number of items is limit
- Specified by:
getEvents in interface UIProvider
- Returns:
getFlowDetails
public com.google.gson.JsonObject getFlowDetails(String flowID,
String baseURL)
- Description copied from interface:
UIProvider
- Returns a detailed information about flow with given ID or null if no such flow was found
- Specified by:
getFlowDetails in interface UIProvider
- Returns:
getEventDetails
public com.google.gson.JsonObject getEventDetails(String eventID)
- Description copied from interface:
UIProvider
- Returns a detailed information about event with given ID or null if no such event was found
- Specified by:
getEventDetails in interface UIProvider
- Returns:
Copyright © 2011-2012 Talend Inc.. All Rights Reserved.