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
|
managerobjectModel, parameters, resolver, sourcecontentHandler, 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) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected 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 Serviceableservice in class ServiceableGeneratorServiceExceptionpublic 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