@AccessLevel(value=EXTERNAL) public interface ReservationDAO extends curam.util.persistence.StandardDAO<Reservation>
Modifier and Type | Method and Description |
---|---|
java.util.List<Reservation> |
listReservationByProviderOfferingAndStatus(ProviderOffering providerOffering,
curam.codetable.impl.RESERVATIONSTATUSEntry status)
List of active reservations for providerOffering.
|
java.util.List<Reservation> |
readByCompartmentIDAndStatus(Compartment compartment,
curam.codetable.impl.RESERVATIONSTATUSEntry status)
Searches latest Reservation of given status for the places within a
compartment.
|
java.util.List<Reservation> |
searchByProviderOfferingStartDateRangeAndStatus(ProviderOffering providerOffering,
curam.util.type.Date startDate,
curam.util.type.Date endDate,
curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus)
Deprecated.
Since Curam 6.0 SP1, replaced with
searchByProviderOfferingStartDateRangeAndStatus(ProviderOffering, DateTime, DateTime, RESERVATIONSTATUSEntry)
. This method is comparing reservation start date time with
date range instead of date time range. Hence this method is
deprecated. The newly added method will compare reservation
start date time with date time range. See release note:
CR00260608. |
java.util.List<Reservation> |
searchByProviderOfferingStartDateRangeAndStatus(ProviderOffering providerOffering,
curam.util.type.DateTime startDateTime,
curam.util.type.DateTime endDateTime,
curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus)
Searches all reservations with given provider offering which are starting
within a given date range for a given status.
|
java.util.List<Reservation> |
searchByReservationStatusProviderAndClient(curam.codetable.impl.RESERVATIONSTATUSEntry status,
curam.core.struct.ConcernRoleID concernRoleID,
curam.participant.impl.ConcernRole concernRole)
Searches for Reservations based on reservation Status or Client.
|
java.util.List<Reservation> |
searchByReservationStatusProviderAndClient(curam.codetable.impl.RESERVATIONSTATUSEntry status,
java.lang.String name,
curam.participant.impl.ConcernRole concernRole)
Searches for all the reservations that matches the input search criteria.
|
java.util.List<Reservation> |
searchByStartDateRangeAndStatus(curam.util.type.Date startDate,
curam.util.type.Date endDate,
curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus)
Deprecated.
Since Curam 6.0 SP1, replaced with
searchByStartDateRangeAndStatus(DateTime, DateTime, RESERVATIONSTATUSEntry)
. This method is comparing reservation start date time with
date range instead of date time range. Hence this method is
deprecated. The newly added method will compare reservation
start date time with date time range. See release note:
CR00260608. |
java.util.List<Reservation> |
searchByStartDateRangeAndStatus(curam.util.type.DateTime startDateTime,
curam.util.type.DateTime endDateTime,
curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus)
Searches all reservations which are starting within a given date range for
a given status.
|
java.util.List<Reservation> |
searchOverlappingActiveReservationsForPlace(Place place,
curam.util.type.DateTimeRange dateTimeRange)
Searches for active reservations for the place overlapping with the
specified period.
|
java.util.List<Reservation> |
searchOverlappingReservationsForClient(curam.participant.impl.ConcernRole concernRole,
curam.util.type.DateTimeRange dateTimeRange)
Searches for overlapping reservations for the client within the specified
period.
|
java.util.List<Reservation> |
searchOverlappingReservationsForClient(Reservation reservation,
curam.util.type.DateTimeRange dateTimeRange)
Searches for overlapping reservations for the client within the specified
period.
|
java.util.List<Reservation> |
searchReservationByCaseParticipantRole(curam.participant.impl.ConcernRole concernRole)
Searches for Reservations based on CaseParticipantRole.
|
java.util.List<Reservation> |
searchReservationByClient(curam.codetable.impl.RESERVATIONSTATUSEntry status,
curam.util.type.DateTimeRange reservationSateTimeRange,
curam.participant.impl.ConcernRole concernRole)
Searches for all the active reservation related to the client.
|
java.util.List<Reservation> |
searchReservationByPlace(Place place)
Searches all the Reservations for a Place.
|
java.util.List<Reservation> |
searchReservationByPlaceAndDateTime(Place place,
curam.util.type.DateTime dateTime)
Searches active Reservations for a Place within given date time range.
|
java.util.List<Reservation> |
searchReservationByStatus(curam.codetable.impl.RESERVATIONSTATUSEntry status)
Searches for all the reservations that matches the input search criteria.
|
java.util.List<Reservation> |
serchReservationByClient(curam.codetable.impl.RESERVATIONSTATUSEntry status,
curam.util.type.DateTimeRange reservationSateTimeRange,
curam.participant.impl.ConcernRole concernRole)
Searches for all the active reservation related to the client.
|
java.util.List<Reservation> serchReservationByClient(curam.codetable.impl.RESERVATIONSTATUSEntry status, curam.util.type.DateTimeRange reservationSateTimeRange, curam.participant.impl.ConcernRole concernRole)
status
- Status of the reservation.reservationSateTimeRange
- Reservation period.concernRole
- Contains instance of concernRole.java.util.List<Reservation> searchByReservationStatusProviderAndClient(curam.codetable.impl.RESERVATIONSTATUSEntry status, java.lang.String name, curam.participant.impl.ConcernRole concernRole)
status
- Status of the reservation.name
- Name of the client.concernRole
- Contains the instance of ConcernRole.java.util.List<Reservation> searchReservationByPlaceAndDateTime(Place place, curam.util.type.DateTime dateTime)
place
- Contains Place.dateTime
- The date time within which the Reservations are to be searched.java.util.List<Reservation> searchReservationByPlace(Place place)
place
- Contains Place.java.util.List<Reservation> listReservationByProviderOfferingAndStatus(ProviderOffering providerOffering, curam.codetable.impl.RESERVATIONSTATUSEntry status)
providerOffering
- -
provider offering.status
- -
contains reservation statusjava.util.List<Reservation> searchReservationByCaseParticipantRole(curam.participant.impl.ConcernRole concernRole)
concernRole
- Contains the instance of ConcernRole.java.util.List<Reservation> searchReservationByStatus(curam.codetable.impl.RESERVATIONSTATUSEntry status)
status
- Status of the reservation.java.util.List<Reservation> readByCompartmentIDAndStatus(Compartment compartment, curam.codetable.impl.RESERVATIONSTATUSEntry status)
compartment
- contains instance of Compartment.status
- reservation statusjava.util.List<Reservation> searchOverlappingReservationsForClient(curam.participant.impl.ConcernRole concernRole, curam.util.type.DateTimeRange dateTimeRange)
concernRole
- Contains instance of Concern role.dateTimeRange
- Placement date range.java.util.List<Reservation> searchOverlappingReservationsForClient(Reservation reservation, curam.util.type.DateTimeRange dateTimeRange)
reservation
- Contains the reservation details.dateTimeRange
- Placement date range.java.util.List<Reservation> searchReservationByClient(curam.codetable.impl.RESERVATIONSTATUSEntry status, curam.util.type.DateTimeRange reservationSateTimeRange, curam.participant.impl.ConcernRole concernRole)
status
- Status of the reservation.reservationSateTimeRange
- Reservation period.concernRole
- Contains instance of concernRole.java.util.List<Reservation> searchOverlappingActiveReservationsForPlace(Place place, curam.util.type.DateTimeRange dateTimeRange)
place
- Contains the place details.dateTimeRange
- Placement date range.java.util.List<Reservation> searchByReservationStatusProviderAndClient(curam.codetable.impl.RESERVATIONSTATUSEntry status, curam.core.struct.ConcernRoleID concernRoleID, curam.participant.impl.ConcernRole concernRole) throws curam.util.exception.AppException, curam.util.exception.InformationalException
clientConcernRoleID
- Contains the instance of ConcernRoleID.status
- Contains the status criteria for search.concernRole
- Contains the instance of ConcernRole.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated java.util.List<Reservation> searchByStartDateRangeAndStatus(curam.util.type.Date startDate, curam.util.type.Date endDate, curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus) throws curam.util.exception.AppException, curam.util.exception.InformationalException
searchByStartDateRangeAndStatus(DateTime, DateTime, RESERVATIONSTATUSEntry)
. This method is comparing reservation start date time with
date range instead of date time range. Hence this method is
deprecated. The newly added method will compare reservation
start date time with date time range. See release note:
CR00260608.startDate
- Start date of the reservation range.endDate
- End date of the reservation range.reservationStatus
- Status of the reservation.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated java.util.List<Reservation> searchByProviderOfferingStartDateRangeAndStatus(ProviderOffering providerOffering, curam.util.type.Date startDate, curam.util.type.Date endDate, curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus) throws curam.util.exception.AppException, curam.util.exception.InformationalException
searchByProviderOfferingStartDateRangeAndStatus(ProviderOffering, DateTime, DateTime, RESERVATIONSTATUSEntry)
. This method is comparing reservation start date time with
date range instead of date time range. Hence this method is
deprecated. The newly added method will compare reservation
start date time with date time range. See release note:
CR00260608.providerOffering
- Provider offering for which reservations are to be retrieved.startDate
- Start date of the reservation range.endDate
- End date of the reservation range.reservationStatus
- Status of the reservation.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.List<Reservation> searchByStartDateRangeAndStatus(curam.util.type.DateTime startDateTime, curam.util.type.DateTime endDateTime, curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus) throws curam.util.exception.AppException, curam.util.exception.InformationalException
startDateTime
- Start date of the reservation range.endDateTime
- End date of the reservation range.reservationStatus
- Status of the reservation.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.List<Reservation> searchByProviderOfferingStartDateRangeAndStatus(ProviderOffering providerOffering, curam.util.type.DateTime startDateTime, curam.util.type.DateTime endDateTime, curam.codetable.impl.RESERVATIONSTATUSEntry reservationStatus) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providerOffering
- Provider offering for which reservations are to be retrieved.startDateTime
- Start date of the reservation range.endDateTime
- End date of the reservation range.reservationStatus
- Status of the reservation.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.