1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.modules.actions.portlets;
18
19 import org.apache.turbine.util.RunData;
20 import org.apache.velocity.context.Context;
21
22 /***
23 * A secured version of the VelocityPortletAction.
24 *
25 * @author <a href="mailto:morciuch@apache.org">Mark Orciuch</a>
26 *
27 * @version $Id: SecureVelocityPortletAction.java,v 1.1 2004/03/31 04:47:14 morciuch Exp $
28 */
29 public abstract class SecureVelocityPortletAction extends VelocityPortletAction
30 {
31 /***
32 * This method should be called to execute the event based system.
33 *
34 * @param data A Turbine RunData object.
35 * @param context context information.
36 * @exception Exception, a generic exception.
37 */
38 public void executeEvents(RunData data, Context context) throws Exception
39 {
40 checkAdministrativeAction(data);
41
42 super.executeEvents(data, context);
43 }
44 }