org.kuali.rice.kew.engine.node.service
Interface BranchService

All Known Implementing Classes:
BranchServiceImpl

public interface BranchService

A service providing data access for Branch instances.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 void deleteBranchStates(List statesToBeDeleted)
           
 String getScopedVariableValue(Branch branch, String name)
          Responsible for inspecting the branch hierarchy/scope and returning a value for the variable name if it exists somewere in scope.
 void save(Branch branch)
           
 String setScopedVariableValue(Branch branch, String name, String value)
          Responsible for setting a value in the branch hierarchy/scope.
 

Method Detail

save

void save(Branch branch)

deleteBranchStates

void deleteBranchStates(List statesToBeDeleted)

getScopedVariableValue

String getScopedVariableValue(Branch branch,
                              String name)
Responsible for inspecting the branch hierarchy/scope and returning a value for the variable name if it exists somewere in scope.

Parameters:
branch - the lowermost scope to start resolution
Returns:
a value for the key if it exists somewere in scope

setScopedVariableValue

String setScopedVariableValue(Branch branch,
                              String name,
                              String value)
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.

Parameters:
branch - the lowermost scope to start resolution
value - 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-2012 The Kuali Foundation. All Rights Reserved.