Package org.ametys.cms.workflow
Class WorkflowTasksGenerator
- All Implemented Interfaces:
Poolable
,Recyclable
,Disposable
,Component
,LogEnabled
,Serviceable
,Generator
,SitemapModelComponent
,XMLProducer
- Direct Known Subclasses:
CourseWorkflowTasksGenerator
,ProgramWorkflowTasksGenerator
,SubProgramWorkflowTasksGenerator
,WorkflowTasksGenerator
Workflow tasks generator.
-
Field Summary
Modifier and TypeFieldDescriptionprotected WorkflowTasksComponent
The task componentprotected UserManager
The Users Manager.Fields inherited from class org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableGenerator
_currentUserProvider
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 TypeMethodDescriptionvoid
generate()
protected void
SAX tasksvoid
service
(ServiceManager serviceManager) Methods inherited from class org.ametys.core.util.cocoon.AbstractCurrentUserProviderServiceableGenerator
_getCurrentUser
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
-
_userManager
The Users Manager. -
_tasksManager
The task component
-
-
Constructor Details
-
WorkflowTasksGenerator
public WorkflowTasksGenerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractCurrentUserProviderServiceableGenerator
- Throws:
ServiceException
-
generate
-
saxTasks
SAX tasks- Parameters:
user
- the user- Throws:
SAXException
- If an error occurred
-