org.kuali.rice.krms.impl.repository
Class AgendaItemBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.krms.impl.repository.AgendaItemBo
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject

public class AgendaItemBo
extends PersistableBusinessObjectBase

Agenda Item business object

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
static String COPY_OF_TEXT
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AgendaItemBo()
           
 
Method Summary
 AgendaItemBo copyAgendaItem(org.kuali.rice.krms.impl.repository.AgendaBo copiedAgenda, Map<String,org.kuali.rice.krms.impl.repository.RuleBo> oldRuleIdToNew, Map<String,AgendaItemBo> oldAgendaItemIdToNew, List<AgendaItemBo> copiedAgendaItems, String dts)
          Returns a copy of this AgendaItem
 String getAgendaId()
           
 AgendaItemBo getAlways()
           
 String getAlwaysId()
           
 List<AgendaItemBo> getAlwaysList()
           
 String getId()
           
 org.kuali.rice.krms.impl.repository.RuleBo getRule()
           
 String getRuleId()
           
 String getRuleText()
           
 String getSubAgendaId()
           
 String getUl(AgendaItemBo firstItem)
           
 String getUlHelper(AgendaItemBo item)
           
 AgendaItemBo getWhenFalse()
           
 String getWhenFalseId()
           
 AgendaItemBo getWhenTrue()
           
 String getWhenTrueId()
           
 void setAgendaId(String agendaId)
           
 void setAlways(AgendaItemBo always)
           
 void setAlwaysId(String alwaysId)
           
 void setId(String id)
           
 void setRule(org.kuali.rice.krms.impl.repository.RuleBo rule)
           
 void setRuleId(String ruleId)
           
static void setSequenceAccessorService(SequenceAccessorService sas)
          Set the SequenceAccessorService, useful for testing.
 void setSubAgendaId(String subAgendaId)
           
 void setWhenFalse(AgendaItemBo whenFalse)
           
 void setWhenFalseId(String whenFalseId)
           
 void setWhenTrue(AgendaItemBo whenTrue)
           
 void setWhenTrueId(String whenTrueId)
           
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

COPY_OF_TEXT

public static final String COPY_OF_TEXT
See Also:
Constant Field Values
Constructor Detail

AgendaItemBo

public AgendaItemBo()
Method Detail

getUl

public String getUl(AgendaItemBo firstItem)

getUlHelper

public String getUlHelper(AgendaItemBo item)

getRuleText

public String getRuleText()

getAlwaysList

public List<AgendaItemBo> getAlwaysList()

getId

public String getId()
Returns:
the id

setId

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

getAgendaId

public String getAgendaId()
Returns:
the agendaId

setAgendaId

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

getRuleId

public String getRuleId()
Returns:
the ruleId

setRuleId

public void setRuleId(String ruleId)
Parameters:
ruleId - the ruleId to set

getSubAgendaId

public String getSubAgendaId()
Returns:
the subAgendaId

setSubAgendaId

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

getWhenTrueId

public String getWhenTrueId()
Returns:
the whenTrueId

setWhenTrueId

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

getWhenFalseId

public String getWhenFalseId()
Returns:
the whenFalseId

setWhenFalseId

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

getAlwaysId

public String getAlwaysId()
Returns:
the alwaysId

setAlwaysId

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

getWhenTrue

public AgendaItemBo getWhenTrue()
Returns:
the whenTrue

setWhenTrue

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

getWhenFalse

public AgendaItemBo getWhenFalse()
Returns:
the whenFalse

setWhenFalse

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

getAlways

public AgendaItemBo getAlways()
Returns:
the always

setAlways

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

getRule

public org.kuali.rice.krms.impl.repository.RuleBo getRule()
Returns:
the rule

setRule

public void setRule(org.kuali.rice.krms.impl.repository.RuleBo rule)
Parameters:
rule - the rule to set

copyAgendaItem

public AgendaItemBo copyAgendaItem(org.kuali.rice.krms.impl.repository.AgendaBo copiedAgenda,
                                   Map<String,org.kuali.rice.krms.impl.repository.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 - Map 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

setSequenceAccessorService

public static void setSequenceAccessorService(SequenceAccessorService sas)
Set the SequenceAccessorService, useful for testing.

Parameters:
sas - SequenceAccessorService to use for getNewId()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.