Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.publisher.helper
Class PublicationRelationHelper

java.lang.Object
  extended by org.nuxeo.ecm.platform.publisher.helper.PublicationRelationHelper

public class PublicationRelationHelper
extends Object

Author:
Thomas Roger

Field Summary
static String PUBLICATION_GRAPH_NAME
           
static String PUBLICATION_TREE_NAMESPACE
           
static Resource PUBLISHED_BY
           
 
Method Summary
static void addPublicationRelation(DocumentModel documentModel, PublicationTree publicationTree)
           
static PublicationTree getPublicationTreeUsedForPublishing(DocumentModel documentModel, CoreSession coreSession)
           
static boolean isPublished(DocumentModel documentModel)
           
static void removePublicationRelation(DocumentModel documentModel)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PUBLICATION_GRAPH_NAME

public static final String PUBLICATION_GRAPH_NAME
See Also:
Constant Field Values

PUBLICATION_TREE_NAMESPACE

public static final String PUBLICATION_TREE_NAMESPACE
See Also:
Constant Field Values

PUBLISHED_BY

public static final Resource PUBLISHED_BY
Method Detail

addPublicationRelation

public static void addPublicationRelation(DocumentModel documentModel,
                                          PublicationTree publicationTree)
                                   throws ClientException
Throws:
ClientException

removePublicationRelation

public static void removePublicationRelation(DocumentModel documentModel)
                                      throws ClientException
Throws:
ClientException

isPublished

public static boolean isPublished(DocumentModel documentModel)

getPublicationTreeUsedForPublishing

public static PublicationTree getPublicationTreeUsedForPublishing(DocumentModel documentModel,
                                                                  CoreSession coreSession)
                                                           throws ClientException
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.