Interface PublisherSearch
- All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable
The search interface for governing publisher searches.
-
Method Summary
Modifier and TypeMethodDescriptiongetPublisherSearchRecord(Type publisherSearchRecordType) Gets the publisher search record corresponding to the given publisher search recordType.voidorderPublisherResults(PublisherSearchOrder publishersearchOrder) Specify an ordering to the search results.voidsearchAmongPublishers(IdList publisherIds) Execute this search among the given list of publishers.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
-
searchAmongPublishers
Execute this search among the given list of publishers.- Parameters:
publisherIds- list of publishers- Throws:
NullArgumentException-publisherIdsisnull- Compliance:
mandatory- This method must be implemented.
-
orderPublisherResults
Specify an ordering to the search results.- Parameters:
publishersearchOrder- publisher search order- Throws:
NullArgumentException-publishersearchOrderisnullUnsupportedException-publishersearchOrderis not of this service- Compliance:
mandatory- This method must be implemented.
-
getPublisherSearchRecord
PublisherSearchRecord getPublisherSearchRecord(Type publisherSearchRecordType) throws OperationFailedException Gets the publisher search record corresponding to the given publisher search recordType. This method must be used to retrieve an object implementing the requested record.- Parameters:
publisherSearchRecordType- a publisher search record type- Returns:
- the publisher search record
- Throws:
NullArgumentException-publishersearchRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(publishersearchRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-