org.apache.jetspeed.modules.actions.portlets.security
Class PermissionUpdateAction
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.turbine.modules.Action
org.apache.turbine.modules.ActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletActionEvent
org.apache.jetspeed.modules.actions.portlets.PortletAction
org.apache.jetspeed.modules.actions.portlets.GenericMVCAction
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction
org.apache.jetspeed.modules.actions.portlets.SecureVelocityPortletAction
org.apache.jetspeed.modules.actions.portlets.security.PermissionUpdateAction
- public class PermissionUpdateAction
- extends SecureVelocityPortletAction
This action sets up the template context for editing security permissions in the Turbine database.
- Version:
- $Id: PermissionUpdateAction.java,v 1.9 2004/03/31 04:49:10 morciuch Exp $
- Author:
- David Sean Taylor
Fields inherited from class org.apache.turbine.modules.ActionEvent |
BUTTON, BUTTON_LENGTH, LENGTH, METHOD_NAME_LENGTH, METHOD_NAME_PREFIX |
Method Summary |
protected void |
buildConfigureContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Build the configure state content for this portlet. |
protected void |
buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Build the maximized state content for this portlet. |
protected void |
buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
Build the normal state content for this portlet. |
void |
doDelete(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Database Delete Action for Security Permissions. |
void |
doInsert(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Database Insert Action for Security Permissions. |
void |
doUpdate(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
Database Update Action for Security Permissions. |
Methods inherited from class org.apache.turbine.modules.ActionEvent |
executeEvents, formatString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PermissionUpdateAction
public PermissionUpdateAction()
buildMaximizedContext
protected void buildMaximizedContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Build the maximized state content for this portlet. (Same as normal state).
- Overrides:
buildMaximizedContext
in class VelocityPortletAction
- Parameters:
portlet
- The velocity-based portlet that is being built.context
- The velocity context for this request.rundata
- The turbine rundata context for this request.
buildConfigureContext
protected void buildConfigureContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Build the configure state content for this portlet.
TODO: we could configure this portlet with configurable skins, etc..
- Overrides:
buildConfigureContext
in class VelocityPortletAction
- Parameters:
portlet
- The velocity-based portlet that is being built.context
- The velocity context for this request.rundata
- The turbine rundata context for this request.
buildNormalContext
protected void buildNormalContext(VelocityPortlet portlet,
org.apache.velocity.context.Context context,
org.apache.turbine.util.RunData rundata)
- Build the normal state content for this portlet.
- Specified by:
buildNormalContext
in class VelocityPortletAction
- Parameters:
portlet
- The velocity-based portlet that is being built.context
- The velocity context for this request.rundata
- The turbine rundata context for this request.
doInsert
public void doInsert(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Database Insert Action for Security Permissions. Performs inserts into security database.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
doUpdate
public void doUpdate(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Database Update Action for Security Permissions. Performs updates into security database.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
doDelete
public void doDelete(org.apache.turbine.util.RunData rundata,
org.apache.velocity.context.Context context)
throws java.lang.Exception
- Database Delete Action for Security Permissions. Performs deletes into security database.
- Parameters:
rundata
- The turbine rundata context for this request.context
- The velocity context for this request.
- Throws:
java.lang.Exception
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.