|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropositionBoService
This is the interface for accessing KRMS repository Proposition related business objects.
| Method Summary | |
|---|---|
void |
createParameter(PropositionParameter parameter)
This will create a PropositionParameter exactly like the parameter passed in. |
PropositionDefinition |
createProposition(PropositionDefinition prop)
This will create a PropositionDefinition exactly like the parameter passed in. |
void |
deleteProposition(String propId)
This will delete an existing PropositionDefinition. |
PropositionParameter |
getParameterById(String id)
Lookup the proposition parameter based on the id. |
PropositionParameter |
getParameterByPropIdAndSequenceNumber(String propId,
Integer sequenceNumber)
Lookup the proposition parameter based on the proposition id and sequence number. |
List<PropositionParameter> |
getParameters(String propId)
Lookup the proposition parameters based on the given proposition id. |
PropositionDefinition |
getPropositionById(String propId)
Lookup the proposition based on the given proposition id. |
Set<PropositionDefinition> |
getPropositionsByRule(String ruleId)
|
Set<PropositionDefinition> |
getPropositionsByType(String typeId)
|
void |
updateParameter(PropositionParameter parameter)
This will update a PropositionParameter. |
void |
updateProposition(PropositionDefinition prop)
This will update an existing PropositionDefinition. |
| Method Detail |
|---|
@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 create
IllegalArgumentException - if the proposition is null
IllegalStateException - 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)
void updateProposition(PropositionDefinition prop)
PropositionDefinition.
prop - the proposition to update
IllegalArgumentException - if the proposition is null
IllegalStateException - if the proposition does not exist in the systemvoid deleteProposition(String propId)
PropositionDefinition.
propId - the proposition to delete
IllegalArgumentException - if the proposition is null
IllegalStateException - 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 id
Set<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 create
IllegalArgumentException - if the proposition parameter is null
IllegalStateException - 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)
void updateParameter(PropositionParameter parameter)
PropositionParameter.
parameter - the proposition parameter to update
IllegalArgumentException - if the proposition parameter is null
IllegalStateException - if the proposition parameter does not exist in the systemList<PropositionParameter> getParameters(String propId)
propId - the given proposition id
PropositionParameter getParameterById(String id)
id - the given proposition id
PropositionParameter getParameterByPropIdAndSequenceNumber(String propId,
Integer sequenceNumber)
propId - the given proposition id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||