org.kuali.kpme.core.location.service
Class LocationServiceImpl

java.lang.Object
  extended by org.kuali.kpme.core.location.service.LocationServiceImpl
All Implemented Interfaces:
LocationService

public class LocationServiceImpl
extends Object
implements LocationService


Constructor Summary
LocationServiceImpl()
           
 
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
 LocationDao getLocationDao()
           
 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)
           
 void setLocationDao(LocationDao locationDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationServiceImpl

public LocationServiceImpl()
Method Detail

getLocationDao

public LocationDao getLocationDao()

setLocationDao

public void setLocationDao(LocationDao locationDao)

getLocation

public Location getLocation(String hrLocationId)
Description copied from interface: LocationService
Get location by unique id

Specified by:
getLocation in interface LocationService
Returns:

getLocationCount

public int getLocationCount(String location,
                            org.joda.time.LocalDate asOfDate)
Description copied from interface: LocationService
Get location count by location and date

Specified by:
getLocationCount in interface LocationService
Returns:

getLocation

public Location getLocation(String location,
                            org.joda.time.LocalDate asOfDate)
Description copied from interface: LocationService
Get location as of a particular date

Specified by:
getLocation in interface LocationService
Returns:
Location

getLocations

public List<Location> getLocations(String location)
Specified by:
getLocations in interface LocationService

searchLocations

public List<Location> searchLocations(String userPrincipalId,
                                      String location,
                                      String locationDescr,
                                      String active,
                                      String showHistory)
Specified by:
searchLocations in interface LocationService

getNewerVersionLocation

public List<Location> getNewerVersionLocation(String location,
                                              org.joda.time.LocalDate asOfDate)
Specified by:
getNewerVersionLocation in interface LocationService


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