Class FormEntryPropertiesGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.ametys.plugins.forms.generators.FormEntryInformationGenerator
org.ametys.plugins.forms.generators.FormAdminEntryInformationGenerator
org.ametys.plugins.forms.generators.FormEntryPropertiesGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
Generate the entry of a form
-
Field Summary
Modifier and TypeFieldDescriptionprotected I18nUtils
The i18n utilsprotected RightManager
The right managerprotected WorkflowProvider
The workflow providerFields inherited from class org.ametys.plugins.forms.generators.FormEntryInformationGenerator
_currentUserProvider, _formEntryDAO, _formQuestionDAO, _resolver, _userManager
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
_addAdditionalEntryAttributes
(FormEntry entry, AttributesImpl attrs) Add additional entry attributesvoid
service
(ServiceManager smanager) Methods inherited from class org.ametys.plugins.forms.generators.FormAdminEntryInformationGenerator
_checkRights, _getQuestions
Methods inherited from class org.ametys.plugins.forms.generators.FormEntryInformationGenerator
_displayField, _saxEntry, _saxQuestion, generate
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Field Details
-
_workflowProvider
The workflow provider -
_i18nUtils
The i18n utils -
_rightManager
The right manager
-
-
Constructor Details
-
FormEntryPropertiesGenerator
public FormEntryPropertiesGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classFormEntryInformationGenerator
- Throws:
ServiceException
-
_addAdditionalEntryAttributes
Description copied from class:FormEntryInformationGenerator
Add additional entry attributes- Overrides:
_addAdditionalEntryAttributes
in classFormEntryInformationGenerator
- Parameters:
entry
- the entryattrs
- the attributes
-