| com.ivata.mask.web.struts.MaskAction com.ivata.mask.web.struts.NewAction
NewAction | public class NewAction extends MaskAction (Code) | |
Create a new value object and create a form for it in the request scope.
since: ivata masks 0.1 (2004-05-10) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.11 $ |
NewAction | public NewAction(MaskFactory maskFactoryParam, MaskAuthenticator authenticatorParam)(Code) | |
Construct an action to create new value objects.
Parameters: maskFactoryParam - Parameters: authenticatorParam - |
execute | public String execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) throws SystemException(Code) | |
Generic method called by the Struts interface. Creates
the value object and a form. Always returns success.
Parameters: mapping - Parameters: form - Parameters: request - Parameters: response - Parameters: session - Parameters: clientSession - throws: SystemException - If a new value object cannot be created. "success" if successful, otherwise null . |
Fields inherited from com.ivata.mask.web.struts.MaskAction | final public static String STOP_POPULATE_ATTRIBUTE(Code)(Java Doc)
|
Methods inherited from com.ivata.mask.web.struts.MaskAction | public void clear(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) throws SystemException(Code)(Java Doc) public String execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) throws SystemException(Code)(Java Doc) public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code)(Java Doc) protected MaskAuthenticator getAuthenticator()(Code)(Java Doc) final protected String getFromRequestOrForm(String name, HttpServletRequest request, ActionForm form) throws SystemException(Code)(Java Doc) final protected String getFromRequestOrForm(String name, HttpServletRequest request, ActionForm form, String defaultValue) throws SystemException(Code)(Java Doc) final protected String getInputMask(HttpServletRequest request, Object form) throws SystemException(Code)(Java Doc) final protected String getListMask(HttpServletRequest request, Object form) throws SystemException(Code)(Java Doc) protected MaskFactory getMaskFactory()(Code)(Java Doc) final protected boolean isCancelled(HttpServletRequest request)(Code)(Java Doc) public String onConfirm(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward) throws SystemException(Code)(Java Doc) public String onDelete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession, String defaultForward) throws SystemException(Code)(Java Doc) public String onDeleteWarn(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response, HttpSession session, String defaultForward) throws SystemException(Code)(Java Doc) final public void setLogin(boolean loginParam)(Code)(Java Doc)
|
|
|