org.edg.security.voms.request
Class Request.DeletedState

java.lang.Object
  |
  +--org.edg.security.voms.request.Request.State
        |
        +--org.edg.security.voms.request.Request.DeletedState
Enclosing class:
Request

public class Request.DeletedState
extends Request.State

The standard state of a deleted request which has not yet been purged from the database. All states should be able to process a DeleteEvent.

DeletedState is a complete state; it does not accept any events.


Constructor Summary
Request.DeletedState()
           
 
Method Summary
 java.lang.String getDescription()
          Return a description of this state.
 java.lang.String getName()
          Return the short name of this state.
 boolean isComplete()
          Return true if the request is complete, i.e. if no more state transitions are expected.
 
Methods inherited from class org.edg.security.voms.request.Request.State
getAcceptedEvents, processEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Request.DeletedState

public Request.DeletedState()
Method Detail

getName

public java.lang.String getName()
Description copied from class: Request.State
Return the short name of this state. The short name is a short description of the state, in English. It is presented to the user and also used in the database to filter a search to requests with a given state. Please capitalize the first letter, and don't use more than two words.

It is not an error to have two different State classes with the same name, although this is usually not desirable.

Specified by:
getName in class Request.State

getDescription

public java.lang.String getDescription()
Description copied from class: Request.State
Return a description of this state. This is presented to the user as an explanation of the current status of the request. It should be a complete English sentence, with a punctuation point at the end.

It is not an error to have two different State classes with the same description.

Specified by:
getDescription in class Request.State

isComplete

public boolean isComplete()
Description copied from class: Request.State
Return true if the request is complete, i.e. if no more state transitions are expected.

Specified by:
isComplete in class Request.State