public interface DepartmentService
| Modifier and Type | Method and Description | 
|---|---|
| Department | getDepartment(String hrDeptId)Fetch department by id | 
| Department | getDepartment(String department,
                          String groupKeyCode,
                          org.joda.time.LocalDate asOfDate)Fetch department by dept, groupKeyCode and asOfDate without sub kim role member data | 
| int | getDepartmentCount(String department,
                                    String groupKeyCode)get count of department with given department | 
| List<Department> | getDepartments(org.joda.time.LocalDate asOfDate)Fetch a list of Department objects as of the specified date all of which
 match the indicated department and location. | 
| List<Department> | getDepartments(String department,
                            String location,
                            org.joda.time.LocalDate asOfDate)Fetch a list of Department objects as of the specified date all of which
 match the indicated department and location. | 
| List<Department> | getDepartmentsWithGroupKey(String groupKeyCode,
                                                    org.joda.time.LocalDate asOfDate)Fetches a list of Department objects as of the specified date all of which
 belong to the indicated location. | 
| List<Department> | getDepartmentsWithLocation(String location,
                                                    org.joda.time.LocalDate asOfDate)Fetches a list of Department objects as of the specified date all of which
 belong to the indicated location. | 
| List<String> | getDepartmentValuesWithLocation(String location,
                                                              org.joda.time.LocalDate asOfDate)Fetches a list of departments as of the specified date all of which
 belong to the indicated location. | 
| List<String> | getDepartmentValuesWithLocations(List<String> locations,
                                                                org.joda.time.LocalDate asOfDate)Fetches a list of departments as of the specified date all of which
 belong to the indicated locations. | 
@Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'hrDeptId=\' + #p0")
Department getDepartment(String hrDeptId)
hrDeptId - int getDepartmentCount(String department, String groupKeyCode)
department - groupKeyCode - @Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'{getDepartment}\' + \'department=\' + #p0 + \'|\' + \'groupKeyCode=\' + #p1 + \'|\' + \'asOfDate=\' + #p2")
Department getDepartment(String department,
                                 String groupKeyCode,
                                 org.joda.time.LocalDate asOfDate)
department - groupKeyCode - asOfDate - @Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'location=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
List<Department> getDepartmentsWithLocation(String location,
                                                    org.joda.time.LocalDate asOfDate)
location - The search criteriaasOfDate - Effective date@Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'groupKeyCode=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
List<Department> getDepartmentsWithGroupKey(String groupKeyCode,
                                                    org.joda.time.LocalDate asOfDate)
location - The search criteriaasOfDate - Effective date@Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'{getDepartmentsForLocation}\' + \'location=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
List<String> getDepartmentValuesWithLocation(String location,
                                                     org.joda.time.LocalDate asOfDate)
location - The search criteriaasOfDate - Effective date@Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'{getDepartmentsForLocations}\' + \'location=\' + T(org.kuali.rice.core.api.cache.CacheKeyUtils).key(#p0) + \'|\' + \'asOfDate=\' + #p1")
List<String> getDepartmentValuesWithLocations(List<String> locations,
                                                      org.joda.time.LocalDate asOfDate)
locations - The search criteriaasOfDate - Effective date@Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'{getDepartments}\' + \'department=\' + #p0 + \'|\' + \'location=\' + #p1 + \'|\' + \'asOfDate=\' + #p2")
List<Department> getDepartments(String department,
                                        String location,
                                        org.joda.time.LocalDate asOfDate)
department - location - asOfDate - @Cacheable(value="http://kpme.kuali.org/core/Department",
           key="\'{getDepartments}\' + \'asOfDate=\' + #p0")
List<Department> getDepartments(org.joda.time.LocalDate asOfDate)
department - location - asOfDate - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.