Class ActionBoServiceImpl

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

public class ActionBoServiceImpl extends Object implements ActionBoService
Implementation of the interface for accessing KRMS repository Action related business objects.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    This method retrieves an ActionAttributeBo by id
    org.kuali.rice.krms.api.repository.action.ActionDefinition
    This overridden method retrieves an Action from the repository.
    org.kuali.rice.krms.api.repository.action.ActionDefinition
    This overridden method retrieves an Action from the repository.
    org.kuali.rice.krms.api.repository.action.ActionDefinition
    This overridden method retrieves a specific Action associated with a Rule.
    List<org.kuali.rice.krms.api.repository.action.ActionDefinition>
    This overridden method retrieves a List of Actions associated with a Rule.
    void
    setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
    Sets the dataObjectService attribute value.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      createAction in interface ActionBoService
      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:
      updateAction in interface ActionBoService
      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:
      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 org.kuali.rice.krms.api.repository.action.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<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:
      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 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:
      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:
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
      Sets the dataObjectService attribute value.
      Parameters:
      dataObjectService - The dataObjectService to set.