public interface OrgUnitDao<T extends OrgUnitModel> extends PagedGenericDao<T>
OrgUnitModel related paged data access.| Modifier and Type | Method and Description |
|---|---|
<U extends OrgUnitModel> |
findAllUnits(java.util.List<U> units,
PageableData pageableData)
Find all units in the branches.
|
<U extends PrincipalModel> |
findMembersOfType(java.lang.Class<U> memberType,
PageableData pageableData,
java.lang.String... orgUnitUids)
Find all units members of a given type.
|
<U extends PrincipalModel> |
findMembersOfType(OrgUnitModel unit,
java.lang.Class<U> memberType,
PageableData pageableData)
Find all unit members of a given type.
|
SearchPageData<QuoteModel> |
findQuotesForEmployee(EmployeeModel employee,
java.util.Set<QuoteState> states,
PageableData pageableData)
Returns all
QuoteModel instances associated with at least one of the given employee's units. |
<U extends OrgUnitModel> |
findRootUnits(java.lang.Class<U> type,
PageableData pageableData)
Find all root units of the given type, i.e.
|
find, find, find, find<U extends OrgUnitModel> java.util.List<U> findRootUnits(java.lang.Class<U> type, PageableData pageableData)
type - the type to find root units forpageableData - paging information<U extends PrincipalModel> SearchPageData<U> findMembersOfType(OrgUnitModel unit, java.lang.Class<U> memberType, PageableData pageableData)
unit - the unit to find all members formemberType - the model type of the members to findpageableData - paging information<U extends PrincipalModel> SearchPageData<U> findMembersOfType(java.lang.Class<U> memberType, PageableData pageableData, java.lang.String... orgUnitUids)
U - the generic typememberType - the model type of the members to findpageableData - paging informationorgUnitUids - the orgUnit uids to find all members forSearchPageData the search page dataSearchPageData<QuoteModel> findQuotesForEmployee(EmployeeModel employee, java.util.Set<QuoteState> states, PageableData pageableData)
QuoteModel instances associated with at least one of the given employee's units.employee - an employee who is a member of an organizational unitpageableData - paging informationSearchPageData containing the paged search result<U extends OrgUnitModel> SearchPageData<U> findAllUnits(java.util.List<U> units, PageableData pageableData)
U - the generic typeunits - the start point units to find their branches unitspageableData - paging informationSearchPageData the search page dataCopyright © 2018 SAP SE. All Rights Reserved.