Interface CredentialEntrySearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the abandon term order.Gets the award term order.getCredentialEntrySearchOrderRecord(Type credentialEntryRecordType) Gets the chronicle search order record corresponding to the given credential entry recordType.Gets the credential order.Gets the expected completion term order.Gets the program order.Gets the start term order.Gets the resource order.voidSpecifies a preference for ordering the result set by the abandon date.voidSpecifies a preference for ordering the result set by the abandon term.voidorderByAwardDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the award date.voidorderByAwardTerm(SearchOrderStyle style) Specifies a preference for ordering the result set by the award term.voidSpecifies a preference for ordering the result set by the credential.voidSpecifies a preference for ordering the result set by the award date.voidSpecifies a preference for ordering the result set by the expected completion date.voidSpecifies a preference for ordering the result set by the expected completion term.voidSpecifies a preference for ordering the result set by the is abandoned flag.voidSpecifies a preference for ordering the result set by the actively pursuing flag.voidorderByIsAwarded(SearchOrderStyle style) Specifies a preference for ordering the result set by the is awarded flag.voidSpecifies a preference for ordering the result set by the is expected to complete flag.voidSpecifies a preference for ordering the result set by the matriculation known flag.voidorderByIsPaused(SearchOrderStyle style) Specifies a preference for ordering the result set by the is paused flag.voidorderByProgram(SearchOrderStyle style) Specifies a preference for ordering the result set by the program.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.voidorderByStartTerm(SearchOrderStyle style) Specifies a preference for ordering the result set by the start term.voidorderByStudent(SearchOrderStyle style) Specifies a preference for ordering the result set by the resource.booleanTests if a abandon term order is available.booleanTests if a award term order is available.booleanTests if a credential order is available.booleanTests if a expected completion term order is available.booleanTests if a program order is available.booleanTests if a start term order is available.booleanTests if a resource 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, orderByEndDateModifier 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.
-
Method Details
-
orderByStudent
Specifies a preference for ordering the result set by the resource.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsStudentSearchOrder
boolean supportsStudentSearchOrder()Tests if a resource order is available.- Returns:
trueif a resource order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStudentSearchOrder
ResourceSearchOrder getStudentSearchOrder()Gets the resource order.- Returns:
- the resource search order
- Throws:
UnimplementedException-supportsStudentSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStudentSearchOrder()} is {@code true} .
-
orderByCredential
Specifies a preference for ordering the result set by the credential.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsCredentialSearchOrder
boolean supportsCredentialSearchOrder()Tests if a credential order is available.- Returns:
trueif a credential order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCredentialSearchOrder
CredentialSearchOrder getCredentialSearchOrder()Gets the credential order.- Returns:
- the credential search order
- Throws:
UnimplementedException-supportsCredentialSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCredentialSearchOrder()} is {@code true} .
-
orderByIsMatriculationKnown
Specifies a preference for ordering the result set by the matriculation known flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByStartDate
Specifies a preference for ordering the result set by the start date.- Specified by:
orderByStartDatein interfaceOsidTemporalSearchOrder- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByStartTerm
Specifies a preference for ordering the result set by the start term.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsStartTermSearchOrder
boolean supportsStartTermSearchOrder()Tests if a start term order is available.- Returns:
trueif a start term order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStartTermSearchOrder
TermSearchOrder getStartTermSearchOrder()Gets the start term order.- Returns:
- the start term search order
- Throws:
UnimplementedException-supportsStartTermSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsStartTermSearchOrder()} is {@code true} .
-
orderByIsExpectedToComplete
Specifies a preference for ordering the result set by the is expected to complete flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByExpectedCompletionDate
Specifies a preference for ordering the result set by the expected completion date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByExpectedCompletionTerm
Specifies a preference for ordering the result set by the expected completion term.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsExpectedCompletionTermSearchOrder
boolean supportsExpectedCompletionTermSearchOrder()Tests if a expected completion term order is available.- Returns:
trueif a expected completion term order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getExpectedCompletionTermSearchOrder
TermSearchOrder getExpectedCompletionTermSearchOrder()Gets the expected completion term order.- Returns:
- the expected completion term search order
- Throws:
UnimplementedException-supportsExpectedCompletionTermSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsExpectedCompletionTermSearchOrder()} is {@code true} .
-
orderByIsActivelyPursuing
Specifies a preference for ordering the result set by the actively pursuing flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByIsPaused
Specifies a preference for ordering the result set by the is paused flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByIsAbandoned
Specifies a preference for ordering the result set by the is abandoned flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByAbandonDate
Specifies a preference for ordering the result set by the abandon date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByAbandonTerm
Specifies a preference for ordering the result set by the abandon term.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsAbandonTermSearchOrder
boolean supportsAbandonTermSearchOrder()Tests if a abandon term order is available.- Returns:
trueif a abandon term order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAbandonTermSearchOrder
TermSearchOrder getAbandonTermSearchOrder()Gets the abandon term order.- Returns:
- the abandon term search order
- Throws:
UnimplementedException-supportsAbandonTermSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAbandonTermSearchOrder()} is {@code true} .
-
orderByIsAwarded
Specifies a preference for ordering the result set by the is awarded flag.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByAwardDate
Specifies a preference for ordering the result set by the award date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByAwardTerm
Specifies a preference for ordering the result set by the award term.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsAwardTermSearchOrder
boolean supportsAwardTermSearchOrder()Tests if a award term order is available.- Returns:
trueif a award term order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getAwardTermSearchOrder
TermSearchOrder getAwardTermSearchOrder()Gets the award term order.- Returns:
- the award term search order
- Throws:
UnimplementedException-supportsAwardTermSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsAwardTermSearchOrder()} is {@code true} .
-
orderByDateAwarded
Specifies a preference for ordering the result set by the award date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByProgram
Specifies a preference for ordering the result set by the program.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsProgramSearchOrder
boolean supportsProgramSearchOrder()Tests if a program order is available.- Returns:
trueif a program order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getProgramSearchOrder
ProgramSearchOrder getProgramSearchOrder()Gets the program order.- Returns:
- the program search order
- Throws:
UnimplementedException-supportsProgramSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsProgramSearchOrder()} is {@code true} .
-
getCredentialEntrySearchOrderRecord
CredentialEntrySearchOrderRecord getCredentialEntrySearchOrderRecord(Type credentialEntryRecordType) throws OperationFailedException Gets the chronicle search order record corresponding to the given credential entry recordType. Multiple retrievals return the same underlying object.- Parameters:
credentialEntryRecordType- a credential entry record type- Returns:
- the credential entry search order record
- Throws:
NullArgumentException-credentialEntryRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(credentialEntryRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-