public interface PropositionBoService
@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/PropositionType","http://rice.kuali.org/krms/v2_0/RuleType"}, allEntries=true) PropositionDefinition createProposition(PropositionDefinition prop)
PropositionDefinition
exactly like the parameter passed in.prop
- the proposition to createIllegalArgumentException
- if the proposition is nullIllegalStateException
- if the proposition already exists in the system@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/PropositionType","http://rice.kuali.org/krms/v2_0/RuleType"}, allEntries=true) PropositionDefinition updateProposition(PropositionDefinition prop)
PropositionDefinition
.prop
- the proposition to updateIllegalArgumentException
- if the proposition is nullIllegalStateException
- if the proposition does not exist in the systemvoid deleteProposition(String propId)
PropositionDefinition
.propId
- the proposition to deleteIllegalArgumentException
- if the proposition is nullIllegalStateException
- if the proposition does not exist in the system@Cacheable(value="http://rice.kuali.org/krms/v2_0/PropositionType", key="\'propId=\' + #p0") PropositionDefinition getPropositionById(String propId)
propId
- the given proposition idSet<PropositionDefinition> getPropositionsByType(String typeId)
Set<PropositionDefinition> getPropositionsByRule(String ruleId)
@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/PropositionType","http://rice.kuali.org/krms/v2_0/RuleType"}, allEntries=true) void createParameter(PropositionParameter parameter)
PropositionParameter
exactly like the parameter passed in.parameter
- the proposition parameter to createIllegalArgumentException
- if the proposition parameter is nullIllegalStateException
- if the proposition parameter is already existing in the system@CacheEvict(value={"http://rice.kuali.org/krms/v2_0/PropositionType","http://rice.kuali.org/krms/v2_0/RuleType"}, allEntries=true) PropositionParameter updateParameter(PropositionParameter parameter)
PropositionParameter
.parameter
- the proposition parameter to updateIllegalArgumentException
- if the proposition parameter is nullIllegalStateException
- if the proposition parameter does not exist in the systemList<PropositionParameter> getParameters(String propId)
propId
- the given proposition idPropositionParameter getParameterById(String id)
id
- the given proposition idPropositionParameter getParameterByPropIdAndSequenceNumber(String propId, Integer sequenceNumber)
propId
- the given proposition idCopyright © 2005–2016 The Kuali Foundation. All rights reserved.