Smalldb-REST  v0.5-5-gff393ee
Public Member Functions | List of all members
IHandler Interface Reference

Description

Operations invokable by router.

Inheritance diagram for IHandler

Public Member Functions

 getKnownTypes ()
 Get known state machine types. More...
 
 readState ($id)
 Read state of state machine. More...
 
 readViews ($id, $view_names)
 Read state of state machine. More...
 
 checkTransition ($id, $action)
 Check if transition is available. More...
 
 invokeTransition ($id, $action, $args)
 Invoke transition of state machine. More...
 
 listing ($filters)
 List state machines matching $filters. More...
 

Member Function Documentation

getKnownTypes ( )

Get known state machine types.

Implemented in Handler, and DummyHandler.

readState (   $id)

Read state of state machine.

Implemented in Handler, and DummyHandler.

readViews (   $id,
  $view_names 
)

Read state of state machine.

Implemented in Handler, and DummyHandler.

checkTransition (   $id,
  $action 
)

Check if transition is available.

Implemented in Handler, and DummyHandler.

invokeTransition (   $id,
  $action,
  $args 
)

Invoke transition of state machine.

Implemented in Handler, and DummyHandler.

listing (   $filters)

List state machines matching $filters.

Implemented in DummyHandler, and Handler.