Search in sources :

Example 16 with DataMediaSource

use of com.alibaba.otter.shared.common.model.config.data.DataMediaSource in project otter by alibaba.

the class EditDataSource method execute.

public void execute(@Param("dataMediaSourceId") Long dataMediaSourceId, @Param("pageIndex") int pageIndex, @Param("searchKey") String searchKey, Context context) throws Exception {
    DataMediaSource source = dataMediaSourceService.findById(dataMediaSourceId);
    context.put("source", source);
    context.put("pageIndex", pageIndex);
    context.put("searchKey", searchKey);
}
Also used : DataMediaSource(com.alibaba.otter.shared.common.model.config.data.DataMediaSource)

Aggregations

DataMediaSource (com.alibaba.otter.shared.common.model.config.data.DataMediaSource)16 RepeatConfigureException (com.alibaba.otter.manager.biz.common.exceptions.RepeatConfigureException)7 DataMedia (com.alibaba.otter.shared.common.model.config.data.DataMedia)7 DbMediaSource (com.alibaba.otter.shared.common.model.config.data.db.DbMediaSource)5 ArrayList (java.util.ArrayList)5 ManagerException (com.alibaba.otter.manager.biz.common.exceptions.ManagerException)4 MqMediaSource (com.alibaba.otter.shared.common.model.config.data.mq.MqMediaSource)4 HashMap (java.util.HashMap)4 Paginator (com.alibaba.citrus.util.Paginator)3 DataMatrix (com.alibaba.otter.shared.common.model.config.data.DataMatrix)2 ModeValue (com.alibaba.otter.shared.common.model.config.data.DataMedia.ModeValue)2 SQLException (java.sql.SQLException)2 Map (java.util.Map)2 DataSource (javax.sql.DataSource)2 JdbcTemplate (org.springframework.jdbc.core.JdbcTemplate)2 WebxException (com.alibaba.citrus.webx.WebxException)1 DataMediaSourceDO (com.alibaba.otter.manager.biz.config.datamediasource.dal.dataobject.DataMediaSourceDO)1 SeniorDataMatrix (com.alibaba.otter.manager.web.common.model.SeniorDataMatrix)1 SeniorDataMediaSource (com.alibaba.otter.manager.web.common.model.SeniorDataMediaSource)1 ModeValueFilter (com.alibaba.otter.shared.common.model.config.ModeValueFilter)1