Package | Description |
---|---|
org.apache.taverna.reference |
Interfaces for the Taverna 2 reference manager.
|
org.apache.taverna.reference.impl |
Implementation of the reference manager APIs backed by Hibernate.
|
Modifier and Type | Method and Description |
---|---|
void |
ReferenceServiceResolutionCallback.resolutionFailed(ReferenceServiceException cause)
Called when the resolution process has failed
|
Modifier and Type | Method and Description |
---|---|
boolean |
ReferenceService.delete(List<T2Reference> references) |
boolean |
ReferenceSetService.delete(T2Reference reference) |
boolean |
ReferenceService.delete(T2Reference reference) |
boolean |
ListService.delete(T2Reference reference) |
boolean |
ErrorDocumentService.delete(T2Reference reference) |
void |
ErrorDocumentService.deleteErrorDocumentsForWorkflowRun(String workflowRunId)
Delete all
ErrorDocument S used by the specific workflow run. |
void |
ListService.deleteIdentifiedListsForWorkflowRun(String workflowRunId)
Delete all
IdentifiedList S used by the specific workflow run. |
void |
ReferenceSetService.deleteReferenceSetsForWorkflowRun(String workflowRunId)
Delete all
ReferenceSet S used by the specific workflow run. |
void |
ReferenceService.deleteReferencesForWorkflowRun(String workflowRunId) |
T2Reference |
ReferenceService.register(Object o,
int targetDepth,
boolean useConverterSPI,
ReferenceContext context)
The top level registration method is used to register either as yet
unregistered ErrorDocuments and ReferenceSets (if these are passed in and
already have an identifier this call does nothing) and arbitrarily nested
Lists of the same.
|
Object |
ReferenceService.renderIdentifier(T2Reference id,
Class<?> leafClass,
ReferenceContext context)
Resolve the given identifier, building a POJO structure where the
non-list items are of the desired class.
|
Identified |
ReferenceService.resolveIdentifier(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context)
Perform recursive identifier resolution, building a collection structure
of Identified objects, any collection elements being IdentifiedLists of
Identified subclasses.
|
void |
ReferenceService.resolveIdentifierAsynch(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context,
ReferenceServiceResolutionCallback callback)
As resolveIdentifier but using a callback object and returning
immediately
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractReferenceServiceImpl.checkConverterRegistry()
Check whether the converter registry has been defined, throw a
ReferenceServiceException if not
|
protected void |
AbstractReferenceServiceImpl.checkServices()
Throw a ReferenceServiceException if methods in ReferenceService are
called without the necessary sub-services configured.
|
boolean |
ReferenceServiceImpl.delete(List<T2Reference> references) |
boolean |
ReferenceSetServiceImpl.delete(T2Reference reference) |
boolean |
ReferenceServiceImpl.delete(T2Reference reference) |
boolean |
ListServiceImpl.delete(T2Reference reference) |
boolean |
ErrorDocumentServiceImpl.delete(T2Reference reference) |
void |
ErrorDocumentServiceImpl.deleteErrorDocumentsForWorkflowRun(String workflowRunId) |
void |
ListServiceImpl.deleteIdentifiedListsForWorkflowRun(String workflowRunId) |
void |
ReferenceSetServiceImpl.deleteReferenceSetsForWorkflowRun(String workflowRunId) |
void |
ReferenceServiceImpl.deleteReferencesForWorkflowRun(String workflowRunId) |
T2Reference |
ReferenceServiceImpl.register(Object o,
int targetDepth,
boolean useConverterSPI,
ReferenceContext context)
The top level registration method is used to register either as yet
unregistered ErrorDocuments and ReferenceSets (if these are passed in and
already have an identifier this call does nothing) and arbitrarily nested
Lists of the same.
|
Object |
ReferenceServiceImpl.renderIdentifier(T2Reference id,
Class<?> leafClass,
ReferenceContext context) |
Identified |
ReferenceServiceImpl.resolveIdentifier(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context)
Perform recursive identifier resolution, building a collection structure
of Identified objects, any collection elements being IdentifiedLists of
Identified subclasses.
|
void |
AbstractReferenceServiceImpl.resolveIdentifierAsynch(T2Reference id,
Set<Class<ExternalReferenceSPI>> ensureTypes,
ReferenceContext context,
ReferenceServiceResolutionCallback callback)
Wraps the synchronous form, using the executeRunnable method to schedule
it.
|
Iterator<ContextualizedT2Reference> |
ReferenceServiceImpl.traverseFrom(T2Reference source,
int desiredDepth)
Initiates a traversal of the specified t2reference, traversing to
whatever level of depth is required such that all identifiers returned
within the iterator have the specified depth.
|
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.