public interface AvailabilityEnablerSmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
foundries. an AvailabilityEnablerQuery
can be retrieved
from this session and mapped to this Foundry
to create a
virtual collection of availability enablers. The availability enabler may
be sequenced using the AvailabilityEnablerSearchOrder
from
this session.
This Foundry
has a default query that matches any
availability enabler and a default search order that specifies no
sequencing. The queries may be examined using an
AvailabilityEnablerQueryInspector.
The query may be modified by
converting the inspector back to an AvailabilityEnablerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyAvailabilityEnablerQuery(AvailabilityEnablerQuery availabilityEnablerQuery)
Applies an availability enabler query to this foundry.
|
void |
applyAvailabilityEnablerSequencing(AvailabilityEnablerSearchOrder availabilityEnablerSearchOrder)
Applies an availability enabler search order to this foundry.
|
boolean |
canManageSmartFoundries()
Tests if this user can manage smart foundries.
|
AvailabilityEnablerQuery |
getAvailabilityEnablerQuery()
Gets an availability enabler query.
|
AvailabilityEnablerQuery |
getAvailabilityEnablerQueryFromInspector(AvailabilityEnablerQueryInspector availabilityEnablerQueryInspector)
Gets an availability enabler query from an inspector.
|
AvailabilityEnablerSearchOrder |
getAvailabilityEnablerSearchOrder()
Gets an availability enabler search order.
|
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
AvailabilityEnablerQueryInspector |
inspectAvailabilityEnablerQuery()
Gets an availability enabler query inspector for this foundry.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id 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. AvailabilityEnablerQuery getAvailabilityEnablerQuery()
mandatory
- This method must be implemented. AvailabilityEnablerSearchOrder getAvailabilityEnablerSearchOrder()
mandatory
- This method must be implemented. void applyAvailabilityEnablerQuery(AvailabilityEnablerQuery availabilityEnablerQuery) throws OperationFailedException, PermissionDeniedException
availabilityEnablerQuery
- the availability enabler queryNullArgumentException
- availabilityEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- availabilityEnablerQuery
not of this servicemandatory
- This method must be implemented. AvailabilityEnablerQueryInspector inspectAvailabilityEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyAvailabilityEnablerSequencing(AvailabilityEnablerSearchOrder availabilityEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
availabilityEnablerSearchOrder
- the availability enabler search
orderNullArgumentException
-
availabilityEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
availabilityEnablerSearchOrder
not of this servicemandatory
- This method must be implemented. AvailabilityEnablerQuery getAvailabilityEnablerQueryFromInspector(AvailabilityEnablerQueryInspector availabilityEnablerQueryInspector)
availabilityEnablerQueryInspector
- an availability enabler
query inspectorNullArgumentException
-
availabilityEnablerQueryInspector
is null
UnsupportedException
-
availabilityEnablerQueryInspector
is not of this
servicemandatory
- This method must be implemented.