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)
public static void removePublicationRelation(DocumentModel documentModel)
public static boolean isPublished(DocumentModel documentModel)
public static PublicationTree getPublicationTreeUsedForPublishing(DocumentModel documentModel, CoreSession coreSession)
Copyright © 2015 Nuxeo SA. All rights reserved.