public interface StepProcessorEnablerRuleLookupSession extends OsidSession
This session provides methods to retrieve StepProcessorEnabler
to StepProcessor
mappings. a StepProcessor
with multiple StepProcessorEnablers
means any
positive rule evaluation across the enablers result in an effective
StepProcessor.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupStepProcessorEnablerRules()
Tests if this user can perform lookups of step processor enabler/step
processor mappings.
|
Office |
getOffice()
Gets the
Office associated with this session. |
Id |
getOfficeId()
Gets the
Office Id associated with this
session. |
IdList |
getStepProcessorEnablerIdsForStepProcessor(Id stepProcessorId)
Gets the
StepProcessorEnabler Id associated with a
StepProcessor. |
StepProcessorEnablerList |
getStepProcessorEnablersForStepProcessor(Id stepProcessorId)
Gets the
StepProcessorEnabler associated with a
StepProcessor. |
IdList |
getStepProcessorIdsForStepProcessorEnabler(Id stepProcessorEnablerId)
Gets the
StepProcessor Ids mapped to a
StepProcessorEnabler. |
StepProcessorList |
getStepProcessorsForStepProcessorEnabler(Id stepProcessorEnablerId)
Gets the
StepProcessors mapped to a
StepProcessorEnabler. |
void |
useComparativeStepProcessorEnablerRuleView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
useFederatedOfficeView()
Federates the view for methods in this session.
|
void |
useIsolatedOfficeView()
Isolates the view for methods in this session.
|
void |
usePlenaryStepProcessorEnablerRuleView()
A complete view of the
StepProcessorEnabler and
StepProcessor returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getOfficeId()
Office
Id
associated with this
session. Office Id
associated with this sessionmandatory
- This method must be implemented. Office getOffice() throws OperationFailedException, PermissionDeniedException
Office
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canLookupStepProcessorEnablerRules()
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users. false
if looking up mappings is not authorized,
true
otherwisemandatory
- This method must be implemented. void useComparativeStepProcessorEnablerRuleView()
mandatory
- This method is must be implemented. void usePlenaryStepProcessorEnablerRuleView()
StepProcessorEnabler
and
StepProcessor
returns is desired. Methods will return what is
requested or result in an error. This view is used when greater
precision is desired at the expense of interoperability.mandatory
- This method is must be implemented. void useFederatedOfficeView()
mandatory
- This method is must be implemented. void useIsolatedOfficeView()
mandatory
- This method is must be implemented. IdList getStepProcessorEnablerIdsForStepProcessor(Id stepProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepProcessorEnabler Id
associated with a
StepProcessor.
stepProcessorId
- Id
of the StepProcessor
Ids
NotFoundException
- stepProcessorId
is
not foundNullArgumentException
- stepProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. StepProcessorEnablerList getStepProcessorEnablersForStepProcessor(Id stepProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepProcessorEnabler
associated with a
StepProcessor.
stepProcessorId
- Id
of the StepProcessor
NotFoundException
- stepProcessorId
is
not foundNullArgumentException
- stepProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getStepProcessorIdsForStepProcessorEnabler(Id stepProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepProcessor
Ids
mapped to a
StepProcessorEnabler.
stepProcessorEnablerId
- Id
of a
StepProcessorEnabler
Ids
NotFoundException
- stepProcessorEnablerId
is not foundNullArgumentException
- stepProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. StepProcessorList getStepProcessorsForStepProcessorEnabler(Id stepProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepProcessors
mapped to a
StepProcessorEnabler.
stepProcessorEnablerId
- Id
of a
StepProcessorEnabler
NotFoundException
- stepProcessorEnablerId
is not foundNullArgumentException
- stepProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.