org.exoplatform.services.workflow.impl.bonita
Class SpecifiedFormImpl
java.lang.Object
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 processfileDefinition - contains the definition of Process in which
information of Forms should be foundactivity - identifies the State for which to create the Formlocale - specifies the Locale for which to create the Form
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 © 2011 eXo Platform SAS. All Rights Reserved.