Interface RegistrationRequestItemSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, OsidSubjugateableSearchOrder, Suppliable
public interface RegistrationRequestItemSearchOrder
extends OsidObjectSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the registration search order.Gets the grade system search order.getRegistrationRequestItemSearchOrderRecord(Type registrationRequestItemRecordType) Gets the registration request item search order record corresponding to the given registration request item recordType.Gets the registration request search order.Gets the resource search order.voidOrders the results by credit option.voidOrders the results by existing registration.voidOrders the results by grading option.voidOrders the results by registration operation.voidOrders the results by registration request.voidorderByStudent(SearchOrderStyle style) Orders the results by student.booleanTests if an existing registration search order is available.booleanTests if a grade system search order is available.booleanTests if a registration request search order is available.booleanTests if a student resource 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.
-
Method Details
-
orderByRegistrationRequest
Orders the results by registration request.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsRegistrationRequestSearchOrder
boolean supportsRegistrationRequestSearchOrder()Tests if a registration request search order is available.- Returns:
trueif a registration request search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRegistrationRequestSearchOrder
RegistrationRequestSearchOrder getRegistrationRequestSearchOrder()Gets the registration request search order.- Returns:
- the registration request search order
- Throws:
IllegalStateException-supportsRegistrationRequestSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByStudent
Orders the results by student.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsStudentSearchOrder
boolean supportsStudentSearchOrder()Tests if a student resource search order is available.- Returns:
trueif a student resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getStudentSearchOrder
ResourceSearchOrder getStudentSearchOrder()Gets the resource search order.- Returns:
- the resource search order
- Throws:
IllegalStateException-supportsStudentSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByRegistrationOperation
Orders the results by registration operation.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByExistingRegistration
Orders the results by existing registration.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsExistingRegistrationSearchOrder
boolean supportsExistingRegistrationSearchOrder()Tests if an existing registration search order is available.- Returns:
trueif an existing registration search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getExistingRegistrationSearchOrder
Registration getExistingRegistrationSearchOrder()Gets the registration search order.- Returns:
- the registration search order
- Throws:
IllegalStateException-supportsExistingRegistrationSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByCreditOption
Orders the results by credit option.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByGradingOption
Orders the results by grading option.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsGradingOptionSearchOrder
boolean supportsGradingOptionSearchOrder()Tests if a grade system search order is available.- Returns:
trueif a grade system search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getGradingOptionSearchOrder
GradeSystemSearchOrder getGradingOptionSearchOrder()Gets the grade system search order.- Returns:
- the grade system search order
- Throws:
IllegalStateException-supportsGradingOptionSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
getRegistrationRequestItemSearchOrderRecord
RegistrationRequestItemSearchOrderRecord getRegistrationRequestItemSearchOrderRecord(Type registrationRequestItemRecordType) throws OperationFailedException Gets the registration request item search order record corresponding to the given registration request item recordType. Multiple retrievals return the same underlying object.- Parameters:
registrationRequestItemRecordType- a registration request item record type- Returns:
- the registration request item search order record
- Throws:
NullArgumentException-registrationRequestItemRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(registrationRequestItemRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-