Class AbstractLessonQueryInspector
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.plan.lesson.spi.AbstractLessonQueryInspector
- All Implemented Interfaces:
LessonQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
LessonQueryUninspector
public abstract class AbstractLessonQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements LessonQueryInspector
A query inspector template for lessons.
-
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 newAbstractLessonQueryInspector. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddLessonQueryInspectorRecord(LessonQueryInspectorRecord lessonQueryInspectorRecord, Type lessonRecordType) Adds a record to this lesson query.IdTerm[]Gets the activityIdterms.Gets the activity terms.IdTerm[]Gets the ending activityIdterms.Gets the ending activity terms.Gets the actual end time query terms.IdTerm[]Gets the starting activityIdterms.Gets the starting activity terms.Gets actual start time query terms.Gets the actual time spent terms.Gets completed query terms.IdTerm[]Gets the course catalogIdterms.Gets the course catalog terms.IdTerm[]Gets the docetIdterms.Gets the docet terms.getLessonQueryInspectorRecord(Type lessonRecordType) Gets the record corresponding to the given lesson query inspector recordType.IdTerm[]Gets the planIdterms.Gets the planned start time query terms.Gets the plan terms.Gets skipped 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
-
AbstractLessonQueryInspector
public AbstractLessonQueryInspector()Constructs a newAbstractLessonQueryInspector.
-
-
Method Details
-
getPlanIdTerms
Gets the planIdterms.- Specified by:
getPlanIdTermsin interfaceLessonQueryInspector- Returns:
- the plan
Idterms
-
getPlanTerms
Gets the plan terms.- Specified by:
getPlanTermsin interfaceLessonQueryInspector- Returns:
- the plan terms
-
getDocetIdTerms
Gets the docetIdterms.- Specified by:
getDocetIdTermsin interfaceLessonQueryInspector- Returns:
- the docet
Idterms
-
getDocetTerms
Gets the docet terms.- Specified by:
getDocetTermsin interfaceLessonQueryInspector- Returns:
- the docet terms
-
getActivityIdTerms
Gets the activityIdterms.- Specified by:
getActivityIdTermsin interfaceLessonQueryInspector- Returns:
- the activity
Idterms
-
getActivityTerms
Gets the activity terms.- Specified by:
getActivityTermsin interfaceLessonQueryInspector- Returns:
- the activity terms
-
getPlannedStartTimeTerms
Gets the planned start time query terms.- Specified by:
getPlannedStartTimeTermsin interfaceLessonQueryInspector- Returns:
- the time terms
-
getActualStartTimeTerms
Gets actual start time query terms.- Specified by:
getActualStartTimeTermsin interfaceLessonQueryInspector- Returns:
- the terms
-
getActualStartingActivityIdTerms
Gets the starting activityIdterms.- Specified by:
getActualStartingActivityIdTermsin interfaceLessonQueryInspector- Returns:
- the activity
Idterms
-
getActualStartingActivityTerms
Gets the starting activity terms.- Specified by:
getActualStartingActivityTermsin interfaceLessonQueryInspector- Returns:
- the activity terms
-
getCompleteTerms
Gets completed query terms.- Specified by:
getCompleteTermsin interfaceLessonQueryInspector- Returns:
- the terms
-
getSkippedTerms
Gets skipped query terms.- Specified by:
getSkippedTermsin interfaceLessonQueryInspector- Returns:
- the terms
-
getActualEndTimeTerms
Gets the actual end time query terms.- Specified by:
getActualEndTimeTermsin interfaceLessonQueryInspector- Returns:
- the time time terms
-
getActualEndingActivityIdTerms
Gets the ending activityIdterms.- Specified by:
getActualEndingActivityIdTermsin interfaceLessonQueryInspector- Returns:
- the activity
Idterms
-
getActualEndingActivityTerms
Gets the ending activity terms.- Specified by:
getActualEndingActivityTermsin interfaceLessonQueryInspector- Returns:
- the activity terms
-
getActualTimeSpentTerms
Gets the actual time spent terms.- Specified by:
getActualTimeSpentTermsin interfaceLessonQueryInspector- Returns:
- the duration terms
-
getCourseCatalogIdTerms
Gets the course catalogIdterms.- Specified by:
getCourseCatalogIdTermsin interfaceLessonQueryInspector- Returns:
- the course catalog
Idterms
-
getCourseCatalogTerms
Gets the course catalog terms.- Specified by:
getCourseCatalogTermsin interfaceLessonQueryInspector- Returns:
- the course catalog terms
-
getLessonQueryInspectorRecord
@OSID public LessonQueryInspectorRecord getLessonQueryInspectorRecord(Type lessonRecordType) throws OperationFailedException Gets the record corresponding to the given lesson query inspector recordType.This method must be used to retrieve a lesson implementing the requested record.- Specified by:
getLessonQueryInspectorRecordin interfaceLessonQueryInspector- Parameters:
lessonRecordType- a lesson record type- Returns:
- the lesson query inspsector record
- Throws:
NullArgumentException-lessonRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(lessonRecordType)isfalse
-
addLessonQueryInspectorRecord
protected void addLessonQueryInspectorRecord(LessonQueryInspectorRecord lessonQueryInspectorRecord, Type lessonRecordType) Adds a record to this lesson query.- Parameters:
lessonQueryInspectorRecord- lesson query inspector recordlessonRecordType- lesson record type- Throws:
NullArgumentException-recordisnull
-