Package org.ametys.odf.workflow
Class AbstractOdfWorkflowTasksComponent
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.cms.workflow.WorkflowTasksComponent
-
- org.ametys.odf.workflow.AbstractOdfWorkflowTasksComponent
-
- All Implemented Interfaces:
Component
,Configurable
,LogEnabled
,Serviceable
,ThreadSafe
- Direct Known Subclasses:
CourseWorkflowTasksComponent
,ProgramWorkflowTasksComponent
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 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 abstract Expression
getContentTypeExpression()
Get the content type expression concerned by this component-
Methods inherited from class org.ametys.cms.workflow.WorkflowTasksComponent
_configureAdditional, _configureStep, _configureStepIds, _configureTasks, _getContents, _getCorrespondingWorkflows, _getTaskContents, _getTaskContents, _saxAdditionalAttributes, _saxAdditionalAttributes, _saxAdditionalData, _saxContent, _saxContentCurrentState, _saxTask, _testContent, allowUserQuery, configure, getContents, getTasks, service, toSAX, toSAX
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Constructor Detail
-
AbstractOdfWorkflowTasksComponent
public AbstractOdfWorkflowTasksComponent()
-
-
Method Detail
-
_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
-
getContentTypeExpression
protected abstract Expression getContentTypeExpression()
Get the content type expression concerned by this component- Returns:
- the content type expression
-
-