public class RelationHelper extends Object
public static RelationManager getRelationManager()
public static QNameResource getDocumentResource(DocumentModel document)
public static DocumentModel getDocumentModel(Node node, CoreSession session)
public static DocumentModelList getSubjectDocuments(Resource predicat, String stringObject, CoreSession session)
public static DocumentModelList getSubjectDocuments(String graphName, Resource predicat, String stringObject, CoreSession session)
public static DocumentModelList getSubjectDocuments(Resource predicat, DocumentModel objectDocument)
public static DocumentModelList getSubjectDocuments(String graphName, Resource predicat, DocumentModel objectDocument)
public static DocumentModelList getSubjectDocumentsOut(Resource predicat, DocumentModel objectDocument)
public static DocumentModelList getSubjectDocumentsOut(String graphName, Resource predicat, DocumentModel objectDocument)
public static DocumentModelList getObjectDocuments(DocumentModel subjectDoc, Resource predicat)
public static DocumentModelList getObjectDocuments(String graphName, DocumentModel subjectDoc, Resource predicat)
public static List<Statement> getStatements(DocumentModel subjectDoc, Resource predicat)
public static List<Statement> getStatements(String graphName, DocumentModel subjectDoc, Resource predicat)
public static void removeRelation(DocumentModel subjectDoc, Resource predicat, DocumentModel objectDoc)
public static void removeRelation(String graphName, DocumentModel subjectDoc, Resource predicat, DocumentModel objectDoc)
Copyright © 2015 Nuxeo SA. All rights reserved.