private DownloadableContent getFlowFileContent(final String connectionId, final String flowfileId, final String dataUri) { // user authorization is handled once we have the actual content so we can utilize the flow file attributes in the resource context return serviceFacade.getContent(connectionId, flowfileId, dataUri); }
private DownloadableContent getProvenanceEventContent(final Long eventId, final String dataUri, final ContentDirection direction) { // user authorization is handled once we have the actual prov event so we can utilize the event attributes in the resource context return serviceFacade.getContent(eventId, dataUri, direction); }
final DownloadableContent content = serviceFacade.getContent(connectionId, flowFileUuid, uri);
final DownloadableContent content = serviceFacade.getContent(id.getLong(), uri, ContentDirection.OUTPUT);
final DownloadableContent content = serviceFacade.getContent(id.getLong(), uri, ContentDirection.INPUT);