public class JobStatusPopUpVM<J extends org.openforis.concurrency.Job> extends BaseVM
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobStatusPopUpVM.JobEndHandler<J extends org.openforis.concurrency.Job> |
| Modifier and Type | Field and Description |
|---|---|
static String |
CANCELABLE_ARG |
static String |
JOB_ABORTED_COMMAND |
static String |
JOB_ARG |
static String |
JOB_COMPLETED_COMMAND |
static String |
JOB_END_HANDLER_ARG |
static String |
JOB_FAILED_COMMAND |
static String |
MESSAGE_ARG |
static String |
UPDATE_PROGRESS_COMMAND |
COLLECT_EARTH_PROJECT_FILE_CREATOR_LOADER, jobManager, userGroupManager, userManager| Constructor and Description |
|---|
JobStatusPopUpVM() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
String |
getMessage() |
int |
getProgress() |
void |
init(String message,
J job,
JobStatusPopUpVM.JobEndHandler<J> jobEndHandler,
boolean cancelable) |
boolean |
isCancelable() |
static <J extends org.openforis.concurrency.Job> |
openPopUp(String messageKey,
J job,
boolean cancelable) |
static <J extends org.openforis.concurrency.Job> |
openPopUp(String messageKey,
J job,
boolean cancelable,
JobStatusPopUpVM.JobEndHandler<J> jobEndHandler) |
void |
updateProgress() |
closePopUp, getComponentsPath, getCurrentLanguageCode, getDefaultPublicUserGroupItem, getFormFieldValue, getFormFieldValue, getInitParameter, getLoggedUser, getLoggedUsername, getSession, getSessionStatus, getUserGroupsModel, initUserGroupsModel, joinList, joinValues, notifyChange, openPopUp, openPopUp, prettyDateFormat, setFormFieldValue, setFormFieldValuepublic static final String JOB_FAILED_COMMAND
public static final String JOB_COMPLETED_COMMAND
public static final String JOB_ABORTED_COMMAND
public static final String UPDATE_PROGRESS_COMMAND
public static final String JOB_ARG
public static final String JOB_END_HANDLER_ARG
public static final String MESSAGE_ARG
public static final String CANCELABLE_ARG
public static <J extends org.openforis.concurrency.Job> org.zkoss.zul.Window openPopUp(String messageKey, J job, boolean cancelable)
public static <J extends org.openforis.concurrency.Job> org.zkoss.zul.Window openPopUp(String messageKey, J job, boolean cancelable, JobStatusPopUpVM.JobEndHandler<J> jobEndHandler)
public void init(String message, J job, JobStatusPopUpVM.JobEndHandler<J> jobEndHandler, boolean cancelable)
public void updateProgress()
public int getProgress()
public String getMessage()
public boolean isCancelable()
public void abort()
Copyright © 2021 Open Foris. All rights reserved.