Package org.gpel.client

Examples of org.gpel.client.GcSearchList.results()


        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


     */
    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

        // 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

                            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

                    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.