Class ActionBoServiceImpl
java.lang.Object
org.kuali.rice.krms.impl.repository.ActionBoServiceImpl
- All Implemented Interfaces:
ActionBoService
Implementation of the interface for accessing KRMS repository Action related
business objects.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.krms.api.repository.action.ActionDefinitioncreateAction(org.kuali.rice.krms.api.repository.action.ActionDefinition action) This overridden method creates a KRMS Action in the repository.getActionAttributeById(String attrId) This method retrieves an ActionAttributeBo by idorg.kuali.rice.krms.api.repository.action.ActionDefinitiongetActionByActionId(String actionId) This overridden method retrieves an Action from the repository.org.kuali.rice.krms.api.repository.action.ActionDefinitiongetActionByNameAndNamespace(String name, String namespace) This overridden method retrieves an Action from the repository.org.kuali.rice.krms.api.repository.action.ActionDefinitiongetActionByRuleIdAndSequenceNumber(String ruleId, Integer sequenceNumber) This overridden method retrieves a specific Action associated with a Rule.List<org.kuali.rice.krms.api.repository.action.ActionDefinition>getActionsByRuleId(String ruleId) This overridden method retrieves a List of Actions associated with a Rule.voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) Sets the dataObjectService attribute value.org.kuali.rice.krms.api.repository.action.ActionDefinitionupdateAction(org.kuali.rice.krms.api.repository.action.ActionDefinition action) This overridden method updates an existing Action in the repository.
-
Constructor Details
-
ActionBoServiceImpl
public ActionBoServiceImpl()
-
-
Method Details
-
createAction
public org.kuali.rice.krms.api.repository.action.ActionDefinition createAction(org.kuali.rice.krms.api.repository.action.ActionDefinition action) This overridden method creates a KRMS Action in the repository.- Specified by:
createActionin interfaceActionBoService- Parameters:
action- The Action to create
-
updateAction
public org.kuali.rice.krms.api.repository.action.ActionDefinition updateAction(org.kuali.rice.krms.api.repository.action.ActionDefinition action) This overridden method updates an existing Action in the repository.- Specified by:
updateActionin interfaceActionBoService- Parameters:
action- The Action to update
-
getActionByActionId
public org.kuali.rice.krms.api.repository.action.ActionDefinition getActionByActionId(String actionId) This overridden method retrieves an Action from the repository.- Specified by:
getActionByActionIdin interfaceActionBoService- Parameters:
actionId- the id of the Action to retrieve- Returns:
- an
ActionDefinitionidentified by the given actionId. A null reference is returned if an invalid or non-existent id is supplied.
-
getActionByNameAndNamespace
public org.kuali.rice.krms.api.repository.action.ActionDefinition getActionByNameAndNamespace(String name, String namespace) This overridden method retrieves an Action from the repository.- Specified by:
getActionByNameAndNamespacein interfaceActionBoService- Parameters:
name- the name of the Action to retrieve.namespace- the namespace that the action is under.- Returns:
- an
ActionDefinitionidentified by the given name and namespace. A null reference is returned if an invalid or non-existent name and namespace combination is supplied.
-
getActionsByRuleId
public List<org.kuali.rice.krms.api.repository.action.ActionDefinition> getActionsByRuleId(String ruleId) This overridden method retrieves a List of Actions associated with a Rule.- Specified by:
getActionsByRuleIdin interfaceActionBoService- Parameters:
ruleId- the id of the rule- Returns:
- a list of
ActionDefinitionassociated with the given rule. A null reference is returned if an invalid or ruleId is supplied.
-
getActionByRuleIdAndSequenceNumber
public org.kuali.rice.krms.api.repository.action.ActionDefinition getActionByRuleIdAndSequenceNumber(String ruleId, Integer sequenceNumber) This overridden method retrieves a specific Action associated with a Rule.- Specified by:
getActionByRuleIdAndSequenceNumberin interfaceActionBoService- Parameters:
ruleId- the id of the rulesequenceNumber- an Integer that represents the sequence number of the action.- Returns:
- an
ActionDefinitionidentified associated with the Rule and identified by the given sequenceNumber A null reference is returned if an invalid or non-existent name and namespace combination is supplied.
-
getActionAttributeById
This method retrieves an ActionAttributeBo by id -
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) Sets the dataObjectService attribute value.- Parameters:
dataObjectService- The dataObjectService to set.
-