public interface FunctionBoService extends FunctionRepositoryService
Modifier and Type | Method and Description |
---|---|
FunctionDefinition |
createFunction(FunctionDefinition function)
This will create a
FunctionDefinition exactly like the function passed in. |
FunctionDefinition |
getFunctionById(String functionId)
Retrieves a Function from the repository based on the given function id.
|
FunctionDefinition |
getFunctionByNameAndNamespace(String name,
String namespace)
Retrieves a Function from the repository based on the provided function name
and namespace.
|
FunctionDefinition |
updateFunction(FunctionDefinition function)
This will update an existing
FunctionDefinition . |
getFunction, getFunctions
FunctionDefinition createFunction(FunctionDefinition function)
FunctionDefinition
exactly like the function passed in.function
- The Function to createIllegalArgumentException
- if the function is nullIllegalStateException
- if the function already exists in the systemFunctionDefinition updateFunction(FunctionDefinition function)
FunctionDefinition
.function
- The Function to updateIllegalArgumentException
- if the function is nullIllegalStateException
- if the function does not exist in the systemFunctionDefinition getFunctionById(String functionId)
functionId
- the id of the Function to retrieveFunctionDefinition
identified by the given functionId.
A null reference is returned if an invalid or non-existent functionId is supplied.FunctionDefinition getFunctionByNameAndNamespace(String name, String namespace)
name
- the name of the Function to retrieve.namespace
- the namespace that the Function is under.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.Copyright © 2005–2016 The Kuali Foundation. All rights reserved.