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 START_EVENT