Interface InstructionSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidEnablerSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidOperableSearchOrder, OsidRelationshipSearchOrder, OsidRuleApplicatorSearchOrder, OsidRuleSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
public interface InstructionSearchOrder
extends OsidRelationshipSearchOrder, OsidRuleApplicatorSearchOrder
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the agenda search order.Gets the check search order.getInstructionSearchOrderRecord(Type instructionRecordType) Gets the instruction search order record corresponding to the given instruction recordType.voidorderByAgenda(SearchOrderStyle style) Orders the results by agenda.voidOrders the results by the break-on-success.voidorderByCheck(SearchOrderStyle style) Orders the results by check.voidOrders the results by the continue-on-fail flag.voidorderByMessage(SearchOrderStyle style) Orders the results by message.voidorderByOrder(SearchOrderStyle style) Orders the results by the processing order.voidorderByWarning(SearchOrderStyle style) Orders the results by the warning flag.booleanTests if an agenda search order is available.booleanTests if a check 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 OsidEnablerSearchOrder
getCyclicEventSearchOrder, getCyclicTimePeriodSearchOrder, getEventSearchOrder, getScheduleSearchOrder, getTimePeriodSearchOrder, orderByCyclicEvent, orderByCyclicTimePeriod, orderByEvent, orderByRequirement, orderBySchedule, orderByTimePeriod, supportsCyclicEventSearchOrder, supportsCyclicTimePeriodSearchOrder, supportsEventSearchOrder, supportsScheduleSearchOrder, supportsTimePeriodSearchOrderModifier and TypeMethodDescriptionGets the cyclic event search order.Gets the cyclic time period search order.Gets the search order for an event.Gets the search order for a schedule.Gets the time period search order.voidOrders the results by cyclic event.voidOrders the results by cyclic time period.voidorderByEvent(SearchOrderStyle style) Specifies a preference for ordering the results by the associated event.voidSpecifies a preference for ordering the results by the requirement flag.voidorderBySchedule(SearchOrderStyle style) Specifies a preference for ordering the results by the associated schedule.voidOrders the results by time period.booleanTests if a cyclic event search order is available.booleanTests if a cyclic time period search order is available.booleanTests if anEventSearchOrderis available.booleanTests if aScheduleSearchOrderis available.booleanTests if a time period search order is available.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 OsidOperableSearchOrder
orderByActive, orderByDisabled, orderByEnabled, orderByOperationalModifier and TypeMethodDescriptionvoidorderByActive(SearchOrderStyle style) Specifies a preference for ordering the result set by the active status.voidorderByDisabled(SearchOrderStyle style) Specifies a preference for ordering the result set by the administratively disabled status.voidorderByEnabled(SearchOrderStyle style) Specifies a preference for ordering the result set by the administratively enabled status.voidSpecifies a preference for ordering the results by the operational status.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 OsidRuleApplicatorSearchOrder
getResourceSearchOrder, orderByResource, supportsResourceSearchOrderModifier and TypeMethodDescriptionGets the search order for a resource.voidorderByResource(SearchOrderStyle style) Specifies a preference for ordering the results by the applied resource.booleanTests if aResourceSearchOrderis available.Methods inherited from interface OsidRuleSearchOrder
getRuleSearchOrder, orderByRule, supportsRuleSearchOrderModifier and TypeMethodDescriptionGets the search order for a rule.voidorderByRule(SearchOrderStyle style) Specifies a preference for ordering the results by the associated rule.booleanTests if aRuleSearchOrderis 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
-
orderByAgenda
Orders the results by agenda.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsAgendaSearchOrder
boolean supportsAgendaSearchOrder()Tests if an agenda search order is available.- Returns:
trueif an agenda search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAgendaSearchOrder
AgendaSearchOrder getAgendaSearchOrder()Gets the agenda search order.- Returns:
- the agenda search order
- Throws:
IllegalStateException-supportsAgendaSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByCheck
Orders the results by check.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsCheckSearchOrder
boolean supportsCheckSearchOrder()Tests if a check search order is available.- Returns:
trueif a check search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCheckSearchOrder
CheckSearchOrder getCheckSearchOrder()Gets the check search order.- Returns:
- the check search order
- Throws:
IllegalStateException-supportsCheckSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByMessage
Orders the results by message.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByWarning
Orders the results by the warning flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByContinueOnFail
Orders the results by the continue-on-fail flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByBreakOnSuccess
Orders the results by the break-on-success.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByOrder
Orders the results by the processing order.- Parameters:
style- the search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getInstructionSearchOrderRecord
InstructionSearchOrderRecord getInstructionSearchOrderRecord(Type instructionRecordType) throws OperationFailedException, PermissionDeniedException Gets the instruction search order record corresponding to the given instruction recordType. Multiple retrievals return the same underlying object.- Parameters:
instructionRecordType- an instruction record type- Returns:
- the instruction search order record
- Throws:
NullArgumentException-instructionRecordTypeisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure occurredUnsupportedException-hasRecordType(instructionRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-