Package org.ametys.odf.workflow.task
Class AbstractOdfWorkflowTasksComponent
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.ametys.cms.workflow.WorkflowTasksComponent
 - 
- org.ametys.odf.workflow.task.AbstractOdfWorkflowTasksComponent
 
 
 
 
- 
- All Implemented Interfaces:
 Component,Configurable,LogEnabled,Serviceable,ThreadSafe
- Direct Known Subclasses:
 AbstractOdfWorkflowTasksWithChangesComponent,CourseWorkflowTasksComponent
public abstract class AbstractOdfWorkflowTasksComponent extends WorkflowTasksComponent
Override WorkflowTasksComponent to target ODF contents 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class org.ametys.cms.workflow.WorkflowTasksComponent
WorkflowTasksComponent.LastModifiedDateComparator, WorkflowTasksComponent.Task, WorkflowTasksComponent.TaskStep 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description protected CatalogsManager_catalogsManagerCatalogs manager- 
Fields inherited from class org.ametys.cms.workflow.WorkflowTasksComponent
_allowUserQuery, _contentHelper, _contentTypesHelper, _cTypeEP, _languagesManager, _objectResolver, _rightManager, _tasks, _userManager, _workflowProvider, ROLE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractOdfWorkflowTasksComponent() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected List<Expression>_getContentsAndExpressions(WorkflowTasksComponent.TaskStep step, User user)Get the AND expressions to request on contentsprotected void_saxAdditionalData(ContentHandler ch, Content content, WorkflowTasksComponent.Task task)SAX additional dataprotected abstract ExpressiongetContentTypeExpression()Get the content type expression concerned by this componentvoidservice(ServiceManager manager)- 
Methods inherited from class org.ametys.cms.workflow.WorkflowTasksComponent
_configureAdditional, _configureStep, _configureStepIds, _configureTasks, _getContents, _getCorrespondingWorkflows, _getTaskContents, _getTaskContents, _saxAdditionalAttributes, _saxAdditionalAttributes, _saxContent, _saxContentCurrentState, _saxTask, _testContent, allowUserQuery, configure, getContents, getTasks, toSAX, toSAX 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_catalogsManager
protected CatalogsManager _catalogsManager
Catalogs manager 
 - 
 
- 
Constructor Detail
- 
AbstractOdfWorkflowTasksComponent
public AbstractOdfWorkflowTasksComponent()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classWorkflowTasksComponent- Throws:
 ServiceException
 
- 
_getContentsAndExpressions
protected List<Expression> _getContentsAndExpressions(WorkflowTasksComponent.TaskStep step, User user)
Description copied from class:WorkflowTasksComponentGet the AND expressions to request on contents- Overrides:
 _getContentsAndExpressionsin classWorkflowTasksComponent- Parameters:
 step- the step.user- the user.- Returns:
 - The content's expressions
 
 
- 
_saxAdditionalData
protected void _saxAdditionalData(ContentHandler ch, Content content, WorkflowTasksComponent.Task task) throws SAXException
Description copied from class:WorkflowTasksComponentSAX additional data- Overrides:
 _saxAdditionalDatain classWorkflowTasksComponent- Parameters:
 ch- the content handler.content- the contenttask- the task- Throws:
 SAXException- If an error occurred
 
- 
getContentTypeExpression
protected abstract Expression getContentTypeExpression()
Get the content type expression concerned by this component- Returns:
 - the content type expression
 
 
 - 
 
 -