Liking cljdoc? Tell your friends :D

dativity.core


action-allowed?clj/s

(action-allowed? process-definition case action)

Returns true if the given action has all data dependencies satisfied, otherwise false.

Returns true if the given action has all data dependencies satisfied, otherwise false.
sourceraw docstring

actions-performedclj/s

(actions-performed process-definition case)

Returns all actions that were performed on a case

Returns all actions that were performed on a case
sourceraw docstring

actions-performed-by-roleclj/s

(actions-performed-by-role process-definition role)

Returns all actions that a role performs.

Returns all actions that a role performs.
sourceraw docstring

actions-that-require-dataclj/s

(actions-that-require-data process-definition data)

Returns all actions that has a dependency to a given data.

Returns all actions that has a dependency to a given data.
sourceraw docstring

add-dataclj/s

(add-data case key value)

Adds data to a case and commits it. Same api as clojure.core/assoc.

Adds data to a case and commits it. Same api as clojure.core/assoc.
sourceraw docstring

all-actionsclj/s

(all-actions process-definition)

Returns all actions in a case-model.

Returns all actions in a case-model.
sourceraw docstring

case-has-data?clj/s

(case-has-data? case data-key)

Returns true if the given data node exists regardless if it is committed or not.

Returns true if the given data node exists regardless if it is committed or not.
sourceraw docstring

case-has-uncommitted-data?clj/s

(case-has-uncommitted-data? case data-key)

Returns true if the given data node exists on the case and is uncommitted

Returns true if the given data node exists on the case and is uncommitted
sourceraw docstring

data-prereqs-for-actionclj/s

(data-prereqs-for-action process-definition case action)

Returns data nodes that are required by action nodes. Conditional requirements are included if and only if the conditions are true.

Returns data nodes that are required by action nodes. Conditional requirements are included
if and only if the conditions are true.
sourceraw docstring

data-produced-by-actionclj/s

(data-produced-by-action process-definition action)

Returns all datas that a given action produces.

Returns all datas that a given action produces.
sourceraw docstring

has-committed-data?clj/s

(has-committed-data? case data-key)

Returns true if the given data node exists and is committed

Returns true if the given data node exists and is committed
sourceraw docstring

invalidate-actionclj/s

(invalidate-action process-definition case action)

Uncommits the data produced by the specified action, and then recursively performs the same procedure on all actions that require the data produced by the specified action.

Uncommits the data produced by the specified action, and then recursively performs
the same procedure on all actions that require the data produced by the specified action.
sourceraw docstring

next-actionsclj/s

(next-actions process-definition case)
(next-actions process-definition case role)
source

test-processclj/s

(test-process)

test graph for unit testing purposes, does not make sense really, but is simple.

test graph for unit testing purposes, does not make sense really, but is simple.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close