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 situationsFilterBean)
This method deletes all situation's matching the given filter criteria
|
void |
export(SituationsFilterBean situationsFilterBean,
OutputStream outputStream)
This method export all situation's matching the given filter criteria
|
String |
getName()
This method returns the name of the provider.
|
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 situationsFilterBean,
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 resubmitUiException
void export(SituationsFilterBean situationsFilterBean, OutputStream outputStream)
situationsFilterBean
- outputStream
- Failed to search situationsBatchRetryResult resubmit(SituationsFilterBean situationsFilterBean, String username) throws UiException
filters
- The filtersusername
- The user doing the resubmitBatchRetryResult
UiException
- Failed to search situationsint delete(SituationsFilterBean situationsFilterBean) throws UiException
filters
- The filtersBatchRetryResult
UiException
- Failed to delete situationsvoid assign(String situationId, String userName) throws UiException
UiException
void unassign(String situationId) throws UiException
UiException
void updateResolutionState(String situationId, ResolutionState resolutionState) throws UiException
UiException
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.