Interface ActivitySearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidSubjugateableSearchOrder, OsidTemporalSearchOrder, Suppliable
public interface ActivitySearchOrder
extends OsidRelationshipSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptiongetActivitySearchOrderRecord(Type activityRecordType) Gets the activity search order record corresponding to the given activity recordType.Gets the activity unit search order.Gets the course offering search order.Gets the term order.voidSpecifies a preference for ordering the result set by activity unit.voidSpecifies a preference for ordering the result set by course offering.voidorderByImplicit(SearchOrderStyle style) Specifies a preference for ordering the result set by the implicit status.voidSpecifies a preference for ordering the result set by the maximum seats.voidSpecifies a preference for ordering the result set by the minimum seats.voidSpecifies a preference for ordering the result set by weekly recurring.voidorderByTerm(SearchOrderStyle style) Specifies a preference for ordering the result set by term.voidSpecifies a preference for ordering the result set by the total contact.voidSpecifies a preference for ordering the result set by the total effort.voidSpecifies a preference for ordering the result set by total individual effort.voidSpecifies a preference for ordering the result set by the weekly contact.voidSpecifies a preference for ordering the result set by the weekly effort.voidSpecifies a preference for ordering the result set by weekly individual effort.booleanTests if an activity unit search order is available.booleanTests if a course offering search is available.booleanTests if a term search order is 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.Methods inherited from interface OsidRelationshipSearchOrder
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrderModifier and TypeMethodDescriptionGets the search order for a state.voidorderByEndReason(SearchOrderStyle style) Specifies a preference for ordering the results by the end reason state.booleanTests if aStateSearchOrderis available.Methods inherited from interface OsidTemporalSearchOrder
orderByEffective, orderByEndDate, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEffective(SearchOrderStyle style) Specifies a preference for ordering the result set by the effective status.voidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.
-
Method Details
-
orderByActivityUnit
Specifies a preference for ordering the result set by activity unit.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsActivityUnitSearchOrder
boolean supportsActivityUnitSearchOrder()Tests if an activity unit search order is available.- Returns:
trueif an activity unit search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActivityUnitSearchOrder
CourseSearchOrder getActivityUnitSearchOrder()Gets the activity unit search order.- Returns:
- the activity unit search order
- Throws:
UnimplementedException-supportsActivityUnitSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitSearchOrder()} is {@code true} .
-
orderByCourseOffering
Specifies a preference for ordering the result set by course offering.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsCourseOfferingSearchOrder
boolean supportsCourseOfferingSearchOrder()Tests if a course offering search is available.- Returns:
trueif a course offering search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseOfferingSearchOrder
CourseOfferingSearchOrder getCourseOfferingSearchOrder()Gets the course offering search order.- Returns:
- the course offering search order
- Throws:
UnimplementedException-supportsCourseOfferingSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitSearchOrder()} is {@code true} .
-
orderByTerm
Specifies a preference for ordering the result set by term.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsTermSearchOrder
boolean supportsTermSearchOrder()Tests if a term search order is available.- Returns:
trueif a term search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTermSearchOrder
TermSearchOrder getTermSearchOrder()Gets the term order.- Returns:
- the term search order
- Throws:
UnimplementedException-supportsTermSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTermSearchOrder()} is {@code true} .
-
orderByImplicit
Specifies a preference for ordering the result set by the implicit status.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMinimumSeats
Specifies a preference for ordering the result set by the minimum seats.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByMaximumSeats
Specifies a preference for ordering the result set by the maximum seats.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByTotalTargetEffort
Specifies a preference for ordering the result set by the total effort.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByTotalTargetContactTime
Specifies a preference for ordering the result set by the total contact.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByTotalTargetIndividualEffort
Specifies a preference for ordering the result set by total individual effort.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRecurringWeekly
Specifies a preference for ordering the result set by weekly recurring.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByWeeklyEffort
Specifies a preference for ordering the result set by the weekly effort.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByWeeklyContactTime
Specifies a preference for ordering the result set by the weekly contact.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByWeeklyIndividualEffort
Specifies a preference for ordering the result set by weekly individual effort.- Parameters:
style- a search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getActivitySearchOrderRecord
ActivitySearchOrderRecord getActivitySearchOrderRecord(Type activityRecordType) throws OperationFailedException Gets the activity search order record corresponding to the given activity recordType. Multiple retrievals return the same underlying object.- Parameters:
activityRecordType- an activity record type- Returns:
- the activity search order record
- Throws:
NullArgumentException-activityRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(activityRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-