Class SurveyErrorsPopUpVM
- java.lang.Object
-
- org.openforis.collect.designer.viewmodel.SurveyErrorsPopUpVM
-
public class SurveyErrorsPopUpVM extends Object
- Author:
- S. Ricci
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSurveyErrorsPopUpVM.SurveyObjectError
-
Constructor Summary
Constructors Constructor Description SurveyErrorsPopUpVM()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static List<SurveyErrorsPopUpVM.SurveyObjectError>createErrors(List<? extends SurveyObject> items)StringgetMessage()protected static StringgetPath(CodeListItem codeListItem)List<SurveyErrorsPopUpVM.SurveyObjectError>getSchemaErrors()StringgetTitle()voidinit(String title, String message, List<SurveyErrorsPopUpVM.SurveyObjectError> errors)protected static voidinitEventListeners(org.zkoss.zul.Window popUp, MessageUtil.ConfirmHandler confirmHandler)static org.zkoss.zul.WindowopenPopUp(String title, String message, List<? extends SurveyObject> nodesWithErrors, MessageUtil.ConfirmHandler confirmHandler)static org.zkoss.zul.WindowopenPopUp(String title, String message, List<? extends SurveyObject> nodesWithErrors, MessageUtil.ConfirmHandler confirmHandler, boolean hideCancelButton)
-
-
-
Method Detail
-
openPopUp
public static org.zkoss.zul.Window openPopUp(String title, String message, List<? extends SurveyObject> nodesWithErrors, MessageUtil.ConfirmHandler confirmHandler)
-
openPopUp
public static org.zkoss.zul.Window openPopUp(String title, String message, List<? extends SurveyObject> nodesWithErrors, MessageUtil.ConfirmHandler confirmHandler, boolean hideCancelButton)
-
initEventListeners
protected static void initEventListeners(org.zkoss.zul.Window popUp, MessageUtil.ConfirmHandler confirmHandler)
-
createErrors
protected static List<SurveyErrorsPopUpVM.SurveyObjectError> createErrors(List<? extends SurveyObject> items)
-
getPath
protected static String getPath(CodeListItem codeListItem)
-
init
public void init(String title, String message, List<SurveyErrorsPopUpVM.SurveyObjectError> errors)
-
getSchemaErrors
public List<SurveyErrorsPopUpVM.SurveyObjectError> getSchemaErrors()
-
getTitle
public String getTitle()
-
getMessage
public String getMessage()
-
-