public void commitAndIndex ( DbSession dbSession , int ruleId , OrganizationDto organization ) { List < EsQueueDto > items = asList ( createQueueDtoForRule ( ruleId ) , createQueueDtoForRuleExtension ( ruleId , organization ) ) ; dbClient . esQueueDao ( ) . insert ( dbSession , items ) ; dbSession . commit ( ) ; postCommit ( dbSession , items ) ; }
Commit a change on a rule and its extension on the given organization