Package org.jahia.ajax.gwt.client.data.workflow

Examples of org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowType


            setEnabled(true);
            updateTitle(Messages.get("label.publish.selected.items"));
        } else {
            gwtJahiaNode = linker.getSelectionContext().getSingleSelection();
            if (gwtJahiaNode != null && gwtJahiaNode.getWorkflowInfo() != null) {
                wf = gwtJahiaNode.getWorkflowInfo().getActiveWorkflows().get(new GWTJahiaWorkflowType("publish"));
                if (wf != null) {
                    if (!wf.getAvailableTasks().isEmpty()) {
                        setEnabled(true);
                        updateTitle(wf.getAvailableTasks().get(0).getDisplayName() + " : " + gwtJahiaNode.getDisplayName());
                    } else {
View Full Code Here


        if (selectedNode != null) {
            linker.loading(Messages.get("label.content.unpublishing", "Unpublishing"));
            GWTJahiaWorkflowInfo workflowInfo = selectedNode.getWorkflowInfo();
            if (workflowInfo != null) {
                final GWTJahiaWorkflowDefinition workflowDefinition = workflowInfo.getPossibleWorkflows().get(
                        new GWTJahiaWorkflowType("unpublish"));

                final List<String> uuids = new ArrayList<String>();
                List<GWTJahiaNode> jahiaNodes = linker.getSelectionContext().getMultipleSelection();
                if (jahiaNodes.size() > 1) {
                    for (GWTJahiaNode jahiaNode : jahiaNodes) {
View Full Code Here

TOP

Related Classes of org.jahia.ajax.gwt.client.data.workflow.GWTJahiaWorkflowType

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.