org.kuali.rice.kew.engine.node.service.impl
Class BranchServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.engine.node.service.impl.BranchServiceImpl
All Implemented Interfaces:
BranchService

public class BranchServiceImpl
extends Object
implements BranchService


Constructor Summary
BranchServiceImpl()
           
 
Method Summary
 void deleteBranchStates(List statesToBeDeleted)
           
 BranchDAO getBranchDAO()
           
 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)
           
 void setBranchDAO(BranchDAO branchDAO)
           
 String setScopedVariableValue(Branch branch, String name, String value)
          Responsible for setting a value in the branch hierarchy/scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BranchServiceImpl

public BranchServiceImpl()
Method Detail

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 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 © 2004-2011 The Kuali Foundation. All Rights Reserved.