public interface CanonicalUnitSearchSession extends CanonicalUnitQuerySession
This session provides methods for searching CanonicalUnit
objects. The search query is constructed using the
CanonicalUnitQuery. The canonical unit record Type
also specifies the record for the canonical unit query.
getCanonicalUnitsByQuery() is the basic search method
and returns a list of CanonicalUnit elements. A more
advanced search may be performed with getCanonicalUnitsBySearch().
It accepts a CanonicalUnitSearch in addition to the
query for the purpose of specifying additional options affecting the
entire search, such as ordering. getCanonicalUnitsBySearch()
returns a CanonicalUnitSearchResults that can be
used to access the resulting CanonicalUnitList or be used
to perform a search within the result set through
CanonicalUnitSearch.
This session defines views that offer differing behaviors for searching.
CanonicalUnits may have a query record indicated by their respective
record types. The query record is accessed via the
CanonicalUnitQuery. The returns in this session may not be cast
directly to these interfaces.
| Modifier and Type | Method and Description |
|---|---|
CanonicalUnitQuery |
getCanonicalUnitQueryFromInspector(CanonicalUnitQueryInspector canonicalUnitQueryInspector)
Gets a canonical unit query from an inspector.
|
CanonicalUnitSearchResults |
getCanonicalUnitsBySearch(CanonicalUnitQuery canonicalUnitQuery,
CanonicalUnitSearch canonicalUnitSearch)
Gets the search results matching the given search.
|
CanonicalUnitSearch |
getCanonicalUnitSearch()
Gets a canonical unit search.
|
CanonicalUnitSearchOrder |
getCanonicalUnitSearchOrder()
Gets a canonical unit search order.
|
canSearchCanonicalUnits, getCanonicalUnitQuery, getCanonicalUnitsByQuery, getCatalogue, getCatalogueId, useFederatedCatalogueView, useIsolatedCatalogueViewgetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseCanonicalUnitSearch getCanonicalUnitSearch()
mandatory - This method must be implemented. CanonicalUnitSearchOrder getCanonicalUnitSearchOrder()
CanonicalUnitSearchOrder is supplied to a
CanonicalUnitSearch to specify the ordering of results.mandatory - This method must be implemented. CanonicalUnitSearchResults getCanonicalUnitsBySearch(CanonicalUnitQuery canonicalUnitQuery, CanonicalUnitSearch canonicalUnitSearch) throws OperationFailedException, PermissionDeniedException
canonicalUnitQuery - the canonical unit querycanonicalUnitSearch - the canonical unit searchNullArgumentException - canonicalUnitQuery
or canonicalUnitSearch is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - canonicalUnitQuery
or canonicalUnitSearch is not of this
servicemandatory - This method must be implemented. CanonicalUnitQuery getCanonicalUnitQueryFromInspector(CanonicalUnitQueryInspector canonicalUnitQueryInspector)
CanonicalUnitSearchResults. canonicalUnitQueryInspector - a canonical unit query inspectorNullArgumentException -
canonicalUnitQueryInspector is null UnsupportedException -
canonicalUnitQueryInspector is not of this servicemandatory - This method must be implemented.