Examples of GcSearchList


Examples of org.gpel.client.GcSearchList

        WorkflowClient client = WorkflowEngineManager.getWorkflowClient();
        client.setEngineURL(XBayaConstants.DEFAULT_GPEL_ENGINE_URL);

        client.createScriptAndDeploy(workflow, false);

        GcSearchList list = client.list();
        for (GcSearchResult result : list.results()) {
            logger.info(result.getTitle());
        }

        client.load(workflow.getGPELTemplateID());
    }
View Full Code Here

Examples of org.gpel.client.GcSearchList

     * @throws WorkflowEngineException
     */
    public void XtestListWorkflowInstances() throws WorkflowEngineException {
        WorkflowClient client = WorkflowEngineManager.getWorkflowClient();
        client.setEngineURL(XBayaConstants.DEFAULT_GPEL_ENGINE_URL);
        GcSearchList searchList = client.list(100, WorkflowType.INSTANCE);
        for (GcSearchResult result : searchList.results()) {
            URI id = result.getId();
            logger.info("id: " + id);
        }
    }
View Full Code Here

Examples of org.gpel.client.GcSearchList

        WorkflowClient client = WorkflowEngineManager.getWorkflowClient();
        client.setEngineURL(gpelEngineURL);

        // XXX This is supposed to return the workflow templates related to the
        // user only. But users are not implemented in GPEL yet.
        GcSearchList results = client.list();

        for (GcSearchResult result : results.results()) {

            // The title to show to the user.
            String title = result.getTitle();
            logger.info("title: " + title);
View Full Code Here

Examples of org.gpel.client.GcSearchList

            public void run() {
                try {
                    WorkflowClient workflowClient = GPELLoadWindow.this.engine
                            .getWorkflowClient();

                    final GcSearchList resultList = workflowClient.list();
                    SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                            if (resultList == null || resultList.size() == 0) {
                                GPELLoadWindow.this.list.getList().setListData(
                                        new String[]{"No workflow"});
                            } else {
                                Vector<GcSearchResult> results = new Vector<GcSearchResult>();
                                for (GcSearchResult result : resultList
                                        .results()) {
                                    results.add(result);
                                }
                                GPELLoadWindow.this.list.setListData(results);
                                GPELLoadWindow.this.list.setEnabled(true);
View Full Code Here

Examples of org.gpel.client.GcSearchList

                    this.xbayaEngine.getErrorWindow().error(ErrorMessages.GPEL_ERROR, e);
                    return null;
                }
            }

            GcSearchList resultList = this.workflowClient.list(this.max, this.type);
            for (GcSearchResult result : resultList.results()) {
                GPELComponentReference componentRef = new GPELComponentReference(
                        this, result);
                ComponentTreeNode treeLeaf = new ComponentTreeNode(componentRef);
                tree.add(treeLeaf);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.