Namespace: commonRules

bo. commonRules

Contains implementations of frequently used rules.

Properties:
Name Type Description
isInRole function

Factory method to create is-in-role rules.

isInAnyRole function

Factory method to create is-in-any-role rules.

isInAllRoles function

Factory method to create is-in-all-role rules.

isNotInRole function

Factory method to create is-not-in-role rules.

isNotInAnyRole function

Factory method to create is-not-in-any-role rules.

required function

Factory method to create required rules.

maxLength function

Factory method to create max-length rules.

minLength function

Factory method to create min-length rules.

lengthIs function

Factory method to create length-is rules.

maxValue function

Factory method to create max-value rules.

minValue function

Factory method to create min-value rules.

expression function

Factory method to create expression rules.

dependency function

Factory method to create dependency rules.

information function

Factory method to create information rules.

nullResultOption object

Enumeration of expression rule actions in case of a null value.

Classes

DependencyRule
ExpressionRule
InformationRule
IsInAllRolesRule
IsInAnyRoleRule
IsInRoleRule
IsNotInAnyRoleRule
IsNotInRoleRule
LengthIsRule
MaxLengthRule
MaxValueRule
MinLengthRule
MinValueRule
NullResultOption
RequiredRule
If you find bugs or have feature requests, please let us know.

JavaScript business objects ♦ Copyright © 2014-2016 Logikum, Ltd.
Documentation generated by JSDoc 3.2.2 on 2015. December 31. using the DocStrap template.