Interface PlanSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing plan searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPlanSearchRecord(Type planSearchRecordType) Gets the plan search record corresponding to the given plan search recordType.voidorderPlanResults(PlanSearchOrder planSearchOrder) Specify an ordering to the search results.voidsearchAmongPlans(IdList planIds) Execute this search among the given list of plans.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
-
searchAmongPlans
Execute this search among the given list of plans.- Parameters:
planIds- list of plans- Throws:
NullArgumentException-planIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPlanResults
Specify an ordering to the search results.- Parameters:
planSearchOrder- plan search order- Throws:
NullArgumentException-planSearchOrderisnullUnsupportedException-planSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPlanSearchRecord
Gets the plan search record corresponding to the given plan search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
planSearchRecordType- a plan search record type- Returns:
- the plan search record
- Throws:
NullArgumentException-planSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(planSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-