public interface IssueNotificationSession extends OsidSession
This session defines methods to receive notifications on adds/changes
to Issue
objects in this FrontOffice.
This
session is intended for consumers needing to synchronize their state with
this service without the use of polling. Notifications are cancelled when
this session is closed.
The two views defined in this session correspond to the views in the
IssueLookupSession.
Modifier and Type | Method and Description |
---|---|
boolean |
canRegisterForIssueNotifications()
Tests if this user can register for
Issue
notifications. |
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
void |
registerForBlockedIssues(Id issueId)
Registers for notification of a blocked issue to the given issue.
|
void |
registerForBlockingIssues(Id issueId)
Registers for notification of a blocking issue to the given issue.
|
void |
registerForChangedIssue(Id issueId)
Registers for notification of an updated issue.
|
void |
registerForChangedIssues()
Registers for notification of updated issues.
|
void |
registerForChangedIssuesByTopic(Id subjectId)
Registers for notification of updated issues for the given topic.
|
void |
registerForChangedIssuesForCustomer(Id resourceId)
Registers for notification of updated issues for the given customer.
|
void |
registerForChangedIssuesForQueue(Id queueId)
Registers for notification of updated issues in the given queue.
|
void |
registerForDeletedIssue(Id issueId)
Registers for notification of a deleted issue.
|
void |
registerForDeletedIssues()
Registers for notification of deleted issues.
|
void |
registerForDeletedIssuesByTopic(Id subjectId)
Registers for notification of deleted issues for the given topic.
|
void |
registerForDeletedIssuesForCustomer(Id resourceId)
Registers for notification of deleted issues for the given customer.
|
void |
registerForDeletedIssuesForQueue(Id queueId)
Registers for notification of deleted issues in the given queue.
|
void |
registerForLinkedIssues(Id issueId)
Registers for notification of a linked issue to the given issue.
|
void |
registerForNewIssues()
Register for notifications of new issues.
|
void |
registerForNewIssuesByTopic(Id subjectId)
Register for notifications of new issues for the given topic.
|
void |
registerForNewIssuesForCustomer(Id resourceId)
Register for notifications of new issues for the given customer.
|
void |
registerForNewIssuesForQueue(Id queueId)
Register for notifications of new issues in the given queue.
|
void |
registerForSubtasks(Id issueId)
Registers for notification of a subtask for the given issue.
|
void |
registerForUnblockedIssues(Id issueId)
Registers for notification of the removal of a blocked issue to the
given issue.
|
void |
registerForUnblockingIssues(Id issueId)
Registers for notification of the removal of a blocking issue to the
given issue.
|
void |
registerForUnlinkedIssues(Id issueId)
Registers for notification of an unlinked issue from the given issue.
|
void |
useFederatedFrontOfficeView()
Federates the view for methods in this session.
|
void |
useIsolatedFrontOfficeView()
Isolates the view for methods in this session.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getFrontOfficeId()
FrontOffice
Id
associated with
this session. FrontOffice Id
associated with this sessionmandatory
- This method must be implemented. FrontOffice getFrontOffice() throws OperationFailedException, PermissionDeniedException
FrontOffice
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canRegisterForIssueNotifications()
Issue
notifications. A return of true does not guarantee successful
authorization. A return of false indicates that it is known all
methods in this session will result in a PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer notification operations. false
if notification methods are not
authorized, true
otherwisemandatory
- This method must be implemented. void useFederatedFrontOfficeView()
mandatory
- This method is must be implemented. void useIsolatedFrontOfficeView()
mandatory
- This method is must be implemented. void registerForNewIssues() throws OperationFailedException, PermissionDeniedException
IssueReceiver.newIssues()
is invoked when a new Issue
appears in this front office.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForNewIssuesForQueue(Id queueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.newIssues()
is invoked when a new Issue
appears in this front office.queueId
- the Id
of the queue to monitorNullArgumentException
- queueId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForNewIssuesForCustomer(Id resourceId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.newIssues()
is invoked when a new
Issue
appears in this front office.resourceId
- the Id
of the customer to monitorNullArgumentException
- resourceId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForNewIssuesByTopic(Id subjectId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.newIssues()
is invoked when a new Issue
appears in this front office.subjectId
- the Id
of the subject to monitorNullArgumentException
- subjectId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForChangedIssues() throws OperationFailedException, PermissionDeniedException
IssueReceiver.changedIssues()
is invoked when an issue in this
front office is changed.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForChangedIssuesForQueue(Id queueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.changedIssues()
is invoked when an issue
in this front office is changed.queueId
- the Id
of the queue to monitorNullArgumentException
- queueId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForChangedIssuesForCustomer(Id resourceId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.changedIssue()
is invoked when an issue
in this front office is changed.resourceId
- the Id
of the customer to monitorNullArgumentException
- resourceId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForChangedIssuesByTopic(Id subjectId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.changedIssues()
is invoked when an issue
in this front office is changed.subjectId
- the Id
of the subject to monitorNullArgumentException
- subjectId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForChangedIssue(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.changedIssues()
is invoked when the specified
issue in this front office is changed.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForDeletedIssues() throws OperationFailedException, PermissionDeniedException
IssueReceiver.deletedIssues()
is invoked when an issue is
deleted or removed from this front office.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForDeletedIssuesForQueue(Id queueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.deletedIssues()
is invoked when an issue
is deleted or removed from this front office.queueId
- the Id
of the queue to monitorNullArgumentException
- queueId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForDeletedIssuesForCustomer(Id resourceId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.deletedIssues()
is invoked when an issue
is deleted or removed from this front office.resourceId
- the Id
of the customer to monitorNullArgumentException
- resourceId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForDeletedIssuesByTopic(Id subjectId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.deletedIssues()
is invoked when an issue
is deleted or removed from this front office.subjectId
- the Id
of the subject to monitorNullArgumentException
- subjectId is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForDeletedIssue(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.deletedIssues()
is invoked when the specified
issue is deleted or removed from this front office.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForSubtasks(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.subtaskIssues()
is invoked when the specified
issue is gets a new subtask.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForLinkedIssues(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.linkedIssue()
is invoked when the
specified issue gets a new duplicate.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForUnlinkedIssues(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.unlinkedIssue()
is invoked when the
specified issue loses a duplicate.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForBlockingIssues(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.blockedIssue()
is invoked when the
specified issue is blocked by another issue.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForUnblockingIssues(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.unblockedIssue()
is invoked
when the specified issue is no longer blocked by another issue.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForBlockedIssues(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.blockedIssue()
is invoked when the
specified issue is blocking another issue.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void registerForUnblockedIssues(Id issueId) throws OperationFailedException, PermissionDeniedException
IssueReceiver.unblockedIssue()
is invoked
when the specified issue is no longer blocking another issue.issueId
- the Id
of the Issue
to
monitorNullArgumentException
- issueId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.