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 FormStatusData
public boolean isValid()
isValid
in interface FormStatusData
public void setEmpty(boolean empty)
public boolean isEmpty()
isEmpty
in interface FormStatusData
public Object getCurrentValue(String fieldName)
getCurrentValue
in interface FormStatusData
public String getCurrentInputValue(String inputName)
getCurrentInputValue
in interface FormStatusData
public Map getCurrentValues()
getCurrentValues
in interface FormStatusData
public Map getCurrentInputValues()
getCurrentInputValues
in interface FormStatusData
public void clear()
clear
in interface FormStatusData
public 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 FormStatusData
public Map getAttributes()
getAttributes
in interface FormStatusData
public boolean hasErrorMessage(String fieldName)
hasErrorMessage
in interface FormStatusData
public List getErrorMessages(String fieldName)
getErrorMessages
in interface FormStatusData
public Map getWrongFieldsMessages()
getWrongFieldsMessages
in interface FormStatusData
public Object getLoadedObject(String id)
getLoadedObject
in interface FormStatusData
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.