public interface AvailabilitySmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. An AvailabilityQuery can be retrieved from this
session and foundryped to this Foundry to create a virtual
collection of Availabilities. The availabilities may be
sequenced using the AvailabilitySearchOrder from this
session.
This Foundry has a default query that matches any
availability and a default search order that specifies no sequencing. The
queries may be examined using an AvailabilityQueryInspector.
The query may be modified by converting the inspector back to an
AvailabilityQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyAvailabilityQuery(AvailabilityQuery availabilityQuery)
Applies an availability query to this foundry.
|
void |
applyAvailabilitySequencing(AvailabilitySearchOrder availabilitySearchOrder)
Applies an availability search order to this foundry.
|
boolean |
canManageSmartFoundries()
Tests if this user can manage smart foundries.
|
AvailabilityQuery |
getAvailabilityQuery()
Gets an availability query.
|
AvailabilityQuery |
getAvailabilityQueryFromInspector(AvailabilityQueryInspector availabilityQueryInspector)
Gets an availability query from an inspector.
|
AvailabilitySearchOrder |
getAvailabilitySearchOrder()
Gets an availability search order.
|
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
AvailabilityQueryInspector |
inspecAvailabilityQuery()
Gets an availability query inspector for this foundry.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFoundryId()
Foundry Id associated with this
session. Foundry Id associated with this sessionmandatory - This method must be implemented. Foundry getFoundry() throws OperationFailedException, PermissionDeniedException
Foundry associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartFoundries()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart foundry management is not
authorized, true otherwisemandatory - This method must be implemented. AvailabilityQuery getAvailabilityQuery()
mandatory - This method must be implemented. AvailabilitySearchOrder getAvailabilitySearchOrder()
mandatory - This method must be implemented. void applyAvailabilityQuery(AvailabilityQuery availabilityQuery) throws OperationFailedException, PermissionDeniedException
availabilityQuery - the availability queryNullArgumentException - availabilityQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - availabilityQuery
not of this servicemandatory - This method must be implemented. AvailabilityQueryInspector inspecAvailabilityQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyAvailabilitySequencing(AvailabilitySearchOrder availabilitySearchOrder) throws OperationFailedException, PermissionDeniedException
availabilitySearchOrder - the availability search orderNullArgumentException - availabilitySearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - availabilitySearchOrder
not of this servicemandatory - This method must be implemented. AvailabilityQuery getAvailabilityQueryFromInspector(AvailabilityQueryInspector availabilityQueryInspector)
availabilityQueryInspector - an availability query inspectorNullArgumentException -
availabilityQueryInspector is null UnsupportedException -
availabilityQueryInspector is not of this servicemandatory - This method must be implemented.