public interface FiscalPeriodSearchSession extends FiscalPeriodQuerySession
This session provides methods for searching among FiscalPeriod
objects. The search query is constructed using the
FiscalPeriodQuery.
getFiscalPeriodsByQuery() is the basic search method
and returns a list of FiscalPeriods. A more advanced search
may be performed with getFiscalPeriodsBySearch(). It
accepts a FiscalPeriodSearch in addition to the query for
the purpose of specifying additional options affecting the entire search,
such as ordering. getFiscalPeriodsBySearch() returns a
FiscalPeriodSearchResults that can be used to access the
resulting FiscalPeriodList or be used to perform a search
within the result set through FiscalPeriodSearch.
This session defines views that offer differing behaviors for searching.
Fiscal Periods may have a query record indicated by their respective
record types. The queryrecord is accessed via the
FiscalPeriodQuery.
| Modifier and Type | Method and Description |
|---|---|
FiscalPeriodQuery |
getFiscalPeriodQueryFromInspector(ItemQueryInspector fiscalPeriodQueryInspector)
Gets a fiscal period query from an inspector.
|
FiscalPeriodSearchResults |
getFiscalPeriodsBySearch(FiscalPeriodQuery fiscalPeriodQuery,
FiscalPeriodSearch fiscalPeriodSearch)
Gets the search results matching the given search query using the
given search.
|
FiscalPeriodSearch |
getFiscalPeriodSearch()
Gets a fiscal period search.
|
FiscalPeriodSearchOrder |
getFiscalPeriodSearchOrder()
Gets a fiscal period search order.
|
canSearchFiscalPeriods, getBusiness, getBusinessId, getFiscalPeriodQuery, getFiscalPeriodsByQuery, useFederatedBusinessView, useIsolatedBusinessViewgetAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseFiscalPeriodSearch getFiscalPeriodSearch()
mandatory - This method must be implemented. FiscalPeriodSearchOrder getFiscalPeriodSearchOrder()
FiscalPeriodSearchOrder
is supplied to a FiscalPeriodSearch to specify
the ordering of results.mandatory - This method must be implemented. FiscalPeriodSearchResults getFiscalPeriodsBySearch(FiscalPeriodQuery fiscalPeriodQuery, FiscalPeriodSearch fiscalPeriodSearch) throws OperationFailedException, PermissionDeniedException
fiscalPeriodQuery - the fiscal period queryfiscalPeriodSearch - the fiscal period searchNullArgumentException - fiscalPeriodQuery
or fiscalPeriodSearch is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failureUnsupportedException - fiscalPeriodQuery
or fiscalPeriodSearch is not of this servicemandatory - This method must be implemented. FiscalPeriodQuery getFiscalPeriodQueryFromInspector(ItemQueryInspector fiscalPeriodQueryInspector)
FiscalPeriodSearchResults. fiscalPeriodQueryInspector - a fiscal period query inspectorNullArgumentException -
fiscalPeriodQueryInspector is null UnsupportedException -
fiscalPeriodQueryInspector is not of this servicemandatory - This method must be implemented.