jbpm-form-modeler-ui 1.0-SNAPSHOT

org.jbpm.formModeler.core.processing.impl
Class FormStatusDataImpl

java.lang.Object
  extended by org.jbpm.formModeler.core.processing.impl.FormStatusDataImpl
All Implemented Interfaces:
org.jbpm.formModeler.api.processing.FormStatusData

public class FormStatusDataImpl
extends Object
implements org.jbpm.formModeler.api.processing.FormStatusData


Field Summary
 
Fields inherited from interface org.jbpm.formModeler.api.processing.FormStatusData
CALCULATED_RANGE_FORMULAS, CALCULATED_RANGE_FORMULAS_LANG, DO_THE_ITEM_ADD, EDIT_FIELD_POSITIONS, EDIT_FIELD_PREVIOUS_VALUES, EXPANDED_FIELDS, PREVIEW_FIELD_POSITIONS
 
Constructor Summary
FormStatusDataImpl(FormStatus status, boolean isNew)
           
 
Method Summary
 void clear()
           
 Map getAttributes()
           
 String getCurrentInputValue(String inputName)
           
 Map getCurrentInputValues()
           
 Object getCurrentValue(String fieldName)
           
 Map getCurrentValues()
           
 List getErrorMessages(String fieldName)
           
 Serializable getLoadedItemId()
           
 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 setLoadedItemId(Serializable loadedItemId)
           
 void setNew(boolean b)
           
 void setValid(boolean valid)
           
 void setWrongFields(List wrongFields)
           
 void setWrongFieldsMessages(Map<String,String> wrongFieldsMessages)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormStatusDataImpl

public FormStatusDataImpl(FormStatus status,
                          boolean isNew)
Method Detail

setAttributes

public void setAttributes(Map map)

setCurrentInputValues

public void setCurrentInputValues(Map map)

getWrongFields

public List getWrongFields()
Specified by:
getWrongFields in interface org.jbpm.formModeler.api.processing.FormStatusData

isValid

public boolean isValid()
Specified by:
isValid in interface org.jbpm.formModeler.api.processing.FormStatusData

setEmpty

public void setEmpty(boolean empty)

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface org.jbpm.formModeler.api.processing.FormStatusData

getLoadedItemId

public Serializable getLoadedItemId()
Specified by:
getLoadedItemId in interface org.jbpm.formModeler.api.processing.FormStatusData

setLoadedItemId

public void setLoadedItemId(Serializable loadedItemId)

getCurrentValue

public Object getCurrentValue(String fieldName)
Specified by:
getCurrentValue in interface org.jbpm.formModeler.api.processing.FormStatusData

getCurrentInputValue

public String getCurrentInputValue(String inputName)
Specified by:
getCurrentInputValue in interface org.jbpm.formModeler.api.processing.FormStatusData

getCurrentValues

public Map getCurrentValues()
Specified by:
getCurrentValues in interface org.jbpm.formModeler.api.processing.FormStatusData

getCurrentInputValues

public Map getCurrentInputValues()
Specified by:
getCurrentInputValues in interface org.jbpm.formModeler.api.processing.FormStatusData

clear

public void clear()
Specified by:
clear in interface org.jbpm.formModeler.api.processing.FormStatusData

setCurrentValues

public void setCurrentValues(Map currentValues)

setValid

public void setValid(boolean valid)

setWrongFields

public void setWrongFields(List wrongFields)

setNew

public void setNew(boolean b)

isNew

public boolean isNew()
Specified by:
isNew in interface org.jbpm.formModeler.api.processing.FormStatusData

getAttributes

public Map getAttributes()
Specified by:
getAttributes in interface org.jbpm.formModeler.api.processing.FormStatusData

toString

public String toString()
Overrides:
toString in class Object

hasErrorMessage

public boolean hasErrorMessage(String fieldName)
Specified by:
hasErrorMessage in interface org.jbpm.formModeler.api.processing.FormStatusData

getErrorMessages

public List getErrorMessages(String fieldName)
Specified by:
getErrorMessages in interface org.jbpm.formModeler.api.processing.FormStatusData

getWrongFieldsMessages

public Map getWrongFieldsMessages()
Specified by:
getWrongFieldsMessages in interface org.jbpm.formModeler.api.processing.FormStatusData

setWrongFieldsMessages

public void setWrongFieldsMessages(Map<String,String> wrongFieldsMessages)

jbpm-form-modeler-ui 1.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.