public final class AgendaBoServiceImpl extends Object implements AgendaBoService
| Constructor and Description |
|---|
AgendaBoServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAgendaItem(AgendaItemDefinition agendaItem,
String parentId,
Boolean position)
This overridden method adds a new AgendaItemDefinition to the repository
|
Set<AgendaDefinition> |
convertListOfBosToImmutables(Collection<org.kuali.rice.krms.impl.repository.AgendaBo> agendaBos)
Converts a Set
|
AgendaDefinition |
createAgenda(AgendaDefinition agenda)
This overridden method creates a KRMS Agenda in the repository
|
AgendaItemDefinition |
createAgendaItem(AgendaItemDefinition agendaItem)
This overridden method creates a new Agenda in the repository
|
org.kuali.rice.krms.impl.repository.AgendaBo |
from(AgendaDefinition im)
Converts a immutable object to it's mutable bo counterpart
|
AgendaDefinition |
getAgendaByAgendaId(String agendaId)
This overridden method retrieves an Agenda from the repository
|
AgendaDefinition |
getAgendaByNameAndContextId(String name,
String contextId)
This overridden method retrieves an agenda from the repository
|
AgendaItemDefinition |
getAgendaItemById(String id)
This overridden method retrieves an AgendaItemDefinition from the repository
|
Set<AgendaDefinition> |
getAgendasByContextId(String contextId)
This overridden method retrieves a set of agendas from the repository
|
protected KrmsAttributeDefinitionService |
getAttributeDefinitionService() |
protected BusinessObjectService |
getBusinessObjectService() |
protected SequenceAccessorService |
getSequenceAccessorService() |
void |
setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService) |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setSequenceAccessorService(SequenceAccessorService sequenceAccessorService)
Sets the sequenceAccessorService attribute value.
|
AgendaDefinition |
to(org.kuali.rice.krms.impl.repository.AgendaBo bo)
Converts a mutable bo to it's immutable counterpart
|
void |
updateAgenda(AgendaDefinition agenda)
This overridden method updates an existing Agenda in the repository
|
void |
updateAgendaItem(AgendaItemDefinition agendaItem)
This overridden method updates an existing Agenda in the repository
|
public AgendaBoServiceImpl()
public AgendaDefinition createAgenda(AgendaDefinition agenda)
createAgenda in interface AgendaBoServiceagenda - The Agenda to createpublic void updateAgenda(AgendaDefinition agenda)
updateAgenda in interface AgendaBoServiceagenda - The Agenda to updatepublic AgendaDefinition getAgendaByAgendaId(String agendaId)
getAgendaByAgendaId in interface AgendaBoServiceagendaId - the id of the Agenda to retrieveAgendaDefinition identified by the given agendaId.
A null reference is returned if an invalid or non-existent id is supplied.public AgendaDefinition getAgendaByNameAndContextId(String name, String contextId)
getAgendaByNameAndContextId in interface AgendaBoServicename - the name of the Agenda to retrieve.contextId - the id of the context that the agenda belongs to.AgendaDefinition identified by the given name and namespace.
A null reference is returned if an invalid or non-existent name and
namespace combination is supplied.public Set<AgendaDefinition> getAgendasByContextId(String contextId)
getAgendasByContextId in interface AgendaBoServicecontextId - the id of the contextAgendaDefinition associated with the given context.
A null reference is returned if an invalid or contextId is supplied.public AgendaItemDefinition createAgendaItem(AgendaItemDefinition agendaItem)
createAgendaItem in interface AgendaBoServiceagendaItem - The AgendaItemDefinition to createpublic void updateAgendaItem(AgendaItemDefinition agendaItem)
updateAgendaItem in interface AgendaBoServiceagendaItem - The AgendaItemDefinition to updatepublic void addAgendaItem(AgendaItemDefinition agendaItem, String parentId, Boolean position)
addAgendaItem in interface AgendaBoServiceagendaItem - The AgendaItemDefinition to createparentId - The id of the existing AgendaItemDefinition to be linked with the
newly created AgendaItemDefinitionpublic AgendaItemDefinition getAgendaItemById(String id)
getAgendaItemById in interface AgendaBoServiceid - the id of the AgendaItemDefinition to retrieveAgendaItemDefinition identified by the given id.
A null reference is returned if an invalid or non-existent id is supplied.public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService - The businessObjectService to set.protected BusinessObjectService getBusinessObjectService()
public void setSequenceAccessorService(SequenceAccessorService sequenceAccessorService)
sequenceAccessorService - The sequenceAccessorService to set.protected SequenceAccessorService getSequenceAccessorService()
protected KrmsAttributeDefinitionService getAttributeDefinitionService()
public void setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService)
public Set<AgendaDefinition> convertListOfBosToImmutables(Collection<org.kuali.rice.krms.impl.repository.AgendaBo> agendaBos)
agendaBos - a mutable Setpublic AgendaDefinition to(org.kuali.rice.krms.impl.repository.AgendaBo bo)
to in interface AgendaBoServicebo - the mutable business objectpublic org.kuali.rice.krms.impl.repository.AgendaBo from(AgendaDefinition im)
from in interface AgendaBoServiceim - immutable objectCopyright © 2005–2016 The Kuali Foundation. All rights reserved.