public class GetRelations extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
graphName |
static String |
ID |
protected boolean |
outgoing |
protected String |
predicate |
protected RelationManager |
relations |
protected CoreSession |
session |
Constructor and Description |
---|
GetRelations() |
Modifier and Type | Method and Description |
---|---|
protected DocumentModel |
getDocumentModel(Node node) |
protected QNameResource |
getDocumentResource(DocumentModel document) |
protected DocumentModelList |
getDocuments(QNameResource res,
Resource predicate) |
String |
getGraphName() |
protected List<Statement> |
getIncomingStatements(QNameResource res,
Resource predicate) |
protected List<Statement> |
getOutgoingStatements(QNameResource res,
Resource predicate) |
protected Resource |
getPredicate() |
DocumentModelList |
run(DocumentModel doc) |
public static final String ID
protected CoreSession session
protected RelationManager relations
protected boolean outgoing
public GetRelations()
public DocumentModelList run(DocumentModel doc)
protected QNameResource getDocumentResource(DocumentModel document)
protected Resource getPredicate()
protected DocumentModelList getDocuments(QNameResource res, Resource predicate)
protected List<Statement> getIncomingStatements(QNameResource res, Resource predicate)
protected List<Statement> getOutgoingStatements(QNameResource res, Resource predicate)
protected DocumentModel getDocumentModel(Node node)
public String getGraphName()
Copyright © 2015 Nuxeo SA. All rights reserved.