Main Page | Packages | Class Hierarchy | Class List | Directories | Class Members | Related Pages

org.colimas.web.actions.AbstractAction Class Reference

Inheritance diagram for org.colimas.web.actions.AbstractAction:

org.colimas.security.Resource org.colimas.web.actions.LoginAction org.colimas.web.actions.protect.BatchRunAction org.colimas.web.actions.protect.BatchSaveAction org.colimas.web.actions.protect.BatchViewAction org.colimas.web.actions.protect.ComponentConfirmAction org.colimas.web.actions.protect.ComponentDeleteAction org.colimas.web.actions.protect.ComponentImportAction org.colimas.web.actions.protect.ComponentPrepareAction org.colimas.web.actions.protect.ComponentSaveAction org.colimas.web.actions.protect.ComponentSearchAction org.colimas.web.actions.protect.ConfigDeleteAction org.colimas.web.actions.protect.ConfigSaveAction org.colimas.web.actions.protect.ConfigSearchAction org.colimas.web.actions.protect.ConfigViewAction org.colimas.web.actions.protect.FileImportAction org.colimas.web.actions.protect.ProjectCompleteAction org.colimas.web.actions.protect.ProjectDeleteAction org.colimas.web.actions.protect.ProjectImportAction org.colimas.web.actions.protect.ProjectPrepareAction org.colimas.web.actions.protect.ProjectSaveAction org.colimas.web.actions.protect.ProjectSearchAction org.colimas.web.actions.protect.RoleAddAction org.colimas.web.actions.protect.RoleDeleteAction org.colimas.web.actions.protect.SourceCompileAction org.colimas.web.actions.protect.SourceCVSRefreshAction org.colimas.web.actions.protect.SourceDiffAction org.colimas.web.actions.protect.SourceGetAllBranchAction org.colimas.web.actions.protect.SourceGetVersionsAction org.colimas.web.actions.protect.SourceMakeDocAction org.colimas.web.actions.protect.SourceRefreshAction org.colimas.web.actions.protect.SourceRunAction org.colimas.web.actions.protect.SourceSearchAction org.colimas.web.actions.protect.UserDeleteAction org.colimas.web.actions.protect.UserSaveAction org.colimas.web.actions.protect.UserSearchAction org.colimas.web.actions.protect.UserViewAction org.colimas.web.actions.protect.WebServiceDeployAction org.colimas.web.actions.protect.WebServicePrepareAction org.colimas.web.actions.protect.WebServiceSearchAction org.colimas.web.actions.protect.WebServiceUndeployAction List of all members.

Public Member Functions

 AbstractAction ()
ActionForward execute (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception
abstract boolean doAction (ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)

Detailed Description

AbstractAction.java

Function:
All security controlled action should inherit this class. JAAS can judge whether the user has right to do action. Action class is both PrivilegedAction and Resource.

Author:
zhao lei
Version:
1.1
Modification History:
 SEQ DATE       ORDER DEVELOPER      DESCRIPTION
 --- ---------- ----- -------------- -----------------------------
 001 2005/12/16          zhao lei       INIT
 002 2005/12/23          zhao lei       implements Resource
 


Constructor & Destructor Documentation

org.colimas.web.actions.AbstractAction.AbstractAction  ) 
 

constructor


Member Function Documentation

abstract boolean org.colimas.web.actions.AbstractAction.doAction ActionMapping  mapping,
ActionForm  form,
HttpServletRequest  request,
HttpServletResponse  response
[pure virtual]
 

Do real action

Parameters:
mapping 
form 
request 
response 
Returns:
true if normal,else false

Implemented in org.colimas.web.actions.LoginAction, org.colimas.web.actions.protect.BatchRunAction, org.colimas.web.actions.protect.BatchSaveAction, org.colimas.web.actions.protect.BatchViewAction, org.colimas.web.actions.protect.ComponentConfirmAction, org.colimas.web.actions.protect.ComponentDeleteAction, org.colimas.web.actions.protect.ComponentImportAction, org.colimas.web.actions.protect.ComponentPrepareAction, org.colimas.web.actions.protect.ComponentSaveAction, org.colimas.web.actions.protect.ComponentSearchAction, org.colimas.web.actions.protect.ConfigDeleteAction, org.colimas.web.actions.protect.ConfigSaveAction, org.colimas.web.actions.protect.ConfigSearchAction, org.colimas.web.actions.protect.ConfigViewAction, org.colimas.web.actions.protect.FileImportAction, org.colimas.web.actions.protect.ProjectCompleteAction, org.colimas.web.actions.protect.ProjectDeleteAction, org.colimas.web.actions.protect.ProjectImportAction, org.colimas.web.actions.protect.ProjectPrepareAction, org.colimas.web.actions.protect.ProjectSaveAction, org.colimas.web.actions.protect.ProjectSearchAction, org.colimas.web.actions.protect.RoleAddAction, org.colimas.web.actions.protect.RoleDeleteAction, org.colimas.web.actions.protect.SourceCompileAction, org.colimas.web.actions.protect.SourceCVSRefreshAction, org.colimas.web.actions.protect.SourceDiffAction, org.colimas.web.actions.protect.SourceGetAllBranchAction, org.colimas.web.actions.protect.SourceGetVersionsAction, org.colimas.web.actions.protect.SourceMakeDocAction, org.colimas.web.actions.protect.SourceRefreshAction, org.colimas.web.actions.protect.SourceRunAction, org.colimas.web.actions.protect.SourceSearchAction, org.colimas.web.actions.protect.UserDeleteAction, org.colimas.web.actions.protect.UserSaveAction, org.colimas.web.actions.protect.UserSearchAction, org.colimas.web.actions.protect.UserViewAction, org.colimas.web.actions.protect.WebServiceDeployAction, org.colimas.web.actions.protect.WebServicePrepareAction, org.colimas.web.actions.protect.WebServiceSearchAction, and org.colimas.web.actions.protect.WebServiceUndeployAction.

ActionForward org.colimas.web.actions.AbstractAction.execute ActionMapping  mapping,
ActionForm  form,
HttpServletRequest  request,
HttpServletResponse  response
throws Exception
 

See also:
org.apache.struts.action.Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


The documentation for this class was generated from the following file:
Generated on Sat Jan 14 02:04:41 2006 for Colimas by  doxygen 1.4.4