public class CourseRequirementsDataModel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CourseRequirementsDataModel.requirementState |
Constructor and Description |
---|
CourseRequirementsDataModel(Controller parentController) |
public CourseRequirementsDataModel(Controller parentController)
public void retrieveCourseRequirements(String modelId, Callback<Boolean> onReadyCallback)
public void retrieveStatementTypes(String courseId, Callback<Boolean> onReadyCallback)
public StatementTreeViewInfo updateRules(StatementTreeViewInfo newSubRule, Integer internalCourseReqID, boolean isNewRule)
public void updateCourseRequisites(String courseId, String courseState, Callback<List<StatementTreeViewInfo>> callback)
public static void stripStatementIds(StatementTreeViewInfo tree)
public List<StatementTreeViewInfo> getCourseReqInfo(String stmtTypeId)
public Integer getInternalCourseReqID(StatementTreeViewInfo rule)
public StatementTypeInfo getStmtTypeInfo(String stmtTypeId)
public void deleteRule(Integer internalProgReqID)
public void addRule(StatementTreeViewInfo rule)
public void updateRule(Integer internalProgReqID, StatementTreeViewInfo rule)
public void markRuleAsDeleted(Integer internalCourseReqID)
public void markRuleAsEdited(Integer internalCourseReqID)
public String getStmtTypeName(String stmtTypeId)
public boolean isRuleExists(String stmtTypeId)
public void removeEmptyRules()
public boolean isDirty()
public void revertRuleChanges()
public StatementTreeViewInfo getRule(Integer internalCourseReqID)
public static void getStatementTypes(Callback<List<StatementTypeInfo>> onReadyCallback)
public static boolean isEmpty(StatementTreeViewInfo rule)
public boolean isInitialized()
public void setInitialized(boolean initialized)
public List<StatementTypeInfo> getStmtTypes()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.