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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyAgendaItem(AgendaBo copiedAgenda, Map<String, RuleBo> oldRuleIdToNew, Map<String, AgendaItemBo> oldAgendaItemIdToNew, List<AgendaItemBo> copiedAgendaItems, String dts) Returns a copy of this AgendaItemstatic AgendaItemBofrom(org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinition im) Converts a immutable object to it's mutable bo counterpartorg.kuali.rice.krad.data.DataObjectServicegetId()org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryServicegetRule()getRuleText(Collection<org.kuali.rice.krms.api.repository.type.KrmsTypeDefinition> typeDefs) org.kuali.rice.krms.api.repository.agenda.AgendaDefinitionContractgetUl(AgendaItemBo firstItem) getUlHelper(AgendaItemBo item) voidsetAgendaId(String agendaId) voidsetAlways(AgendaItemBo always) voidsetAlwaysId(String alwaysId) voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) voidvoidsetKrmsTypeRepositoryService(org.kuali.rice.krms.api.repository.type.KrmsTypeRepositoryService dataObjectService) voidvoidsetSubAgendaId(String subAgendaId) voidsetVersionNumber(Long versionNumber) voidsetWhenFalse(AgendaItemBo whenFalse) voidsetWhenFalseId(String whenFalseId) voidsetWhenTrue(AgendaItemBo whenTrue) voidsetWhenTrueId(String whenTrueId)
-
Field Details
-
COPY_OF_TEXT
- See Also:
-
AGENDA_ITEM_SEQ_NAME
- See Also:
-
-
Constructor Details
-
AgendaItemBo
public AgendaItemBo()
-
-
Method Details
-
getUl
-
getUlHelper
-
getRuleText
-
getRuleText
public String getRuleText(Collection<org.kuali.rice.krms.api.repository.type.KrmsTypeDefinition> typeDefs) -
getAlwaysList
-
getId
- Specified by:
getIdin interfaceorg.kuali.rice.core.api.mo.common.Identifiable- Returns:
- the id
-
setId
- Parameters:
id- the id to set
-
getAgendaId
- Specified by:
getAgendaIdin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the agendaId
-
setAgendaId
- Parameters:
agendaId- the agendaId to set
-
getRuleId
- Specified by:
getRuleIdin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the ruleId
-
getSubAgendaId
- Specified by:
getSubAgendaIdin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the subAgendaId
-
setSubAgendaId
- Parameters:
subAgendaId- the subAgendaId to set
-
getWhenTrueId
- Specified by:
getWhenTrueIdin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the whenTrueId
-
setWhenTrueId
- Parameters:
whenTrueId- the whenTrueId to set
-
getWhenFalseId
- Specified by:
getWhenFalseIdin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the whenFalseId
-
setWhenFalseId
- Parameters:
whenFalseId- the whenFalseId to set
-
getAlwaysId
- Specified by:
getAlwaysIdin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the alwaysId
-
setAlwaysId
- Parameters:
alwaysId- the alwaysId to set
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
setVersionNumber
-
getWhenTrue
- Specified by:
getWhenTruein interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the whenTrue
-
setWhenTrue
- Parameters:
whenTrue- the whenTrue to set
-
getWhenFalse
- Specified by:
getWhenFalsein interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the whenFalse
-
setWhenFalse
- Parameters:
whenFalse- the whenFalse to set
-
getAlways
- Specified by:
getAlwaysin interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the always
-
setAlways
- Parameters:
always- the always to set
-
getRule
- Specified by:
getRulein interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract- Returns:
- the rule
-
getSubAgenda
public org.kuali.rice.krms.api.repository.agenda.AgendaDefinitionContract getSubAgenda()- Specified by:
getSubAgendain interfaceorg.kuali.rice.krms.api.repository.agenda.AgendaItemDefinitionContract
-
setRule
- Parameters:
rule- the rule to set
-
from
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 witholdRuleIdToNew- Mapinvalid input: '<'String, RuleBo> mapping of old rule id to the new RuleBodts- 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)
-