net.sf.jguard.example.struts.admin.actions
Class PrincipalDispatchAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by net.sf.jguard.example.struts.actions.BaseAction
          extended by net.sf.jguard.example.struts.admin.actions.PrincipalDispatchAction

public class PrincipalDispatchAction
extends BaseAction

Author:
Charles Gay

Field Summary
 
Fields inherited from class net.sf.jguard.example.struts.actions.BaseAction
dispatcher
 
Fields inherited from class org.apache.struts.action.Action
servlet
 
Constructor Summary
PrincipalDispatchAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward addInheritance(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Delete inheritance beteween two existings principals.
 org.apache.struts.action.ActionForward clone(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          clone a role(Principal).
 org.apache.struts.action.ActionForward create(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          create a new role(Principal).
 org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          create a new role(Principal).
 org.apache.struts.action.ActionForward deleteInheritance(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Add inheritance beteween two existings principals.
 org.apache.struts.action.ActionForward displayPrincipalGraph(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.apache.struts.action.ActionForward list(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          list principals (Principals).
 org.apache.struts.action.ActionForward read(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          read a role(Principal).
 org.apache.struts.action.ActionForward update(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          create a new role(Principal).
 
Methods inherited from class net.sf.jguard.example.struts.actions.BaseAction
execute, setServlet
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalDispatchAction

public PrincipalDispatchAction()
Method Detail

list

public org.apache.struts.action.ActionForward list(org.apache.struts.action.ActionMapping mapping,
                                                   org.apache.struts.action.ActionForm form,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
list principals (Principals).

Parameters:
mapping -
form -
request -
response -
Returns:

deleteInheritance

public org.apache.struts.action.ActionForward deleteInheritance(org.apache.struts.action.ActionMapping mapping,
                                                                org.apache.struts.action.ActionForm form,
                                                                javax.servlet.http.HttpServletRequest request,
                                                                javax.servlet.http.HttpServletResponse response)
Add inheritance beteween two existings principals.

Parameters:
mapping -
form -
request -
response -
Returns:

addInheritance

public org.apache.struts.action.ActionForward addInheritance(org.apache.struts.action.ActionMapping mapping,
                                                             org.apache.struts.action.ActionForm form,
                                                             javax.servlet.http.HttpServletRequest request,
                                                             javax.servlet.http.HttpServletResponse response)
Delete inheritance beteween two existings principals.

Parameters:
mapping -
form -
request -
response -
Returns:

create

public org.apache.struts.action.ActionForward create(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
create a new role(Principal).

Parameters:
mapping -
form -
request -
response -
Returns:

update

public org.apache.struts.action.ActionForward update(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
create a new role(Principal).

Parameters:
mapping -
form -
request -
response -
Returns:

delete

public org.apache.struts.action.ActionForward delete(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
create a new role(Principal).

Parameters:
mapping -
form -
request -
response -
Returns:

read

public org.apache.struts.action.ActionForward read(org.apache.struts.action.ActionMapping mapping,
                                                   org.apache.struts.action.ActionForm form,
                                                   javax.servlet.http.HttpServletRequest request,
                                                   javax.servlet.http.HttpServletResponse response)
read a role(Principal).

Parameters:
mapping -
form -
request -
response -
Returns:

clone

public org.apache.struts.action.ActionForward clone(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
clone a role(Principal).

Parameters:
mapping -
form -
request -
response -
Returns:

displayPrincipalGraph

public org.apache.struts.action.ActionForward displayPrincipalGraph(org.apache.struts.action.ActionMapping mapping,
                                                                    org.apache.struts.action.ActionForm form,
                                                                    javax.servlet.http.HttpServletRequest request,
                                                                    javax.servlet.http.HttpServletResponse response)


Copyright © 2004-2008. All Rights Reserved.