public < T extends IEntity > void deleteAsync ( T entity , CallbackHandler callbackHandler ) throws FMSException { IntuitMessage intuitMessage = prepareDelete ( entity ) ; //set callback handler intuitMessage . getRequestElements ( ) . setCallbackHandler ( callbackHandler ) ; //execute async interceptors executeAsyncInterceptors ( intuitMessage ) ; }
Method to delete record for the given entity in asynchronous fashion