public interface PeriodSearchSession extends PeriodQuerySession
This session provides methods for searching among Period
objects. The search query is constructed using the PeriodQuery.
getPeriodsByQuery() is the basic search method and
returns a list of Periods. A more advanced search may be
performed with getPeriodsBySearch(). It accepts a
PeriodSearch in addition to the query for the purpose of
specifying additional options affecting the entire search, such as
ordering. getPeriodsBySearch() returns a
PeriodsSearchResults that can be used to access the resulting
PeriodList or be used to perform a search within the result
set through PeriodSearch.
This session defines views that offer differing behaviors for searching.
Periods may have a query record indicated by their respective record
types. The query record is accessed via the PeriodQuery.
| Modifier and Type | Method and Description |
|---|---|
PeriodQuery |
getPeriodQueryFromInspector(PeriodQueryInspector periodQueryInspector)
Gets a period query from an inspector.
|
PeriodSearchResults |
getPeriodsBySearch(PeriodQuery periodQuery,
PeriodSearch periodSearch)
Gets the search results matching the given search query using the
given search.
|
PeriodSearch |
getPeriodSearch()
Gets a period search.
|
PeriodSearchOrder |
getPeriodSearchOrder()
Gets a period search order.
|
canSearchPeriods, getBusiness, getBusinessId, getPeriodQuery, getPeriodsByQuery, useFederatedBusinessView, useIsolatedBusinessViewgetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsclosePeriodSearch getPeriodSearch()
mandatory - This method must be implemented. PeriodSearchOrder getPeriodSearchOrder()
PeriodSearchOrder is
supplied to a PeriodSearch to specify the ordering of
results.mandatory - This method must be implemented. PeriodSearchResults getPeriodsBySearch(PeriodQuery periodQuery, PeriodSearch periodSearch) throws OperationFailedException, PermissionDeniedException
periodQuery - the period queryperiodSearch - the period searchNullArgumentException - periodQuery or
periodSearch is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - periodQuery or
periodSearch is not of this servicemandatory - This method must be implemented. PeriodQuery getPeriodQueryFromInspector(PeriodQueryInspector periodQueryInspector)
PeriodSearchResults. periodQueryInspector - a period query inspectorNullArgumentException - periodQueryInspector
is null UnsupportedException - periodQueryInspector
is not of this servicemandatory - This method must be implemented.