Interface AuditProcessorEnablerRuleApplicationSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session provides methods to apply AuditProcessorEnablers
to AuditProcessors . Multiple AuditProcessorEnablers
applied to an AuditProcessor may be sequenced such that the first
positive evaluation results in the AuditProcessorEnabler used.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignAuditProcessorEnablerToAuditProcessor(Id auditProcessorEnablerId, Id auditProcessorId) Adds an existingAuditProcessorEnablerto anAuditProcessor.booleanTests if this user can alter audit processor enabler/audit processor mappings.booleanTests if this user can orderAuditProcessorEnablers.Gets theInquestassociated with this session.Gets theInquestIdassociated with this session.voidmoveAuditProcessorEnablerAhead(Id auditProcessorEnablerId, Id auditProcessorId, Id referenceId) Reorders audit processor enablers for an audit processor by moving the specified audit processor enabler in front of a reference audit processor enabler.voidmoveAuditProcessorEnablerBehind(Id auditProcessorEnablerId, Id auditProcessorId, Id referenceId) Reorders audit processor enablers for an audit processor by moving the specified audit processor enabler behind a reference audit processor enabler.voidorderAuditProcessorEnablers(Id[] auditProcessorEnablerIds, Id auditProcessorId) Reorders a set of audit processor enablers for an audit processor.voidunassignAuditProcessorEnablerFromAuditProcessor(Id auditProcessorEnablerId, Id auditProcessorId) Removes an existingAuditProcessorEnablerfrom anAuditProcessor.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getInquestId
Id getInquestId()Gets theInquestIdassociated with this session.- Returns:
- the
Inquest Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getInquest
Gets theInquestassociated with this session.- Returns:
- the inquest
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canAssignAuditProcessorEnablers
boolean canAssignAuditProcessorEnablers()Tests if this user can alter audit processor enabler/audit processor mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.- Returns:
falseif mapping is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
assignAuditProcessorEnablerToAuditProcessor
void assignAuditProcessorEnablerToAuditProcessor(Id auditProcessorEnablerId, Id auditProcessorId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an existingAuditProcessorEnablerto anAuditProcessor.- Parameters:
auditProcessorEnablerId- theIdof theAuditProcessorEnablerauditProcessorId- theIdof theAuditProcessor- Throws:
AlreadyExistsException-auditProcessorEnablerIdalready applied toauditProcessorIdNotFoundException-auditProcessorEnablerIdorauditProcessorIdnot foundNullArgumentException-auditProcessorEnablerIdorauditProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
unassignAuditProcessorEnablerFromAuditProcessor
void unassignAuditProcessorEnablerFromAuditProcessor(Id auditProcessorEnablerId, Id auditProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an existingAuditProcessorEnablerfrom anAuditProcessor.- Parameters:
auditProcessorEnablerId- theIdof theAuditProcessorEnablerauditProcessorId- theIdof theAuditProcessor- Throws:
NotFoundException-auditProcessorEnablerIdorauditProcessorIdnot found orauditProcessorEnablerIdalready applied toauditProcessorIdNullArgumentException-auditProcessorEnablerIdorauditProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canSequenceAuditProcessorEnablers
boolean canSequenceAuditProcessorEnablers()Tests if this user can orderAuditProcessorEnablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known sequencing operations will result in aPERMISSION_DENIED.This is intended as a hint to an application that may opt not to offer sequencing operations to an unauthorized user.- Returns:
falseifAuditProcessorEnablerordering is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
moveAuditProcessorEnablerAhead
void moveAuditProcessorEnablerAhead(Id auditProcessorEnablerId, Id auditProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders audit processor enablers for an audit processor by moving the specified audit processor enabler in front of a reference audit processor enabler.- Parameters:
auditProcessorEnablerId- theIdof theAuditProcessorEnablerauditProcessorId- theIdof theAuditProcessorreferenceId- the reference audit processor enablerId- Throws:
NotFoundException-auditProcessorEnablerId auditProcessorId, orreferenceIdnot found or,auditProcessorEnablerIdorreferenceIdnot related toauditProcessorIdNullArgumentException-auditProcessorEnablerId, auditProcessorId, orreferenceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
moveAuditProcessorEnablerBehind
void moveAuditProcessorEnablerBehind(Id auditProcessorEnablerId, Id auditProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders audit processor enablers for an audit processor by moving the specified audit processor enabler behind a reference audit processor enabler.- Parameters:
auditProcessorEnablerId- theIdof theAuditProcessorEnablerauditProcessorId- theIdof theAuditProcessorreferenceId- the reference audit processorId- Throws:
NotFoundException-auditProcessorEnablerId auditProcessorId, orreferenceIdnot found or,auditProcessorEnablerIdorreferenceIdnot related toauditProcessorIdNullArgumentException-auditProcessorEnablerId, auditProcessorId, orreferenceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
orderAuditProcessorEnablers
void orderAuditProcessorEnablers(Id[] auditProcessorEnablerIds, Id auditProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders a set of audit processor enablers for an audit processor.- Parameters:
auditProcessorEnablerIds- theIdsfor a set ofAuditProcessorEnablersauditProcessorId- theIdof theAuditProcessor- Throws:
NotFoundException-auditProcessorIdnot found or, anauditProcessorEnablerIdnot related toauditProcessorIdNullArgumentException-auditProcessorEnablerIdsorauditProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-