Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.jbpm.core.service
Class JbpmTaskListServiceImpl

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.ecm.platform.jbpm.core.service.JbpmTaskListServiceImpl
All Implemented Interfaces:
JbpmTaskListService, Adaptable, Component, Extensible

public class JbpmTaskListServiceImpl
extends DefaultComponent
implements JbpmTaskListService


Constructor Summary
JbpmTaskListServiceImpl()
           
 
Method Summary
 TaskList createTaskList(CoreSession session, String listName)
          Creates a new task list.
 void deleteTaskList(CoreSession session, String listUUId)
          Delete a list of participant.
 TaskList getTaskList(CoreSession session, String listUUId)
          Retrieves a task list from it name.
 List<TaskList> getTaskLists(CoreSession session)
          Retrieve all the task lists of the current user
 void saveTaskList(CoreSession session, TaskList list)
          Saves the list.
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerContribution, registerExtension, unregisterContribution, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JbpmTaskListServiceImpl

public JbpmTaskListServiceImpl()
Method Detail

createTaskList

public TaskList createTaskList(CoreSession session,
                               String listName)
                        throws ClientException
Description copied from interface: JbpmTaskListService
Creates a new task list.

Specified by:
createTaskList in interface JbpmTaskListService
listName - the name of the new list
Returns:
the created list
Throws:
ClientException

saveTaskList

public void saveTaskList(CoreSession session,
                         TaskList list)
                  throws ClientException
Description copied from interface: JbpmTaskListService
Saves the list.

Specified by:
saveTaskList in interface JbpmTaskListService
list - to save
Throws:
ClientException

getTaskList

public TaskList getTaskList(CoreSession session,
                            String listUUId)
                     throws ClientException
Description copied from interface: JbpmTaskListService
Retrieves a task list from it name.

Specified by:
getTaskList in interface JbpmTaskListService
Returns:
Throws:
ClientException

deleteTaskList

public void deleteTaskList(CoreSession session,
                           String listUUId)
                    throws ClientException
Description copied from interface: JbpmTaskListService
Delete a list of participant.

Specified by:
deleteTaskList in interface JbpmTaskListService
Throws:
ClientException

getTaskLists

public List<TaskList> getTaskLists(CoreSession session)
                            throws ClientException
Description copied from interface: JbpmTaskListService
Retrieve all the task lists of the current user

Specified by:
getTaskLists in interface JbpmTaskListService
Returns:
Task lists of the current user
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.