public interface PriceScheduleQuerySession extends OsidSession
This session provides methods for searching PriceSchedule
objects. The search query is constructed using the
PriceScheduleQuery.
The price schedule record Type
also specifies the record for the price query.
Price schedules may have a query record indicated by their respective
record types. The query record is accessed via the
PriceScheduleQuery.
The returns in this session may not be cast
directly to these interfaces.
Modifier and Type | Method and Description |
---|---|
boolean |
canSearchPriceSchedules()
Tests if this user can perform
PriceSchedule searches. |
PriceScheduleQuery |
getPriceScheduleQuery()
Gets a price schedule query.
|
PriceScheduleList |
getPriceSchedulesByQuery(PriceScheduleQuery priceScheduleQuery)
Gets a list of
PriceSchedules matching the given price
schedule query. |
Store |
getStore()
Gets the
Store associated with this session. |
Id |
getStoreId()
Gets the
Store Id associated with this
session. |
void |
useFederatedStoreView()
Federates the view for methods in this session.
|
void |
useIsolatedStoreView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getStoreId()
Store
Id
associated with this
session. Store Id
associated with this sessionmandatory
- This method must be implemented. Store getStore() throws OperationFailedException, PermissionDeniedException
Store
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canSearchPriceSchedules()
PriceSchedule
searches.
A return of true does not guarantee successful authorization. A return
of false indicates that it is known all methods in this session will
result in a PERMISSION_DENIED.
This is intended as a
hint to an application that may opt not to offer search operations to
unauthorized users. false
if search methods are not authorized,
true
otherwisemandatory
- This method must be implemented. void useFederatedStoreView()
mandatory
- This method is must be implemented. void useIsolatedStoreView()
mandatory
- This method is must be implemented. PriceScheduleQuery getPriceScheduleQuery()
mandatory
- This method must be implemented. PriceScheduleList getPriceSchedulesByQuery(PriceScheduleQuery priceScheduleQuery) throws OperationFailedException, PermissionDeniedException
PriceSchedules
matching the given price
schedule query.priceScheduleQuery
- the price schedule query query PriceScheduleList
NullArgumentException
- priceScheduleQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failureUnsupportedException
- priceScheduleQuery
is not of this servicemandatory
- This method must be implemented.