All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.service.prov.api.annotations.AfterDeleteDraft Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * (c) 201X SAP SE or an SAP affiliate company. All rights reserved.
 ******************************************************************************/
package com.sap.cloud.sdk.service.prov.api.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* 

The AfterDeleteDraft annotation attached to a public method specifies that the method executes * after the Delete operation on an Draft entity in a service.

* *

A method to which this annotation is attached must provide the following: *

    *
  1. * Input parameter of type {@link com.sap.cloud.sdk.service.prov.api.request.DeleteRequest DeleteRequest} *
  2. *
  3. * Input parameter of type {@link com.sap.cloud.sdk.service.prov.api.response.DeleteResponseAccessor DeleteResponseAccessor} *
  4. *
  5. * Input parameter of type {@link com.sap.cloud.sdk.service.prov.api.ExtensionHelper ExtensionHelper} *
  6. *
  7. * Return value of type {@link com.sap.cloud.sdk.service.prov.api.response.DeleteResponse DeleteResponse} *
  8. *
*

* * @param entity Name of the entity * @param serviceName [optional] Name of the service to which the entity belongs */ @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface AfterDeleteDraft { String serviceName() default ""; String[] entitySet() default {}; String entity() default ""; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy