Package com.day.cq.workflow.collection

Examples of com.day.cq.workflow.collection.ResourceCollection


            log.warn("Requesting paths for a non-existent Resource [ {} ]; returning empty results.", path);
            return paths;
        }

        final Node node = resource.adaptTo(Node.class);
        final ResourceCollection resourceCollection =
                ResourceCollectionUtil.getResourceCollection(node, resourceCollectionManager);

        if (resourceCollection != null) {
            final List<Node> members = resourceCollection.list(workflowPackageTypes);
            for (final Node member : members) {
                paths.add(member.getPath());
            }
        } else {
            // Is not a workflow package; return a List of the provided payload path
View Full Code Here

TOP

Related Classes of com.day.cq.workflow.collection.ResourceCollection

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.