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
 

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:


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