Interface IssueProcessorEnablerRuleApplicationSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session provides methods to apply IssueProcessorEnablers
to IssueProcessors . Multiple IssueProcessorEnablers
applied to an IssueProcessor may be sequenced such that the first
positive evaluation results in the IssueProcessorEnabler used.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignIssueProcessorEnablerToIssueProcessor(Id issueProcessorEnablerId, Id issueProcessorId) Adds an existingIssueProcessorEnablerto anIssueProcessor.booleanTests if this user can alter issue processor enabler/issue processor mappings.booleanTests if this user can orderIssueProcessorEnablers.Gets theOublietteassociated with this session.Gets theOublietteIdassociated with this session.voidmoveIssueProcessorEnablerAhead(Id issueProcessorEnablerId, Id issueProcessorId, Id referenceId) Reorders issue processor enablers for an issue processor by moving the specified issue processor enabler in front of a reference issue processor enabler.voidmoveIssueProcessorEnablerBehind(Id issueProcessorEnablerId, Id issueProcessorId, Id referenceId) Reorders issue processor enablers for an issue processor by moving the specified issue processor enabler behind a reference issue processor enabler.voidorderIssueProcessorEnablers(Id[] issueProcessorEnablerIds, Id issueProcessorId) Reorders a set of issue processor enablers for an issue processor.voidunassignIssueProcessorEnablerFromIssueProcessor(Id issueProcessorEnablerId, Id issueProcessorId) Removes an existingIssueProcessorEnablerfrom anIssueProcessor.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
-
getOublietteId
Id getOublietteId()Gets theOublietteIdassociated with this session.- Returns:
- the
Oubliette Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getOubliette
Gets theOublietteassociated with this session.- Returns:
- the oubliette
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canAssignIssueProcessorEnablers
boolean canAssignIssueProcessorEnablers()Tests if this user can alter issue processor enabler/issue 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.
-
assignIssueProcessorEnablerToIssueProcessor
void assignIssueProcessorEnablerToIssueProcessor(Id issueProcessorEnablerId, Id issueProcessorId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an existingIssueProcessorEnablerto anIssueProcessor.- Parameters:
issueProcessorEnablerId- theIdof theIssueProcessorEnablerissueProcessorId- theIdof theIssueProcessor- Throws:
AlreadyExistsException-issueProcessorEnablerIdalready applied toissueProcessorIdNotFoundException-issueProcessorEnablerIdorissueProcessorIdnot foundNullArgumentException-issueProcessorEnablerIdorissueProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
unassignIssueProcessorEnablerFromIssueProcessor
void unassignIssueProcessorEnablerFromIssueProcessor(Id issueProcessorEnablerId, Id issueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes an existingIssueProcessorEnablerfrom anIssueProcessor.- Parameters:
issueProcessorEnablerId- theIdof theIssueProcessorEnablerissueProcessorId- theIdof theIssueProcessor- Throws:
NotFoundException-issueProcessorEnablerIdorissueProcessorIdnot found orissueProcessorEnablerIdalready applied toissueProcessorIdNullArgumentException-issueProcessorEnablerIdorissueProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canSequenceIssueProcessorEnablers
boolean canSequenceIssueProcessorEnablers()Tests if this user can orderIssueProcessorEnablers. 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:
falseifIssueProcessorEnablerordering is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
moveIssueProcessorEnablerAhead
void moveIssueProcessorEnablerAhead(Id issueProcessorEnablerId, Id issueProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders issue processor enablers for an issue processor by moving the specified issue processor enabler in front of a reference issue processor enabler.- Parameters:
issueProcessorEnablerId- theIdof theIssueProcessorEnablerissueProcessorId- theIdof theIssueProcessorreferenceId- the reference issue processor enablerId- Throws:
NotFoundException-issueProcessorEnablerId issueProcessorId, orreferenceIdnot found or,issueProcessorEnablerIdorreferenceIdnot related toissueProcessorIdNullArgumentException-issueProcessorEnablerId, issueProcessorId, orreferenceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
moveIssueProcessorEnablerBehind
void moveIssueProcessorEnablerBehind(Id issueProcessorEnablerId, Id issueProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders issue processor enablers for an issue processor by moving the specified issue processor enabler behind a reference issue processor enabler.- Parameters:
issueProcessorEnablerId- theIdof theIssueProcessorEnablerissueProcessorId- theIdof theIssueProcessorreferenceId- the reference issue processorId- Throws:
NotFoundException-issueProcessorEnablerId issueProcessorId, orreferenceIdnot found or,issueProcessorEnablerIdorreferenceIdnot related toissueProcessorIdNullArgumentException-issueProcessorEnablerId, issueProcessorId, orreferenceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
orderIssueProcessorEnablers
void orderIssueProcessorEnablers(Id[] issueProcessorEnablerIds, Id issueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders a set of issue processor enablers for an issue processor.- Parameters:
issueProcessorEnablerIds- theIdsfor a set ofIssueProcessorEnablersissueProcessorId- theIdof theIssueProcessor- Throws:
NotFoundException-issueProcessorIdnot found or, anissueProcessorEnablerIdnot related toissueProcessorIdNullArgumentException-issueProcessorEnablerIdsorissueProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-