public class ProcessingController
extends org.carewebframework.ui.FrameworkController
implements org.carewebframework.cal.api.context.PatientContext.IPatientContextEvent
| Constructor and Description |
|---|
ProcessingController() |
| Modifier and Type | Method and Description |
|---|---|
void |
canceled() |
void |
cancelProcessing()
Cancel all processing.
|
void |
committed()
Cancel processing when the patient context changes, unless the context change request
originated from this controller.
|
protected static ProcessingController |
create(MainController mainController)
Creates an amodal instance of the processing dialog.
|
void |
doAfterCompose(org.zkoss.zk.ui.Component comp)
Creates a notification viewer instance for use by this controller.
|
void |
onClick$btnNext()
Process the next notification.
|
void |
onClick$btnStop()
Cancel all processing.
|
String |
pending(boolean silent)
Disallow a patient context change while actively processing notifications, unless the context
change request originated from this controller.
|
void |
process(Collection<Notification> notifications)
Process the specified notifications.
|
void |
setNotificationService(NotificationService service)
Allows IOC container to inject notification service.
|
abortBackgroundThread, abortBackgroundThreads, cleanup, getAppContext, getAppFramework, getController, getEventManager, hasActiveThreads, refresh, removeThread, startBackgroundThread, threadAborted, threadFinishedalert, didActivate, getPage, willClone, willPassivatedoBeforeCompose, doBeforeComposeChildren, doCatch, doFinallyprotected static ProcessingController create(MainController mainController)
mainController - The requesting controller.public void doAfterCompose(org.zkoss.zk.ui.Component comp)
throws Exception
doAfterCompose in interface org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>doAfterCompose in class org.carewebframework.ui.FrameworkControllerExceptionpublic void onClick$btnNext()
public void onClick$btnStop()
public void setNotificationService(NotificationService service)
service - Notification service.public void cancelProcessing()
public void process(Collection<Notification> notifications)
notifications - The notifications to process.public String pending(boolean silent)
pending in interface org.carewebframework.api.context.IContextEventpublic void committed()
committed in interface org.carewebframework.api.context.IContextEventpublic void canceled()
canceled in interface org.carewebframework.api.context.IContextEventCopyright © 2014 Regenstrief Center for Biomedical Informatics. All rights reserved.