public interface StepConstrainerEnablerRuleLookupSession extends OsidSession
This session provides methods to retrieve StepConstrainerEnabler
to StepConstrainer
mappings. a Step
with multiple StepConstrainerEnablers
means any positive
rule evaluation across the enablers result in an effective
StepConstrainer.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupStepConstrainerEnablerRules()
Tests if this user can perform lookups of step constrainer
enabler/step constrainer mappings.
|
Office |
getOffice()
Gets the
Office associated with this session. |
Id |
getOfficeId()
Gets the
Office Id associated with this
session. |
IdList |
getStepConstrainerEnablerIdsForStepConstrainer(Id stepConstrainerId)
Gets the
StepConstrainerEnabler Id associated with a
StepConstrainer. |
StepConstrainerEnablerList |
getStepConstrainerEnablersForStepConstrainer(Id stepConstrainerId)
Gets the
StepConstrainerEnablers associated with a
StepConstrainer. |
IdList |
getStepConstrainerIdsForStepConstrainerEnabler(Id stepConstrainerEnablerId)
Gets the
StepConstrainer Ids mapped to a
StepConstrainerEnabler. |
StepConstrainerList |
getStepConstrainersForStepConstrainerEnabler(Id stepConstrainerEnablerId)
Gets the
StepConstrainers mapped to a
StepConstrainerEnabler. |
void |
useComparativeStepConstrainerEnablerRuleView()
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 |
usePlenaryStepConstrainerEnablerRuleView()
A complete view of the
StepConstrainerEnabler and
StepConstrainer 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 canLookupStepConstrainerEnablerRules()
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 useComparativeStepConstrainerEnablerRuleView()
mandatory
- This method is must be implemented. void usePlenaryStepConstrainerEnablerRuleView()
StepConstrainerEnabler
and
StepConstrainer
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 getStepConstrainerEnablerIdsForStepConstrainer(Id stepConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepConstrainerEnabler Id
associated with a
StepConstrainer.
stepConstrainerId
- Id
of the
StepConstrainer
Ids
NotFoundException
- stepConstrainerId
is
not foundNullArgumentException
- stepConstrainerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. StepConstrainerEnablerList getStepConstrainerEnablersForStepConstrainer(Id stepConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepConstrainerEnablers
associated with a
StepConstrainer.
stepConstrainerId
- Id
of the
StepConstrainer
NotFoundException
- stepConstrainerId
is
not foundNullArgumentException
- stepConstrainerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getStepConstrainerIdsForStepConstrainerEnabler(Id stepConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepConstrainer
Ids
mapped to a
StepConstrainerEnabler.
stepConstrainerEnablerId
- Id
of a
StepConstrainerEnabler
Ids
NotFoundException
- stepConstrainerEnablerId
is not foundNullArgumentException
- stepConstrainerEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. StepConstrainerList getStepConstrainersForStepConstrainerEnabler(Id stepConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
StepConstrainers
mapped to a
StepConstrainerEnabler.
stepConstrainerEnablerId
- Id
of a
StepConstrainerEnabler
NotFoundException
- stepConstrainerEnablerId
is not foundNullArgumentException
- stepConstrainerEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.