com.groiss.dms
Class XHTMLFolderFormEventAdapter

java.lang.Object
  extended by com.groiss.dms.XHTMLFormEventAdapter
      extended by com.groiss.dms.XHTMLFolderFormEventAdapter
All Implemented Interfaces:
XHTMLFolderFormEventHandler, XHTMLFormEventHandler

public class XHTMLFolderFormEventAdapter
extends XHTMLFormEventAdapter
implements XHTMLFolderFormEventHandler

The adapter which receives folder events. The methods in this class are empty; this class is provided as a convenience for easily creating handlers by extending this class and overriding only the methods of interest.


Constructor Summary
XHTMLFolderFormEventAdapter()
           
 
Method Summary
 void onAdd(DMSFolder f, DMSObject o)
          Called when a DMSObject is added to a folder
 void onRemove(DMSFolder f, DMSObject o)
          Called when a DMSObject is removed from a folder
 
Methods inherited from class com.groiss.dms.XHTMLFormEventAdapter
beforeShow, getName, onDelete, onInsert, onShow, onUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.groiss.dms.XHTMLFormEventHandler
beforeShow, getName, onDelete, onInsert, onShow, onUpdate
 

Constructor Detail

XHTMLFolderFormEventAdapter

public XHTMLFolderFormEventAdapter()
Method Detail

onAdd

public void onAdd(DMSFolder f,
                  DMSObject o)
           throws java.lang.Exception
Called when a DMSObject is added to a folder

Specified by:
onAdd in interface XHTMLFolderFormEventHandler
Parameters:
f - the folder
o - the DMSObject to add
Throws:
java.lang.Exception

onRemove

public void onRemove(DMSFolder f,
                     DMSObject o)
              throws java.lang.Exception
Called when a DMSObject is removed from a folder

Specified by:
onRemove in interface XHTMLFolderFormEventHandler
Parameters:
f - the folder
o - the DMSObject to remove
Throws:
java.lang.Exception


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.