public final class PropositionBoServiceImpl extends Object implements PropositionBoService
Constructor and Description |
---|
PropositionBoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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
|
public PropositionBoServiceImpl()
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 idPropositionBoService.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 idorg.kuali.rice.krms.impl.repository.PropositionBoService#getParameters(java.lang.Long)
public PropositionParameter getParameterById(String id)
getParameterById
in interface PropositionBoService
id
- the given proposition idPropositionBoService.getParameterById(java.lang.String)
public PropositionParameter getParameterByPropIdAndSequenceNumber(String propId, Integer sequenceNumber)
getParameterByPropIdAndSequenceNumber
in interface PropositionBoService
propId
- the given proposition idorg.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.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.