Package com.alibaba.otter.manager.web.common.model

Examples of com.alibaba.otter.manager.web.common.model.SeniorCanal


        List<Canal> canals = canalService.listByCondition(condition);

        List<SeniorCanal> seniorCanals = new ArrayList<SeniorCanal>();

        for (Canal canal : canals) {
            SeniorCanal seniorCanal = new SeniorCanal();
            seniorCanal.setId(canal.getId());
            seniorCanal.setName(canal.getName());
            seniorCanal.setStatus(canal.getStatus());
            seniorCanal.setDesc(canal.getDesc());
            seniorCanal.setCanalParameter(canal.getCanalParameter());
            seniorCanal.setGmtCreate(canal.getGmtCreate());
            seniorCanal.setGmtModified(canal.getGmtModified());

            List<Pipeline> pipelines = pipelineService.listByDestinationWithoutOther(canal.getName());
            seniorCanal.setPipelines(pipelines);
            seniorCanal.setUsed(!pipelines.isEmpty());
            seniorCanals.add(seniorCanal);
        }
        context.put("seniorCanals", seniorCanals);
        context.put("paginator", paginator);
        context.put("searchKey", searchKey);
View Full Code Here


        List<Canal> canals = canalService.listByCondition(condition);

        List<SeniorCanal> seniorCanals = new ArrayList<SeniorCanal>();

        for (Canal canal : canals) {
            SeniorCanal seniorCanal = new SeniorCanal();
            seniorCanal.setId(canal.getId());
            seniorCanal.setName(canal.getName());
            seniorCanal.setStatus(canal.getStatus());
            seniorCanal.setDesc(canal.getDesc());
            seniorCanal.setCanalParameter(canal.getCanalParameter());
            seniorCanal.setUsed(false);
            seniorCanal.setGmtCreate(canal.getGmtCreate());
            seniorCanal.setGmtModified(canal.getGmtModified());
            seniorCanals.add(seniorCanal);
        }
        context.put("seniorCanals", seniorCanals);
        context.put("paginator", paginator);
        context.put("searchKey", searchKey);
View Full Code Here

        List<Canal> canals = canalService.listByCondition(condition);

        List<SeniorCanal> seniorCanals = new ArrayList<SeniorCanal>();

        for (Canal canal : canals) {
            SeniorCanal seniorCanal = new SeniorCanal();
            seniorCanal.setId(canal.getId());
            seniorCanal.setName(canal.getName());
            seniorCanal.setStatus(canal.getStatus());
            seniorCanal.setDesc(canal.getDesc());
            seniorCanal.setCanalParameter(canal.getCanalParameter());
            seniorCanal.setUsed(false);
            seniorCanal.setGmtCreate(canal.getGmtCreate());
            seniorCanal.setGmtModified(canal.getGmtModified());
            seniorCanals.add(seniorCanal);
        }
        context.put("seniorCanals", seniorCanals);
        context.put("paginator", paginator);
        context.put("searchKey", searchKey);
View Full Code Here

TOP

Related Classes of com.alibaba.otter.manager.web.common.model.SeniorCanal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.