public class FormEntriesGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected static I18nizableText |
__MESSAGE_NO_STEP
The internationalizable text symbolizing the absence of workflow step
|
protected static DateFormat |
_DATE_FORMAT
The date format.
|
protected FormPropertiesManager |
_formPropertiesManager
The form properties manager.
|
protected FormTableManager |
_formTableManager
The form data manager.
|
protected I18nUtils |
_i18nUtils
Component gathering utility methods for internationalizable text
|
protected AmetysObjectResolver |
_resolver
The ametys object resolver.
|
protected WorkflowProvider |
_workflowProvider
The workflow provider
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
FormEntriesGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxUserEntry(UserEntry entry,
com.opensymphony.workflow.Workflow workflow)
Sax a user entry.
|
protected void |
_saxWorkflowStep(AttributesImpl attrs,
com.opensymphony.workflow.Workflow workflow,
int workflowId)
SAX the workflow step
|
void |
generate() |
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected static final DateFormat _DATE_FORMAT
protected static final I18nizableText __MESSAGE_NO_STEP
protected FormPropertiesManager _formPropertiesManager
protected FormTableManager _formTableManager
protected AmetysObjectResolver _resolver
protected WorkflowProvider _workflowProvider
protected I18nUtils _i18nUtils
public FormEntriesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void _saxUserEntry(UserEntry entry, com.opensymphony.workflow.Workflow workflow) throws IOException, SAXException, ProcessingException
entry
- the user entry.workflow
- the workflow component for form entriesIOException
- if an I/O error occurs.SAXException
- if an error occurs generating the XML.ProcessingException
- if a processing error occurs.protected void _saxWorkflowStep(AttributesImpl attrs, com.opensymphony.workflow.Workflow workflow, int workflowId)
attrs
- The XML attributesworkflow
- the workflow component for form entriesworkflowId
- The workflow id