Interface FunctionBoService
- All Superinterfaces:
org.kuali.rice.krms.api.repository.function.FunctionRepositoryService
- All Known Implementing Classes:
FunctionBoServiceImpl
public interface FunctionBoService
extends org.kuali.rice.krms.api.repository.function.FunctionRepositoryService
This is the interface for accessing KRMS repository Function related bos
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.krms.api.repository.function.FunctionDefinitioncreateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function) This will create aFunctionDefinitionexactly like the function passed in.org.kuali.rice.krms.api.repository.function.FunctionDefinitiongetFunctionById(String functionId) Retrieves a Function from the repository based on the given function id.org.kuali.rice.krms.api.repository.function.FunctionDefinitiongetFunctionByNameAndNamespace(String name, String namespace) Retrieves a Function from the repository based on the provided function name and namespace.org.kuali.rice.krms.api.repository.function.FunctionDefinitionupdateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function) This will update an existingFunctionDefinition.Methods inherited from interface org.kuali.rice.krms.api.repository.function.FunctionRepositoryService
getFunction, getFunctions
-
Method Details
-
createFunction
org.kuali.rice.krms.api.repository.function.FunctionDefinition createFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function) This will create aFunctionDefinitionexactly like the function passed in.- Parameters:
function- The Function to create- Throws:
IllegalArgumentException- if the function is nullIllegalStateException- if the function already exists in the system
-
updateFunction
org.kuali.rice.krms.api.repository.function.FunctionDefinition updateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition function) This will update an existingFunctionDefinition.- Parameters:
function- The Function to update- Throws:
IllegalArgumentException- if the function is nullIllegalStateException- if the function does not exist in the system
-
getFunctionById
Retrieves a Function from the repository based on the given function id.- 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.
-
getFunctionByNameAndNamespace
org.kuali.rice.krms.api.repository.function.FunctionDefinition getFunctionByNameAndNamespace(String name, String namespace) Retrieves a Function from the repository based on the provided function name and namespace.- 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.
-