@AccessLevel(value=EXTERNAL) public interface PlaceDAO extends curam.util.persistence.StandardDAO<Place>
Modifier and Type | Method and Description |
---|---|
curam.cpm.sl.struct.FacilityInformationDetailsList |
countAvailablePlaces(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey)
Count the number of available places for the provider(s) given by the input
criteria.
|
curam.cpm.sl.struct.FacilityInformationDetailsList |
countOccupiedPlaces(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey)
Count the number of occupied places for the provider(s) given by the input
criteria.
|
curam.cpm.sl.struct.FacilityInformationDetailsList |
countReservedPlaces(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey)
Count the number of reserved places for the provider(s) given by the input
criteria.
|
curam.cpm.sl.struct.FacilityInformationDetailsList |
countTotalCapacity(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey)
Count the total capacity for the provider(s) given by the input criteria.
|
java.util.Set<Place> |
getAvailablePlacesForCompartment(Compartment compartment)
Gets all the available places for the compartment at current date and time.
|
java.util.Set<Place> |
getEmergencyPlacesForCompartment(Compartment compartment)
Gets all the emergency places for the compartment at current date and time.
|
java.util.Set<Place> |
getOccupiedPlacesForCompartment(Compartment compartment)
Gets all the occupied places for the compartment at current date and time.
|
java.util.Set<Place> |
getOutOfUsePlacesForCompartment(Compartment compartment)
Gets all the out of use places for the compartment at current date and
time.
|
java.util.Set<Place> |
getReservedPlacesForCompartment(Compartment compartment)
Gets all the reserved places for the compartment at current date and time.
|
java.util.Set<Place> |
searchAllPlacesByCompartment(Compartment compartment)
Searches for all the Places related to a specific Compartment.
|
curam.cpm.sl.struct.ProvidersAvailablePlacesDetailsList |
searchAllProvidersAvailablePlaces(curam.cpm.sl.struct.ProvidersPlacesSearchDetailsKey providersPlacesSearchDetailsKey)
Searches all available places for the providers that matches search
criteria.
|
java.util.Set<Place> |
searchAvailabilityOfPlaceByReservationDateRange(curam.cpm.sl.entity.struct.PlaceByReservationDateRange placeByReservationDateRange)
Searches a list of available places in a given Reservation Date Range.
|
java.util.Set<Place> |
searchAvailablePlacesForCompartment(Compartment compartment,
curam.util.type.DateTime date)
Deprecated.
Since 5.2SP2, replaced by
searchAvailablePlacesForCompartmentInDateTime(Compartment, DateTime )
. Since the current method considers a place as Out
Of Use for the date range, as going forward now it is required
to consider a place as Out Of Use for the date time range. See
release note of CS-06401. |
java.util.Set<Place> |
searchAvailablePlacesForCompartmentForReservationDateRange(curam.cpm.sl.entity.struct.PlaceByReservationDateDetails placeByReservationDateDetails)
Deprecated.
Since Curam 5.2SP2, replaced with
searchAvailablePlacesForCompartmentForReservationDateTimeRange
. Since the current method considers a place as Out Of Use for
the date range, as going forward now it is required to consider
a place as Out Of Use for the date time range. |
java.util.Set<Place> |
searchAvailablePlacesForCompartmentForReservationDateTimeRange(curam.cpm.sl.entity.struct.PlaceByReservationDateDetails placeByReservationDateDetails)
Searches all available Places for the Compartment as on a specific
reservation date time range.
|
java.util.Set<Place> |
searchAvailablePlacesForCompartmentInDateTime(Compartment compartment,
curam.util.type.DateTime dateTime)
Searches all available Places for the Compartment as on a specified date
and time.
|
java.util.Set<Place> |
searchAvailablePlacesForCompartmentInDateTimeRange(Compartment compartment,
curam.util.type.DateTimeRange searchPeriod)
Searches available Places for a Compartment in a given date range.
|
java.util.Set<Place> |
searchAvailablePlacesForCompartmentInDateTimeRange(curam.cpm.sl.entity.struct.PlaceByDateDetails placeByDateDetails)
Searches all the available Places for the Compartment as on a specific date
time range.
|
java.util.Set<Place> |
searchAvailablePlacesForProviderInDateRange(curam.cpm.sl.entity.struct.PlaceByDateDetails placeByDateDetails)
Deprecated.
Since 5.2SP2, replaced by
searchAvailablePlacesForCompartmentInDateTimeRange(PlaceByDateDetails .
Since the current method considers a place as Out Of Use for
the date range, as going forward now it is required to consider
a place as Out Of Use for the date time range.See release note
of CS-06401. |
java.util.Set<Place> |
searchByNameAndStatus(Place place)
Searches for Places with the specified Place details.
|
java.util.Set<Place> |
searchByNotClosedPlacesForCompartmentAtCurrentDate(Compartment compartment)
Searches all not closed places for the compartment at current date.
|
java.util.Set<Place> |
searchByStatusForCompartment(Compartment compartment,
curam.codetable.impl.RECORDSTATUSEntry recordStatus)
Searches all the places based on the record status for the compartment.
|
java.util.Set<Place> |
searchClosedPlacesForCompartment(Compartment compartment,
curam.util.type.Date date)
Searches all closed Places for the Compartment as on a specified date.
|
java.util.Set<Place> |
searchEmergencyPlacesForCompartment(Compartment compartment)
Searches all emergency Places for the compartment.
|
java.util.Set<Place> |
searchForAllPlacesByCompartment(Compartment compartment)
Searches for Places of all types for a Compartment.
|
java.util.Set<Place> |
searchOccupiedPlacesForCompartment(Compartment compartment,
curam.util.type.DateTime date)
Searches all occupied Places for the Compartment as on a specified date and
time.
|
java.util.Set<Place> |
searchOutOfUsePlacesForCompartment(Compartment compartment,
curam.util.type.Date date)
Deprecated.
Since 5.2SP2, replaced by
searchOutOfUsePlacesForCompartmentInDateTime(Compartment, DateTime)
. Since the current method considers a place as Out
Of Use for the date range, as going forward now it is required
to consider a place as Out Of Use for the date time range. See
release note of CS-06401. |
java.util.Set<Place> |
searchOutOfUsePlacesForCompartmentInDateTime(Compartment compartment,
curam.util.type.DateTime dateTime)
Searches out of use Places for the Compartment as on a specified date and
time.
|
java.util.Set<Place> |
searchPlacesByCompartment(Compartment compartment)
Searches for all the Places related to a specific Compartment.
|
java.util.Set<Place> |
searchPlaceStatusByDateRange(curam.cpm.sl.entity.struct.PlaceByDateRange placeByDateRange)
Deprecated.
Since 5.2SP2,is replaced by
searchPlaceStatusByDateTimeRange(PlaceByDateRange) .
Since the current method considers a place as Out Of Use for
the date range, as going forward now it is required to consider
a place as Out Of Use for the date time range.See release note
of CS-06401. |
java.util.Set<Place> |
searchPlaceStatusByDateTimeRange(curam.cpm.sl.entity.struct.PlaceByDateRange placeByDateRange)
Searches if place is available for the specific date time range.
|
java.util.Set<Place> |
searchReservedPlacesForCompartment(Compartment compartment,
curam.util.type.DateTime dateTime)
Searches all Reserved Places for the Compartment as on a specified date
time.
|
java.util.Set<Place> searchPlacesByCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> searchAllPlacesByCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> searchByNameAndStatus(Place place)
place
- Contains the Place details used to search.@Deprecated java.util.Set<Place> searchAvailablePlacesForCompartment(Compartment compartment, curam.util.type.DateTime date)
searchAvailablePlacesForCompartmentInDateTime(Compartment, DateTime )
. Since the current method considers a place as Out
Of Use for the date range, as going forward now it is required
to consider a place as Out Of Use for the date time range. See
release note of CS-06401.compartment
- Contains compartmentID used to search.date
- DateTime for which the available Places are to be searched.@Deprecated java.util.Set<Place> searchOutOfUsePlacesForCompartment(Compartment compartment, curam.util.type.Date date)
searchOutOfUsePlacesForCompartmentInDateTime(Compartment, DateTime)
. Since the current method considers a place as Out
Of Use for the date range, as going forward now it is required
to consider a place as Out Of Use for the date time range. See
release note of CS-06401.compartment
- Contains compartmentID used to search.date
- Date for which the out of use Places are to be searched.java.util.Set<Place> searchOccupiedPlacesForCompartment(Compartment compartment, curam.util.type.DateTime date)
compartment
- Contains compartmentID used to search.date
- Date for which the Places is to be searched.java.util.Set<Place> searchClosedPlacesForCompartment(Compartment compartment, curam.util.type.Date date)
compartment
- Contains compartmentID used to search.date
- Date for which the Places are to be searched.java.util.Set<Place> searchReservedPlacesForCompartment(Compartment compartment, curam.util.type.DateTime dateTime)
compartment
- Contains compartmentID used to search.dateTime
- Date time for which the Places are to be searched.java.util.Set<Place> searchEmergencyPlacesForCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.@Deprecated java.util.Set<Place> searchAvailablePlacesForProviderInDateRange(curam.cpm.sl.entity.struct.PlaceByDateDetails placeByDateDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
searchAvailablePlacesForCompartmentInDateTimeRange(PlaceByDateDetails
.
Since the current method considers a place as Out Of Use for
the date range, as going forward now it is required to consider
a place as Out Of Use for the date time range.See release note
of CS-06401.placeByDateDetails
- Contains Place details and date range.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.java.util.Set<Place> searchAvailablePlacesForCompartmentInDateTimeRange(Compartment compartment, curam.util.type.DateTimeRange searchPeriod) throws curam.util.exception.AppException, curam.util.exception.InformationalException
compartment
- The compartment for which the available places are to be searched.searchPeriod
- The period for which the available places are to be searched.curam.util.exception.AppException
- Generic Exception Signature.curam.util.exception.InformationalException
- Generic Exception Signature.@Deprecated java.util.Set<Place> searchPlaceStatusByDateRange(curam.cpm.sl.entity.struct.PlaceByDateRange placeByDateRange)
searchPlaceStatusByDateTimeRange(PlaceByDateRange)
.
Since the current method considers a place as Out Of Use for
the date range, as going forward now it is required to consider
a place as Out Of Use for the date time range.See release note
of CS-06401.placeByDateRange
- Contains Place details and date range.java.util.Set<Place> searchForAllPlacesByCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> searchAvailabilityOfPlaceByReservationDateRange(curam.cpm.sl.entity.struct.PlaceByReservationDateRange placeByReservationDateRange)
placeByReservationDateRange
- @Deprecated java.util.Set<Place> searchAvailablePlacesForCompartmentForReservationDateRange(curam.cpm.sl.entity.struct.PlaceByReservationDateDetails placeByReservationDateDetails)
searchAvailablePlacesForCompartmentForReservationDateTimeRange
. Since the current method considers a place as Out Of Use for
the date range, as going forward now it is required to consider
a place as Out Of Use for the date time range.placeByReservationDateDetails
- Contains the place and reservation date details.java.util.Set<Place> searchAvailablePlacesForCompartmentInDateTimeRange(curam.cpm.sl.entity.struct.PlaceByDateDetails placeByDateDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
PlaceByDateDetails
- Contains the place and date details.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.java.util.Set<Place> searchAvailablePlacesForCompartmentForReservationDateTimeRange(curam.cpm.sl.entity.struct.PlaceByReservationDateDetails placeByReservationDateDetails) throws curam.util.exception.AppException, curam.util.exception.InformationalException
placeByReservationDateDetails
- Contains the place and reservation date details.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.java.util.Set<Place> searchPlaceStatusByDateTimeRange(curam.cpm.sl.entity.struct.PlaceByDateRange placeByDateRange) throws curam.util.exception.AppException, curam.util.exception.InformationalException
placeByDateRange
- Contains PlaceId and dateTimeRange for which it need to be checked
if place is available.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.java.util.Set<Place> searchOutOfUsePlacesForCompartmentInDateTime(Compartment compartment, curam.util.type.DateTime dateTime)
compartment
- Contains compartmentID used to search.dateTime
- DateTime for which the out of use Places are to be searched.java.util.Set<Place> searchAvailablePlacesForCompartmentInDateTime(Compartment compartment, curam.util.type.DateTime dateTime)
compartment
- Contains compartmentID used to search.dateTime
- DateTime for which the available Places are to be searched.curam.cpm.sl.struct.FacilityInformationDetailsList countTotalCapacity(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
retrieveFacilityInformationKey
- The input search criteria.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.curam.cpm.sl.struct.FacilityInformationDetailsList countOccupiedPlaces(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
retrieveFacilityInformationKey
- The input search criteria.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.curam.cpm.sl.struct.FacilityInformationDetailsList countReservedPlaces(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
retrieveFacilityInformationKey
- The input search criteria.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.curam.cpm.sl.struct.FacilityInformationDetailsList countAvailablePlaces(curam.cpm.sl.struct.RetrieveFacilityInformationKey retrieveFacilityInformationKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
retrieveFacilityInformationKey
- The input search criteria.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.java.util.Set<Place> getAvailablePlacesForCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> getOutOfUsePlacesForCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> getEmergencyPlacesForCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> getOccupiedPlacesForCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> getReservedPlacesForCompartment(Compartment compartment)
compartment
- Contains compartmentID used to search.java.util.Set<Place> searchByStatusForCompartment(Compartment compartment, curam.codetable.impl.RECORDSTATUSEntry recordStatus)
compartment
- Contains compartmentID used to search.recordStatus
- Record status of the place.java.util.Set<Place> searchByNotClosedPlacesForCompartmentAtCurrentDate(Compartment compartment)
compartment
- Contains compartmentID used to search.curam.cpm.sl.struct.ProvidersAvailablePlacesDetailsList searchAllProvidersAvailablePlaces(curam.cpm.sl.struct.ProvidersPlacesSearchDetailsKey providersPlacesSearchDetailsKey) throws curam.util.exception.AppException, curam.util.exception.InformationalException
providersPlacesSearchDetailsKey
- Contains providers places search
details key object.curam.util.exception.InformationalException
- Generic Exception Signature.curam.util.exception.AppException
- Generic Exception Signature.