|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.impl.repository.AgendaBoServiceImpl
public final class AgendaBoServiceImpl
Constructor Summary | |
---|---|
AgendaBoServiceImpl()
|
Method Summary | |
---|---|
void |
addAgendaItem(AgendaItem agendaItem,
String parentId,
Boolean position)
This overridden method adds a new AgendaItem 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 |
AgendaItem |
createAgendaItem(AgendaItem 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 |
AgendaItem |
getAgendaItemById(String id)
This overridden method retrieves an AgendaItem 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(AgendaItem agendaItem)
This overridden method updates an existing Agenda in the repository |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgendaBoServiceImpl()
Method Detail |
---|
public AgendaDefinition createAgenda(AgendaDefinition agenda)
createAgenda
in interface AgendaBoService
agenda
- The Agenda to createpublic void updateAgenda(AgendaDefinition agenda)
updateAgenda
in interface AgendaBoService
agenda
- The Agenda to updatepublic AgendaDefinition getAgendaByAgendaId(String agendaId)
getAgendaByAgendaId
in interface AgendaBoService
agendaId
- the id of the Agenda to retrieve
AgendaDefinition
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 AgendaBoService
name
- 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 AgendaBoService
contextId
- the id of the context
AgendaDefinition
associated with the given context.
A null reference is returned if an invalid or contextId is supplied.public AgendaItem createAgendaItem(AgendaItem agendaItem)
createAgendaItem
in interface AgendaBoService
agendaItem
- The AgendaItem to createpublic void updateAgendaItem(AgendaItem agendaItem)
updateAgendaItem
in interface AgendaBoService
agendaItem
- The AgendaItem to updatepublic void addAgendaItem(AgendaItem agendaItem, String parentId, Boolean position)
addAgendaItem
in interface AgendaBoService
agendaItem
- The AgendaItem to createparentId
- The id of the existing AgendaItem to be linked with the
newly created AgendaItempublic AgendaItem getAgendaItemById(String id)
getAgendaItemById
in interface AgendaBoService
id
- the id of the AgendaItem to retrieve
AgendaItem
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 AgendaBoService
bo
- the mutable business object
public org.kuali.rice.krms.impl.repository.AgendaBo from(AgendaDefinition im)
from
in interface AgendaBoService
im
- immutable object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |