Interface OfficeSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing office searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetOfficeSearchRecord(Type officeSearchRecordType) Gets the office search record corresponding to the given office search recordType.voidorderOfficeResults(OfficeSearchOrder officeSearchOrder) Specify an ordering to the search results.voidsearchAmongOffices(IdList officeIds) Execute this search among the given list of offices.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
-
searchAmongOffices
Execute this search among the given list of offices.- Parameters:
officeIds- list of offices- Throws:
NullArgumentException-officeIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderOfficeResults
Specify an ordering to the search results.- Parameters:
officeSearchOrder- office search order- Throws:
NullArgumentException-officeSearchOrderisnullUnsupportedException-officeSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getOfficeSearchRecord
OfficeSearchRecord getOfficeSearchRecord(Type officeSearchRecordType) throws OperationFailedException Gets the office search record corresponding to the given office search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
officeSearchRecordType- an office search record type- Returns:
- the office search record
- Throws:
NullArgumentException-officeSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(officeSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-