| com.ivata.groupware.business.library.struts.UploadHTMLAction
UploadHTMLAction | public class UploadHTMLAction extends MaskAction (Code) | | Invoked when the user uploads a HTML file to a library
document.
since: 2003-07-02 author: Peter Illes version: $Revision: 1.3 $ |
Constructor Summary | |
public | UploadHTMLAction(MaskFactory maskFactory, MaskAuthenticator authenticator)
Constructor. |
Method Summary | |
public String | execute(ActionMapping mapping, ActionErrors errors, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session) Called from the other execute method, this can
be overridden by each subclass to provide the ivata-specific
processing required.
Parameters: mapping - The ActionMapping used to select this instance. Parameters: log - valid logging object to write messages to. Parameters: errors - valid errors object to append errors to. | public String | onConfirm(ActionMapping mapping, ActionErrors errors, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, String defaultForward) This method is called if the ok or apply buttons are
pressed.
Parameters: mapping - The ActionMapping used to select this instance. Parameters: log - valid logging object to write messages to. Parameters: errors - valid errors object to append errors to. |
UploadHTMLAction | public UploadHTMLAction(MaskFactory maskFactory, MaskAuthenticator authenticator)(Code) | |
Constructor. Called by PicoContainer..
Parameters: maskFactory - This factory is needed to access the masks and groupsof masks. Parameters: authenticator - used to confirm whether or not theuser should be allowed to continue, in the execute method. |
execute | public String execute(ActionMapping mapping, ActionErrors errors, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session) throws SystemException(Code) | | Called from the other execute method, this can
be overridden by each subclass to provide the ivata-specific
processing required.
Parameters: mapping - The ActionMapping used to select this instance. Parameters: log - valid logging object to write messages to. Parameters: errors - valid errors object to append errors to. If there areany errors, the action will return to the input. Parameters: form - optional ActionForm bean for this request (if any) Parameters: request - non-HTTP request we are processing Parameters: response - The non-HTTP response we are creating Parameters: session - returned from the request parameter. Parameters: userName - valid, non-null user name from session. Parameters: settings - valid, non-null settings from session. exception: SystemException - if there is any problem whichprevents processing. It will result in the webapp being forwardedtothe standard error page. this method returns the string used to identify the correctStruts ActionForward which should follow thispage, or null if it should return to the input. |
onConfirm | public String onConfirm(ActionMapping mapping, ActionErrors errors, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, String defaultForward) throws SystemException(Code) | | This method is called if the ok or apply buttons are
pressed.
Parameters: mapping - The ActionMapping used to select this instance. Parameters: log - valid logging object to write messages to. Parameters: errors - valid errors object to append errors to. If there areany errors, the action will return to the input. Parameters: form - optional ActionForm bean for this request (if any) Parameters: request - non-HTTP request we are processing Parameters: response - The non-HTTP response we are creating Parameters: session - returned from the request parameter. Parameters: userName - valid, non-null user name from session. Parameters: settings - valid, non-null settings from session. Parameters: ok - true if the ok button was pressed, otherwisefalse if the apply button was pressed. exception: SystemException - if there is any problem whichprevents processing. It will result in the webapp being forwardedtothe standard error page. this method returns the string used to identify the correctStruts ActionForward which should follow thispage, or null if it should return to the input. |
|
|