Class AbstractActivityRegistrationQueryInspector
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.activityregistration.spi.AbstractActivityRegistrationQueryInspector
- All Implemented Interfaces:
ActivityRegistrationQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidSubjugateableQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
ActivityRegistrationQueryUninspector
public abstract class AbstractActivityRegistrationQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements ActivityRegistrationQueryInspector
A query inspector template for activity 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 newAbstractActivityRegistrationQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddActivityRegistrationQueryInspectorRecord(ActivityRegistrationQueryInspectorRecord activityRegistrationQueryInspectorRecord, Type activityRegistrationRecordType) Adds a record to this activity registration query.IdTerm[]Gets the activityIdquery terms.getActivityRegistrationQueryInspectorRecord(Type activityRegistrationRecordType) Gets the record corresponding to the given activity registration query inspector recordType.Gets the activity query terms.IdTerm[]Gets the course catalogIdquery terms.Gets the course catalog query terms.IdTerm[]Gets the course registrationIdquery terms.Gets the course registration 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
-
AbstractActivityRegistrationQueryInspector
public AbstractActivityRegistrationQueryInspector()Constructs a newAbstractActivityRegistrationQueryInspector.
-
-
Method Details
-
getCourseRegistrationIdTerms
Gets the course registrationIdquery terms.- Specified by:
getCourseRegistrationIdTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the course registration
Idquery terms
-
getCourseRegistrationTerms
Gets the course registration query terms.- Specified by:
getCourseRegistrationTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the course registration query terms
-
getActivityIdTerms
Gets the activityIdquery terms.- Specified by:
getActivityIdTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the activity
Idquery terms
-
getActivityTerms
Gets the activity query terms.- Specified by:
getActivityTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the activity query terms
-
getStudentIdTerms
Gets the studentIdquery terms.- Specified by:
getStudentIdTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the student
Idquery terms
-
getStudentTerms
Gets the student query terms.- Specified by:
getStudentTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the student query terms
-
getCourseCatalogIdTerms
Gets the course catalogIdquery terms.- Specified by:
getCourseCatalogIdTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the course catalog
Idquery terms
-
getCourseCatalogTerms
Gets the course catalog query terms.- Specified by:
getCourseCatalogTermsin interfaceActivityRegistrationQueryInspector- Returns:
- the course catalog query terms
-
getActivityRegistrationQueryInspectorRecord
@OSID public ActivityRegistrationQueryInspectorRecord getActivityRegistrationQueryInspectorRecord(Type activityRegistrationRecordType) throws OperationFailedException Gets the record corresponding to the given activity registration query inspector recordType.This method must be used to retrieve an activity registration implementing the requested record.- Specified by:
getActivityRegistrationQueryInspectorRecordin interfaceActivityRegistrationQueryInspector- Parameters:
activityRegistrationRecordType- an activity registration record type- Returns:
- the activity registration query inspsector record
- Throws:
NullArgumentException-activityRegistrationRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(activityRegistrationRecordType)isfalse
-
addActivityRegistrationQueryInspectorRecord
protected void addActivityRegistrationQueryInspectorRecord(ActivityRegistrationQueryInspectorRecord activityRegistrationQueryInspectorRecord, Type activityRegistrationRecordType) Adds a record to this activity registration query.- Parameters:
activityRegistrationQueryInspectorRecord- activity registration query inspector recordactivityRegistrationRecordType- activityRegistration record type- Throws:
NullArgumentException-recordisnull
-