public class ProgramRequirementsDataModel extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProgramRequirementsDataModel.requirementState |
Constructor and Description |
---|
ProgramRequirementsDataModel(com.google.gwt.event.shared.HandlerManager eventBus) |
public ProgramRequirementsDataModel(com.google.gwt.event.shared.HandlerManager eventBus)
public void setupRules(Controller parentController, String modelId, Callback<Boolean> onReadyCallback)
public void retrieveProgramRequirements(Controller parentController, String modelId, Callback<Boolean> onReadyCallback)
public ProgramRequirementInfo updateRules(StatementTreeViewInfo newSubRule, Integer internalProgReqID, boolean isNewRule)
public void updateProgramEntities(Callback<List<ProgramRequirementInfo>> callback)
public List<ProgramRequirementInfo> getProgReqInfo(String stmtTypeId)
public Integer getInternalProgReqID(ProgramRequirementInfo progReqInfo)
public StatementTypeInfo getStmtTypeInfo(String stmtTypeId)
public void deleteRule(Integer internalProgReqID)
public void addRule(ProgramRequirementInfo programReqInfo)
public void updateRule(Integer internalProgReqID, ProgramRequirementInfo programReqInfo)
protected void setRuleState(ProgramRequirementInfo programReqInfo)
programReqInfo
- public void markRuleAsDeleted(Integer internalProgReqID)
public void markRuleAsEdited(Integer internalProgReqID)
public String getStmtTypeName(String stmtTypeId)
public boolean isRuleExists(String stmtTypeId)
public boolean isDirty()
public void revertRuleChanges()
public ProgramRequirementInfo getProgReqByInternalId(Integer internalProgReqID)
public boolean isEmptyRule(StatementTreeViewInfo tree)
public boolean isInitialized()
public void setInitialized(boolean initialized)
public List<StatementTypeInfo> getStmtTypes()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.