org.kuali.hr.location.service
Interface LocationService

All Known Implementing Classes:
LocationServiceImpl

public interface LocationService


Method Summary
 Location getLocation(String hrLocationId)
          Get location by unique id
 Location getLocation(String location, Date asOfDate)
          Get location as of a particular date
 int getLocationCount(String location)
          Get location count by location
 List<Location> searchLocations(String location, String locationDescr, String active, String showHistory)
           
 

Method Detail

getLocation

@Cacheable(value="KPME/Location",
           key="\'location=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
Location getLocation(String location,
                               Date asOfDate)
Get location as of a particular date

Parameters:
location -
asOfDate -
Returns:
Location

getLocation

@Cacheable(value="KPME/Location",
           key="\'hrLocationId=\' + #p0")
Location getLocation(String hrLocationId)
Get location by unique id

Parameters:
hrLocationId -
Returns:

getLocationCount

int getLocationCount(String location)
Get location count by location

Parameters:
location -
Returns:

searchLocations

List<Location> searchLocations(String location,
                               String locationDescr,
                               String active,
                               String showHistory)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.