Interface CampusSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing campus searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetCampusSearchRecord(Type campusSearchRecordType) Gets the campus search record corresponding to the given campus search recordType.voidorderCampusResults(CampusSearchOrder campussearchOrder) Specify an ordering to the search results.voidsearchAmongCampuses(IdList campusIds) Execute this search among the given list of campuses.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
-
searchAmongCampuses
Execute this search among the given list of campuses.- Parameters:
campusIds- list of campuses- Throws:
NullArgumentException-campusIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderCampusResults
Specify an ordering to the search results.- Parameters:
campussearchOrder- campus search order- Throws:
NullArgumentException-campussearchOrderisnullUnsupportedException-campussearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getCampusSearchRecord
CampusSearchRecord getCampusSearchRecord(Type campusSearchRecordType) throws OperationFailedException Gets the campus search record corresponding to the given campus search recordType. This method must be used to retrieve an object implementing the requested record.- Parameters:
campusSearchRecordType- a campus search record type- Returns:
- the campus search record
- Throws:
NullArgumentException-campussearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(campussearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-