Class TaskFactory

  • All Implemented Interfaces:
    fr.paris.lutece.plugins.workflowcore.service.task.ITaskFactory

    public class TaskFactory
    extends java.lang.Object
    implements fr.paris.lutece.plugins.workflowcore.service.task.ITaskFactory
    TaskFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_SERVICE
      The name of the bean of this service
    • Constructor Summary

      Constructors 
      Constructor Description
      TaskFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<fr.paris.lutece.plugins.workflowcore.business.task.ITaskType> getAllTaskTypes()
      java.util.Collection<fr.paris.lutece.plugins.workflowcore.business.task.ITaskType> getAllTaskTypes​(java.util.Locale locale)
      fr.paris.lutece.plugins.workflowcore.service.task.ITask newTask​(java.lang.String strKey, java.util.Locale locale)
      fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig newTaskConfig​(java.lang.String strKey)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BEAN_SERVICE

        public static final java.lang.String BEAN_SERVICE
        The name of the bean of this service
        See Also:
        Constant Field Values
    • Constructor Detail

      • TaskFactory

        public TaskFactory()
    • Method Detail

      • newTask

        public fr.paris.lutece.plugins.workflowcore.service.task.ITask newTask​(java.lang.String strKey,
                                                                               java.util.Locale locale)
        Specified by:
        newTask in interface fr.paris.lutece.plugins.workflowcore.service.task.ITaskFactory
      • newTaskConfig

        public fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig newTaskConfig​(java.lang.String strKey)
        Specified by:
        newTaskConfig in interface fr.paris.lutece.plugins.workflowcore.service.task.ITaskFactory
      • getAllTaskTypes

        public java.util.Collection<fr.paris.lutece.plugins.workflowcore.business.task.ITaskType> getAllTaskTypes()
        Specified by:
        getAllTaskTypes in interface fr.paris.lutece.plugins.workflowcore.service.task.ITaskFactory
      • getAllTaskTypes

        public java.util.Collection<fr.paris.lutece.plugins.workflowcore.business.task.ITaskType> getAllTaskTypes​(java.util.Locale locale)
        Specified by:
        getAllTaskTypes in interface fr.paris.lutece.plugins.workflowcore.service.task.ITaskFactory