All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
boolean |
checkCanLeaveForm() |
boolean |
checkCanLeaveForm(SurveyBaseVM.CanLeaveFormConfirmHandler confirmHandler)
If the current form is valid, execute the onOk method of the specified confirmHandler and returns true,
otherwise shows a confirm message handled by the specified confirmHandler and returns false
If the form is not valid and the confirmHandler is not specified, shows a warning message.
|
boolean |
checkCanLeaveForm(SurveyBaseVM.CanLeaveFormConfirmHandler confirmHandler,
String messageKey) |
void |
codeListsUpdated() |
protected Map<String,String> |
createBasicModuleParameters() |
void |
currentFormValidated(boolean valid,
Boolean blocking,
Map<String,List<String>> validationMessagesByField) |
void |
currentLanguageChanged() |
void |
dispatchCurrentFormValidatedCommand() |
void |
dispatchCurrentFormValidatedCommand(boolean valid) |
void |
dispatchCurrentFormValidatedCommand(boolean valid,
boolean blocking) |
void |
dispatchCurrentFormValidatedCommand(boolean valid,
boolean blocking,
Map<String,List<String>> validationMessagesByField) |
void |
dispatchNodeConvertedCommand(NodeDefinition nodeDef) |
void |
dispatchSchemaChangedCommand() |
void |
dispatchSurveyChangedCommand() |
void |
dispatchTaxonomiesUpdatedCommand() |
protected void |
dispatchValidateAllCommand() |
List<CodeList> |
getCodeLists() |
String |
getCurrentLanguageCode() |
String |
getDateFormat() |
String |
getDefaultLanguageCode() |
List<String> |
getEditableRecordStepNames() |
ExpressionValidator |
getExpressionValidator() |
List<Integer> |
getFormVersionIdsWithEmptyOption() |
List<ModelVersion> |
getFormVersions() |
List<Object> |
getFormVersionsWithEmptyOption() |
List<EntityDefinition> |
getRootEntities() |
protected SurveyEditVM |
getRootVM() |
CollectSurvey |
getSurvey() |
Integer |
getSurveyId() |
List<String> |
getTaxonomyNames() |
String |
getUnitLabel(Unit unit) |
String |
getUnitLabelFromPrecision(Precision precision) |
List<Unit> |
getUnits() |
String |
getVersionLabel(int id) |
void |
init() |
protected void |
initSurvey() |
boolean |
isCollectEarthSurvey() |
boolean |
isCurrentEditedSurvey(SurveySummary surveySummary) |
boolean |
isCurrentFormBlocking() |
boolean |
isCurrentFormValid() |
boolean |
isDefaultLanguage() |
boolean |
isSingleRootEntityDefined() |
boolean |
isSurveyChanged() |
boolean |
isSurveyPublished() |
protected boolean |
isSurveyRelatedToPublishedSurvey() |
boolean |
isSurveyStored() |
protected <T extends NamedObject> List<T> |
sortByName(List<T> items) |
void |
surveyChanged() |
void |
surveySaved() |
void |
tabSetsUpdated() |
void |
taxonomiesUpdated() |
void |
undoLastChanges() |
void |
undoLastChanges(org.zkoss.zk.ui.Component view) |
void |
unitsUpdated() |
void |
versionsUpdated() |