
com.sap.cloud.sdk.service.prov.api.annotations.AfterDeleteDraft Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
SAP Cloud Platform SDK for service development
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:
*
* -
* Input parameter of type {@link com.sap.cloud.sdk.service.prov.api.request.DeleteRequest DeleteRequest}
*
* -
* Input parameter of type {@link com.sap.cloud.sdk.service.prov.api.response.DeleteResponseAccessor DeleteResponseAccessor}
*
* -
* Input parameter of type {@link com.sap.cloud.sdk.service.prov.api.ExtensionHelper ExtensionHelper}
*
* -
* Return value of type {@link com.sap.cloud.sdk.service.prov.api.response.DeleteResponse DeleteResponse}
*
*
*
*
* @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