org.kuali.student.lum.program.client.requirements
Class ProgramRequirementsDataModel
java.lang.Object
org.kuali.student.lum.program.client.requirements.ProgramRequirementsDataModel
public class ProgramRequirementsDataModel
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgramRequirementsDataModel
public ProgramRequirementsDataModel(com.google.gwt.event.shared.HandlerManager eventBus)
setupRules
public void setupRules(Controller parentController,
String modelId,
Callback<Boolean> onReadyCallback)
retrieveProgramRequirements
public void retrieveProgramRequirements(Controller parentController,
String modelId,
Callback<Boolean> onReadyCallback)
updateRules
public ProgramRequirementInfo updateRules(StatementTreeViewInfo newSubRule,
Integer internalProgReqID,
boolean isNewRule)
updateProgramEntities
public void updateProgramEntities(Callback<List<ProgramRequirementInfo>> callback)
getProgReqInfo
public List<ProgramRequirementInfo> getProgReqInfo(String stmtTypeId)
getInternalProgReqID
public Integer getInternalProgReqID(ProgramRequirementInfo progReqInfo)
getStmtTypeInfo
public StatementTypeInfo getStmtTypeInfo(String stmtTypeId)
deleteRule
public void deleteRule(Integer internalProgReqID)
addRule
public void addRule(ProgramRequirementInfo programReqInfo)
updateRule
public void updateRule(Integer internalProgReqID,
ProgramRequirementInfo programReqInfo)
setRuleState
protected void setRuleState(ProgramRequirementInfo programReqInfo)
- Set the state of the program requirement to state of the program.
- Parameters:
programReqInfo
-
markRuleAsDeleted
public void markRuleAsDeleted(Integer internalProgReqID)
markRuleAsEdited
public void markRuleAsEdited(Integer internalProgReqID)
getStmtTypeName
public String getStmtTypeName(String stmtTypeId)
isRuleExists
public boolean isRuleExists(String stmtTypeId)
isDirty
public boolean isDirty()
revertRuleChanges
public void revertRuleChanges()
getProgReqByInternalId
public ProgramRequirementInfo getProgReqByInternalId(Integer internalProgReqID)
isEmptyRule
public boolean isEmptyRule(StatementTreeViewInfo tree)
isInitialized
public boolean isInitialized()
setInitialized
public void setInitialized(boolean initialized)
getStmtTypes
public List<StatementTypeInfo> getStmtTypes()
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.