org.apache.portals.graffito.security.impl
Class GraffitoAction

java.lang.Object
  extended by org.apache.portals.graffito.security.impl.GraffitoAction
All Implemented Interfaces:
java.security.PrivilegedAction

public class GraffitoAction
extends java.lang.Object
implements java.security.PrivilegedAction

This class match to an action to executed on a cms object

Author:
Lombart Christophe

Field Summary
static java.lang.String[] ACTIONS
          List of all Graffito actions
static int INDEX_ALL
           
static int INDEX_DELETE
           
static int INDEX_EDIT
           
static int INDEX_INSERT
           
static int INDEX_LOCK
           
static int INDEX_UNLOCK
           
static int INDEX_UPDATE
           
static int INDEX_VIEW
           
static int MASK_ALL
           
static int MASK_DELETE
           
static int MASK_EDIT
           
static int MASK_INSERT
           
static int MASK_LOCK
           
static int MASK_UNLOCK
           
static int MASK_UPDATE
           
static int MASK_VIEW
           
 
Constructor Summary
GraffitoAction(java.lang.String uri, java.lang.String action)
          GraffitoAction constructor
 
Method Summary
 java.lang.Object run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDEX_VIEW

public static final int INDEX_VIEW
See Also:
Constant Field Values

INDEX_EDIT

public static final int INDEX_EDIT
See Also:
Constant Field Values

INDEX_LOCK

public static final int INDEX_LOCK
See Also:
Constant Field Values

INDEX_UNLOCK

public static final int INDEX_UNLOCK
See Also:
Constant Field Values

INDEX_DELETE

public static final int INDEX_DELETE
See Also:
Constant Field Values

INDEX_INSERT

public static final int INDEX_INSERT
See Also:
Constant Field Values

INDEX_UPDATE

public static final int INDEX_UPDATE
See Also:
Constant Field Values

INDEX_ALL

public static final int INDEX_ALL
See Also:
Constant Field Values

MASK_VIEW

public static final int MASK_VIEW
See Also:
Constant Field Values

MASK_EDIT

public static final int MASK_EDIT
See Also:
Constant Field Values

MASK_LOCK

public static final int MASK_LOCK
See Also:
Constant Field Values

MASK_UNLOCK

public static final int MASK_UNLOCK
See Also:
Constant Field Values

MASK_DELETE

public static final int MASK_DELETE
See Also:
Constant Field Values

MASK_INSERT

public static final int MASK_INSERT
See Also:
Constant Field Values

MASK_UPDATE

public static final int MASK_UPDATE
See Also:
Constant Field Values

MASK_ALL

public static final int MASK_ALL
See Also:
Constant Field Values

ACTIONS

public static final java.lang.String[] ACTIONS
List of all Graffito actions

Constructor Detail

GraffitoAction

public GraffitoAction(java.lang.String uri,
                      java.lang.String action)
GraffitoAction constructor

Parameters:
uri - The cms object uri
action - The action to executed on the cms object
Method Detail

run

public java.lang.Object run()
Specified by:
run in interface java.security.PrivilegedAction
See Also:
PrivilegedAction.run()


Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.