Package org.kuali.rice.krms.impl.ui
Class AgendaEditor
java.lang.Object
org.kuali.rice.krms.impl.ui.AgendaEditor
- All Implemented Interfaces:
Serializable
synthetic (not directly persisted) BO for the KRMS agenda editor
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMoves all of the proposition IDs that have been tracked as deleted from this rule to the list on the agenda.voidRemoves all of the proposition ID that have been tracked as deleted from this rule.org.kuali.rice.core.api.util.tree.Tree<? extends AgendaTreeNode, String> Get the list of the IDs for propositions that have been deleted from this agenda.A list of the IDs for the propositions that have been deleted from this rule.org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryServicebooleanbooleanvoidvoidsetAddRuleInProgress(boolean addRuleInProgress) voidvoidsetAgendaItemLine(AgendaItemBo agendaItemLine) voidsetAgendaItemLineRuleAction(ActionBo actionBo) voidsetContext(ContextBo context) voidsetContextName(String contextName) voidsetCopyRuleName(String copyRuleName) voidsetCustomAttributesMap(Map<String, String> customAttributesMap) voidsetCustomRuleActionAttributesMap(Map<String, String> customRuleActionAttributesMap) voidsetCustomRuleAttributesMap(Map<String, String> customRuleAttributesMap) voidsetCutAgendaItemId(String cutAgendaItemId) voidsetCutPropositionId(String cutPropositionId) voidsetDeletedPropositionIds(List<String> deletedPropositionIds) Set the list of the IDs for propositions that have been deleted from this agenda.voidsetDeletedPropositionIdsFromRule(List<String> deletedPropositionIdsFromRule) Set the list of the IDs for the propositions that have been deleted from this rule.voidsetDisableButtons(boolean disableButtons) Setter for disableButtons.voidsetKrmsTypeRepositoryService(org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService dataObjectService) voidsetNamespace(String namespace) voidsetOldContextId(String oldContextId) voidsetRuleEditorMessage(String message) voidsetSelectedAgendaItemId(String selectedAgendaItemId) voidsetSelectedPropositionId(String selectedPropositionId)
-
Constructor Details
-
AgendaEditor
public AgendaEditor()
-
-
Method Details
-
getAgendaRuleTree
-
refreshAgendaRuleTree
public void refreshAgendaRuleTree() -
getAgendaItemLine
- Returns:
- the agendaItemLine
-
setAgendaItemLine
- Parameters:
agendaItemLine- the agendaItemLine to set
-
getAgendaItemLineRuleAction
-
setAgendaItemLineRuleAction
-
getSelectedAgendaItemId
- Returns:
- the selectedAgendaItemId
-
setSelectedAgendaItemId
- Parameters:
selectedAgendaItemId- the selectedAgendaItemId to set
-
getCutAgendaItemId
- Returns:
- the cutAgendaItemId
-
setCutAgendaItemId
- Parameters:
cutAgendaItemId- the cutAgendaItemId to set
-
getContext
- Returns:
- the context
-
setContext
- Parameters:
context- the context to set
-
getAgenda
- Returns:
- the agenda
-
setAgenda
- Parameters:
agenda- the agenda to set
-
getCustomAttributesMap
-
setCustomAttributesMap
-
getCustomRuleAttributesMap
-
setCustomRuleAttributesMap
-
getCustomRuleActionAttributesMap
-
setCustomRuleActionAttributesMap
-
setCopyRuleName
- Parameters:
copyRuleName- the rule name from which to copy
-
getCopyRuleName
- Returns:
- the rule name from which to copy
-
setOldContextId
- Parameters:
oldContextId- the contextId that the agenda currently has (i.e. before the next context change)
-
getOldContextId
- Returns:
- the contextId that the agenda had before the context change
-
getSelectedPropositionId
- Returns:
- the selectedPropositionId
-
setSelectedPropositionId
- Parameters:
selectedPropositionId- the selectedPropositionId to set
-
getCutPropositionId
- Returns:
- the cutPropositionId
-
getDeletedPropositionIdsFromRule
A list of the IDs for the propositions that have been deleted from this rule.- Returns:
- the deleted proposition IDs
-
setDeletedPropositionIdsFromRule
Set the list of the IDs for the propositions that have been deleted from this rule.- Parameters:
deletedPropositionIdsFromRule- the proposition IDs to set
-
getDeletedPropositionIds
Get the list of the IDs for propositions that have been deleted from this agenda.- Returns:
- the deleted proposition IDs
-
setDeletedPropositionIds
Set the list of the IDs for propositions that have been deleted from this agenda.- Parameters:
deletedPropositionIds- the proposition IDs to set
-
addDeletedPropositionIdFromRule
-
clearDeletedPropositionIdsFromRule
public void clearDeletedPropositionIdsFromRule()Removes all of the proposition ID that have been tracked as deleted from this rule.This is something to do when the user abandons the changes that have been made to the current edited rule.
-
applyDeletedPropositionIdsFromRule
public void applyDeletedPropositionIdsFromRule()Moves all of the proposition IDs that have been tracked as deleted from this rule to the list on the agenda.This essentially commits to the deletions that have been made in the rule.
-
getContextName
-
setContextName
-
getNamespace
-
setNamespace
-
getRuleEditorMessage
-
setRuleEditorMessage
-
isAddRuleInProgress
public boolean isAddRuleInProgress() -
setAddRuleInProgress
public void setAddRuleInProgress(boolean addRuleInProgress) -
isDisableButtons
public boolean isDisableButtons()- Returns:
- if the tree buttons should be disabled
-
setDisableButtons
public void setDisableButtons(boolean disableButtons) Setter for disableButtons. Set to true when the Agenda is submitted- Parameters:
disableButtons-
-
setCutPropositionId
- Parameters:
cutPropositionId- the cutPropositionId to set
-
getKrmsTypeRepositoryService
public org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService getKrmsTypeRepositoryService() -
setKrmsTypeRepositoryService
public void setKrmsTypeRepositoryService(org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService dataObjectService)
-