org.glite.security.voms.request
Class PurgeDeletedRequestsAction

java.lang.Object
  extended byorg.glite.security.voms.operation.ActionHelper
      extended byorg.glite.security.voms.request.PurgeDeletedRequestsAction
All Implemented Interfaces:
Action, java.io.Serializable

public final class PurgeDeletedRequestsAction
extends ActionHelper

An action for purging deleted requests from the database.

Author:
Karoly Lorentey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.glite.security.voms.operation.ActionHelper
cns
 
Constructor Summary
PurgeDeletedRequestsAction()
           
 
Method Summary
 void checkPermission()
          TODO: revise this.
 void perform()
          Do the operation that this action represents, without ACL checks.
 
Methods inherited from class org.glite.security.voms.operation.ActionHelper
getAdminUsers, getContainerName, getDescription, getParameters, performWithResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PurgeDeletedRequestsAction

public PurgeDeletedRequestsAction()
Method Detail

checkPermission

public void checkPermission()
                     throws VOMSException

TODO: revise this.

Specified by:
checkPermission in interface Action
Overrides:
checkPermission in class ActionHelper
Throws:
VOMSException

perform

public void perform()
             throws VOMSException
Description copied from interface: Action
Do the operation that this action represents, without ACL checks. Any errors must be signalled by throwing an exception. This is essentially a shorthand for Action.performWithResult(), for actions that do not need a return value. Most actions are like this, so the elimination of the extra return statement seems worthwhile.

Specified by:
perform in interface Action
Overrides:
perform in class ActionHelper
Throws:
VOMSException