Nuxeo Enterprise Platform 5.4

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

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

public class PublicationRelationHelper
extends java.lang.Object

Author:
Thomas Roger

Field Summary
static java.lang.String PUBLICATION_GRAPH_NAME
           
static java.lang.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 java.lang.String PUBLICATION_GRAPH_NAME
See Also:
Constant Field Values

PUBLICATION_TREE_NAMESPACE

public static final java.lang.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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.