public static void run(LogicOperator logicOperator, String[] selectedCurricularRuleIDs) throws FenixServiceException {
if (selectedCurricularRuleIDs != null) {
final CurricularRule[] curricularRules = new CurricularRule[selectedCurricularRuleIDs.length];
for (int i = 0; i < selectedCurricularRuleIDs.length; i++) {
final CurricularRule curricularRule = FenixFramework.getDomainObject(selectedCurricularRuleIDs[i]);
if (curricularRule == null) {
throw new FenixServiceException("error.invalidCurricularRule");
}
curricularRules[i] = curricularRule;
}