(can-move-to? current-state wanted-state transition-key rule-set-key)
(can-move-to? current-state wanted-state transition-key rule-set-key rule-sets)
(can-move-to? G__3366 G__3367 G__3368 G__3369)
(can-move-to? G__3358 G__3359 G__3360 G__3361 G__3362)
Inputs: ([current-state :- StateName wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword rule-sets :- RuleSets] [current-state :- StateName wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword]) Returns: s/Bool
Inputs: ([current-state :- StateName wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword rule-sets :- RuleSets] [current-state :- StateName wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword]) Returns: s/Bool
(get-state-by-name state-name rule-set-key)
(get-state-by-name state-name rule-set-key rule-sets)
(get-state-by-name G__3322 G__3323)
(get-state-by-name G__3316 G__3317 G__3318)
Inputs: ([state-name :- StateName rule-set-key :- s/Keyword rule-sets :- RuleSets] [state-name :- StateName rule-set-key :- s/Keyword]) Returns: StateName
Inputs: ([state-name :- StateName rule-set-key :- s/Keyword rule-sets :- RuleSets] [state-name :- StateName rule-set-key :- s/Keyword]) Returns: StateName
(move-to-state path-to-update target wanted-state transition-key rule-set-key)
(move-to-state path-to-update
target
wanted-state
transition-key
rule-set-key
rule-sets)
(move-to-state G__3385 G__3386 G__3387 G__3388 G__3389)
(move-to-state G__3376 G__3377 G__3378 G__3379 G__3380 G__3381)
Inputs: ([path-to-update :- [s/Keyword] target :- s/Any wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword rule-sets :- RuleSets] [path-to-update :- [s/Keyword] target :- s/Any wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword]) Returns: MoveToStateResponse
Inputs: ([path-to-update :- [s/Keyword] target :- s/Any wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword rule-sets :- RuleSets] [path-to-update :- [s/Keyword] target :- s/Any wanted-state :- StateName transition-key :- (s/enum :next :previous) rule-set-key :- s/Keyword]) Returns: MoveToStateResponse
(next-state current-state rule-set-key)
(next-state current-state rule-set-key rule-sets)
(next-state G__3336 G__3337)
(next-state G__3330 G__3331 G__3332)
Inputs: ([current-state :- StateName rule-set-key :- s/Keyword rule-sets :- RuleSets] [current-state :- StateName rule-set-key :- s/Keyword]) Returns: (s/maybe StateName)
Inputs: ([current-state :- StateName rule-set-key :- s/Keyword rule-sets :- RuleSets] [current-state :- StateName rule-set-key :- s/Keyword]) Returns: (s/maybe StateName)
(previous-state current-state rule-set-key)
(previous-state current-state rule-set-key rule-sets)
(previous-state G__3350 G__3351)
(previous-state G__3344 G__3345 G__3346)
Inputs: ([current-state :- StateName rule-set-key :- s/Keyword rule-sets :- RuleSets] [current-state :- StateName rule-set-key :- s/Keyword]) Returns: (s/maybe StateName)
Inputs: ([current-state :- StateName rule-set-key :- s/Keyword rule-sets :- RuleSets] [current-state :- StateName rule-set-key :- s/Keyword]) Returns: (s/maybe StateName)
(state-change-direction current-state to-state rule-set-key)
(state-change-direction current-state to-state rule-set-key rule-sets)
Returns direction of state change.
Parameters:
current-state
to-state
rule-set-key
rule-sets
Optional, if not given we use default rulesets
Returns :next :previous :same or nil (when transition is not valid for some reason)
Returns direction of state change. Parameters: `current-state` `to-state` `rule-set-key` `rule-sets` Optional, if not given we use default rulesets Returns :next :previous :same or nil (when transition is not valid for some reason)
(valid-for-next-state? invoice rule-set-key)
(valid-for-next-state? invoice rule-set-key rule-sets)
(valid-for-next-state? G__3398 G__3399)
(valid-for-next-state? G__3403 G__3404 G__3405)
Inputs: ([invoice :- #:s{Keyword s/Any} rule-set-key :- s/Keyword] [invoice :- #:s{Keyword s/Any} rule-set-key :- s/Keyword rule-sets :- RuleSets])
Checks if invoice is valid for the transition to the next state from the current state. Returns true if no validator is found for the transition.
Inputs: ([invoice :- #:s{Keyword s/Any} rule-set-key :- s/Keyword] [invoice :- #:s{Keyword s/Any} rule-set-key :- s/Keyword rule-sets :- RuleSets]) Checks if invoice is valid for the transition to the next state from the current state. Returns true if no validator is found for the transition.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close