public interface IDeleteAggregationHandler<P extends IAggregationDocumentParameterized<P>> extends IAggregationHandler<P>
EXTRA_ORDERS_FLUSH_SIZE
Modifier and Type | Method and Description |
---|---|
void |
deleteDocument()
Sends a recursive deletion order for the document being aggregated, and all the other documents with a prefix
matching the current document URI.
|
void |
deleteDocument(java.util.List<java.lang.String> forwardRulesTypes)
Sends a recursive deletion order for the document being aggregated, and all the other sub-documents with a prefix
matching the current document URI.
|
void |
deleteDocument(P document)
Sends a recursive deletion order of the specified aggregated document and possibly all documents with a prefix
matching the document URI.
|
void |
deleteDocument(P document,
boolean shouldBeRecursive)
Sends a deletion order of the specified aggregated document, recursive or not.
|
void |
deleteDocument(P document,
boolean shouldBeRecursive,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a deletion order of the specified aggregated document, recursive or not.
|
void |
deleteDocument(P document,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a recursive deletion order of the specified aggregated document and possibly all documents with a prefix
matching the document URI.
|
void |
deleteDocument(java.lang.String uri)
Sends a recursive deletion order for the document with the given uri prefix.
|
void |
deleteDocument(java.lang.String uri,
boolean shouldBeRecursive)
Sends a deletion order for the document with the given uri, recursive or not.
|
void |
deleteDocument(java.lang.String uri,
boolean shouldBeRecursive,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a deletion order for the document with the given uri, recursive or not.
|
void |
deleteDocument(java.lang.String uri,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a recursive deletion order for the document with the given uri prefix.
|
void |
deleteDocumentChildren(P document)
Sends a deletion order for all the document children.
|
void |
deleteDocumentChildren(P document,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a deletion order for all the document children.
|
void |
deleteDocumentChildren(P document,
java.lang.String path)
Sends a deletion order for all the document children matching the given path.
|
void |
deleteDocumentChildren(P document,
java.lang.String path,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a deletion order for all the document children matching the given path.
|
void |
deleteDocumentChildren(java.lang.String uri)
Sends a deletion order for all the document children.
|
void |
deleteDocumentChildren(java.lang.String uri,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a deletion order for all the document children.
|
void |
deleteDocumentChildren(java.lang.String uri,
java.lang.String path)
Sends a deletion order for all the document children matching the given path.
|
void |
deleteDocumentChildren(java.lang.String uri,
java.lang.String path,
java.util.List<java.lang.String> forwardRulesTypes)
Sends a deletion order for all the document children matching the given path.
|
void |
deleteDocumentRootPath(java.lang.String rootPath)
Deletes a set of documents corresponding to a URI prefix.
|
void |
deleteDocumentRootPath(java.lang.String rootPath,
java.util.List<java.lang.String> forwardRulesTypes)
Deletes all the documents matching the
rootPath prefix, and with some forward rules types in order to allow
correct routing/filtering by the Forward Rules handler (if needed). |
discard, getReason, match, matchPathEnd, matchPathEnd, matchPathEnd, yield, yieldAndForward
void deleteDocument()
void deleteDocument(@Nullable java.util.List<java.lang.String> forwardRulesTypes)
forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocument(@Nonnull java.lang.String uri)
uri
- The unique identifier of the document to remove.void deleteDocument(@Nonnull java.lang.String uri, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
uri
- The unique identifier of the document to remove.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocument(@Nonnull java.lang.String uri, @Nonnull boolean shouldBeRecursive)
uri
- The unique identifier of the document to remove.shouldBeRecursive
- If the flag is true, then the deletion order affects all documents matching this same document
URI prefix.void deleteDocument(@Nonnull java.lang.String uri, boolean shouldBeRecursive, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
uri
- The unique identifier of the document to remove.shouldBeRecursive
- If the flag is true, then the deletion order affects all documents matching this same document
URI prefix.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocument(@Nonnull P document)
document
- The document to delete.void deleteDocument(@Nonnull P document, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
document
- The document to delete.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocument(@Nonnull P document, @Nonnull boolean shouldBeRecursive)
document
- The document to delete.shouldBeRecursive
- If the flag is true, then the deletion order affects all documents matching this same document
URI prefix.void deleteDocument(@Nonnull P document, boolean shouldBeRecursive, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
document
- The document to delete.shouldBeRecursive
- If the flag is true, then the deletion order affects all documents matching this same document
URI prefix.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocumentChildren(@Nonnull P document, @Nullable java.lang.String path)
document
- The document root to consider.path
- A string prefix of the children URIs to be deleted, or an empty/null string to delete all children.void deleteDocumentChildren(@Nonnull P document, @Nullable java.lang.String path, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
document
- The document root to consider.path
- A string prefix of the children URIs to be deleted, or an empty/null string to delete all children.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocumentChildren(@Nonnull java.lang.String uri, @Nullable java.lang.String path)
uri
- The parent document URI to consider.path
- A string prefix of the children URIs to be deleted, or an empty/null string to delete all children.void deleteDocumentChildren(@Nonnull java.lang.String uri, @Nullable java.lang.String path, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
uri
- The parent document URI to consider.path
- A string prefix of the children URIs to be deleted, or an empty/null string to delete all children.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocumentChildren(@Nonnull P document)
document
- The document root to consider.void deleteDocumentChildren(@Nonnull P document, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
document
- The document root to consider.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocumentChildren(@Nonnull java.lang.String uri)
uri
- The parent document URI to consider.void deleteDocumentChildren(@Nonnull java.lang.String uri, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
uri
- The parent document URI to consider.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.void deleteDocumentRootPath(@Nonnull java.lang.String rootPath)
rootPath
prefix will be deleted.rootPath
- An URI prefix used to select the documents to be deleted.void deleteDocumentRootPath(@Nonnull java.lang.String rootPath, @Nullable java.util.List<java.lang.String> forwardRulesTypes)
rootPath
prefix, and with some forward rules types in order to allow
correct routing/filtering by the Forward Rules handler (if needed).rootPath
- An URI prefix used to select the documents to be deleted.forwardRulesTypes
- The forward rules types to consider to allow a proper behavior for documents not known in the
Consolidation Store.Copyright © 2013 Dassault Systèmes, All Rights Reserved.