Class FunctionBoServiceImpl

java.lang.Object
org.kuali.rice.krms.impl.repository.FunctionBoServiceImpl
All Implemented Interfaces:
org.kuali.rice.krms.api.repository.function.FunctionRepositoryService, FunctionBoService

public class FunctionBoServiceImpl extends Object implements org.kuali.rice.krms.api.repository.function.FunctionRepositoryService, FunctionBoService
Default implementation of the FunctionRepositoryService.
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.function.FunctionDefinition
    createFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function)
    This method will create a FunctionDefinition as described by the function passed in.
    org.kuali.rice.krms.api.repository.function.FunctionDefinition
    getFunction(String functionId)
     
    org.kuali.rice.krms.api.repository.function.FunctionDefinition
    getFunctionById(String functionId)
    This overridden method retrieves a function by the given function id.
    org.kuali.rice.krms.api.repository.function.FunctionDefinition
    This overridden method retrieves a function by the given name and namespace.
    List<org.kuali.rice.krms.api.repository.function.FunctionDefinition>
    getFunctions(List<String> functionIds)
     
    List<org.kuali.rice.krms.api.repository.function.FunctionDefinition>
    Gets all of the FunctionDefinitions within the given namespace
    void
    setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
     
    org.kuali.rice.krms.api.repository.function.FunctionDefinition
    updateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function)
    This overridden method updates an existing Function in the repository

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FunctionBoServiceImpl

      public FunctionBoServiceImpl()
  • Method Details

    • getFunction

      public org.kuali.rice.krms.api.repository.function.FunctionDefinition getFunction(String functionId)
      Specified by:
      getFunction in interface org.kuali.rice.krms.api.repository.function.FunctionRepositoryService
    • getFunctions

      public List<org.kuali.rice.krms.api.repository.function.FunctionDefinition> getFunctions(List<String> functionIds)
      Specified by:
      getFunctions in interface org.kuali.rice.krms.api.repository.function.FunctionRepositoryService
    • createFunction

      public org.kuali.rice.krms.api.repository.function.FunctionDefinition createFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function)
      This method will create a FunctionDefinition as described by the function passed in.
      Specified by:
      createFunction in interface FunctionBoService
      Parameters:
      function - The Function to create
      See Also:
    • updateFunction

      public org.kuali.rice.krms.api.repository.function.FunctionDefinition updateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function)
      This overridden method updates an existing Function in the repository
      Specified by:
      updateFunction in interface FunctionBoService
      Parameters:
      function - The Function to update
      See Also:
    • getFunctionById

      public org.kuali.rice.krms.api.repository.function.FunctionDefinition getFunctionById(String functionId)
      This overridden method retrieves a function by the given function id.
      Specified by:
      getFunctionById in interface FunctionBoService
      Parameters:
      functionId - the id of the Function to retrieve
      Returns:
      a FunctionDefinition identified by the given functionId. A null reference is returned if an invalid or non-existent functionId is supplied.
      See Also:
    • getFunctionByNameAndNamespace

      public org.kuali.rice.krms.api.repository.function.FunctionDefinition getFunctionByNameAndNamespace(String name, String namespace)
      This overridden method retrieves a function by the given name and namespace.
      Specified by:
      getFunctionByNameAndNamespace in interface FunctionBoService
      Parameters:
      name - the name of the Function to retrieve.
      namespace - the namespace that the Function is under.
      Returns:
      a FunctionDefinition identified by the given name and namespace. A null reference is returned if an invalid or non-existent function name and namespace combination is supplied.
      See Also:
    • getFunctionsByNamespace

      public List<org.kuali.rice.krms.api.repository.function.FunctionDefinition> getFunctionsByNamespace(String namespace)
      Gets all of the FunctionDefinitions within the given namespace
      Parameters:
      namespace - the namespace in which to get the functions
      Returns:
      the list of function definitions, or if none are found, an empty list
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)