Interface ScheduleSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the search order for a location.getScheduleSearchOrderRecord(Type scheduleRecordType) Gets the schedule search order record corresponding to the given schedule recordType.Multiple retrievals return the same underlying object.Gets the search order for the schedule slot.Gets the search order for the time period.voidorderByLimit(SearchOrderStyle style) Specified a preference for ordering results by the occurrence limit.voidorderByLocation(SearchOrderStyle style) Specified a preference for ordering results by the location.voidSpecified a preference for ordering results by the location description.voidSpecified a preference for ordering results by the schedule end.voidSpecified a preference for ordering results by the schedule slot.voidSpecified a preference for ordering results by the schedule start.voidSpecified a preference for ordering results by the time period.voidSpecified a preference for ordering results by the schedule duration.booleanTests if aLocationSearchOrderis available.booleanTests if aScheduleSlotSearchOrderis available.booleanTests if aTimePeriodSearchOrderis available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.
-
Method Details
-
orderByScheduleSlot
Specified a preference for ordering results by the schedule slot.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsScheduleSlotSearchOrder
boolean supportsScheduleSlotSearchOrder()Tests if aScheduleSlotSearchOrderis available.- Returns:
trueif a schedule slot search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getScheduleSlotSearchOrder
ScheduleSlotSearchOrder getScheduleSlotSearchOrder()Gets the search order for the schedule slot.- Returns:
- the schdeule slot search order
- Throws:
UnimplementedException-supportsScheduleSlotSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsScheduleSlotSearchOrder()} is {@code true} .
-
orderByTimePeriod
Specified a preference for ordering results by the time period.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsTimePeriodSearchOrder
boolean supportsTimePeriodSearchOrder()Tests if aTimePeriodSearchOrderis available.- Returns:
trueif a time period search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTimePeriodSearchOrder
TimePeriodSearchOrder getTimePeriodSearchOrder()Gets the search order for the time period.- Returns:
- the time period search order
- Throws:
UnimplementedException-supportsTimePeriodSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTimePeriodSearchOrder()} is {@code true} .
-
orderByScheduleStart
Specified a preference for ordering results by the schedule start.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByScheduleEnd
Specified a preference for ordering results by the schedule end.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByTotalDuration
Specified a preference for ordering results by the schedule duration.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByLimit
Specified a preference for ordering results by the occurrence limit.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByLocationDescription
Specified a preference for ordering results by the location description.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByLocation
Specified a preference for ordering results by the location.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsLocationSearchOrder
boolean supportsLocationSearchOrder()Tests if aLocationSearchOrderis available.- Returns:
trueif a location search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getLocationSearchOrder
LocationSearchOrder getLocationSearchOrder()Gets the search order for a location.- Returns:
- the location search order
- Throws:
UnimplementedException-supportsLocationSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsLocationSearchOrder()} is {@code true} .
-
getScheduleSearchOrderRecord
ScheduleSearchOrderRecord getScheduleSearchOrderRecord(Type scheduleRecordType) throws OperationFailedException Gets the schedule search order record corresponding to the given schedule recordType.Multiple retrievals return the same underlying object.- Parameters:
scheduleRecordType- a schedule record type- Returns:
- the schedule search order record
- Throws:
NullArgumentException-scheduleRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(scheduleRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-