Class AgendaEditor

java.lang.Object
org.kuali.rice.krms.impl.ui.AgendaEditor
All Implemented Interfaces:
Serializable

public class AgendaEditor extends Object implements Serializable
synthetic (not directly persisted) BO for the KRMS agenda editor
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • AgendaEditor

      public AgendaEditor()
  • Method Details

    • getAgendaRuleTree

      public org.kuali.rice.core.api.util.tree.Tree<? extends AgendaTreeNode,String> getAgendaRuleTree()
    • refreshAgendaRuleTree

      public void refreshAgendaRuleTree()
    • getAgendaItemLine

      public AgendaItemBo getAgendaItemLine()
      Returns:
      the agendaItemLine
    • setAgendaItemLine

      public void setAgendaItemLine(AgendaItemBo agendaItemLine)
      Parameters:
      agendaItemLine - the agendaItemLine to set
    • getAgendaItemLineRuleAction

      public ActionBo getAgendaItemLineRuleAction()
    • setAgendaItemLineRuleAction

      public void setAgendaItemLineRuleAction(ActionBo actionBo)
    • getSelectedAgendaItemId

      public String getSelectedAgendaItemId()
      Returns:
      the selectedAgendaItemId
    • setSelectedAgendaItemId

      public void setSelectedAgendaItemId(String selectedAgendaItemId)
      Parameters:
      selectedAgendaItemId - the selectedAgendaItemId to set
    • getCutAgendaItemId

      public String getCutAgendaItemId()
      Returns:
      the cutAgendaItemId
    • setCutAgendaItemId

      public void setCutAgendaItemId(String cutAgendaItemId)
      Parameters:
      cutAgendaItemId - the cutAgendaItemId to set
    • getContext

      public ContextBo getContext()
      Returns:
      the context
    • setContext

      public void setContext(ContextBo context)
      Parameters:
      context - the context to set
    • getAgenda

      public AgendaBo getAgenda()
      Returns:
      the agenda
    • setAgenda

      public void setAgenda(AgendaBo agenda)
      Parameters:
      agenda - the agenda to set
    • getCustomAttributesMap

      public Map<String,String> getCustomAttributesMap()
    • setCustomAttributesMap

      public void setCustomAttributesMap(Map<String,String> customAttributesMap)
    • getCustomRuleAttributesMap

      public Map<String,String> getCustomRuleAttributesMap()
    • setCustomRuleAttributesMap

      public void setCustomRuleAttributesMap(Map<String,String> customRuleAttributesMap)
    • getCustomRuleActionAttributesMap

      public Map<String,String> getCustomRuleActionAttributesMap()
    • setCustomRuleActionAttributesMap

      public void setCustomRuleActionAttributesMap(Map<String,String> customRuleActionAttributesMap)
    • setCopyRuleName

      public void setCopyRuleName(String copyRuleName)
      Parameters:
      copyRuleName - the rule name from which to copy
    • getCopyRuleName

      public String getCopyRuleName()
      Returns:
      the rule name from which to copy
    • setOldContextId

      public void setOldContextId(String oldContextId)
      Parameters:
      oldContextId - the contextId that the agenda currently has (i.e. before the next context change)
    • getOldContextId

      public String getOldContextId()
      Returns:
      the contextId that the agenda had before the context change
    • getSelectedPropositionId

      public String getSelectedPropositionId()
      Returns:
      the selectedPropositionId
    • setSelectedPropositionId

      public void setSelectedPropositionId(String selectedPropositionId)
      Parameters:
      selectedPropositionId - the selectedPropositionId to set
    • getCutPropositionId

      public String getCutPropositionId()
      Returns:
      the cutPropositionId
    • getDeletedPropositionIdsFromRule

      public List<String> getDeletedPropositionIdsFromRule()
      A list of the IDs for the propositions that have been deleted from this rule.
      Returns:
      the deleted proposition IDs
    • setDeletedPropositionIdsFromRule

      public void setDeletedPropositionIdsFromRule(List<String> deletedPropositionIdsFromRule)
      Set the list of the IDs for the propositions that have been deleted from this rule.
      Parameters:
      deletedPropositionIdsFromRule - the proposition IDs to set
    • getDeletedPropositionIds

      public List<String> getDeletedPropositionIds()
      Get the list of the IDs for propositions that have been deleted from this agenda.
      Returns:
      the deleted proposition IDs
    • setDeletedPropositionIds

      public void setDeletedPropositionIds(List<String> deletedPropositionIds)
      Set the list of the IDs for propositions that have been deleted from this agenda.
      Parameters:
      deletedPropositionIds - the proposition IDs to set
    • addDeletedPropositionIdFromRule

      public void addDeletedPropositionIdFromRule(String propId)
    • 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

      public String getContextName()
    • setContextName

      public void setContextName(String contextName)
    • getNamespace

      public String getNamespace()
    • setNamespace

      public void setNamespace(String namespace)
    • getRuleEditorMessage

      public String getRuleEditorMessage()
    • setRuleEditorMessage

      public void setRuleEditorMessage(String message)
    • 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

      public void setCutPropositionId(String cutPropositionId)
      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)