public interface CanonicalUnitProcessorRuleLookupSession extends OsidSession
This session provides methods to retrieve CanonicalUnitProcessor
to CanonicalUnit mappings.
This lookup session defines several views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupCanonicalUnitProcessorRules()
Tests if this user can perform lookups of canonical unit
processor/canonical unit mappings.
|
IdList |
getCanonicalUnitIdsForCanonicalUnitProcessor(Id canonicalUnitProcessorId)
Gets the
CanonicalUnit Ids mapped to a
CanonicalUnitProcessor. |
IdList |
getCanonicalUnitProcessorIdsForCanonicalUnit(Id canonicalUnitId)
Gets the
CanonicalUnitProcessor Id associated with a
CanonicalUnit. |
CanonicalUnitProcessorList |
getCanonicalUnitProcessorsForCanonicalUnit(Id canonicalUnitId)
Gets the
CanonicalUnitProcessor associated with a
CanonicalUnit. |
CanonicalUnitList |
getCanonicalUnitsForCanonicalUnitProcessor(Id canonicalUnitProcessorId)
Gets the
CanonicalUnits mapped to a
CanonicalUnitProcessor. |
Catalogue |
getCatalogue()
Gets the
Catalogue associated with this session. |
Id |
getCatalogueId()
Gets the
Catalogue Id associated with
this session. |
void |
useComparativeCanonicalUnitProcessorRuleView()
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 |
usePlenaryCanonicalUnitProcessorRuleView()
A complete view of the
CanonicalUnitProcessor and
CanonicalUnit returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId 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 canLookupCanonicalUnitProcessorRules()
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 useComparativeCanonicalUnitProcessorRuleView()
mandatory - This method is must be implemented. void usePlenaryCanonicalUnitProcessorRuleView()
CanonicalUnitProcessor and
CanonicalUnit 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 getCanonicalUnitProcessorIdsForCanonicalUnit(Id canonicalUnitId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnitProcessor Id associated with a
CanonicalUnit. canonicalUnitId - Id of the CanonicalUnit
Ids NotFoundException - canonicalUnitId is
not foundNullArgumentException - canonicalUnitId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. CanonicalUnitProcessorList getCanonicalUnitProcessorsForCanonicalUnit(Id canonicalUnitId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnitProcessor associated with a
CanonicalUnit. canonicalUnitId - Id of the CanonicalUnit
NotFoundException - canonicalUnitId is
not foundNullArgumentException - canonicalUnitId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getCanonicalUnitIdsForCanonicalUnitProcessor(Id canonicalUnitProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnit Ids mapped to a
CanonicalUnitProcessor. canonicalUnitProcessorId - Id of a
CanonicalUnitProcessor Ids NotFoundException - canonicalUnitProcessorId
is not foundNullArgumentException - canonicalUnitProcessorId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. CanonicalUnitList getCanonicalUnitsForCanonicalUnitProcessor(Id canonicalUnitProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CanonicalUnits mapped to a
CanonicalUnitProcessor. canonicalUnitProcessorId - Id of a
CanonicalUnitProcessor NotFoundException - canonicalUnitProcessorId
is not foundNullArgumentException - canonicalUnitProcessorId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.