Implemented Unpublishing of content.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-08-07 15:42:23 +00:00
parent 1ebd026918
commit 9696a74002
15 changed files with 149 additions and 77 deletions

View File

@@ -23,17 +23,21 @@ import java.util.Collection;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* An extension of the {@link PublishingPackage} interface that permits changes to be made
* An extendsion of the {@link PublishingPackage} interface which allows values to be modified.
* @author Brian
* @author Nick Smith
*
* @since 4.0
*/
public interface MutablePublishingPackage extends PublishingPackage
{
void addNodesToUnpublish(NodeRef... nodesToRemove);
MutablePublishingPackage addNodesToUnpublish(NodeRef... nodesToRemove);
void addNodesToUnpublish(Collection<NodeRef> nodesToRemove);
MutablePublishingPackage addNodesToUnpublish(Collection<NodeRef> nodesToRemove);
void addNodesToPublish(NodeRef... nodesToPublish);
MutablePublishingPackage addNodesToPublish(NodeRef... nodesToPublish);
void addNodesToPublish(Collection<NodeRef> nodesToPublish);
MutablePublishingPackage addNodesToPublish(Collection<NodeRef> nodesToPublish);
PublishingPackage build();
}