Class AvailabilityQueryFunction

java.lang.Object
ch.tocco.nice2.optional.reservation.impl.queryfunction.AvailabilityQueryFunction
All Implemented Interfaces:
QueryFunction

@Component public class AvailabilityQueryFunction extends Object implements QueryFunction
This query function makes it possible to search for rooms/appliances which are available within a datetime range. This functionally is used by the advanced search of the availability field. The first argument is the from datetime and the second argument is the till datetime. If you want only rooms which are available all day at the 01.08.2025, you can use `find room where AVAILABILITY(datetime:"2025-08-01 00:00", datetime:"2025-08-02 00:00")` Replaces FindFreeQueryParameterHandler used by the legacy admin.