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 -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.krms.api.repository.function.FunctionDefinitioncreateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function) This method will create aFunctionDefinitionas described by the function passed in.org.kuali.rice.krms.api.repository.function.FunctionDefinitiongetFunction(String functionId) org.kuali.rice.krms.api.repository.function.FunctionDefinitiongetFunctionById(String functionId) This overridden method retrieves a function by the given function id.org.kuali.rice.krms.api.repository.function.FunctionDefinitiongetFunctionByNameAndNamespace(String name, String namespace) 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>getFunctionsByNamespace(String namespace) Gets all of theFunctionDefinitions within the given namespacevoidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) org.kuali.rice.krms.api.repository.function.FunctionDefinitionupdateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function) This overridden method updates an existing Function in the repository
-
Constructor Details
-
FunctionBoServiceImpl
public FunctionBoServiceImpl()
-
-
Method Details
-
getFunction
public org.kuali.rice.krms.api.repository.function.FunctionDefinition getFunction(String functionId) - Specified by:
getFunctionin interfaceorg.kuali.rice.krms.api.repository.function.FunctionRepositoryService
-
getFunctions
public List<org.kuali.rice.krms.api.repository.function.FunctionDefinition> getFunctions(List<String> functionIds) - Specified by:
getFunctionsin interfaceorg.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 aFunctionDefinitionas described by the function passed in.- Specified by:
createFunctionin interfaceFunctionBoService- 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:
updateFunctionin interfaceFunctionBoService- 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:
getFunctionByIdin interfaceFunctionBoService- Parameters:
functionId- the id of the Function to retrieve- Returns:
- a
FunctionDefinitionidentified 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:
getFunctionByNameAndNamespacein interfaceFunctionBoService- Parameters:
name- the name of the Function to retrieve.namespace- the namespace that the Function is under.- Returns:
- a
FunctionDefinitionidentified 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 theFunctionDefinitions 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)
-