Interface ActivityQuery
- All Superinterfaces:
Extensible, OsidBrowsableQuery, OsidExtensibleQuery, OsidIdentifiableQuery, OsidObjectQuery, OsidQuery, OsidRelationshipQuery, OsidSubjugateableQuery, OsidTemporalQuery, Suppliable
This is the query for searching activities. Each method match specifies
an AND term while multiple invocations of the same method produce
a nested OR .
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the activity unitIdterms.voidClears the activity unit terms.voidClears all blackout inclusive terms.voidClears all blackout terms.voidClears the contact terms.voidClears the course catalogIdterms.voidClears the course catalog terms.voidClears the course offeringIdterms.voidClears the course offering terms.voidClears the implcit terms.voidClears the instructorIdterms.voidClears the instructor terms.voidClears the maximum seating terms.voidClears the locationIdterms.voidClears the locationIdterms.voidClears the meeting time inclusive terms.voidClears the meeting time terms.voidClears the minimum seating terms.voidClears the recurring weekly terms.voidClears the scheduleIdterms.voidClears the schedule terms.voidClears the specific date terms.voidClears the superseding activityIdterms.voidClears the superseding activity terms.voidClears the termIdterms.voidClears the term terms.voidClears the total contact terms.voidClears the total effort terms.voidClears the individual effort terms.voidClears the weekly contact time terms.voidClears the weekly effort terms.voidClears the weekly individual effort terms.getActivityQueryRecord(Type activityRecordType) Gets the activity query record corresponding to the givenActivityrecordType.Multiple record retrievals produce a nestedORterm.Gets the query for an activity unit.Gets the query for a course catalog.Gets the query for a coure offering.Gets the query for an instructor.Gets the query for a location.Gets the query for a schedule.Gets the query for a superseding activity.Gets the query for a reporting term.voidmatchActivityUnitId(Id activityUnitId, boolean match) Sets the activity unitIdfor this query.voidmatchAnyBlackout(boolean match) Matches an activity that has any blackout.voidmatchAnyInstructor(boolean match) Matches course offerings that have any instructor.voidmatchAnyMaximumSeats(boolean match) Matches activities with any maximum seating assigned.voidmatchAnyMinimumSeats(boolean match) Matches activities with any minimum seating assigned.voidmatchAnySchedule(boolean match) Matches an activity that has any schedule.voidmatchAnySpecificMeetingTime(boolean match) Matches an activity that has any specific date.voidmatchAnySupersedingActivity(boolean match) Matches an activity that has any superseding activity.voidmatchAnyTotalTargetContactTime(boolean match) Matches an activity that has any total contact assigned.voidmatchAnyTotalTargetEffort(boolean match) Matches an activity that has any total effort assigned.voidmatchAnyTotalTargetIndividualEffort(boolean match) Matches an activity that has any individual effort assigned.voidmatchAnyWeeklyContactTime(boolean match) Matches an activity that has any weekly contact time assigned.voidmatchAnyWeeklyEffort(boolean match) Matches an activity that has any weekly effort assigned.voidmatchAnyWeeklyIndividualEffort(boolean match) Matches an activity that has any weekly individual effort assigned.voidmatchBlackout(DateTime date, boolean match) Matches activities containing the given blackout date.voidmatchBlackoutInclusive(DateTime start, DateTime end, boolean match) Matches activities with blackouts within the given date range inclousive.voidmatchContact(boolean match) Matches activities that are contact activities.voidmatchCourseCatalogId(Id courseCatalogId, boolean match) Sets the course catalogIdfor this query to match activities assigned to course catalogs.voidmatchCourseOfferingId(Id courseOfferingId, boolean match) Sets the course offeringIdfor this query.voidmatchImplicit(boolean match) Matches an activity that is implicitly generated.voidmatchInstructorId(Id resourceId, boolean match) Sets the resourceIdfor this query to match course offerings that have an instructor.voidmatchMaximumSeats(long min, long max, boolean match) Matches activities with a maximum seating between the given numbers inclusive.voidmatchMeetingLocationId(Id locationId, boolean match) Matches activities with any meeting location.voidmatchMeetingTime(DateTime date, boolean match) Matches activities where the given time falls within a denormalized meeting time inclusive.voidmatchMeetingTimeInclusive(DateTime start, DateTime end, boolean match) Matches activities with any denormalized meeting time within the given date range inclusive.voidmatchMinimumSeats(long min, long max, boolean match) Matches activities with a minimum seating between the given numbers inclusive.voidmatchRecurringWeekly(boolean match) Matches activities that recur weekly.voidmatchScheduleId(Id scheduleId, boolean match) Sets the scheduleIdfor this query.voidmatchSpecificMeetingTime(DateTime start, DateTime end, boolean match) Matches activities with specific dates between the given range inclusive.voidmatchSupersedingActivityId(Id activityId, boolean match) Sets the superseding activityIdfor this query.voidmatchTermId(Id termId, boolean match) Sets the termIdfor this query to match course offerings that have a related term.voidmatchTotalTargetContactTime(Duration min, Duration max, boolean match) Matches activities with a total contact time between the given durations inclusive.voidmatchTotalTargetEffort(Duration min, Duration max, boolean match) Matches activities with a total effort between the given durations inclusive.voidmatchTotalTargetIndividualEffort(Duration min, Duration max, boolean match) Matches activities with an individual effort between the given durations inclusive.voidmatchWeeklyContactTime(Duration min, Duration max, boolean match) Matches activities with a weekly contact time between the given durations inclusive.voidmatchWeeklyEffort(Duration min, Duration max, boolean match) Matches activities with a weekly effort between the given durations inclusive.voidmatchWeeklyIndividualEffort(Duration min, Duration max, boolean match) Matches activities with a weekly individual effort between the given durations inclusive.booleanTests if anActivityUnitQueryis available.booleanTests if aCourseCatalogQueryis available.booleanTests if aCourseOfferingQueryis available.booleanTests if aResourceQueryis available.booleanTests if aLocationQueryis available.booleanTests if aScheduleQueryis available.booleanTests if anActivityQueryis available.booleanTests if aTermQueryis 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 OsidExtensibleQuery
clearRecordTerms, matchAnyRecord, matchRecordTypeModifier and TypeMethodDescriptionvoidClears all recordTypeterms.voidmatchAnyRecord(boolean match) Matches an object that has any record.voidmatchRecordType(Type recordType, boolean match) Sets aTypefor querying objects having records implementing a given record type.Methods inherited from interface OsidIdentifiableQuery
clearIdTerms, matchIdModifier and TypeMethodDescriptionvoidClears allIdterms.voidAdds anIdto match.Methods inherited from interface OsidObjectQuery
clearCommentIdTerms, clearCommentTerms, clearCreditIdTerms, clearCreditTerms, clearDescriptionTerms, clearDisplayNameTerms, clearGenusTypeTerms, clearJournalEntryIdTerms, clearJournalEntryTerms, clearParentGenusTypeTerms, clearRelationshipIdTerms, clearRelationshipPeerIdTerms, clearRelationshipTerms, clearStateIdTerms, clearStateTerms, clearStatisticTerms, clearSubjectIdTerms, clearSubjectRelevancyTerms, clearSubjectTerms, getCommentQuery, getCreditQuery, getJournalEntryQuery, getRelationshipQuery, getStateQuery, getStatisticQuery, getSubjectQuery, getSubjectRelevancyQuery, matchAnyComment, matchAnyCredit, matchAnyDescription, matchAnyDisplayName, matchAnyGenusType, matchAnyJournalEntry, matchAnyRelationship, matchAnyState, matchAnyStatistic, matchAnySubject, matchCommentId, matchCreditId, matchDescription, matchDisplayName, matchGenusType, matchJournalEntryId, matchParentGenusType, matchRelationshipId, matchRelationshipPeerId, matchStateId, matchSubjectId, supportsCommentQuery, supportsCreditQuery, supportsJournalEntryQuery, supportsRelationshipQuery, supportsStateQuery, supportsStatisticQuery, supportsSubjectQuery, supportsSubjectRelevancyQueryModifier and TypeMethodDescriptionvoidClears all commentIdterms.voidClears all comment terms.voidClears all creditIdterms.voidClears all credit terms.voidClears all description terms.voidClears all display name terms.voidClears all genus type terms.voidClears all journal entryIdterms.voidClears all journal entry terms.voidClears all genus type terms.voidClears all relationshipIdterms.voidClears all relationshipIdterms.voidClears all relationship terms.voidClears all stateIdterms.voidClears all state terms.voidClears all statistic terms.voidClears all subjectIdterms.voidClears all subject relevancy terms.voidClears all subject terms.Gets the query for a comment.Gets the query for an ackowledgement credit.Gets the query for a journal entry.Gets the query for relationship.Gets the query for a state.Gets the query for a statistic.Gets the query for a subject.Gets the query for a subject relevancy.voidmatchAnyComment(boolean match) Matches an object that has anyCommentin the givenBook.voidmatchAnyCredit(boolean match) Matches an object that has anyCredit.voidmatchAnyDescription(boolean match) Matches a description that has any value.voidmatchAnyDisplayName(boolean match) Matches any object with a display name.voidmatchAnyGenusType(boolean match) Matches an object that has any genus type.voidmatchAnyJournalEntry(boolean match) Matches an object that has anyJournalEntryin the givenJournal.voidmatchAnyRelationship(boolean match) Matches an object that has anyRelationship.voidmatchAnyState(boolean match) Matches an object that has any mapping to aStatein the givenProcess.voidmatchAnyStatistic(boolean match) Matches an object that has anyStatistic.voidmatchAnySubject(boolean match) Matches an object that has any relationship to aSubject.voidmatchCommentId(Id commentId, boolean match) Matches an object that has the given comment.voidmatchCreditId(Id creditId, boolean match) Matches an object that has the given credit.voidmatchDescription(String description, Type stringMatchType, boolean match) Adds a description name to match.voidmatchDisplayName(String displayName, Type stringMatchType, boolean match) Adds a display name to match.voidmatchGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchJournalEntryId(Id journalEntryId, boolean match) Matches an object that has the given journal entry.voidmatchParentGenusType(Type genusType, boolean match) Sets aTypefor querying objects of a given genus.voidmatchRelationshipId(Id relationshipId, boolean match) Matches an object that has the given relationship.voidmatchRelationshipPeerId(Id peerId, boolean match) Matches an object that has a relationship to the given peerId.voidmatchStateId(Id stateId, boolean match) Matches an object mapped to the given state.voidmatchSubjectId(Id subjectId, boolean match) Matches an object with a relationship to the given subject.booleanTests if aCommentQueryis available.booleanTests if aCreditQueryis available to provide queries of related acknowledgements.booleanTests if aJournalEntryis available to provide queries of journaledOsidObjects.booleanTests if aRelationshipQueryis available.booleanTests if aStateQueryis available to provide queries of processed objects.booleanTests if aStatisticQueryis available to provide statistical queries.booleanTests if aSubjectQueryis available.booleanTests if aRelevancyQueryis available to provide queries about the relationships toSubjects.Methods inherited from interface OsidQuery
clearAnyTerms, clearKeywordTerms, getStringMatchTypes, matchAny, matchKeyword, supportsStringMatchTypeModifier and TypeMethodDescriptionvoidClears the match any terms.voidClears all keyword terms.Gets the string matching types supported.voidmatchAny(boolean match) Matches any object.voidmatchKeyword(String keyword, Type stringMatchType, boolean match) Adds a keyword to match.booleansupportsStringMatchType(Type stringMatchType) Tests if the given string matching type is supported.Methods inherited from interface OsidRelationshipQuery
clearEndReasonIdTerms, clearEndReasonTerms, getEndReasonQuery, matchAnyEndReason, matchEndReasonId, supportsEndReasonQueryModifier and TypeMethodDescriptionvoidClears all stateIdterms.voidClears all end reason state terms.getEndReasonQuery(boolean match) Gets the query for the end reason state.voidmatchAnyEndReason(boolean match) Match any end reason state.voidmatchEndReasonId(Id stateId, boolean match) Match theIdof the end reason state.booleanTests if aStateQueryfor the end reason is available.Methods inherited from interface OsidTemporalQuery
clearDateTerms, clearEffectiveTerms, clearEndDateTerms, clearStartDateTerms, matchAnyEndDate, matchAnyStartDate, matchDate, matchEffective, matchEndDate, matchStartDateModifier and TypeMethodDescriptionvoidClears the date query terms.voidClears the effective query terms.voidClears the end date query terms.voidClears the start date query terms.voidmatchAnyEndDate(boolean match) Matches temporals with any end date set.voidmatchAnyStartDate(boolean match) Matches temporals with any start date set.voidMatches temporals where the given date range falls entirely between the start and end dates inclusive.voidmatchEffective(boolean match) Match effective objects where the current date falls within the start and end dates inclusive.voidmatchEndDate(DateTime start, DateTime end, boolean match) Matches temporals whose effective end date falls in between the given dates inclusive.voidmatchStartDate(DateTime start, DateTime end, boolean match) Matches temporals whose start date falls in between the given dates inclusive.
-
Method Details
-
matchImplicit
void matchImplicit(boolean match) Matches an activity that is implicitly generated.- Parameters:
match-trueto match activities implicitly generated,falseto match activities explicitly defined- Compliance:
mandatory- This method must be implemented.
-
clearImplicitTerms
void clearImplicitTerms()Clears the implcit terms.- Compliance:
mandatory- This method must be implemented.
-
matchActivityUnitId
Sets the activity unitIdfor this query.- Parameters:
activityUnitId- an activity unitIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-activityUnitIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearActivityUnitIdTerms
void clearActivityUnitIdTerms()Clears the activity unitIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsActivityUnitQuery
boolean supportsActivityUnitQuery()Tests if anActivityUnitQueryis available.- Returns:
trueif an activity unit query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getActivityUnitQuery
ActivityUnitQuery getActivityUnitQuery()Gets the query for an activity unit. Multiple retrievals produce a nestedORterm.- Returns:
- the activity unit query
- Throws:
UnimplementedException-supportsActivityUnitQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsActivityUnitQuery()} is {@code true} .
-
clearActivityUnitTerms
void clearActivityUnitTerms()Clears the activity unit terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseOfferingId
Sets the course offeringIdfor this query.- Parameters:
courseOfferingId- a course offeringIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-courseOfferingIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCourseOfferingIdTerms
void clearCourseOfferingIdTerms()Clears the course offeringIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCourseOfferingQuery
boolean supportsCourseOfferingQuery()Tests if aCourseOfferingQueryis available.- Returns:
trueif a course offering query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseOfferingQuery
CourseOfferingQuery getCourseOfferingQuery()Gets the query for a coure offering. Multiple retrievals produce a nestedORterm.- Returns:
- the course offering query
- Throws:
UnimplementedException-supportsCourseOfferingQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseOfferingQuery()} is {@code true} .
-
clearCourseOfferingTerms
void clearCourseOfferingTerms()Clears the course offering terms.- Compliance:
mandatory- This method must be implemented.
-
matchTermId
Sets the termIdfor this query to match course offerings that have a related term.- Parameters:
termId- a termIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-termIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearTermIdTerms
void clearTermIdTerms()Clears the termIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsTermQuery
boolean supportsTermQuery()Tests if aTermQueryis available.- Returns:
trueif a term query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getTermQuery
TermQuery getTermQuery()Gets the query for a reporting term. Multiple retrievals produce a nestedORterm.- Returns:
- the term query
- Throws:
UnimplementedException-supportsTermQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsTermQuery()} is {@code true} .
-
clearTermTerms
void clearTermTerms()Clears the term terms.- Compliance:
mandatory- This method must be implemented.
-
matchMeetingTime
Matches activities where the given time falls within a denormalized meeting time inclusive.- Parameters:
date- a datematch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
clearMeetingTimeTerms
void clearMeetingTimeTerms()Clears the meeting time terms.- Compliance:
mandatory- This method must be implemented.
-
matchMeetingTimeInclusive
Matches activities with any denormalized meeting time within the given date range inclusive.- Parameters:
start- a start dateend- an end datematch-trueif a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendNullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
clearMeetingTimeInclusiveTerms
void clearMeetingTimeInclusiveTerms()Clears the meeting time inclusive terms.- Compliance:
mandatory- This method must be implemented.
-
matchMeetingLocationId
Matches activities with any meeting location.- Parameters:
locationId- a locationIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-locationIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearMeetingLocationIdTerms
void clearMeetingLocationIdTerms()Clears the locationIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsMeetingLocationQuery
boolean supportsMeetingLocationQuery()Tests if aLocationQueryis available.- Returns:
trueif a location query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getMeetingLocationQuery
LocationQuery getMeetingLocationQuery()Gets the query for a location. Multiple retrievals produce a nestedORterm.- Returns:
- the location query
- Throws:
UnimplementedException-supportsMeetingLocationQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsMeetingLocationQuery()} is {@code true} .
-
clearMeetingLocationTerms
void clearMeetingLocationTerms()Clears the locationIdterms.- Compliance:
mandatory- This method must be implemented.
-
matchScheduleId
Sets the scheduleIdfor this query.- Parameters:
scheduleId- a scheduleIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-scheduleIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearScheduleIdTerms
void clearScheduleIdTerms()Clears the scheduleIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsScheduleQuery
boolean supportsScheduleQuery()Tests if aScheduleQueryis available.- Returns:
trueif a schedule query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getScheduleQuery
ScheduleQuery getScheduleQuery()Gets the query for a schedule. Multiple retrievals produce a nestedORterm.- Returns:
- the schedule query
- Throws:
UnimplementedException-supportsScheduleQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsScheduleQuery()} is {@code true} .
-
matchAnySchedule
void matchAnySchedule(boolean match) Matches an activity that has any schedule.- Parameters:
match-trueto match activitiies with any schedule,falseto match activitiies with no schedule- Compliance:
mandatory- This method must be implemented.
-
clearScheduleTerms
void clearScheduleTerms()Clears the schedule terms.- Compliance:
mandatory- This method must be implemented.
-
matchSupersedingActivityId
Sets the superseding activityIdfor this query.- Parameters:
activityId- a superseding activityIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-activityIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearSupersedingActivityIdTerms
void clearSupersedingActivityIdTerms()Clears the superseding activityIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsSupersedingActivityQuery
boolean supportsSupersedingActivityQuery()Tests if anActivityQueryis available.- Returns:
trueif a superseding activity query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSupersedingActivityQuery
ActivityQuery getSupersedingActivityQuery()Gets the query for a superseding activity. Multiple retrievals produce a nestedORterm.- Returns:
- the superseding activity query
- Throws:
UnimplementedException-supportsSupersedingActivityQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSupersedingActivityQuery()} is {@code true} .
-
matchAnySupersedingActivity
void matchAnySupersedingActivity(boolean match) Matches an activity that has any superseding activity.- Parameters:
match-trueto match activitiies with any superseding activity,falseto match activitiies with no superseding activities- Compliance:
mandatory- This method must be implemented.
-
clearSupersedingActivityTerms
void clearSupersedingActivityTerms()Clears the superseding activity terms.- Compliance:
mandatory- This method must be implemented.
-
matchSpecificMeetingTime
Matches activities with specific dates between the given range inclusive.- Parameters:
start- start dateend- end datematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-endis less thanstartNullArgumentException-startorendiszero- Compliance:
mandatory- This method must be implemented.
-
matchAnySpecificMeetingTime
void matchAnySpecificMeetingTime(boolean match) Matches an activity that has any specific date.- Parameters:
match-trueto match activitiies with any specific date,falseto match activitiies with no specific dates- Compliance:
mandatory- This method must be implemented.
-
clearSpecificMeetingTimeTerms
void clearSpecificMeetingTimeTerms()Clears the specific date terms.- Compliance:
mandatory- This method must be implemented.
-
matchBlackout
Matches activities containing the given blackout date.- Parameters:
date- a datematch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-dateisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyBlackout
void matchAnyBlackout(boolean match) Matches an activity that has any blackout.- Parameters:
match-trueto match activitiies with any blackout,falseto match activitiies with no blackouts- Compliance:
mandatory- This method must be implemented.
-
clearBlackoutTerms
void clearBlackoutTerms()Clears all blackout terms.- Compliance:
mandatory- This method must be implemented.
-
matchBlackoutInclusive
Matches activities with blackouts within the given date range inclousive.- Parameters:
start- a start dateend- an end datematch-trueif a positive match,falsefor a negative match- Throws:
InvalidArgumentException-startis greater thanendNullArgumentException-startorendisnull- Compliance:
mandatory- This method must be implemented.
-
clearBlackoutInclusiveTerms
void clearBlackoutInclusiveTerms()Clears all blackout inclusive terms.- Compliance:
mandatory- This method must be implemented.
-
matchInstructorId
Sets the resourceIdfor this query to match course offerings that have an instructor.- Parameters:
resourceId- a resourceIdmatch-trueif a positive match,falsefor a negative match- Throws:
NullArgumentException-resourceIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearInstructorIdTerms
void clearInstructorIdTerms()Clears the instructorIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsInstructorQuery
boolean supportsInstructorQuery()Tests if aResourceQueryis available.- Returns:
trueif a resource query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getInstructorQuery
ResourceQuery getInstructorQuery()Gets the query for an instructor. Multiple retrievals produce a nestedORterm.- Returns:
- a resource query
- Throws:
UnimplementedException-supportsInstructorQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsInstructorQuery()} is {@code true} .
-
matchAnyInstructor
void matchAnyInstructor(boolean match) Matches course offerings that have any instructor.- Parameters:
match-trueto match course offerings with any instructor,falseto match course offerings with no instructors- Compliance:
mandatory- This method must be implemented.
-
clearInstructorTerms
void clearInstructorTerms()Clears the instructor terms.- Compliance:
mandatory- This method must be implemented.
-
matchMinimumSeats
void matchMinimumSeats(long min, long max, boolean match) Matches activities with a minimum seating between the given numbers inclusive.- Parameters:
min- low numbermax- high numbermatch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanmin- Compliance:
mandatory- This method must be implemented.
-
matchAnyMinimumSeats
void matchAnyMinimumSeats(boolean match) Matches activities with any minimum seating assigned.- Parameters:
match-trueto match activities with any minimum seating,falseto match activities with no minimum seating- Compliance:
mandatory- This method must be implemented.
-
clearMinimumSeatsTerms
void clearMinimumSeatsTerms()Clears the minimum seating terms.- Compliance:
mandatory- This method must be implemented.
-
matchMaximumSeats
void matchMaximumSeats(long min, long max, boolean match) Matches activities with a maximum seating between the given numbers inclusive.- Parameters:
min- low numbermax- high numbermatch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanmin- Compliance:
mandatory- This method must be implemented.
-
matchAnyMaximumSeats
void matchAnyMaximumSeats(boolean match) Matches activities with any maximum seating assigned.- Parameters:
match-trueto match activities with any maximum seating,falseto match activities with no maximum seating- Compliance:
mandatory- This method must be implemented.
-
clearMaximumSeatsTerms
void clearMaximumSeatsTerms()Clears the maximum seating terms.- Compliance:
mandatory- This method must be implemented.
-
matchTotalTargetEffort
Matches activities with a total effort between the given durations inclusive.- Parameters:
min- low rangemax- high rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanminNullArgumentException-minormaxisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyTotalTargetEffort
void matchAnyTotalTargetEffort(boolean match) Matches an activity that has any total effort assigned.- Parameters:
match-trueto match activities with any total effort,falseto match activities with no total effort- Compliance:
mandatory- This method must be implemented.
-
clearTotalTargetEffortTerms
void clearTotalTargetEffortTerms()Clears the total effort terms.- Compliance:
mandatory- This method must be implemented.
-
matchContact
void matchContact(boolean match) Matches activities that are contact activities.- Parameters:
match-trueto match activities that have contact,falseto match activities with no contact- Compliance:
mandatory- This method must be implemented.
-
clearContactTerms
void clearContactTerms()Clears the contact terms.- Compliance:
mandatory- This method must be implemented.
-
matchTotalTargetContactTime
Matches activities with a total contact time between the given durations inclusive.- Parameters:
min- low rangemax- high rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanminNullArgumentException-minormaxisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyTotalTargetContactTime
void matchAnyTotalTargetContactTime(boolean match) Matches an activity that has any total contact assigned.- Parameters:
match-trueto match activities with any total contatc,falseto match activities with no total contact- Compliance:
mandatory- This method must be implemented.
-
clearTotalTargetContactTimeTerms
void clearTotalTargetContactTimeTerms()Clears the total contact terms.- Compliance:
mandatory- This method must be implemented.
-
matchTotalTargetIndividualEffort
Matches activities with an individual effort between the given durations inclusive.- Parameters:
min- low rangemax- high rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanminNullArgumentException-minormaxisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyTotalTargetIndividualEffort
void matchAnyTotalTargetIndividualEffort(boolean match) Matches an activity that has any individual effort assigned.- Parameters:
match-trueto match activities with any individual effort,falseto match activities with no individual effort- Compliance:
mandatory- This method must be implemented.
-
clearTotalTargetIndividualEffortTerms
void clearTotalTargetIndividualEffortTerms()Clears the individual effort terms.- Compliance:
mandatory- This method must be implemented.
-
matchRecurringWeekly
void matchRecurringWeekly(boolean match) Matches activities that recur weekly.- Parameters:
match-trueto match activities that recur weekly,falseto match activities with no weekly recurrance- Compliance:
mandatory- This method must be implemented.
-
clearRecurringWeeklyTerms
void clearRecurringWeeklyTerms()Clears the recurring weekly terms.- Compliance:
mandatory- This method must be implemented.
-
matchWeeklyEffort
Matches activities with a weekly effort between the given durations inclusive.- Parameters:
min- low rangemax- high rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanminNullArgumentException-minormaxisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyWeeklyEffort
void matchAnyWeeklyEffort(boolean match) Matches an activity that has any weekly effort assigned.- Parameters:
match-trueto match activities with any weekly effort,falseto match activities with no weekly effort- Compliance:
mandatory- This method must be implemented.
-
clearWeeklyEffortTerms
void clearWeeklyEffortTerms()Clears the weekly effort terms.- Compliance:
mandatory- This method must be implemented.
-
matchWeeklyContactTime
Matches activities with a weekly contact time between the given durations inclusive.- Parameters:
min- low rangemax- high rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanminNullArgumentException-minormaxisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyWeeklyContactTime
void matchAnyWeeklyContactTime(boolean match) Matches an activity that has any weekly contact time assigned.- Parameters:
match-trueto match activities with any weekly contact time,falseto match activities with no weekly contact time- Compliance:
mandatory- This method must be implemented.
-
clearWeeklyContactTimeTerms
void clearWeeklyContactTimeTerms()Clears the weekly contact time terms.- Compliance:
mandatory- This method must be implemented.
-
matchWeeklyIndividualEffort
Matches activities with a weekly individual effort between the given durations inclusive.- Parameters:
min- low rangemax- high rangematch-truefor a positive match,falsefor a negative match- Throws:
InvalidArgumentException-maxis less thanminNullArgumentException-minormaxisnull- Compliance:
mandatory- This method must be implemented.
-
matchAnyWeeklyIndividualEffort
void matchAnyWeeklyIndividualEffort(boolean match) Matches an activity that has any weekly individual effort assigned.- Parameters:
match-trueto match activities with any weekly individual effort,falseto match activities with no weekly individual effort- Compliance:
mandatory- This method must be implemented.
-
clearWeeklyIndividualEffortTerms
void clearWeeklyIndividualEffortTerms()Clears the weekly individual effort terms.- Compliance:
mandatory- This method must be implemented.
-
matchCourseCatalogId
Sets the course catalogIdfor this query to match activities assigned to course catalogs.- Parameters:
courseCatalogId- the course catalogIdmatch-truefor a positive match,falsefor a negative match- Throws:
NullArgumentException-courseCatalogIdisnull- Compliance:
mandatory- This method must be implemented.
-
clearCourseCatalogIdTerms
void clearCourseCatalogIdTerms()Clears the course catalogIdterms.- Compliance:
mandatory- This method must be implemented.
-
supportsCourseCatalogQuery
boolean supportsCourseCatalogQuery()Tests if aCourseCatalogQueryis available.- Returns:
trueif a course catalog query is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getCourseCatalogQuery
CourseCatalogQuery getCourseCatalogQuery()Gets the query for a course catalog. Multiple retrievals produce a nestedORterm.- Returns:
- the course catalog query
- Throws:
UnimplementedException-supportsCourseCatalogQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCourseCatalogQuery()} is {@code true} .
-
clearCourseCatalogTerms
void clearCourseCatalogTerms()Clears the course catalog terms.- Compliance:
mandatory- This method must be implemented.
-
getActivityQueryRecord
Gets the activity query record corresponding to the givenActivityrecordType.Multiple record retrievals produce a nestedORterm.- Parameters:
activityRecordType- an activity record type- Returns:
- the activity query record
- Throws:
NullArgumentException-activityRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(activityRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-