public interface CommissionEnablerRuleLookupSession extends OsidSession
This session provides methods to retrieve CommissionEnabler
to Commission mappings. A Commission
with multiple CommissionEnablers means any positive rule
evaluation across the enablers result in an accessible Commission.
This lookup session defines several views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupCommissionEnablerRules()
Tests if this user can perform lookups of commission
enabler/commission mappings.
|
IdList |
getCommissionEnablerIdsForCommission(Id commissionId)
Gets the
CommissionEnabler Id associated with a
Commission. |
CommissionEnablerList |
getCommissionEnablersForCommission(Id commissionId)
Gets the
CommissionEnabler associated with a
Commission. |
IdList |
getCommissionIdsForCommissionEnabler(Id commissionEnablerId)
Gets the
Commission Ids mapped to a
CommissionEnabler. |
CommissionList |
getCommissionsForCommissionEnabler(Id commissionEnablerId)
Gets the
Commissions mapped to a
CommissionEnabler. |
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
void |
useComparativeCommissionEnablerRuleView()
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 |
useFederatedFoundryView()
Federates the view for methods in this session.
|
void |
useIsolatedFoundryView()
Isolates the view for methods in this session.
|
void |
usePlenaryCommissionEnablerRuleView()
A complete view of the
CommissionEnabler and
Commission returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFoundryId()
Foundry Id associated with this
session. Foundry Id associated with this sessionmandatory - This method must be implemented. Foundry getFoundry() throws OperationFailedException, PermissionDeniedException
Foundry associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canLookupCommissionEnablerRules()
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 useComparativeCommissionEnablerRuleView()
mandatory - This method is must be implemented. void usePlenaryCommissionEnablerRuleView()
CommissionEnabler and
Commission 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 useFederatedFoundryView()
mandatory - This method is must be implemented. void useIsolatedFoundryView()
mandatory - This method is must be implemented. IdList getCommissionEnablerIdsForCommission(Id commissionId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CommissionEnabler Id associated with a
Commission. commissionId - Id of the Commission
Ids NotFoundException - commissionId is not
foundNullArgumentException - commissionId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. CommissionEnablerList getCommissionEnablersForCommission(Id commissionId) throws NotFoundException, OperationFailedException, PermissionDeniedException
CommissionEnabler associated with a
Commission. commissionId - Id of the Commission
NotFoundException - commissionId is not
foundNullArgumentException - commissionId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getCommissionIdsForCommissionEnabler(Id commissionEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Commission Ids mapped to a
CommissionEnabler. commissionEnablerId - Id of a
CommissionEnabler Ids NotFoundException - commissionEnablerId
is not foundNullArgumentException - commissionEnablerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. CommissionList getCommissionsForCommissionEnabler(Id commissionEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Commissions mapped to a
CommissionEnabler. commissionEnablerId - Id of a
CommissionEnabler NotFoundException - commissionEnablerId
is not foundNullArgumentException - commissionEnablerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.