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
Modifier and TypeMethodDescriptionvoiddeleteBranchStates(List statesToBeDeleted) 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.voidsetScopedVariableValue(Branch branch, String name, String value) Responsible for setting a value in the branch hierarchy/scope.
-
Method Details
-
save
-
deleteBranchStates
-
getScopedVariableValue
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
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 resolutionvalue- the value to set for the variable- Returns:
- the replaced value of the variable, if the variable was already defined, or null otherwise
-