Revert "Recovering Pointcut from a failed merge"

This reverts commit 19c0b4fd
This commit is contained in:
Ken Stevens 2019-07-24 13:00:49 -04:00
parent 19c0b4fdd2
commit 64e83fa3df
1 changed files with 3 additions and 7 deletions

View File

@ -1166,15 +1166,11 @@ public enum Pointcut {
/** /**
* Invoked before a resource is about to be expunged via the <code>$expunge</code> operation. * Invoked before a resource is about to be expunged via the <code>$expunge</code> operation.
* <p> * <p>
* Hooks will be passed a reference to a counter containing the current number of records that have been deleted.
* If the hook deletes any records, the hook is expected to increment this counter by the number of records deleted.
* </p>
* <p>
* Hooks may accept the following parameters: * Hooks may accept the following parameters:
* </p> * </p>
* <ul> * <ul>
* <li>org.hl7.fhir.instance.model.api.IIdType - The ID of the resource that is about to be deleted</li> * <li>org.hl7.fhir.instance.model.api.IIdType - The ID of the resource that is about to be deleted</li>
* <li>java.util.concurrent.atomic.AtomicInteger - The counter holding the number of records deleted.</li> * <li>org.hl7.fhir.instance.model.api.IBaseResource - The resource that is about to be deleted</li>
* <li> * <li>
* ca.uhn.fhir.rest.api.server.RequestDetails - A bean containing details about the request that is about to be processed, including details such as the * ca.uhn.fhir.rest.api.server.RequestDetails - A bean containing details about the request that is about to be processed, including details such as the
* resource type and logical ID (if any) and other FHIR-specific aspects of the request which have been * resource type and logical ID (if any) and other FHIR-specific aspects of the request which have been
@ -1193,12 +1189,12 @@ public enum Pointcut {
* Hooks should return void. * Hooks should return void.
* </p> * </p>
*/ */
STORAGE_PRESTORAGE_EXPUNGE_RESOURCE ( STORAGE_PRESTORAGE_EXPUNGE_RESOURCE(
// Return type // Return type
void.class, void.class,
// Params // Params
"java.util.concurrent.atomic.AtomicInteger",
"org.hl7.fhir.instance.model.api.IIdType", "org.hl7.fhir.instance.model.api.IIdType",
"org.hl7.fhir.instance.model.api.IBaseResource",
"ca.uhn.fhir.rest.api.server.RequestDetails", "ca.uhn.fhir.rest.api.server.RequestDetails",
"ca.uhn.fhir.rest.server.servlet.ServletRequestDetails" "ca.uhn.fhir.rest.server.servlet.ServletRequestDetails"
), ),