public interface ICreateAggregationHandler<P extends IAggregationDocumentParameterized<P>> extends IAggregationHandler<P>
EXTRA_ORDERS_FLUSH_SIZE
Modifier and Type | Method and Description |
---|---|
P |
createChildDocument(P parentDocument,
java.lang.String subURI,
java.lang.String type,
java.lang.String... parentTypes)
Creates an aggregation document from a parent one and with the required given properties.
|
P |
createDocument(java.lang.String uri,
java.lang.String type,
java.lang.String... parentTypes)
Create an aggregation document with the required given properties.
|
void |
fetchParts(P document,
java.lang.String connectorName,
java.lang.String connectorDocumentURI)
Fetches the parts corresponding to the document @i connectorDocumentURI from the connector specified by @i connectorName
and append them to the given @i document.
|
boolean |
isFetchOperation()
When a Fetch Server performs a fetch operation request to the Consolidation Server, this handler (and only in such
case) will return true.
|
discard, getReason, match, matchPathEnd, matchPathEnd, matchPathEnd, yield, yieldAndForward
P createDocument(@Nonnull java.lang.String uri, @Nonnull java.lang.String type, @Nullable java.lang.String... parentTypes)
ICreateTransformationHandler.createDocument(String, String, String...)
this
document is not automatically deleted if no edges point on it at the end of the aggregation phase. Documents will
be pushed as is to the Forward Rules (if yielded), and so directed (or not) to an Indexing Server or
another Consolidation Instance.uri
- The unique document identifier.type
- The document representative type.parentTypes
- A possible list of parent types ordered from their natural hierarchy.IAggregationDocument
.P createChildDocument(@Nonnull P parentDocument, @Nonnull java.lang.String subURI, @Nonnull java.lang.String type, @Nullable java.lang.String... parentTypes)
parentDocument
- The parent document to consider.subURI
- The sub-URI that will added to the parent one in order to define a new unique one.type
- The document representative type.parentTypes
- A possible list of parent types ordered from their natural hierarchy.IAggregationDocument
.boolean isFetchOperation()
void fetchParts(@Nonnull P document, @Nonnull java.lang.String connectorName, @Nonnull java.lang.String connectorDocumentURI)
document
- the given documentconnectorName
- the connector nameconnectorDocumentURI
- the connector's document URICopyright © 2013 Dassault Systèmes, All Rights Reserved.