Expose deep flag
This commit is contained in:
parent
40597d5769
commit
b811abcb54
|
@ -19,5 +19,5 @@ public interface ProjectAccess {
|
|||
|
||||
public Iterable<Document> query(String ucid, QueryRequest query) throws RegistrationException, ConfigurationException, InvalidUserRoleException;
|
||||
|
||||
public List<RelationshipNavigationObject> getRelations(String ucid, String id, String relation) throws InvalidUserRoleException, RegistrationException, ProjectNotFoundException, ConfigurationException, UnauthorizedAccess;
|
||||
public List<RelationshipNavigationObject> getRelations(String ucid, String id, String relation,Boolean deep) throws InvalidUserRoleException, RegistrationException, ProjectNotFoundException, ConfigurationException, UnauthorizedAccess;
|
||||
}
|
||||
|
|
|
@ -237,13 +237,16 @@ public class SimpleLifeCycleManager extends AbstractLifeCycleManager implements
|
|||
IndexDocumentRequest indexRequest = new IndexDocumentRequest(
|
||||
request.getUseCaseDescriptor(),request.getCaller(), request.getContext(),request.getDocument());
|
||||
|
||||
indexRequest.setCallParameters(parameters);
|
||||
indexRequest.setCallParameters(evaluateAdditionalIndexParameters(indexRequest));
|
||||
IndexDocumentReport indexReport = indexer.index(indexRequest);
|
||||
|
||||
return handleReport(indexReport,report);
|
||||
|
||||
}
|
||||
|
||||
protected Document evaluateAdditionalIndexParameters(IndexDocumentRequest request){return request.getCallParameters();}
|
||||
|
||||
|
||||
protected <T extends DocumentHandlingReport> T materializeDocument(T report,MaterializationPlugin plugin,Document parameters) throws InvalidPluginRequestException, MaterializationException {
|
||||
BaseExecutionRequest request = report.getTheRequest();
|
||||
MaterializationRequest matReq =
|
||||
|
|
Loading…
Reference in New Issue