org.kuali.rice.krms.impl.repository
Class ActionBoServiceImpl

java.lang.Object
  extended by org.kuali.rice.krms.impl.repository.ActionBoServiceImpl
All Implemented Interfaces:
ActionBoService

public final class ActionBoServiceImpl
extends Object
implements ActionBoService


Constructor Summary
ActionBoServiceImpl()
           
 
Method Summary
 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 setBusinessObjectService(BusinessObjectService businessObjectService)
          Sets the businessObjectService attribute value.
 void updateAction(ActionDefinition action)
          This overridden method updates an existing Action in the repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionBoServiceImpl

public ActionBoServiceImpl()
Method Detail

createAction

public ActionDefinition createAction(ActionDefinition action)
This overridden method creates a KRMS Action in the repository.

Specified by:
createAction in interface ActionBoService
Parameters:
action - The Action to create

updateAction

public void updateAction(ActionDefinition action)
This overridden method updates an existing Action in the repository.

Specified by:
updateAction in interface ActionBoService
Parameters:
action - The Action to update

getActionByActionId

public ActionDefinition getActionByActionId(String actionId)
This overridden method retrieves an Action from the repository.

Specified by:
getActionByActionId in interface ActionBoService
Parameters:
actionId - the id of the Action to retrieve
Returns:
an ActionDefinition identified by the given actionId. A null reference is returned if an invalid or non-existent id is supplied.

getActionByNameAndNamespace

public ActionDefinition getActionByNameAndNamespace(String name,
                                                    String namespace)
This overridden method retrieves an Action from the repository.

Specified by:
getActionByNameAndNamespace in interface ActionBoService
Parameters:
name - the name of the Action to retrieve.
namespace - the namespace that the action is under.
Returns:
an 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.

getActionsByRuleId

public List<ActionDefinition> getActionsByRuleId(String ruleId)
This overridden method retrieves a List of Actions associated with a Rule.

Specified by:
getActionsByRuleId in interface ActionBoService
Parameters:
ruleId - the id of the rule
Returns:
a list of ActionDefinition associated with the given rule. A null reference is returned if an invalid or ruleId is supplied.

getActionByRuleIdAndSequenceNumber

public ActionDefinition getActionByRuleIdAndSequenceNumber(String ruleId,
                                                           Integer sequenceNumber)
This overridden method retrieves a specific Action associated with a Rule.

Specified by:
getActionByRuleIdAndSequenceNumber in interface ActionBoService
Parameters:
ruleId - the id of the rule
sequenceNumber - an Integer that represents the sequence number of the action.
Returns:
an 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.

getActionAttributeById

public ActionAttributeBo getActionAttributeById(String attrId)
This method retrieves an ActionAttributeBo by id

See Also:
ActionBoService.getActionsByRuleId(java.lang.String)

setBusinessObjectService

public void setBusinessObjectService(BusinessObjectService businessObjectService)
Sets the businessObjectService attribute value.

Parameters:
businessObjectService - The businessObjectService to set.


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.