mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
125603 rmunteanu: Merged 5.1.1 (5.1.1) to 5.1.N (5.1.2) 125484 slanglois: MNT-16155 Update source headers - remove old Copyrights from Java and JSP dource files git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@125781 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
77 lines
1.9 KiB
Java
77 lines
1.9 KiB
Java
package org.alfresco.service.cmr.publishing;
|
|
|
|
import java.util.Calendar;
|
|
import java.util.Collection;
|
|
import java.util.Set;
|
|
|
|
import org.alfresco.service.cmr.repository.NodeRef;
|
|
|
|
/**
|
|
* A simple DTO used to gather parameters for scheduling a Publishing Event.
|
|
*
|
|
* @author Brian
|
|
* @author Nick Smith
|
|
*
|
|
* @since 4.0
|
|
*/
|
|
public interface PublishingDetails
|
|
{
|
|
PublishingDetails addNodesToUnpublish(NodeRef... nodesToRemove);
|
|
|
|
PublishingDetails addNodesToUnpublish(Collection<NodeRef> nodesToRemove);
|
|
|
|
PublishingDetails addNodesToPublish(NodeRef... nodesToPublish);
|
|
|
|
PublishingDetails addNodesToPublish(Collection<NodeRef> nodesToPublish);
|
|
|
|
PublishingDetails setPublishChannelId(String channelId);
|
|
|
|
PublishingDetails setComment(String comment);
|
|
|
|
PublishingDetails setSchedule(Calendar schedule);
|
|
|
|
PublishingDetails setStatusMessage(String message);
|
|
|
|
PublishingDetails setStatusNodeToLinkTo(NodeRef nodeToLinkTo);
|
|
|
|
PublishingDetails addStatusUpdateChannels(Collection<String> channelIds);
|
|
PublishingDetails addStatusUpdateChannels(String... channelIds);
|
|
|
|
/**
|
|
* @return the comment
|
|
*/
|
|
String getComment();
|
|
|
|
/**
|
|
* @return the message
|
|
*/
|
|
String getStatusMessage();
|
|
|
|
/**
|
|
* @return the nodeToLinkTo
|
|
*/
|
|
NodeRef getNodeToLinkTo();
|
|
|
|
/**
|
|
* @return the publishChannelId
|
|
*/
|
|
String getPublishChannelId();
|
|
|
|
/**
|
|
* @return the schedule
|
|
*/
|
|
Calendar getSchedule();
|
|
|
|
Set<String> getStatusUpdateChannels();
|
|
|
|
/**
|
|
* @return a {@link Set} of all the {@link NodeRef}s to be published.
|
|
*/
|
|
Set<NodeRef> getNodesToPublish();
|
|
|
|
/**
|
|
* @return a {@link Set} of all the {@link NodeRef}s to be unpublished.
|
|
*/
|
|
Set<NodeRef> getNodesToUnpublish();
|
|
}
|