public class FunctionBoServiceImpl extends Object implements FunctionRepositoryService, FunctionBoService
FunctionService.| Constructor and Description | 
|---|
| FunctionBoServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| FunctionDefinition | createFunction(FunctionDefinition function)This method will create a  FunctionDefintionas described
 by the function passed in. | 
| FunctionDefinition | getFunction(String functionId)Retrieves the function for the given functionId. | 
| FunctionDefinition | getFunctionById(String functionId)This overridden method retrieves a function by the given function id. | 
| FunctionDefinition | getFunctionByNameAndNamespace(String name,
                             String namespace)This overridden method retrieves a function by the given name and namespace. | 
| List<FunctionDefinition> | getFunctions(List<String> functionIds)Retrieves all of the functions for the given list of functionIds. | 
| void | setBusinessObjectService(BusinessObjectService businessObjectService) | 
| void | updateFunction(FunctionDefinition function)This overridden method updates an existing Function in the repository | 
public FunctionBoServiceImpl()
public FunctionDefinition getFunction(String functionId)
FunctionRepositoryServicegetFunction in interface FunctionRepositoryServicefunctionId - the id of the function to retrievepublic List<FunctionDefinition> getFunctions(List<String> functionIds)
FunctionRepositoryServiceThe list which is returned from this operation may not be the same size as the list which is passed to this method. If a function doesn't exist for a given function id then no result for that id will be returned in the list. As a result of this, the returned list can be empty, but it will never be null.
getFunctions in interface FunctionRepositoryServicefunctionIds - the list of function ids for which to retrieve the functionspublic FunctionDefinition createFunction(FunctionDefinition function)
FunctionDefintion as described
 by the function passed in.createFunction in interface FunctionBoServicefunction - The Function to createFunctionBoService.createFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition)public void updateFunction(FunctionDefinition function)
updateFunction in interface FunctionBoServicefunction - The Function to updateFunctionBoService.updateFunction(org.kuali.rice.krms.api.repository.function.FunctionDefinition)public FunctionDefinition getFunctionById(String functionId)
getFunctionById in interface FunctionBoServicefunctionId - 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.FunctionBoService.getFunctionById(java.lang.String)public FunctionDefinition getFunctionByNameAndNamespace(String name, String namespace)
getFunctionByNameAndNamespace in interface FunctionBoServicename - 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.FunctionBoService.getFunctionByNameAndNamespace(java.lang.String, java.lang.String)public void setBusinessObjectService(BusinessObjectService businessObjectService)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.