Module org.jpo

Class DeleteNodeFileHandler

java.lang.Object
org.jpo.eventbus.DeleteNodeFileHandler

public class DeleteNodeFileHandler extends Object
Handles the request to delete the picture files of nodes
  • Constructor Details

    • DeleteNodeFileHandler

      public DeleteNodeFileHandler()
  • Method Details

    • handleEvent

      public void handleEvent(DeleteNodeFileRequest request)
      Deletes the file and the node
      Parameters:
      request - the request
    • deleteNodeAndFileTest

      @TestOnly public static void deleteNodeAndFileTest(SortableDefaultMutableTreeNode node) throws IOException
      Don't use: public accessor to private deleteNodeAndFileTest method for unit tests.
      Parameters:
      node - the node to test
      Throws:
      IOException - can throw