public interface UnitService
| Modifier and Type | Method and Description |
|---|---|
List<Unit> |
getAllSubUnits(String unitNumber)
Get the list of all of the sub-units for a given unit.
|
String |
getInitialUnitsForUnitHierarchy()
This method is to set up the initial load for unut hierarchy
|
String |
getInitialUnitsForUnitHierarchy(int depth) |
int |
getMaxUnitTreeDepth()
This method returns the tree depth of the entire unit hierarchy tree;
|
List<Unit> |
getSubUnits(String unitNumber)
Get the list of immediate sub-units for the given unit.
|
String |
getSubUnitsForTreeView(String unitNumber)
This method to get the sub units for dynamic tree view
|
Unit |
getTopUnit()
This method returns the top level unit in a hierarchy.
|
Unit |
getUnit(String unitNumber)
Get the Unit based upon its unique unit number.
|
Unit |
getUnitCaseInsensitive(String unitNumber)
This method does a case insensitive search keyed on
unitNumber, and
returns the matching unit object. |
List<Unit> |
getUnitHierarchyForUnit(String unitNumber)
This method returns the unit hierarch the passed in unit.
|
String |
getUnitName(String unitNumber)
This method returns the Unit name for a given Unit Number.
|
Collection<Unit> |
getUnits()
Get all of the Units.
|
List<UnitAdministrator> |
retrieveUnitAdministratorsByUnitNumber(String unitNumber) |
List<UnitCorrespondent> |
retrieveUnitCorrespondentsByUnitNumber(String unitNumber)
This method returns a list of UnitCorrespondent
objects based on a passed unit number.
|
Unit getUnitCaseInsensitive(String unitNumber)
unitNumber, and
returns the matching unit object. If there is no match, then null is returned.unitNumber - String getUnitName(String unitNumber)
unitNumber - identifier for the unitUnit getUnit(String unitNumber)
unitNumber - the unit's unique unit numberList<Unit> getSubUnits(String unitNumber)
unitNumber - the number of unit to find sub-units forList<Unit> getAllSubUnits(String unitNumber)
unitNumber - the number of unit to find sub-units forList<Unit> getUnitHierarchyForUnit(String unitNumber)
unitNumber - Collection<Unit> getUnits()
String getSubUnitsForTreeView(String unitNumber)
unitNumber - Unit getTopUnit()
String getInitialUnitsForUnitHierarchy()
String getInitialUnitsForUnitHierarchy(int depth)
List<UnitAdministrator> retrieveUnitAdministratorsByUnitNumber(String unitNumber)
List<UnitCorrespondent> retrieveUnitCorrespondentsByUnitNumber(String unitNumber)
unitNumber - identifier for the unitint getMaxUnitTreeDepth()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.