Interface PressSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing press searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPressSearchRecord(Type pressSearchRecordType) Gets the press search record corresponding to the given press search recordType.voidorderPressResults(PressSearchOrder pressSearchOrder) Specify an ordering to the search results.voidsearchAmongPresses(IdList pressIds) Execute this search among the given list of presses.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
-
searchAmongPresses
Execute this search among the given list of presses.- Parameters:
pressIds- list of presses- Throws:
NullArgumentException-pressIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPressResults
Specify an ordering to the search results.- Parameters:
pressSearchOrder- press search order- Throws:
NullArgumentException-pressSearchOrderisnullUnsupportedException-pressSearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPressSearchRecord
Gets the press search record corresponding to the given press search recordType. This method is used to retrieve an object implementing the requested record.- Parameters:
pressSearchRecordType- an press search record type- Returns:
- the press search record
- Throws:
NullArgumentException-pressSearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(pressSearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-