|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FunctionBoService
This is the interface for accessing KRMS repository Function related bos
Method Summary | |
---|---|
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. |
void |
updateFunction(FunctionDefinition function)
This will update an existing FunctionDefinition . |
Methods inherited from interface org.kuali.rice.krms.api.repository.function.FunctionRepositoryService |
---|
getFunction, getFunctions |
Method Detail |
---|
FunctionDefinition createFunction(FunctionDefinition function)
FunctionDefinition
exactly like the function passed in.
function
- The Function to create
IllegalArgumentException
- if the function is null
IllegalStateException
- if the function already exists in the systemvoid updateFunction(FunctionDefinition function)
FunctionDefinition
.
function
- The Function to update
IllegalArgumentException
- if the function is null
IllegalStateException
- if the function does not exist in the systemFunctionDefinition getFunctionById(String functionId)
functionId
- the id of the Function to retrieve
FunctionDefinition
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |