public class PublicationRelationHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PUBLICATION_GRAPH_NAME |
static String |
PUBLICATION_TREE_NAMESPACE |
static Resource |
PUBLISHED_BY |
Modifier and Type | Method and Description |
---|---|
static void |
addPublicationRelation(DocumentModel documentModel,
PublicationTree publicationTree) |
static PublicationTree |
getPublicationTreeUsedForPublishing(DocumentModel documentModel,
CoreSession coreSession) |
static boolean |
isPublished(DocumentModel documentModel) |
static void |
removePublicationRelation(DocumentModel documentModel) |
public static final String PUBLICATION_GRAPH_NAME
public static final String PUBLICATION_TREE_NAMESPACE
public static final Resource PUBLISHED_BY
public static void addPublicationRelation(DocumentModel documentModel, PublicationTree publicationTree) throws ClientException
ClientException
public static void removePublicationRelation(DocumentModel documentModel) throws ClientException
ClientException
public static boolean isPublished(DocumentModel documentModel)
public static PublicationTree getPublicationTreeUsedForPublishing(DocumentModel documentModel, CoreSession coreSession) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.