public class FormStatusDataImpl extends Object implements FormStatusData
CALCULATED_RANGE_FORMULAS, CALCULATED_RANGE_FORMULAS_LANG, DO_THE_ITEM_ADD, EDIT_FIELD_POSITIONS, EDIT_FIELD_PREVIOUS_VALUES, EXPANDED_FIELDS, PREVIEW_FIELD_POSITIONS, REMOVED_ELEMENTS| Constructor and Description |
|---|
FormStatusDataImpl(FormStatus status,
boolean isNew) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Map |
getAttributes() |
String |
getCurrentInputValue(String inputName) |
Map |
getCurrentInputValues() |
Object |
getCurrentValue(String fieldName) |
Map |
getCurrentValues() |
List |
getErrorMessages(String fieldName) |
Object |
getLoadedObject(String id) |
List |
getWrongFields() |
Map |
getWrongFieldsMessages() |
boolean |
hasErrorMessage(String fieldName) |
boolean |
isEmpty() |
boolean |
isNew() |
boolean |
isValid() |
void |
setAttributes(Map map) |
void |
setCurrentInputValues(Map map) |
void |
setCurrentValues(Map currentValues) |
void |
setEmpty(boolean empty) |
void |
setNew(boolean b) |
void |
setValid(boolean valid) |
void |
setWrongFields(List wrongFields) |
void |
setWrongFieldsMessages(Map<String,String> wrongFieldsMessages) |
String |
toString() |
public FormStatusDataImpl(FormStatus status, boolean isNew)
public void setAttributes(Map map)
public void setCurrentInputValues(Map map)
public List getWrongFields()
getWrongFields in interface FormStatusDatapublic boolean isValid()
isValid in interface FormStatusDatapublic void setEmpty(boolean empty)
public boolean isEmpty()
isEmpty in interface FormStatusDatapublic Object getCurrentValue(String fieldName)
getCurrentValue in interface FormStatusDatapublic String getCurrentInputValue(String inputName)
getCurrentInputValue in interface FormStatusDatapublic Map getCurrentValues()
getCurrentValues in interface FormStatusDatapublic Map getCurrentInputValues()
getCurrentInputValues in interface FormStatusDatapublic void clear()
clear in interface FormStatusDatapublic void setCurrentValues(Map currentValues)
public void setValid(boolean valid)
public void setWrongFields(List wrongFields)
public void setNew(boolean b)
public boolean isNew()
isNew in interface FormStatusDatapublic Map getAttributes()
getAttributes in interface FormStatusDatapublic boolean hasErrorMessage(String fieldName)
hasErrorMessage in interface FormStatusDatapublic List getErrorMessages(String fieldName)
getErrorMessages in interface FormStatusDatapublic Map getWrongFieldsMessages()
getWrongFieldsMessages in interface FormStatusDatapublic Object getLoadedObject(String id)
getLoadedObject in interface FormStatusDataCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.