jbpm-form-modeler-ui 6.0.0.CR5

org.jbpm.formModeler.core.processing.formStatus
Class FormStatusManager

java.lang.Object
  extended by org.jbpm.formModeler.core.processing.formStatus.FormStatusManager
All Implemented Interfaces:
Serializable

@ApplicationScoped
public class FormStatusManager
extends Object
implements Serializable

Holds session information for forms.

See Also:
Serialized Form

Constructor Summary
FormStatusManager()
           
 
Method Summary
 void cascadeClearWrongFields(Long formId, String namespace)
          Clear wrong fields in given formStatus and all their subforms
 FormStatus createFormStatus(org.jbpm.formModeler.api.model.Form form, String namespace, Map<String,Object> currentValues)
          Create and store a new form status associated with given form id and namespace
 void destroyFormStatus(Long formId, String namespace)
          Destroy form status associated with given form id and namespace
 FormStatus getFormStatus(org.jbpm.formModeler.api.model.Form form, String namespace)
          Get form status associated with given form id and namespace
 FormStatus getParent(FormStatus fs)
           
static FormStatusManager lookup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormStatusManager

public FormStatusManager()
Method Detail

lookup

public static FormStatusManager lookup()

getFormStatus

public FormStatus getFormStatus(org.jbpm.formModeler.api.model.Form form,
                                String namespace)
Get form status associated with given form id and namespace

Parameters:
form - form
namespace - namespace
Returns:
the form status associated with given form id and namespace

createFormStatus

public FormStatus createFormStatus(org.jbpm.formModeler.api.model.Form form,
                                   String namespace,
                                   Map<String,Object> currentValues)
Create and store a new form status associated with given form id and namespace

Parameters:
form - form
namespace - namespace
Returns:
the form status associated with given form id and namespace

destroyFormStatus

public void destroyFormStatus(Long formId,
                              String namespace)
Destroy form status associated with given form id and namespace

Parameters:
formId - form
namespace - namespace

cascadeClearWrongFields

public void cascadeClearWrongFields(Long formId,
                                    String namespace)
Clear wrong fields in given formStatus and all their subforms

Parameters:
formId - form to clear
namespace - form starting namespace

getParent

public FormStatus getParent(FormStatus fs)

jbpm-form-modeler-ui 6.0.0.CR5

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