public interface CanonicalUnitProcessorEnablerRuleLookupSession extends OsidSession
This session provides methods to retrieve
CanonicalUnitProcessorEnabler
to CanonicalUnitProcessor
mappings. A CanonicalUnitProcessor
with multiple
CanonicalUnitProcessorEnablers
means any positive rule
evaluation across the enablers result in an effective
CanonicalUnitProcessor.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupCanonicalUnitProcessorEnablerRules()
Tests if this user can perform lookups of canonical unit processor
enabler/canonical unit processor mappings.
|
IdList |
getCanonicalUnitProcessorEnablerIdsForCanonicalUnitProcessor(Id canonicalUnitProcessorId)
Gets the
CanonicalUnitProcessorEnabler Id associated
with a CanonicalUnitProcessor. |
CanonicalUnitProcessorEnablerList |
getCanonicalUnitProcessorEnablersForCanonicalUnitProcessor(Id canonicalUnitProcessorId)
Gets the
CanonicalUnitProcessorEnabler associated with
a CanonicalUnitProcessor. |
IdList |
getCanonicalUnitProcessorIdsForCanonicalUnitProcessorEnabler(Id canonicalUnitProcessorEnablerId)
Gets the
CanonicalUnitProcessor Ids
mapped to a CanonicalUnitProcessorEnabler. |
CanonicalUnitProcessorList |
getCanonicalUnitProcessorsForCanonicalUnitProcessorEnabler(Id canonicalUnitProcessorEnablerId)
Gets the
CanonicalUnitProcessors mapped to a
CanonicalUnitProcessorEnabler. |
Catalogue |
getCatalogue()
Gets the
Catalogue associated with this session. |
Id |
getCatalogueId()
Gets the
Catalogue Id associated with
this session. |
void |
useComparativeCanonicalUnitProcessorEnablerRuleView()
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 |
useFederatedCatalogueView()
Federates the view for methods in this session.
|
void |
useIsolatedCatalogueView()
Isolates the view for methods in this session.
|
void |
usePlenaryCanonicalUnitProcessorEnablerRuleView()
A complete view of the
CanonicalUnitProcessorEnabler
and CanonicalUnitProcessor returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getCatalogueId()
Catalogue
Id
associated with
this session. Catalogue Id
associated with this sessionmandatory
- This method must be implemented. Catalogue getCatalogue() throws OperationFailedException, PermissionDeniedException
Catalogue
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canLookupCanonicalUnitProcessorEnablerRules()
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 useComparativeCanonicalUnitProcessorEnablerRuleView()
mandatory
- This method is must be implemented. void usePlenaryCanonicalUnitProcessorEnablerRuleView()
CanonicalUnitProcessorEnabler
and CanonicalUnitProcessor
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 useFederatedCatalogueView()
mandatory
- This method is must be implemented. void useIsolatedCatalogueView()
mandatory
- This method is must be implemented. IdList getCanonicalUnitProcessorEnablerIdsForCanonicalUnitProcessor(Id canonicalUnitProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnitProcessorEnabler Id
associated
with a CanonicalUnitProcessor.
canonicalUnitProcessorId
- Id
of the
CanonicalUnitProcessor
Ids
NotFoundException
- canonicalUnitProcessorId
is not foundNullArgumentException
- canonicalUnitProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. CanonicalUnitProcessorEnablerList getCanonicalUnitProcessorEnablersForCanonicalUnitProcessor(Id canonicalUnitProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnitProcessorEnabler
associated with
a CanonicalUnitProcessor.
canonicalUnitProcessorId
- Id
of the
CanonicalUnitProcessor
NotFoundException
- canonicalUnitProcessorId
is not foundNullArgumentException
- canonicalUnitProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getCanonicalUnitProcessorIdsForCanonicalUnitProcessorEnabler(Id canonicalUnitProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnitProcessor
Ids
mapped to a CanonicalUnitProcessorEnabler.
canonicalUnitProcessorEnablerId
- Id
of a
CanonicalUnitProcessorEnabler
Ids
NotFoundException
-
canonicalUnitProcessorEnablerId
is not foundNullArgumentException
-
canonicalUnitProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. CanonicalUnitProcessorList getCanonicalUnitProcessorsForCanonicalUnitProcessorEnabler(Id canonicalUnitProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnitProcessors
mapped to a
CanonicalUnitProcessorEnabler.
canonicalUnitProcessorEnablerId
- Id
of a
CanonicalUnitProcessorEnabler
NotFoundException
-
canonicalUnitProcessorEnablerId
is not foundNullArgumentException
-
canonicalUnitProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.