org.kuali.kpme.core.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, org.joda.time.LocalDate asOfDate)
          Get location as of a particular date
 int getLocationCount(String location, org.joda.time.LocalDate asOfDate)
          Get location count by location and date
 List<Location> getLocations(String location)
           
 List<Location> getNewerVersionLocation(String location, org.joda.time.LocalDate asOfDate)
           
 List<Location> searchLocations(String userPrincipalId, String location, String locationDescr, String active, String showHistory)
           
 

Method Detail

getLocation

@Cacheable(value="http://kpme.kuali.org/core/Location",
           key="\'hrLocationId=\' + #p0")
Location getLocation(String hrLocationId)
Get location by unique id

Parameters:
hrLocationId -
Returns:

getLocationCount

int getLocationCount(String location,
                     org.joda.time.LocalDate asOfDate)
Get location count by location and date

Parameters:
location -
asOfDate -
Returns:

getLocation

@Cacheable(value="http://kpme.kuali.org/core/Location",
           key="\'location=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
Location getLocation(String location,
                               org.joda.time.LocalDate asOfDate)
Get location as of a particular date

Parameters:
location -
asOfDate -
Returns:
Location

searchLocations

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

getNewerVersionLocation

List<Location> getNewerVersionLocation(String location,
                                       org.joda.time.LocalDate asOfDate)

getLocations

List<Location> getLocations(String location)


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