Interface XHTMLFolderFormEventHandler<T extends DMSFolder & DMSForm>

All Superinterfaces:
ObjectFormHandler<T>, XHTMLFormEventHandler<T>
All Known Implementing Classes:
XHTMLFolderFormEventAdapter

public interface XHTMLFolderFormEventHandler<T extends DMSFolder & DMSForm> extends XHTMLFormEventHandler<T>
This interface can be used to react on adding or removing an DMSObject from a DMSFolder. For more details on form handlers see the class description of XHTMLFormEventHandler
  • Method Details

    • onAdd

      default void onAdd(T f, DMSObject o) throws Exception
      Called when a DMSObject is added to a folder
      Parameters:
      f - the folder
      o - the DMSObject to add
      Throws:
      Exception
    • onRemove

      default void onRemove(T f, DMSObject o) throws Exception
      Called when a DMSObject is removed from a folder
      Parameters:
      f - the folder
      o - the DMSObject to remove
      Throws:
      Exception