BS-10439 : Java methods

- Add the deleting of the waiting event of a flow node when delete the flow node, if the type of the flow node is BOUNDARY_EVENT and not START_EVENT