org.exoplatform.services.workflow.impl.bonita
Class SpecifiedFormImpl

java.lang.Object
  extended by org.exoplatform.services.workflow.impl.bonita.SpecifiedFormImpl
All Implemented Interfaces:
Form

public class SpecifiedFormImpl
extends java.lang.Object
implements Form

This class represents a Form that is defined in a configuration file. Compared with the automatic one, this type of Form allows to customize the shown panel, by filtering displayed fields, setting attributes of components or choosing their renderer. Created by Bull R&D

Author:
Brice Revenant, Le Gall Rodrigue Feb 27, 2006

Constructor Summary
SpecifiedFormImpl(java.lang.String processId, FileDefinition fileDefinition, java.lang.String activity, java.util.Locale locale)
          This constructor instantiates a Form specified in a File Definition, based on a State name and a Locale.
 
Method Summary
 java.lang.String getCustomizedView()
           
 org.w3c.dom.Element getFormsDefinition(FileDefinition f)
          Retrieves the whole Form definition as a DOM Element
 java.lang.String getIconURL()
           
 java.lang.String getMessage()
           
 java.util.ResourceBundle getResourceBundle()
           
 java.lang.String getStateImageURL()
           
 java.lang.String getStateName()
           
 java.util.List getSubmitButtons()
           
 java.util.List getVariables()
           
 boolean hasMessage()
           
 boolean isCustomizedView()
           
 boolean isDelegatedView()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecifiedFormImpl

public SpecifiedFormImpl(java.lang.String processId,
                         FileDefinition fileDefinition,
                         java.lang.String activity,
                         java.util.Locale locale)
This constructor instantiates a Form specified in a File Definition, based on a State name and a Locale.

Parameters:
processId - contains the id of the process
fileDefinition - contains the definition of Process in which information of Forms should be found
activity - identifies the State for which to create the Form
locale - specifies the Locale for which to create the Form
Method Detail

getCustomizedView

public java.lang.String getCustomizedView()
Specified by:
getCustomizedView in interface Form

getIconURL

public java.lang.String getIconURL()
Specified by:
getIconURL in interface Form

getResourceBundle

public java.util.ResourceBundle getResourceBundle()
Specified by:
getResourceBundle in interface Form

getStateImageURL

public java.lang.String getStateImageURL()
Specified by:
getStateImageURL in interface Form

getStateName

public java.lang.String getStateName()
Specified by:
getStateName in interface Form

getSubmitButtons

public java.util.List getSubmitButtons()
Specified by:
getSubmitButtons in interface Form

getVariables

public java.util.List getVariables()
Specified by:
getVariables in interface Form

isCustomizedView

public boolean isCustomizedView()
Specified by:
isCustomizedView in interface Form

isDelegatedView

public boolean isDelegatedView()
Specified by:
isDelegatedView in interface Form

getMessage

public java.lang.String getMessage()

hasMessage

public boolean hasMessage()

getFormsDefinition

public org.w3c.dom.Element getFormsDefinition(FileDefinition f)
Retrieves the whole Form definition as a DOM Element

Returns:
a DOM Element corresponding to the Form definition file


Copyright © 2014 eXo Platform SAS. All Rights Reserved.