|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
acceptsSession(IUserSession session)
Returns true if the given user session has permission to fire this event. |
boolean |
allowsResult(IState state)
Returns true if the given State is allowed as a result from this Event. |
boolean |
allowsResult(IStateTransition transition)
Returns true if the given state transition is allowed from this event. |
IController |
getController()
Returns the IController implementor which handles this Event. |
java.util.Properties |
getControllerProperties()
Returns the user properties for the state transition. |
java.lang.String |
getName()
Returns the name of this Event. |
java.util.Enumeration |
getStateTransitions()
Returns all allowed state transitions from this event as a java.util.Enumeration. |
java.lang.String |
getTitle()
This method returns a descriptive name for the Event. |
IStateTransition |
getTransition(java.lang.String name)
Returns the state transition with the given name. |
IUnitOfWork |
getUnitOfWork()
Gets the UnitOfWork which contains this event. |
java.util.Properties |
getUserProperties()
Returns the userProperties assiciated with this Event. |
boolean |
requiresValidation()
|
Method Detail |
public boolean allowsResult(IState state)
state
- the state to be tested
public boolean allowsResult(IStateTransition transition)
public java.lang.String getTitle()
public java.lang.String getName()
public IController getController() throws ControllerNotFoundException
ControllerNotFoundException
public IUnitOfWork getUnitOfWork()
May be null.
public java.util.Enumeration getStateTransitions()
public IStateTransition getTransition(java.lang.String name)
public java.util.Properties getUserProperties()
public boolean acceptsSession(IUserSession session)
session
- the user session attempting to access this event.
public java.util.Properties getControllerProperties()
public boolean requiresValidation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |