public class KSRuleManagementServiceImpl extends RuleRepositoryServiceImpl implements RuleManagementService
RuleManagementService
operations facilitate management of rules and
associated information.businessObjectService
Constructor and Description |
---|
KSRuleManagementServiceImpl() |
getAgendaTree, getAgendaTrees, getBusinessObjectService, getCriteriaLookupService, getRule, getRules, selectContext, setCriteriaLookupService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAgendaTree, getAgendaTrees, getRule, getRules, selectContext
public KSRuleManagementServiceImpl()
public ReferenceObjectBindingBoService getReferenceObjectBindingBoService()
ReferenceObjectBindingBoService
ReferenceObjectBindingBoService
public void setReferenceObjectBindingBoService(ReferenceObjectBindingBoService referenceObjectBindingBoService)
ReferenceObjectBindingBoService
referenceObjectBindingBoService
- the ReferenceObjectBindingBoService
to setpublic AgendaBoService getAgendaBoService()
AgendaBoService
AgendaBoService
public void setAgendaBoService(AgendaBoService agendaBoService)
AgendaBoService
agendaBoService
- the AgendaBoService
to setpublic RuleBoService getRuleBoService()
RuleBoService
RuleBoService
public void setRuleBoService(RuleBoService ruleBoService)
RuleBoService
ruleBoService
- the RuleBoService
to setpublic PropositionBoService getPropositionBoService()
PropositionBoService
PropositionBoService
public void setPropositionBoService(PropositionBoService propositionBoService)
PropositionBoService
propositionBoService
- the PropositionBoService
to setpublic NaturalLanguageUsageBoService getNaturalLanguageUsageBoService()
NaturalLanguageUsageBoService
NaturalLanguageUsageBoService
public void setNaturalLanguageUsageBoService(NaturalLanguageUsageBoService naturalLanguageUsageBoService)
NaturalLanguageUsageBoService
naturalLanguageUsageBoService
- the NaturalLanguageUsageBoService
to setpublic NaturalLanguageTemplateBoService getNaturalLanguageTemplateBoService()
NaturalLanguageTemplateBoService
NaturalLanguageTemplateBoService
public void setNaturalLanguageTemplateBoService(NaturalLanguageTemplateBoService naturalLanguageTemplateBoService)
NaturalLanguageTemplateBoService
naturalLanguageTemplateBoService
- the NaturalLanguageTemplateBoService
to setpublic ContextBoService getContextBoService()
ContextBoService
ContextBoService
public void setContextBoService(ContextBoService contextBoService)
ContextBoService
contextBoService
- the ContextBoService
to setpublic ActionBoService getActionBoService()
ActionBoService
ActionBoService
public void setActionBoService(ActionBoService actionBoService)
ActionBoService
actionBoService
- the ActionBoService
to setpublic NaturalLanguageTemplaterContract getTemplater()
NaturalLanguageTemplaterContract
NaturalLanguageTemplaterContract
public void setTemplater(NaturalLanguageTemplaterContract templater)
NaturalLanguageTemplaterContract
templater
- the NaturalLanguageTemplaterContract
to setpublic TermRepositoryService getTermRepositoryService()
TermRepositoryService
TermRepositoryService
public void setTermRepositoryService(TermRepositoryService termRepositoryService)
TermRepositoryService
termRepositoryService
- the TermRepositoryService
to setpublic SequenceAccessorService getSequenceAccessorService()
SequenceAccessorService
SequenceAccessorService
public void setSequenceAccessorService(SequenceAccessorService sequenceAccessorService)
SequenceAccessorService
sequenceAccessorService
- the SequenceAccessorService
to setpublic TranslateBusinessMethods getTranslateBusinessMethods()
TranslateBusinessMethods
TranslateBusinessMethods
public void setTranslationBusinessMethods(TranslateBusinessMethods translationBusinessMethods)
TranslateBusinessMethods
translationBusinessMethods
- the TranslateBusinessMethods
to setpublic ReferenceObjectBinding createReferenceObjectBinding(ReferenceObjectBinding referenceObjectDefinition) throws RiceIllegalArgumentException
createReferenceObjectBinding
in interface RuleManagementService
RiceIllegalArgumentException
public ReferenceObjectBinding getReferenceObjectBinding(String id) throws RiceIllegalArgumentException
getReferenceObjectBinding
in interface RuleManagementService
RiceIllegalArgumentException
public List<ReferenceObjectBinding> getReferenceObjectBindings(List<String> ids) throws RiceIllegalArgumentException
getReferenceObjectBindings
in interface RuleManagementService
RiceIllegalArgumentException
public List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceObject(String referenceObjectReferenceDiscriminatorType, String referenceObjectId) throws RiceIllegalArgumentException
findReferenceObjectBindingsByReferenceObject
in interface RuleManagementService
RiceIllegalArgumentException
public List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceDiscriminatorType(String referenceObjectReferenceDiscriminatorType) throws RiceIllegalArgumentException
findReferenceObjectBindingsByReferenceDiscriminatorType
in interface RuleManagementService
RiceIllegalArgumentException
public List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsDiscriminatorType(String referenceObjectKrmsDiscriminatorType) throws RiceIllegalArgumentException
findReferenceObjectBindingsByKrmsDiscriminatorType
in interface RuleManagementService
RiceIllegalArgumentException
public List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsObject(String krmsObjectId) throws RiceIllegalArgumentException
findReferenceObjectBindingsByKrmsObject
in interface RuleManagementService
RiceIllegalArgumentException
public void updateReferenceObjectBinding(ReferenceObjectBinding referenceObjectBindingDefinition) throws RiceIllegalArgumentException
updateReferenceObjectBinding
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteReferenceObjectBinding(String id) throws RiceIllegalArgumentException
deleteReferenceObjectBinding
in interface RuleManagementService
RiceIllegalArgumentException
public List<String> findReferenceObjectBindingIds(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
findReferenceObjectBindingIds
in interface RuleManagementService
RiceIllegalArgumentException
public AgendaDefinition createAgenda(AgendaDefinition agendaDefinition) throws RiceIllegalArgumentException
createAgenda
in interface RuleManagementService
RiceIllegalArgumentException
public AgendaDefinition getAgendaByNameAndContextId(String name, String contextId)
getAgendaByNameAndContextId
in interface RuleManagementService
public AgendaDefinition findCreateAgenda(AgendaDefinition agendaDefinition) throws RiceIllegalArgumentException
findCreateAgenda
in interface RuleManagementService
RiceIllegalArgumentException
public AgendaDefinition getAgenda(String id) throws RiceIllegalArgumentException
getAgenda
in interface RuleManagementService
RiceIllegalArgumentException
public List<AgendaDefinition> getAgendasByContext(String contextId) throws RiceIllegalArgumentException
getAgendasByContext
in interface RuleManagementService
RiceIllegalArgumentException
public void updateAgenda(AgendaDefinition agendaDefinition) throws RiceIllegalArgumentException
updateAgenda
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteAgenda(String id) throws RiceIllegalArgumentException
deleteAgenda
in interface RuleManagementService
RiceIllegalArgumentException
public List<AgendaDefinition> getAgendasByType(String typeId) throws RiceIllegalArgumentException
getAgendasByType
in interface RuleManagementService
RiceIllegalArgumentException
public List<AgendaDefinition> getAgendasByTypeAndContext(String typeId, String contextId) throws RiceIllegalArgumentException
getAgendasByTypeAndContext
in interface RuleManagementService
RiceIllegalArgumentException
public AgendaItemDefinition createAgendaItem(AgendaItemDefinition agendaItemDefinition) throws RiceIllegalArgumentException
createAgendaItem
in interface RuleManagementService
RiceIllegalArgumentException
public AgendaItemDefinition getAgendaItem(String id) throws RiceIllegalArgumentException
getAgendaItem
in interface RuleManagementService
RiceIllegalArgumentException
public List<AgendaItemDefinition> getAgendaItemsByType(String typeId) throws RiceIllegalArgumentException
getAgendaItemsByType
in interface RuleManagementService
RiceIllegalArgumentException
public List<AgendaItemDefinition> getAgendaItemsByContext(String contextId) throws RiceIllegalArgumentException
getAgendaItemsByContext
in interface RuleManagementService
RiceIllegalArgumentException
public List<AgendaItemDefinition> getAgendaItemsByTypeAndContext(String typeId, String contextId) throws RiceIllegalArgumentException
getAgendaItemsByTypeAndContext
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteAgendaItem(String id) throws RiceIllegalArgumentException
deleteAgendaItem
in interface RuleManagementService
RiceIllegalArgumentException
public void updateAgendaItem(AgendaItemDefinition agendaItemDefinition) throws RiceIllegalArgumentException
updateAgendaItem
in interface RuleManagementService
RiceIllegalArgumentException
public RuleDefinition getRuleByNameAndNamespace(String name, String namespace)
getRuleByNameAndNamespace
in interface RuleManagementService
public RuleDefinition createRule(RuleDefinition ruleDefinition) throws RiceIllegalArgumentException
createRule
in interface RuleManagementService
RiceIllegalArgumentException
public void updateRule(RuleDefinition ruleDefinition) throws RiceIllegalArgumentException
updateRule
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteRule(String id) throws RiceIllegalArgumentException
deleteRule
in interface RuleManagementService
RiceIllegalArgumentException
public ActionDefinition createAction(ActionDefinition actionDefinition) throws RiceIllegalArgumentException
createAction
in interface RuleManagementService
RiceIllegalArgumentException
public void updateAction(ActionDefinition actionDefinition) throws RiceIllegalArgumentException
updateAction
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteAction(String id) throws RiceIllegalArgumentException
deleteAction
in interface RuleManagementService
RiceIllegalArgumentException
public ActionDefinition getAction(String actionId)
getAction
in interface RuleManagementService
public List<ActionDefinition> getActions(List<String> actionIds)
getActions
in interface RuleManagementService
public PropositionDefinition createProposition(PropositionDefinition propositionDefinition) throws RiceIllegalArgumentException
createProposition
in interface RuleManagementService
RiceIllegalArgumentException
public PropositionDefinition getProposition(String id) throws RiceIllegalArgumentException
getProposition
in interface RuleManagementService
RiceIllegalArgumentException
public Set<PropositionDefinition> getPropositionsByType(String typeId) throws RiceIllegalArgumentException
getPropositionsByType
in interface RuleManagementService
RiceIllegalArgumentException
public Set<PropositionDefinition> getPropositionsByRule(String ruleId) throws RiceIllegalArgumentException
getPropositionsByRule
in interface RuleManagementService
RiceIllegalArgumentException
public void updateProposition(PropositionDefinition propositionDefinition) throws RiceIllegalArgumentException
updateProposition
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteProposition(String id) throws RiceIllegalArgumentException
deleteProposition
in interface RuleManagementService
RiceIllegalArgumentException
public NaturalLanguageUsage createNaturalLanguageUsage(NaturalLanguageUsage naturalLanguageUsage) throws RiceIllegalArgumentException
createNaturalLanguageUsage
in interface RuleManagementService
RiceIllegalArgumentException
public NaturalLanguageUsage getNaturalLanguageUsage(String id) throws RiceIllegalArgumentException
getNaturalLanguageUsage
in interface RuleManagementService
RiceIllegalArgumentException
public void updateNaturalLanguageUsage(NaturalLanguageUsage naturalLanguageUsage) throws RiceIllegalArgumentException
updateNaturalLanguageUsage
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteNaturalLanguageUsage(String naturalLanguageUsageId) throws RiceIllegalArgumentException
deleteNaturalLanguageUsage
in interface RuleManagementService
RiceIllegalArgumentException
public List<NaturalLanguageUsage> getNaturalLanguageUsagesByNamespace(String namespace) throws RiceIllegalArgumentException
getNaturalLanguageUsagesByNamespace
in interface RuleManagementService
RiceIllegalArgumentException
public NaturalLanguageUsage getNaturalLanguageUsageByNameAndNamespace(String name, String namespace) throws RiceIllegalArgumentException
getNaturalLanguageUsageByNameAndNamespace
in interface RuleManagementService
RiceIllegalArgumentException
public String translateNaturalLanguageForObject(String naturalLanguageUsageId, String typeId, String krmsObjectId, String languageCode) throws RiceIllegalArgumentException
translateNaturalLanguageForObject
in interface RuleManagementService
translateNaturalLanguageForObject
in interface TranslateBusinessMethods
RiceIllegalArgumentException
public String translateNaturalLanguageForProposition(String naturalLanguageUsageId, PropositionDefinition proposition, String languageCode) throws RiceIllegalArgumentException
translateNaturalLanguageForProposition
in interface RuleManagementService
translateNaturalLanguageForProposition
in interface TranslateBusinessMethods
RiceIllegalArgumentException
public NaturalLanguageTree translateNaturalLanguageTreeForProposition(String naturalLanguageUsageId, PropositionDefinition propositionDefinintion, String languageCode) throws RiceIllegalArgumentException
translateNaturalLanguageTreeForProposition
in interface RuleManagementService
translateNaturalLanguageTreeForProposition
in interface TranslateBusinessMethods
RiceIllegalArgumentException
public ContextDefinition createContext(ContextDefinition contextDefinition) throws RiceIllegalArgumentException
createContext
in interface RuleManagementService
RiceIllegalArgumentException
public ContextDefinition findCreateContext(ContextDefinition contextDefinition) throws RiceIllegalArgumentException
findCreateContext
in interface RuleManagementService
RiceIllegalArgumentException
public void updateContext(ContextDefinition contextDefinition) throws RiceIllegalArgumentException
updateContext
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteContext(String id) throws RiceIllegalArgumentException
deleteContext
in interface RuleManagementService
RiceIllegalArgumentException
public ContextDefinition getContext(String id) throws RiceIllegalArgumentException
getContext
in interface RuleManagementService
RiceIllegalArgumentException
public ContextDefinition getContextByNameAndNamespace(String name, String namespace) throws RiceIllegalArgumentException
getContextByNameAndNamespace
in interface RuleManagementService
RiceIllegalArgumentException
public NaturalLanguageTemplate createNaturalLanguageTemplate(NaturalLanguageTemplate naturalLanguageTemplate) throws RiceIllegalArgumentException
createNaturalLanguageTemplate
in interface RuleManagementService
RiceIllegalArgumentException
public NaturalLanguageTemplate getNaturalLanguageTemplate(String naturalLanguageTemplateId) throws RiceIllegalArgumentException
getNaturalLanguageTemplate
in interface RuleManagementService
RiceIllegalArgumentException
public void updateNaturalLanguageTemplate(NaturalLanguageTemplate naturalLanguageTemplate) throws RiceIllegalArgumentException
updateNaturalLanguageTemplate
in interface RuleManagementService
RiceIllegalArgumentException
public void deleteNaturalLanguageTemplate(String naturalLanguageTemplateId) throws RiceIllegalArgumentException
deleteNaturalLanguageTemplate
in interface RuleManagementService
RiceIllegalArgumentException
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByLanguageCode(String languageCode) throws RiceIllegalArgumentException
findNaturalLanguageTemplatesByLanguageCode
in interface RuleManagementService
RiceIllegalArgumentException
public NaturalLanguageTemplate findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId(String languageCode, String typeId, String naturalLanguageUsageId) throws RiceIllegalArgumentException
findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId
in interface RuleManagementService
RiceIllegalArgumentException
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByNaturalLanguageUsage(String naturalLanguageUsageId) throws RiceIllegalArgumentException
findNaturalLanguageTemplatesByNaturalLanguageUsage
in interface RuleManagementService
RiceIllegalArgumentException
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByType(String typeId) throws RiceIllegalArgumentException
findNaturalLanguageTemplatesByType
in interface RuleManagementService
RiceIllegalArgumentException
public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByTemplate(String template) throws RiceIllegalArgumentException
findNaturalLanguageTemplatesByTemplate
in interface RuleManagementService
RiceIllegalArgumentException
public List<String> findContextIds(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
findContextIds
in interface RuleManagementService
RiceIllegalArgumentException
public List<String> findAgendaIds(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
findAgendaIds
in interface RuleManagementService
RiceIllegalArgumentException
public List<String> findRuleIds(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
findRuleIds
in interface RuleManagementService
RiceIllegalArgumentException
public List<String> findPropositionIds(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
findPropositionIds
in interface RuleManagementService
RiceIllegalArgumentException
public List<String> findActionIds(QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException
findActionIds
in interface RuleManagementService
RiceIllegalArgumentException
public void setBusinessObjectService(BusinessObjectService businessObjectService)
setBusinessObjectService
in class RuleRepositoryServiceImpl
businessObjectService
- The businessObjectService to set.Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.