Interface ActivitySearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing activity searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetActivitySearchRecord(Type activitySearchRecordType) Gets the activity search record corresponding to the given activity search recordType.voidorderActivityResults(ActivitySearchOrder activitySearchOrder) Specify an ordering to the search results.voidsearchAmongActivities(IdList activityIds) Execute this search among the given list of activities.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 OsidSearch
limitResultSetModifier and TypeMethodDescriptionvoidlimitResultSet(long start, long end) By default, searches return all matching results.
-
Method Details
-
searchAmongActivities
Execute this search among the given list of activities.- Parameters:
activityIds- list of activities- Throws:
NullArgumentException-activityIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderActivityResults
Specify an ordering to the search results.- Parameters:
activitySearchOrder- activity search order- Throws:
NullArgumentException-activitySearchOrderisnullUnsupportedException-activitySearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getActivitySearchRecord
ActivitySearchRecord getActivitySearchRecord(Type activitySearchRecordType) throws OperationFailedException Gets the activity search record corresponding to the given activity search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
activitySearchRecordType- an activity search record type- Returns:
- the activity search record
- Throws:
NullArgumentException-activitySearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(activitySearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-