www.element4solution.com

e4s.application.sysmodule
Interface E4ModuleFileselection.AEP_DeleteFile

Enclosing class:
E4ModuleFileselection

public static interface E4ModuleFileselection.AEP_DeleteFile

Exit point for deleteion of files.

See Also:
E4ModuleFileselection.PARAM_CAN_DELETE, E4ModuleFileselection.PARAM_AEP_DELETE

Method Summary
 void afterDelete(E4ServletImplementation_Intf servlet, java.lang.String filename)
          This method is called after deletion of a file.
 E4Label_Intf beforeDelete(E4ServletImplementation_Intf servlet, java.lang.String filename)
          This method is called before when the user clicked on the delete button, but in time before the file is physical deleted.
 

Method Detail

beforeDelete

E4Label_Intf beforeDelete(E4ServletImplementation_Intf servlet,
                          java.lang.String filename)
                          throws java.lang.Exception
This method is called before when the user clicked on the delete button, but in time before the file is physical deleted.

Parameters:
servlet - the servlet context
filename - the name of teh file to be deleted (relative path)
Returns:
null to continue deletion or a message to indicate why the deletion is not possible
Throws:
java.lang.Exception

afterDelete

void afterDelete(E4ServletImplementation_Intf servlet,
                 java.lang.String filename)
                 throws java.lang.Exception
This method is called after deletion of a file.

Parameters:
servlet - the servlet context
filename - the name of teh file to be deleted (relative path)
Throws:
java.lang.Exception

www.element4solution.com