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
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
FieldsFields inherited from class org.ametys.cms.workflow.WorkflowTasksComponent
_allowUserQuery, _contentHelper, _contentTypesHelper, _cTypeEP, _languagesManager, _objectResolver, _rightManager, _tasks, _userManager, _workflowProvider, ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<Expression> Get the AND expressions to request on contentsprotected void_saxAdditionalData(ContentHandler ch, Content content, WorkflowTasksComponent.Task task) SAX additional dataprotected abstract ExpressionGet 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, toSAXMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_catalogsManager
Catalogs manager
-
-
Constructor Details
-
AbstractOdfWorkflowTasksComponent
public AbstractOdfWorkflowTasksComponent()
-
-
Method Details
-
service
- 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
Get the content type expression concerned by this component- Returns:
- the content type expression
-