public interface ScheduleSearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
LocationSearchOrder |
getLocationSearchOrder()
Gets the search order for a location.
|
ScheduleSearchOrderRecord |
getScheduleSearchOrderRecord(Type scheduleRecordType)
Gets the schedule search order record corresponding to the given
schedule record
Type. |
ScheduleSlotSearchOrder |
getScheduleSlotSearchOrder()
Gets the search order for the schedule slot.
|
TimePeriodSearchOrder |
getTimePeriodSearchOrder()
Gets the search order for the time period.
|
void |
orderByLimit(SearchOrderStyle style)
Specified a preference for ordering results by the occurrence limit.
|
void |
orderByLocation(SearchOrderStyle style)
Specified a preference for ordering results by the location.
|
void |
orderByLocationDescription(SearchOrderStyle style)
Specified a preference for ordering results by the location
description.
|
void |
orderByScheduleEnd(SearchOrderStyle style)
Specified a preference for ordering results by the schedule end.
|
void |
orderByScheduleSlot(SearchOrderStyle style)
Specified a preference for ordering results by the schedule slot.
|
void |
orderByScheduleStart(SearchOrderStyle style)
Specified a preference for ordering results by the schedule start.
|
void |
orderByTimePeriod(SearchOrderStyle style)
Specified a preference for ordering results by the time period.
|
void |
orderByTotalDuration(SearchOrderStyle style)
Specified a preference for ordering results by the schedule duration.
|
boolean |
supportsLocationSearchOrder()
Tests if a
LocationSearchOrder is available. |
boolean |
supportsScheduleSlotSearchOrder()
Tests if a
ScheduleSlotSearchOrder is available. |
boolean |
supportsTimePeriodSearchOrder()
Tests if a
TimePeriodSearchOrder is available. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderByScheduleSlot(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsScheduleSlotSearchOrder()
ScheduleSlotSearchOrder
is available. true
if a schedule slot search order is
available, false
otherwisemandatory
- This method must be implemented. ScheduleSlotSearchOrder getScheduleSlotSearchOrder()
UnimplementedException
-
supportsScheduleSlotSearchOrder()
is false
optional
- This method must be implemented if
supportsScheduleSlotSearchOrder()
is true.
void orderByTimePeriod(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsTimePeriodSearchOrder()
TimePeriodSearchOrder
is available. true
if a time period search order is
available, false
otherwisemandatory
- This method must be implemented. TimePeriodSearchOrder getTimePeriodSearchOrder()
UnimplementedException
-
supportsTimePeriodSearchOrder()
is false
optional
- This method must be implemented if
supportsTimePeriodSearchOrder()
is true.
void orderByScheduleStart(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByScheduleEnd(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByTotalDuration(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByLimit(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByLocationDescription(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByLocation(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsLocationSearchOrder()
LocationSearchOrder
is available. true
if a location search order is available,
false
otherwisemandatory
- This method must be implemented. LocationSearchOrder getLocationSearchOrder()
UnimplementedException
-
supportsLocationSearchOrder()
is false
optional
- This method must be implemented if
supportsLocationSearchOrder()
is true.
ScheduleSearchOrderRecord getScheduleSearchOrderRecord(Type scheduleRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.scheduleRecordType
- a schedule record typeNullArgumentException
- scheduleRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(scheduleRecordType)
is false
mandatory
- This method must be implemented.