mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added a new REST method, publishing-events-query.post which allows you to query for publishing events based on id or published nodes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -84,4 +84,9 @@ public interface NodeSnapshot
|
||||
* @return A set of QName objects, each identifying an aspect that is applied to the node
|
||||
*/
|
||||
Set<QName> getAspects();
|
||||
|
||||
/**
|
||||
* @return the version of the node when the snapshot was taken.
|
||||
*/
|
||||
String getVersion();
|
||||
}
|
||||
|
@@ -19,6 +19,7 @@
|
||||
|
||||
package org.alfresco.service.cmr.publishing;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Set;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
@@ -31,9 +32,19 @@ public interface PublishingEventFilter
|
||||
{
|
||||
PublishingEventFilter setIds(String... ids);
|
||||
|
||||
PublishingEventFilter setIds(Collection<String> ids);
|
||||
|
||||
Set<String> getIds();
|
||||
|
||||
PublishingEventFilter setPublishedNodes(NodeRef... publishedNodes);
|
||||
|
||||
PublishingEventFilter setPublishedNodes(Collection<NodeRef> publishedNodes);
|
||||
|
||||
Set<NodeRef> getPublishedNodes();
|
||||
|
||||
PublishingEventFilter setUnpublishedNodes(NodeRef... unpublishedNodes);
|
||||
|
||||
PublishingEventFilter setUnpublishedNodes(Collection<NodeRef> unpublishedNodes);
|
||||
|
||||
Set<NodeRef> getUnpublishedNodes();
|
||||
}
|
||||
|
@@ -19,6 +19,7 @@
|
||||
package org.alfresco.service.cmr.publishing;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.alfresco.service.cmr.repository.NodeRef;
|
||||
@@ -30,6 +31,7 @@ public interface PublishingPackage
|
||||
* @return The collection of publishing package entries. Never <code>null</code>.
|
||||
*/
|
||||
Collection<PublishingPackageEntry> getEntries();
|
||||
Map<NodeRef,PublishingPackageEntry> getEntryMap();
|
||||
Set<NodeRef> getNodesToPublish();
|
||||
Set<NodeRef> getNodesToUnpublish();
|
||||
}
|
||||
|
Reference in New Issue
Block a user