Class AbstractRegistrationQueryInspector
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractTemporalOsidObjectQueryInspector
net.okapia.osid.jamocha.spi.AbstractOsidRelationshipQueryInspector
net.okapia.osid.jamocha.course.registration.registration.spi.AbstractRegistrationQueryInspector
- All Implemented Interfaces:
RegistrationQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
RegistrationQueryUninspector
public abstract class AbstractRegistrationQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements RegistrationQueryInspector
A query inspector template for registrations.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractTemporalOsidObjectQueryInspector
AbstractTemporalOsidObjectQueryInspector.OsidTemporalQueryInspectorModifier and TypeClassDescriptionprotected classComposed OsidTemporalQueryInspector.Nested classes/interfaces inherited from class AbstractOsidObjectQueryInspector
AbstractOsidObjectQueryInspector.OsidBrowsableQueryInspectorModifier and TypeClassDescriptionprotected classComposed BrowsableQueryInspector. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newAbstractRegistrationQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRegistrationQueryInspectorRecord(RegistrationQueryInspectorRecord registrationQueryInspectorRecord, Type registrationRecordType) Adds a record to this registration query.IdTerm[]Gets the course catalogIdquery terms.Gets the course catalog query terms.IdTerm[]Gets the course registrationIdquery terms.Gets the course registration query terms.Gets the credits query terms.IdTerm[]Gets the grade systemIdquery terms.Gets the grade system query terms.getRegistrationQueryInspectorRecord(Type registrationRecordType) Gets the record corresponding to the given registration query inspector recordType.IdTerm[]Gets the registration targetIdquery terms.Gets the registration target query terms.IdTerm[]Gets the studentIdquery terms.Gets the student query terms.Methods inherited from class AbstractOsidRelationshipQueryInspector
getEndReasonIdTerms, getEndReasonTermsModifier and TypeMethodDescriptionIdTerm[]Gets the end reaosn stateIdquery terms.Gets the end reason state query terms.Methods inherited from class AbstractTemporalOsidObjectQueryInspector
getDateTerms, getEffectiveTerms, getEndDateTerms, getStartDateTermsModifier and TypeMethodDescriptionGets the date query terms.Gets the effective query terms.Gets the end date query terms.Gets the start date query terms.Methods inherited from class AbstractOsidObjectQueryInspector
addRecordType, getCommentIdTerms, getCommentTerms, getCreditIdTerms, getCreditTerms, getDescriptionTerms, getDisplayNameTerms, getGenusTypeTerms, getJournalEntryIdTerms, getJournalEntryTerms, getParentGenusTypeTerms, getRecordTypes, getRecordTypeTerms, getRelationshipIdTerms, getRelationshipPeerIdTerms, getRelationshipTerms, getStateIdTerms, getStateTerms, getStatisticTerms, getSubjectIdTerms, getSubjectRelevancyTerms, getSubjectTerms, hasRecordTypeModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.IdTerm[]Gets the commentIdquery terms.Gets the comment query terms.IdTerm[]Gets the creditIdquery terms.Gets the credit query terms.Gets the description query terms.Gets the display name query terms.TypeTerm[]Gets the genus type query terms.IdTerm[]Gets the journal entryIdquery terms.Gets the journal entry query terms.TypeTerm[]Gets the parent genus type query terms.Gets the record types available in this object.TypeTerm[]Gets the record type query terms.IdTerm[]Gets the relationshipIdquery terms.IdTerm[]Gets the relationship peerIdquery terms.Gets the relationship query terms.IdTerm[]Gets the stateIdquery terms.Gets the state query terms.Gets the statistic query terms.IdTerm[]Gets the subjectIdquery terms.Gets the relevancy query terms.Gets the subject query terms.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from class AbstractOsidIdentifiableQueryInspector
getIdTermsMethods inherited from class AbstractOsidQueryInspector
getAnyTerms, getKeywordTermsModifier and TypeMethodDescriptionGets the any query terms.Gets the keyword query terms.
-
Constructor Details
-
AbstractRegistrationQueryInspector
public AbstractRegistrationQueryInspector()Constructs a newAbstractRegistrationQueryInspector.
-
-
Method Details
-
getCourseRegistrationIdTerms
Gets the course registrationIdquery terms.- Specified by:
getCourseRegistrationIdTermsin interfaceRegistrationQueryInspector- Returns:
- the course registration
Idquery terms
-
getCourseRegistrationTerms
Gets the course registration query terms.- Specified by:
getCourseRegistrationTermsin interfaceRegistrationQueryInspector- Returns:
- the course registration query terms
-
getRegistrationTargetQueryIdTerms
Gets the registration targetIdquery terms.- Specified by:
getRegistrationTargetQueryIdTermsin interfaceRegistrationQueryInspector- Returns:
- the registration target
Idquery terms
-
getRegistrationTargetQueryTerms
Gets the registration target query terms.- Specified by:
getRegistrationTargetQueryTermsin interfaceRegistrationQueryInspector- Returns:
- the registration target query terms
-
getStudentIdTerms
Gets the studentIdquery terms.- Specified by:
getStudentIdTermsin interfaceRegistrationQueryInspector- Returns:
- the student
Idquery terms
-
getStudentTerms
Gets the student query terms.- Specified by:
getStudentTermsin interfaceRegistrationQueryInspector- Returns:
- the student query terms
-
getCreditsTerms
Gets the credits query terms.- Specified by:
getCreditsTermsin interfaceRegistrationQueryInspector- Returns:
- the credits query terms
-
getGradingOptionIdTerms
Gets the grade systemIdquery terms.- Specified by:
getGradingOptionIdTermsin interfaceRegistrationQueryInspector- Returns:
- the grade system
Idquery terms
-
getGradingOptionTerms
Gets the grade system query terms.- Specified by:
getGradingOptionTermsin interfaceRegistrationQueryInspector- Returns:
- the grade system terms
-
getCourseCatalogIdTerms
Gets the course catalogIdquery terms.- Specified by:
getCourseCatalogIdTermsin interfaceRegistrationQueryInspector- Returns:
- the course catalog
Idquery terms
-
getCourseCatalogTerms
Gets the course catalog query terms.- Specified by:
getCourseCatalogTermsin interfaceRegistrationQueryInspector- Returns:
- the course catalog query terms
-
getRegistrationQueryInspectorRecord
@OSID public RegistrationQueryInspectorRecord getRegistrationQueryInspectorRecord(Type registrationRecordType) throws OperationFailedException Gets the record corresponding to the given registration query inspector recordType.This method must be used to retrieve a registration implementing the requested record.- Specified by:
getRegistrationQueryInspectorRecordin interfaceRegistrationQueryInspector- Parameters:
registrationRecordType- a registration record type- Returns:
- the registration query inspsector record
- Throws:
NullArgumentException-registrationRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(registrationRecordType)isfalse
-
addRegistrationQueryInspectorRecord
protected void addRegistrationQueryInspectorRecord(RegistrationQueryInspectorRecord registrationQueryInspectorRecord, Type registrationRecordType) Adds a record to this registration query.- Parameters:
registrationQueryInspectorRecord- registration query inspector recordregistrationRecordType- registration record type- Throws:
NullArgumentException-recordisnull
-