Package org.ametys.plugins.forms.content
Class FormManager
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.forms.content.FormManager
- All Implemented Interfaces:
 Component,Contextualizable,LogEnabled,Serviceable
public class FormManager
extends AbstractLogEnabled
implements Component, Serviceable, Contextualizable
Class to handle forms in contents
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription_getRichTexts(ModelAwareDataHolder dataHolder) Get the rich textsvoidcontextualize(Context context) voidprocessContentForms(Content content) Find all the forms the content contains and process them.voidservice(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
- 
Field Details
- 
ROLE
Avalon Role - 
ENTRY_WORKFLOW_REINITIALIZATION
Constant for entry workflow reinitialization- See Also:
 
 
 - 
 - 
Constructor Details
- 
FormManager
public FormManager() 
 - 
 - 
Method Details
- 
service
- Specified by:
 servicein interfaceServiceable- Throws:
 ServiceException
 - 
contextualize
- Specified by:
 contextualizein interfaceContextualizable- Throws:
 ContextException
 - 
processContentForms
public void processContentForms(Content content) throws SAXException, IOException, com.opensymphony.workflow.WorkflowException Find all the forms the content contains and process them.- Parameters:
 content- the content.- Throws:
 SAXException- if a SAX exception occurs during content parsing.IOException- if an I/O exception occurs during content parsing.com.opensymphony.workflow.WorkflowException- if an exception occurs while handling the form's workflow
 - 
_getRichTexts
Get the rich texts- Parameters:
 dataHolder- the data holder- Returns:
 - the rich texts in a Set
 
 
 -