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
Fields inherited from class org.ametys.cms.workflow.WorkflowTasksComponent
_allowUserQuery, _contentHelper, _contentTypesHelper, _cTypeEP, _languagesManager, _objectResolver, _rightManager, _tasks, _userManager, _workflowProvider, ROLE
-
Constructor Summary
-
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 Expression
Get the content type expression concerned by this componentvoid
service
(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 Details
-
_catalogsManager
Catalogs manager
-
-
Constructor Details
-
AbstractOdfWorkflowTasksComponent
public AbstractOdfWorkflowTasksComponent()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classWorkflowTasksComponent
- Throws:
ServiceException
-
_getContentsAndExpressions
protected List<Expression> _getContentsAndExpressions(WorkflowTasksComponent.TaskStep step, User user) Description copied from class:WorkflowTasksComponent
Get the AND expressions to request on contents- Overrides:
_getContentsAndExpressions
in 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:WorkflowTasksComponent
SAX additional data- Overrides:
_saxAdditionalData
in 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
-