Skip to content

Commit

Permalink
KRACOEUS-8012 Non-employees are appearing as PD/PI on S2S forms
Browse files Browse the repository at this point in the history
  • Loading branch information
mrudulpolus committed Nov 20, 2014
1 parent fbc8038 commit 6f72af0
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.kuali.coeus.common.api.unit;

import java.util.List;

public interface UnitRepositoryService {

/**
Expand All @@ -15,4 +17,15 @@ public interface UnitRepositoryService {
* @return the unit or null if not found.
*/
UnitContract findTopUnit();

/**
* Finds the hierarchy for unit,including all the parent units and the unit itself.
* If no matching Units are found an empty list is returned.
* The unit number cannot be blank.
*
* @param unitNumber the unit number. cannot be blank.
* @return a list of Units or an empty list if not found.
* @throws java.lang.IllegalArgumentException if the unitNumber is blank
*/
List<UnitContract> getUnitHierarchyForUnit(String unitNumber);
}

0 comments on commit 6f72af0

Please sign in to comment.