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
45 lines
1.5 KiB
Java
45 lines
1.5 KiB
Java
|
|
package org.alfresco.service.cmr.publishing;
|
|
|
|
import org.alfresco.service.cmr.repository.NodeRef;
|
|
|
|
/**
|
|
* @author Brian
|
|
* @since 4.0
|
|
*/
|
|
public interface PublishingPackageEntry
|
|
{
|
|
/**
|
|
* Retrieve the identifier of the node that this publishing package entry
|
|
* relates to
|
|
*
|
|
* @return A NodeRef object that identifies the node that this publishing
|
|
* package entry relates to
|
|
*/
|
|
NodeRef getNodeRef();
|
|
|
|
/**
|
|
* Retrieve the snapshot of the node that is held as the payload of this
|
|
* publishing package entry. The snapshot is taken when the containing
|
|
* publishing package is placed on the publishing queue IF this is a
|
|
* "publish" entry as opposed to an "unpublish" entry. No snapshot is taken
|
|
* for an unpublish entry.
|
|
*
|
|
* @return The snapshot of the node that this publishing package entry
|
|
* relates to if this is a "publish" entry (
|
|
* <code>null</node> if this is an "unpublish" entry). The snapshot is taken when
|
|
* the containing publishing package is placed on the publishing queue, so if this operation is called before that point
|
|
* then it will return <code>null</code>.
|
|
*/
|
|
NodeSnapshot getSnapshot();
|
|
|
|
/**
|
|
* Determine if this entry relates to a publish request or an unpublish
|
|
* request
|
|
*
|
|
* @return <code>true</code> if this entry relates to a publish request and
|
|
* <code>false</code> if it relates to an unpublish request
|
|
*/
|
|
boolean isPublish();
|
|
}
|