public interface EffortSmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. An EffortQuery
can be retrieved from this session
and foundryped to this Foundry
to create a virtual
collection of Efforts.
The efforts may be sequenced using
the EffortSearchOrder
from this session.
This Foundry
has a default query that matches any
effort and a default search order that specifies no sequencing. The
queries may be examined using an EffortQueryInspector.
The
query may be modified by converting the inspector back to an
EffortQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyEffortQuery(EffortQuery effortQuery)
Applies an effort query to this foundry.
|
void |
applyEffortSequencing(EffortSearchOrder effortSearchOrder)
Applies an effort search order to this foundry.
|
boolean |
canManageSmartFoundries()
Tests if this user can manage smart foundries.
|
EffortQuery |
getEffortQuery()
Gets an effort query.
|
EffortQuery |
getEffortQueryFromInspector(EffortQueryInspector effortQueryInspector)
Gets an effort query from an inspector.
|
EffortSearchOrder |
getEffortSearchOrder()
Gets an effort search order.
|
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
EffortQueryInspector |
inspectEffortQuery()
Gets an effort 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. EffortQuery getEffortQuery()
mandatory
- This method must be implemented. EffortSearchOrder getEffortSearchOrder()
mandatory
- This method must be implemented. void applyEffortQuery(EffortQuery effortQuery) throws OperationFailedException, PermissionDeniedException
effortQuery
- the effort queryNullArgumentException
- effortQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- effortQuery
not
of this servicemandatory
- This method must be implemented. EffortQueryInspector inspectEffortQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyEffortSequencing(EffortSearchOrder effortSearchOrder) throws OperationFailedException, PermissionDeniedException
effortSearchOrder
- the effort search orderNullArgumentException
- effortSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- effortSearchOrder
not of this servicemandatory
- This method must be implemented. EffortQuery getEffortQueryFromInspector(EffortQueryInspector effortQueryInspector)
effortQueryInspector
- an effort query inspectorNullArgumentException
- effortQueryInspector
is null
UnsupportedException
- effortQueryInspector
is not of this servicemandatory
- This method must be implemented.