public interface StepProcessorRuleLookupSession extends OsidSession
This session provides methods to retrieve StepProcessor
to Step
mappings.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupStepProcessorRules()
Tests if this user can perform lookups of step processor/step
mappings.
|
Office |
getOffice()
Gets the
Office associated with this session. |
Id |
getOfficeId()
Gets the
Office Id associated with this
session. |
IdList |
getStepIdsForStepProcessor(Id stepProcessorId)
Gets the
Step Ids mapped to a
StepProcessor. |
IdList |
getStepProcessorIdsForStep(Id stepId)
Gets the
StepProcessor Id associated with a
Step. |
StepProcessorList |
getStepProcessorsForStep(Id stepId)
Gets the
StepProcessor associated with a Step. |
StepList |
getStepsForStepProcessor(Id stepProcessorId)
Gets the
Steps mapped to a StepProcessor. |
void |
useComparativeStepProcessorRuleView()
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 |
usePlenaryStepProcessorRuleView()
A complete view of the
StepProcessor and Step
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 canLookupStepProcessorRules()
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 useComparativeStepProcessorRuleView()
mandatory
- This method is must be implemented. void usePlenaryStepProcessorRuleView()
StepProcessor
and Step
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 getStepProcessorIdsForStep(Id stepId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepProcessor Id
associated with a
Step.
stepId
- Id
of the Step
Ids
NotFoundException
- stepId
is not foundNullArgumentException
- stepId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. StepProcessorList getStepProcessorsForStep(Id stepId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepProcessor
associated with a Step.
stepId
- Id
of the Auction
NotFoundException
- stepId
is not foundNullArgumentException
- stepId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getStepIdsForStepProcessor(Id stepProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Step
Ids
mapped to a
StepProcessor.
stepProcessorId
- Id
of a StepProcessor
Ids
NotFoundException
- stepProcessorId
is
not foundNullArgumentException
- stepProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. StepList getStepsForStepProcessor(Id stepProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Steps
mapped to a StepProcessor.
stepProcessorId
- Id
of a StepProcessor
NotFoundException
- stepProcessorId
is
not foundNullArgumentException
- stepProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.