Class AbstractPlanQueryInspector
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.plan.spi.AbstractPlanQueryInspector
- All Implemented Interfaces:
PlanQueryInspector, Extensible, OsidBrowsableQueryInspector, OsidExtensibleQueryInspector, OsidIdentifiableQueryInspector, OsidObjectQueryInspector, OsidQueryInspector, OsidRelationshipQueryInspector, OsidTemporalQueryInspector
- Direct Known Subclasses:
PlanQueryUninspector
public abstract class AbstractPlanQueryInspector
extends AbstractOsidRelationshipQueryInspector
implements PlanQueryInspector
A query inspector template for plans.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddPlanQueryInspectorRecord(PlanQueryInspectorRecord planQueryInspectorRecord, Type planRecordType) Adds a record to this plan query.IdTerm[]Gets the course catalogIdterms.Gets the course catalog terms.IdTerm[]Gets the course offeringIdterms.Gets the course offering terms.IdTerm[]Gets the lessonIdterms.Gets the lesson terms.IdTerm[]Gets the moduleIdterms.Gets the module terms.getPlanQueryInspectorRecord(Type planRecordType) Gets the record corresponding to the given plan query inspector recordType.IdTerm[]Gets the syllabusIdterms.Gets the syllabus 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
-
AbstractPlanQueryInspector
public AbstractPlanQueryInspector()Constructs a newAbstractPlanQueryInspector.
-
-
Method Details
-
getSyllabusIdTerms
Gets the syllabusIdterms.- Specified by:
getSyllabusIdTermsin interfacePlanQueryInspector- Returns:
- the syllabus
Idterms
-
getSyllabusTerms
Gets the syllabus terms.- Specified by:
getSyllabusTermsin interfacePlanQueryInspector- Returns:
- the syllabus terms
-
getCourseOfferingIdTerms
Gets the course offeringIdterms.- Specified by:
getCourseOfferingIdTermsin interfacePlanQueryInspector- Returns:
- the course offering
Idterms
-
getCourseOfferingTerms
Gets the course offering terms.- Specified by:
getCourseOfferingTermsin interfacePlanQueryInspector- Returns:
- the course offering terms
-
getModuleIdTerms
Gets the moduleIdterms.- Specified by:
getModuleIdTermsin interfacePlanQueryInspector- Returns:
- the module
Idterms
-
getModuleTerms
Gets the module terms.- Specified by:
getModuleTermsin interfacePlanQueryInspector- Returns:
- the module terms
-
getLessonIdTerms
Gets the lessonIdterms.- Specified by:
getLessonIdTermsin interfacePlanQueryInspector- Returns:
- the lesson
Idterms
-
getLessonTerms
Gets the lesson terms.- Specified by:
getLessonTermsin interfacePlanQueryInspector- Returns:
- the lesson terms
-
getCourseCatalogIdTerms
Gets the course catalogIdterms.- Specified by:
getCourseCatalogIdTermsin interfacePlanQueryInspector- Returns:
- the course catalog
Idterms
-
getCourseCatalogTerms
Gets the course catalog terms.- Specified by:
getCourseCatalogTermsin interfacePlanQueryInspector- Returns:
- the course catalog terms
-
getPlanQueryInspectorRecord
@OSID public PlanQueryInspectorRecord getPlanQueryInspectorRecord(Type planRecordType) throws OperationFailedException Gets the record corresponding to the given plan query inspector recordType.This method must be used to retrieve a plan implementing the requested record.- Specified by:
getPlanQueryInspectorRecordin interfacePlanQueryInspector- Parameters:
planRecordType- a plan record type- Returns:
- the plan query inspsector record
- Throws:
NullArgumentException-planRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(planRecordType)isfalse
-
addPlanQueryInspectorRecord
protected void addPlanQueryInspectorRecord(PlanQueryInspectorRecord planQueryInspectorRecord, Type planRecordType) Adds a record to this plan query.- Parameters:
planQueryInspectorRecord- plan query inspector recordplanRecordType- plan record type- Throws:
NullArgumentException-recordisnull
-