Search in sources :

Example 31 with ExpressionBean

use of org.akaza.openclinica.domain.rule.expression.ExpressionBean in project OpenClinica by OpenClinica.

the class TestRuleServlet method getExpressionService.

private ExpressionService getExpressionService() {
    expressionService = this.expressionService != null ? expressionService : new ExpressionService(new ExpressionObjectWrapper(sm.getDataSource(), currentStudy, (ExpressionBean) null, (RuleSetBean) null));
    expressionService.setExpressionWrapper(new ExpressionObjectWrapper(sm.getDataSource(), currentStudy, (ExpressionBean) null, (RuleSetBean) null));
    return expressionService;
}
Also used : ExpressionService(org.akaza.openclinica.service.rule.expression.ExpressionService) ExpressionObjectWrapper(org.akaza.openclinica.domain.rule.expression.ExpressionObjectWrapper) ExpressionBean(org.akaza.openclinica.domain.rule.expression.ExpressionBean) RuleSetBean(org.akaza.openclinica.domain.rule.RuleSetBean)

Aggregations

ExpressionBean (org.akaza.openclinica.domain.rule.expression.ExpressionBean)31 RuleSetBean (org.akaza.openclinica.domain.rule.RuleSetBean)19 ExpressionObjectWrapper (org.akaza.openclinica.domain.rule.expression.ExpressionObjectWrapper)14 ArrayList (java.util.ArrayList)13 RuleActionBean (org.akaza.openclinica.domain.rule.action.RuleActionBean)10 RuleSetRuleBean (org.akaza.openclinica.domain.rule.RuleSetRuleBean)9 RuleBean (org.akaza.openclinica.domain.rule.RuleBean)8 OpenClinicaSystemException (org.akaza.openclinica.exception.OpenClinicaSystemException)8 ItemDataBean (org.akaza.openclinica.bean.submit.ItemDataBean)7 HashMap (java.util.HashMap)6 RuleActionRunLogBean (org.akaza.openclinica.domain.rule.action.RuleActionRunLogBean)6 OpenClinicaExpressionParser (org.akaza.openclinica.logic.expressionTree.OpenClinicaExpressionParser)6 ActionProcessor (org.akaza.openclinica.domain.rule.action.ActionProcessor)5 ExpressionProcessor (org.akaza.openclinica.domain.rule.expression.ExpressionProcessor)5 Map (java.util.Map)4 EventActionBean (org.akaza.openclinica.domain.rule.action.EventActionBean)4 StudyBean (org.akaza.openclinica.bean.managestudy.StudyBean)3 StudyEventBean (org.akaza.openclinica.bean.managestudy.StudyEventBean)3 NotificationActionBean (org.akaza.openclinica.domain.rule.action.NotificationActionBean)3 PropertyBean (org.akaza.openclinica.domain.rule.action.PropertyBean)3