public interface SituationsProvider
| Modifier and Type | Method and Description |
|---|---|
void |
addSituationEventListener(SituationEventListener l)
This method adds a new situation event listener.
|
void |
assign(String situationId,
String userName) |
int |
delete(SituationsFilterBean filters)
This method deletes all situation's matching the given filter criteria
|
void |
export(SituationsFilterBean filters,
OutputStream outputStream)
This method export all situation's matching the given filter criteria
|
String |
getName()
This method returns the name of the provider.
|
List<SituationSummaryBean> |
getResubmitFailures(String situationId)
Retrieve the resubmission failures for the specified situation.
|
SituationBean |
getSituation(String id)
Fetches a full situation by its id.
|
void |
removeSituationEventListener(SituationEventListener l)
This method removes a situation event listener.
|
BatchRetryResult |
resubmit(SituationsFilterBean filters,
String username)
This method resubmits all situation's matching the given filter criteria
|
void |
resubmit(String situationId,
MessageBean message,
String username)
This method resubmits the supplied message to the service associated
with the identified situation.
|
List<SituationSummaryBean> |
search(SituationsFilterBean filters)
Search for services using the given filters and search text.
|
void |
unassign(String situationId) |
void |
updateResolutionState(String situationId,
ResolutionState resolutionState) |
String getName()
void addSituationEventListener(SituationEventListener l)
l - The situation event listenervoid removeSituationEventListener(SituationEventListener l)
l - The situation event listenerList<SituationSummaryBean> search(SituationsFilterBean filters) throws UiException
filters - The filtersUiException - Failed to search situationsSituationBean getSituation(String id) throws UiException
id - The situation idUiException - Failed to retrieve the situationvoid resubmit(String situationId, MessageBean message, String username) throws UiException
situationId - The situation idmessage - The messageusername - The user performing the resubmitUiExceptionList<SituationSummaryBean> getResubmitFailures(String situationId) throws UiException
situationId - The situation idUiException - Failed to retrieve resubmission failuresvoid export(SituationsFilterBean filters, OutputStream outputStream)
filters - outputStream - Failed to search situationsBatchRetryResult resubmit(SituationsFilterBean filters, String username) throws UiException
filters - The filtersusername - The user doing the resubmitBatchRetryResultUiException - Failed to search situationsint delete(SituationsFilterBean filters) throws UiException
filters - The filtersBatchRetryResultUiException - Failed to delete situationsvoid assign(String situationId, String userName) throws UiException
UiExceptionvoid unassign(String situationId) throws UiException
UiExceptionvoid updateResolutionState(String situationId, ResolutionState resolutionState) throws UiException
UiExceptionCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.