|
||||||||||
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.PropositionBoServiceImpl
public final class PropositionBoServiceImpl
Implementation of the interface for accessing KRMS repository Proposition related business objects.
Constructor Summary | |
---|---|
PropositionBoServiceImpl()
|
Method Summary | |
---|---|
Set<PropositionDefinition> |
convertBosToImmutables(Collection<org.kuali.rice.krms.impl.repository.PropositionBo> propositionBos)
|
void |
createParameter(PropositionParameter parameter)
This overridden method creates a PropositionParameter if it does not already exist in the repository. |
PropositionDefinition |
createProposition(PropositionDefinition prop)
This overridden method creates a Proposition if it does not already exist in the repository. |
void |
deleteProposition(String propId)
This will delete an existing PropositionDefinition . |
org.kuali.rice.krms.impl.repository.PropositionBo |
from(PropositionDefinition proposition)
Converts a immutable PropositionDefinition to its mutable PropositionBo counterpart. |
PropositionParameter |
getParameterById(String id)
This overridden method gets a parameter by the parameter id |
PropositionParameter |
getParameterByPropIdAndSequenceNumber(String propId,
Integer sequenceNumber)
This overridden method gets a parameter by the Proposition Id and Sequence Number |
List<PropositionParameter> |
getParameters(String propId)
This overridden method retrieves a list of parameters for a given proposition |
PropositionDefinition |
getPropositionById(String propId)
This overridden method retrieves a proposition by the give proposition id. |
Set<PropositionDefinition> |
getPropositionsByRule(String ruleId)
|
Set<PropositionDefinition> |
getPropositionsByType(String typeId)
|
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value. |
PropositionDefinition |
to(org.kuali.rice.krms.impl.repository.PropositionBo propositionBo)
|
void |
updateParameter(PropositionParameter parameter)
This overridden method updates an existing proposition parameter |
void |
updateProposition(PropositionDefinition prop)
This overridden method updates an existing proposition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropositionBoServiceImpl()
Method Detail |
---|
public PropositionDefinition createProposition(PropositionDefinition prop)
createProposition
in interface PropositionBoService
prop
- the proposition to createPropositionBoService.createProposition(org.kuali.rice.krms.api.repository.proposition.PropositionDefinition)
public void updateProposition(PropositionDefinition prop)
updateProposition
in interface PropositionBoService
prop
- the proposition to updatePropositionBoService.updateProposition(org.kuali.rice.krms.api.repository.proposition.PropositionDefinition)
public PropositionDefinition getPropositionById(String propId)
getPropositionById
in interface PropositionBoService
propId
- the given proposition id
PropositionBoService.getPropositionById(java.lang.String)
public Set<PropositionDefinition> getPropositionsByType(String typeId)
getPropositionsByType
in interface PropositionBoService
public Set<PropositionDefinition> getPropositionsByRule(String ruleId)
getPropositionsByRule
in interface PropositionBoService
public Set<PropositionDefinition> convertBosToImmutables(Collection<org.kuali.rice.krms.impl.repository.PropositionBo> propositionBos)
public PropositionDefinition to(org.kuali.rice.krms.impl.repository.PropositionBo propositionBo)
public void createParameter(PropositionParameter parameter)
createParameter
in interface PropositionBoService
parameter
- the proposition parameter to createPropositionBoService.createParameter(org.kuali.rice.krms.api.repository.proposition.PropositionParameter)
public void updateParameter(PropositionParameter parameter)
updateParameter
in interface PropositionBoService
parameter
- the proposition parameter to updatePropositionBoService.updateParameter(org.kuali.rice.krms.api.repository.proposition.PropositionParameter)
public void deleteProposition(String propId)
PropositionBoService
PropositionDefinition
.
deleteProposition
in interface PropositionBoService
propId
- the proposition to deletepublic List<PropositionParameter> getParameters(String propId)
getParameters
in interface PropositionBoService
propId
- the given proposition id
org.kuali.rice.krms.impl.repository.PropositionBoService#getParameters(java.lang.Long)
public PropositionParameter getParameterById(String id)
getParameterById
in interface PropositionBoService
id
- the given proposition id
PropositionBoService.getParameterById(java.lang.String)
public PropositionParameter getParameterByPropIdAndSequenceNumber(String propId, Integer sequenceNumber)
getParameterByPropIdAndSequenceNumber
in interface PropositionBoService
propId
- the given proposition id
org.kuali.rice.krms.impl.repository.PropositionBoService#getParameterByPropIdAndSequenceNumber(java.lang.String, java.lang.String)
public org.kuali.rice.krms.impl.repository.PropositionBo from(PropositionDefinition proposition)
PropositionDefinition
to its mutable PropositionBo
counterpart.
proposition
- the immutable object.
PropositionBo
the mutable PropositionBo.public void setBusinessObjectService(BusinessObjectService businessObjectService)
businessObjectService
- The businessObjectService to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |