Enterprise Information Portal APIs

com.ibm.mm.sdk.common
Interface dkFolderExit

All Known Implementing Classes:
dkAbstractFolderExit

public interface dkFolderExit


Method Summary
 boolean afterFolderAdd(DKPid folderPid, DKDDO obj)
          Handling actions after a new item is added to the folder
 boolean afterFolderRemove(DKPid folderPid, DKDDO obj)
          Handling actions after an item is removed to the folder
 boolean beforeFolderAdd(DKPid folderPid, DKDDO obj)
          Handling actions before a new item is added to the folder
 boolean beforeFolderRemove(DKPid folderPid, DKDDO obj)
          Handling actions before an item is removed to the folder
 

Method Detail

beforeFolderAdd

public boolean beforeFolderAdd(DKPid folderPid,
                               DKDDO obj)
                        throws DKException
Handling actions before a new item is added to the folder
Parameters:
obj - DKDDO object representing a new item added to the folder
folderPid - persistent object of the folder
Throws:
DKException - is thrown when error condition exist in the exit

afterFolderAdd

public boolean afterFolderAdd(DKPid folderPid,
                              DKDDO obj)
                       throws DKException
Handling actions after a new item is added to the folder
Parameters:
obj - DKDDO object representing a new item added to the folder
folderPid - persistent object of the folder
Throws:
DKException - is thrown when error condition exist in the exit

beforeFolderRemove

public boolean beforeFolderRemove(DKPid folderPid,
                                  DKDDO obj)
                           throws DKException
Handling actions before an item is removed to the folder
Parameters:
obj - DKDDO object representing an item removed to the folder
folderPid - persistent object of the folder
Throws:
DKException - is thrown when error condition exist in the exit

afterFolderRemove

public boolean afterFolderRemove(DKPid folderPid,
                                 DKDDO obj)
                          throws DKException
Handling actions after an item is removed to the folder
Parameters:
obj - DKDDO object representing an item removed to the folder
folderPid - persistent object of the folder
Throws:
DKException - is thrown when error condition exist in the exit

EIP Java APIs

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.