Class AgendaItemBo

java.lang.Object
org.kuali.rice.krms.impl.repository.AgendaItemBo
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.common.Identifiable, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract

@Entity public class AgendaItemBo extends Object implements org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract, org.kuali.rice.core.api.mo.common.Versioned, Serializable
Agenda Item business object
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Field Details

  • Constructor Details

    • AgendaItemBo

      public AgendaItemBo()
  • Method Details

    • getUl

      public String getUl(AgendaItemBo firstItem)
    • getUlHelper

      public String getUlHelper(AgendaItemBo item)
    • getRuleText

      public String getRuleText()
    • getRuleText

      public String getRuleText(Collection<org.kuali.rice.krms.api.repository.type.KrmsTypeDefinition> typeDefs)
    • getAlwaysList

      public List<AgendaItemBo> getAlwaysList()
    • getId

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getAgendaId

      public String getAgendaId()
      Specified by:
      getAgendaId in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the agendaId
    • setAgendaId

      public void setAgendaId(String agendaId)
      Parameters:
      agendaId - the agendaId to set
    • getRuleId

      public String getRuleId()
      Specified by:
      getRuleId in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the ruleId
    • getSubAgendaId

      public String getSubAgendaId()
      Specified by:
      getSubAgendaId in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the subAgendaId
    • setSubAgendaId

      public void setSubAgendaId(String subAgendaId)
      Parameters:
      subAgendaId - the subAgendaId to set
    • getWhenTrueId

      public String getWhenTrueId()
      Specified by:
      getWhenTrueId in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the whenTrueId
    • setWhenTrueId

      public void setWhenTrueId(String whenTrueId)
      Parameters:
      whenTrueId - the whenTrueId to set
    • getWhenFalseId

      public String getWhenFalseId()
      Specified by:
      getWhenFalseId in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the whenFalseId
    • setWhenFalseId

      public void setWhenFalseId(String whenFalseId)
      Parameters:
      whenFalseId - the whenFalseId to set
    • getAlwaysId

      public String getAlwaysId()
      Specified by:
      getAlwaysId in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the alwaysId
    • setAlwaysId

      public void setAlwaysId(String alwaysId)
      Parameters:
      alwaysId - the alwaysId to set
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • setVersionNumber

      public void setVersionNumber(Long versionNumber)
    • getWhenTrue

      public AgendaItemBo getWhenTrue()
      Specified by:
      getWhenTrue in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the whenTrue
    • setWhenTrue

      public void setWhenTrue(AgendaItemBo whenTrue)
      Parameters:
      whenTrue - the whenTrue to set
    • getWhenFalse

      public AgendaItemBo getWhenFalse()
      Specified by:
      getWhenFalse in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the whenFalse
    • setWhenFalse

      public void setWhenFalse(AgendaItemBo whenFalse)
      Parameters:
      whenFalse - the whenFalse to set
    • getAlways

      public AgendaItemBo getAlways()
      Specified by:
      getAlways in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the always
    • setAlways

      public void setAlways(AgendaItemBo always)
      Parameters:
      always - the always to set
    • getRule

      public RuleBo getRule()
      Specified by:
      getRule in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
      Returns:
      the rule
    • getSubAgenda

      public org.kuali.rice.krms.api.repository.agenda.AgendaDefinitionContract getSubAgenda()
      Specified by:
      getSubAgenda in interface org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
    • setRule

      public void setRule(RuleBo rule)
      Parameters:
      rule - the rule to set
    • from

      public static AgendaItemBo from(org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinition im)
      Converts a immutable object to it's mutable bo counterpart
      Parameters:
      im - immutable object
      Returns:
      the mutable bo
    • copyAgendaItem

      public AgendaItemBo copyAgendaItem(AgendaBo copiedAgenda, Map<String,RuleBo> oldRuleIdToNew, Map<String,AgendaItemBo> oldAgendaItemIdToNew, List<AgendaItemBo> copiedAgendaItems, String dts)
      Returns a copy of this AgendaItem
      Parameters:
      copiedAgenda - the new Agenda that the copied AgendiaItem will be associated with
      oldRuleIdToNew - Mapinvalid input: '<'String, RuleBo> mapping of old rule id to the new RuleBo
      dts - DateTimeStamp to append to the copied AgendaItem name
      Returns:
      AgendaItemBo copy of this AgendaItem with new id and name
    • getDataObjectService

      public org.kuali.rice.krad.data.DataObjectService getDataObjectService()
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
    • getKrmsTypeRepositoryService

      public org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService getKrmsTypeRepositoryService()
    • setKrmsTypeRepositoryService

      public void setKrmsTypeRepositoryService(org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService dataObjectService)