Interface IAppointmentQueryParams
- 
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 AppointmentQueryParams
public interface IAppointmentQueryParams extends Serializable
Parameters for the appointment DAO for querying existing appointments.- Since:
 - 6.5.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<AppointmentTemplate>getAppointmentTemplates()MandantgetClient()Iterable<Long>getExcludedAppointmentIds()Iterable<de.xima.cmn.criteria.FilterCriterion>getFilterCriteria()Extends the query with filter criterions.Iterable<Vorgang>getFormRecords()IntegergetPage()IntegergetPageSize()com.google.common.collect.Range<Instant>getRange()Iterable<de.xima.cmn.criteria.SelectCriterion>getSelectCriteria()Applies only when used for a select attribute query.ESortingOrdergetSortingOrder()Iterable<EAppointmentStatus>getStatus()booleanisIncludePartiallyInRange()booleanisInitFormRecord() 
 - 
 
- 
- 
Method Detail
- 
getAppointmentTemplates
Iterable<AppointmentTemplate> getAppointmentTemplates()
- Returns:
 - A list of appointment templates to which the appointments must belong. If 
nullor empty, no restriction is applied. 
 
- 
isInitFormRecord
boolean isInitFormRecord()
- Returns:
 - Applies only when loading data via the API provider (ignored otherwise). 
trueto load the form record (@codeAppointment.getFormRecord()) eagerly,falseto load it lazily. Defaults tofalse. 
 
- 
getClient
Mandant getClient()
- Returns:
 - The client to which the appointments must belong.
 
 
- 
getExcludedAppointmentIds
Iterable<Long> getExcludedAppointmentIds()
- Returns:
 - A list of appointments IDs to exclude in the result. If 
nullor empty, no restriction is applied. 
 
- 
getFormRecords
Iterable<Vorgang> getFormRecords()
- Returns:
 - A list form records to which the returned appointments must belong. If 
nullor empty, no restriction is applied. 
 
- 
getRange
com.google.common.collect.Range<Instant> getRange()
- Returns:
 - The time range of appointments to include. Appointments outside this range are excluded in the result.
 
 
- 
getSelectCriteria
Iterable<de.xima.cmn.criteria.SelectCriterion> getSelectCriteria()
Applies only when used for a select attribute query.- Returns:
 - A list of fields (columns) to include in the result.
 
 
- 
getFilterCriteria
Iterable<de.xima.cmn.criteria.FilterCriterion> getFilterCriteria()
Extends the query with filter criterions.- Returns:
 - A list of fields (columns) to include in the result.
 
 
- 
getStatus
Iterable<EAppointmentStatus> getStatus()
- Returns:
 - A list of status the appointments must have. If 
nullor empty, no restriction is applied. 
 
- 
isIncludePartiallyInRange
boolean isIncludePartiallyInRange()
- Returns:
 - Applies only if 
getRange()is set. Iffalse, only appointments that fall completely within the given range are included in the result. Otherwise, appointments that only overlap partially are included as well. 
 
- 
getSortingOrder
ESortingOrder getSortingOrder()
- Returns:
 - Returns the order in which the dates will be sorted.
 
 
- 
getPage
Integer getPage()
- Returns:
 - The page number relevant for paging.
 
 
- 
getPageSize
Integer getPageSize()
- Returns:
 - The number off values of a page.
 
 
 - 
 
 -