public final class KSAgendaBoServiceImpl extends Object implements AgendaBoService
Constructor and Description |
---|
KSAgendaBoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAgendaItem(AgendaItemDefinition agendaItem,
String parentId,
Boolean position)
This overridden method adds a new AgendaItemDefinition to the repository
|
List<AgendaDefinition> |
convertAgendaBosToImmutables(Collection<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
|
void |
deleteAgenda(String agendaId) |
void |
deleteAgendaItem(String agendaItemId) |
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
|
List<AgendaItemDefinition> |
getAgendaItemsByAgendaId(String agendaId) |
List<AgendaItemDefinition> |
getAgendaItemsByContext(String contextId) |
List<AgendaItemDefinition> |
getAgendaItemsByType(String typeId) |
List<AgendaItemDefinition> |
getAgendaItemsByTypeAndContext(String typeId,
String contextId) |
List<AgendaDefinition> |
getAgendasByContextId(String contextId)
This overridden method retrieves a set of agendas from the repository
|
List<AgendaDefinition> |
getAgendasByType(String typeId) |
List<AgendaDefinition> |
getAgendasByTypeAndContext(String typeId,
String contextId) |
protected KrmsAttributeDefinitionService |
getAttributeDefinitionService() |
protected BusinessObjectService |
getBusinessObjectService() |
CriteriaLookupService |
getCriteriaLookupService() |
protected SequenceAccessorService |
getSequenceAccessorService() |
void |
setAttributeDefinitionService(KrmsAttributeDefinitionService attributeDefinitionService) |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.
|
void |
setCriteriaLookupService(CriteriaLookupService criteriaLookupService) |
void |
setSequenceAccessorService(SequenceAccessorService sequenceAccessorService)
Sets the sequenceAccessorService attribute value.
|
AgendaDefinition |
to(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 KSAgendaBoServiceImpl()
public AgendaDefinition createAgenda(AgendaDefinition agenda)
createAgenda
in interface AgendaBoService
public void updateAgenda(AgendaDefinition agenda)
updateAgenda
in interface AgendaBoService
public void deleteAgenda(String agendaId)
deleteAgenda
in interface AgendaBoService
public AgendaDefinition getAgendaByAgendaId(String agendaId)
getAgendaByAgendaId
in interface AgendaBoService
public AgendaDefinition getAgendaByNameAndContextId(String name, String contextId)
getAgendaByNameAndContextId
in interface AgendaBoService
public List<AgendaDefinition> getAgendasByContextId(String contextId)
getAgendasByContextId
in interface AgendaBoService
public AgendaItemDefinition createAgendaItem(AgendaItemDefinition agendaItem)
createAgendaItem
in interface AgendaBoService
public void updateAgendaItem(AgendaItemDefinition agendaItem)
updateAgendaItem
in interface AgendaBoService
public void addAgendaItem(AgendaItemDefinition agendaItem, String parentId, Boolean position)
addAgendaItem
in interface AgendaBoService
public AgendaItemDefinition getAgendaItemById(String id)
getAgendaItemById
in interface AgendaBoService
public List<AgendaItemDefinition> getAgendaItemsByAgendaId(String agendaId)
getAgendaItemsByAgendaId
in interface AgendaBoService
public List<AgendaDefinition> getAgendasByType(String typeId) throws RiceIllegalArgumentException
getAgendasByType
in interface AgendaBoService
RiceIllegalArgumentException
public List<AgendaDefinition> getAgendasByTypeAndContext(String typeId, String contextId) throws RiceIllegalArgumentException
getAgendasByTypeAndContext
in interface AgendaBoService
RiceIllegalArgumentException
public List<AgendaItemDefinition> getAgendaItemsByType(String typeId) throws RiceIllegalArgumentException
getAgendaItemsByType
in interface AgendaBoService
RiceIllegalArgumentException
public List<AgendaItemDefinition> getAgendaItemsByContext(String contextId) throws RiceIllegalArgumentException
getAgendaItemsByContext
in interface AgendaBoService
RiceIllegalArgumentException
public List<AgendaItemDefinition> getAgendaItemsByTypeAndContext(String typeId, String contextId) throws RiceIllegalArgumentException
getAgendaItemsByTypeAndContext
in interface AgendaBoService
RiceIllegalArgumentException
public void deleteAgendaItem(String agendaItemId) throws RiceIllegalArgumentException
deleteAgendaItem
in interface AgendaBoService
RiceIllegalArgumentException
public CriteriaLookupService getCriteriaLookupService()
public void setCriteriaLookupService(CriteriaLookupService criteriaLookupService)
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 List<AgendaDefinition> convertAgendaBosToImmutables(Collection<AgendaBo> agendaBos)
agendaBos
- a mutable Setpublic AgendaDefinition to(AgendaBo bo)
to
in interface AgendaBoService
bo
- the mutable business objectpublic AgendaBo from(AgendaDefinition im)
from
in interface AgendaBoService
im
- immutable objectCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.