Class GetRelations
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.services.GetRelations
-
public class GetRelations extends Object
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description GetRelations()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
session
protected CoreSession session
-
relations
protected RelationManager relations
-
predicate
protected String predicate
-
outgoing
protected boolean outgoing
-
graphName
protected String graphName
-
-
Method Detail
-
run
public DocumentModelList run(DocumentModel doc)
-
getDocumentResource
protected QNameResource getDocumentResource(DocumentModel document)
-
getPredicate
protected Resource getPredicate()
-
getDocuments
protected DocumentModelList getDocuments(QNameResource res, Resource predicate)
-
getIncomingStatements
protected List<Statement> getIncomingStatements(QNameResource res, Resource predicate)
-
getOutgoingStatements
protected List<Statement> getOutgoingStatements(QNameResource res, Resource predicate)
-
getDocumentModel
protected DocumentModel getDocumentModel(Node node)
-
getGraphName
public String getGraphName()
- Since:
- 5.5
-
-