public final class ActionBoServiceImpl extends Object implements ActionBoService
Constructor and Description |
---|
ActionBoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
ActionDefinition |
createAction(ActionDefinition action)
This overridden method creates a KRMS Action in the repository.
|
ActionAttributeBo |
getActionAttributeById(String attrId)
This method retrieves an ActionAttributeBo by id
|
ActionDefinition |
getActionByActionId(String actionId)
This overridden method retrieves an Action from the repository.
|
ActionDefinition |
getActionByNameAndNamespace(String name,
String namespace)
This overridden method retrieves an Action from the repository.
|
ActionDefinition |
getActionByRuleIdAndSequenceNumber(String ruleId,
Integer sequenceNumber)
This overridden method retrieves a specific Action associated with a Rule.
|
List<ActionDefinition> |
getActionsByRuleId(String ruleId)
This overridden method retrieves a List of Actions associated with a Rule.
|
void |
setDataObjectService(DataObjectService dataObjectService)
Sets the dataObjectService attribute value.
|
void |
updateAction(ActionDefinition action)
This overridden method updates an existing Action in the repository.
|
public ActionBoServiceImpl()
public ActionDefinition createAction(ActionDefinition action)
createAction
in interface ActionBoService
action
- The Action to createpublic void updateAction(ActionDefinition action)
updateAction
in interface ActionBoService
action
- The Action to updatepublic ActionDefinition getActionByActionId(String actionId)
getActionByActionId
in interface ActionBoService
actionId
- the id of the Action to retrieveActionDefinition
identified by the given actionId.
A null reference is returned if an invalid or non-existent id is supplied.public ActionDefinition getActionByNameAndNamespace(String name, String namespace)
getActionByNameAndNamespace
in interface ActionBoService
name
- the name of the Action to retrieve.namespace
- the namespace that the action is under.ActionDefinition
identified by the given name and namespace.
A null reference is returned if an invalid or non-existent name and
namespace combination is supplied.public List<ActionDefinition> getActionsByRuleId(String ruleId)
getActionsByRuleId
in interface ActionBoService
ruleId
- the id of the ruleActionDefinition
associated with the given rule.
A null reference is returned if an invalid or ruleId is supplied.public ActionDefinition getActionByRuleIdAndSequenceNumber(String ruleId, Integer sequenceNumber)
getActionByRuleIdAndSequenceNumber
in interface ActionBoService
ruleId
- the id of the rulesequenceNumber
- an Integer that represents the sequence number of the action.ActionDefinition
identified 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.public ActionAttributeBo getActionAttributeById(String attrId)
public void setDataObjectService(DataObjectService dataObjectService)
dataObjectService
- The dataObjectService to set.Copyright © 2005–2014 The Kuali Foundation. All rights reserved.