public interface PublisherSearchSession extends PublisherQuerySession
This session provides methods for searching Publisher
objects. The search query is constructed using the PublisherQuery.
The publisher record Type also specifies the record
for the publisher query.
getPublishersByQuery() is the basic search method and
returns a list of Publisher elements. A more advanced
search may be performed with getPublishersBySearch(). It
accepts a PublisherSearch in addition to the query for the
purpose of specifying additional options affecting the entire search, such
as ordering. getPublishersBySearch() returns a
PublisherSearchResults that can be used to access the resulting
PublisherList or be used to perform a search within the
result set through PublisherSearch.
Publishers may have a query record indicated by their respective
record types. The query record is accessed via the PublisherQuery.
The returns in this session may not be cast directly to these
interfaces.
| Modifier and Type | Method and Description |
|---|---|
PublisherQuery |
getPublisherQueryFromInspector(PublisherQueryInspector publisherQueryInspector)
Gets an entry query from an inspector.
|
PublisherSearchResults |
getPublishersBySearch(PublisherQuery publisherQuery,
PublisherSearch publisherSearch)
Gets the search results matching the given search.
|
PublisherSearch |
getPublisherSearch()
Gets a publisher search.
|
PublisherSearchOrder |
getPublisherSearchOrder()
Gets a publisher search order.
|
canSearchPublishers, getPublisherQuery, getPublishersByQuerygetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsclosePublisherSearch getPublisherSearch()
mandatory - This method must be implemented. PublisherSearchOrder getPublisherSearchOrder()
PublisherSearchOrder
is supplied to a PublisherSearch to specify the
ordering of results.mandatory - This method must be implemented. PublisherSearchResults getPublishersBySearch(PublisherQuery publisherQuery, PublisherSearch publisherSearch) throws OperationFailedException, PermissionDeniedException
publisherQuery - the publisher querypublisherSearch - the publisher searchNullArgumentException - publisherQuery
or publisherSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - publisherQuery or
publisherSearch is not of this servicemandatory - This method must be implemented. PublisherQuery getPublisherQueryFromInspector(PublisherQueryInspector publisherQueryInspector)
PublisherSearchResults. publisherQueryInspector - a query inspectorNullArgumentException - publisherQueryInspector
is null UnsupportedException - publisherQueryInspector
is not of this servicemandatory - This method must be implemented.