Class GetRuleByGroup
java.lang.Object
net.lightapi.portal.rule.query.handler.GetRuleByGroup
- All Implemented Interfaces:
com.networknt.rpc.HybridHandler
This is the endpoint that is used by a service to load during the startup to execute a group of rules
at the same time. Most of the case, it is for the validation rules so that a list of validation rules
will be executed together and each will validate one business rule.
The return object is a list of maps.
- Author:
- Steve Hu
-
Field Summary
FieldsFields inherited from interface com.networknt.rpc.HybridHandler
ERROR_NOT_DEFINED, REQUEST_SUCCESS, STATUS_VALIDATION_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.networknt.rpc.HybridHandler
getStatus, getStatus, validate
-
Field Details
-
dbProvider
public static net.lightapi.portal.db.PortalDbProvider dbProvider
-
-
Constructor Details
-
GetRuleByGroup
public GetRuleByGroup()
-
-
Method Details
-
handle
- Specified by:
handlein interfacecom.networknt.rpc.HybridHandler
-