public interface DeedSearchSession extends DeedQuerySession
This session provides methods for searching Deed
objects. The search query is constructed using the DeedQuery.
The deed record Type
also specifies the record for
the deed query.
getDeedsByQuery()
is the basic search method and
returns a list of Deed
elements. A more advanced search may
be performed with getDeedsBySearch().
It accepts a
DeedSearch
in addition to the query for the purpose of specifying
additional options affecting the entire search, such as ordering.
getDeedsBySearch()
returns a DeedSearchResults
that
can be used to access the resulting DeedList
or be used to
perform a search within the result set through DeedSearch.
Deeds may have a query record indicated by their respective record
types. The query record is accessed via the DeedQuery.
The
returns in this session may not be cast directly to these interfaces.
Modifier and Type | Method and Description |
---|---|
DeedQuery |
getDeedQueryFromInspector(DeedQueryInspector deedQueryInspector)
Gets a deed query from an inspector.
|
DeedSearchResults |
getDeedsBySearch(DeedQuery deedQuery,
DeedSearch deedSearch)
Gets the search results matching the given search.
|
DeedSearch |
getDeedSearch()
Gets a deed search.
|
DeedSearchOrder |
getDeedSearchOrder()
Gets a deed search order.
|
canSearchDeeds, getCampus, getCampusId, getDeedQuery, getDeedsByQuery, useFederatedCampusView, useIsolatedCampusView
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
DeedSearch getDeedSearch()
mandatory
- This method must be implemented. DeedSearchOrder getDeedSearchOrder()
DeedSearchOrder
is
supplied to a DeedSearch
to specify the ordering of
results.mandatory
- This method must be implemented. DeedSearchResults getDeedsBySearch(DeedQuery deedQuery, DeedSearch deedSearch) throws OperationFailedException, PermissionDeniedException
deedQuery
- the deed querydeedSearch
- the deed searchNullArgumentException
- deedQuery
or
deedSearch
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- deedQuery
or
deedSearch
is not of this servicemandatory
- This method must be implemented. DeedQuery getDeedQueryFromInspector(DeedQueryInspector deedQueryInspector)
DeedSearchResults.
deedQueryInspector
- a query inspectorNullArgumentException
- deedQueryInspector
is null
UnsupportedException
- deedQueryInspector
is not of this servicemandatory
- This method must be implemented.