org.kuali.rice.kew.engine.node.service.impl
Class BranchServiceImpl
java.lang.Object
org.kuali.rice.kew.engine.node.service.impl.BranchServiceImpl
- All Implemented Interfaces:
- BranchService
public class BranchServiceImpl
- extends Object
- implements BranchService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BranchServiceImpl
public BranchServiceImpl()
save
public void save(Branch branch)
- Specified by:
save
in interface BranchService
getBranchDAO
public BranchDAO getBranchDAO()
setBranchDAO
public void setBranchDAO(BranchDAO branchDAO)
deleteBranchStates
public void deleteBranchStates(List statesToBeDeleted)
- Specified by:
deleteBranchStates
in interface BranchService
getScopedVariableValue
public String getScopedVariableValue(Branch branch,
String name)
- Description copied from interface:
BranchService
- Responsible for inspecting the branch hierarchy/scope and returning a value
for the variable name if it exists somewere in scope.
- Specified by:
getScopedVariableValue
in interface BranchService
- Parameters:
branch
- the lowermost scope to start resolution
- Returns:
- a value for the key if it exists somewere in scope
setScopedVariableValue
public String setScopedVariableValue(Branch branch,
String name,
String value)
- Description copied from interface:
BranchService
- Responsible for setting a value in the branch hierarchy/scope. If the variable name
exists in a scope, it will be updated as opposed to created in a lower scope.
- Specified by:
setScopedVariableValue
in interface BranchService
- Parameters:
branch
- the lowermost scope to start resolutionvalue
- the value to set for the variable
- Returns:
- the replaced value of the variable, if the variable was already defined, or null otherwise
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.