Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.task.impl
Class TaskServiceEntryPointImpl

    java.lang.Object
      org.jbpm.task.impl.TaskServiceEntryPointImpl

All Implemented Interfaces:
  TaskServiceEntryPoint

    @ApplicationScoped
    public class TaskServiceEntryPointImpl

extends Object
implements TaskServiceEntryPoint

Constructor Summary
`TaskServiceEntryPointImpl()`

Method Summary
`void` | `activate(long taskId, String userId)`
`long` | `addAttachment(long taskId, Attachment attachment, Content content)`
`long` | `addComment(long taskId, Comment comment)`
`long` | `addContent(long taskId, Content content)`
`long` | `addContent(long taskId, Map<String,Object> params)`
`void` | `addGroup(Group group)`
`long` | `addTask(Task task, ContentData data)`
`long` | `addTask(Task task, Map<String,Object> params)`
`void` | `addUser(User user)`
`void` | `addUsersAndGroups(Map<String,User> users, Map<String,Group> groups)`
`int` | `archiveTasks(List<TaskSummary> tasks)`
`void` | `claim(long taskId, String userId)`
`void` | `claim(long taskId, String userId, List<String> groupIds)`
`void` | `claimNextAvailable(String userId, List<String> groupIds, String language)`
`void` | `claimNextAvailable(String userId, String language)`
`void` | `complete(long taskId, String userId, Map<String,Object> data)`
`void` | `delegate(long taskId, String userId, String targetUserId)`
`void` | `deleteAttachment(long taskId, long attachmentId)`
`void` | `deleteComment(long taskId, long commentId)`
`void` | `deleteContent(long taskId, long contentId)`
`void` | `deleteFault(long taskId, String userId)`
`void` | `deleteOutput(long taskId, String userId)`
`void` | `deployTaskDef(TaskDef def)`
`void` | `exit(long taskId, String userId)`
`void` | `fail(long taskId, String userId, Map<String,Object> faultData)`
`void` | `forward(long taskId, String userId, String targetEntityId)`
`List<TaskSummary>` | `getActiveTasks()`
`List<TaskSummary>` | `getActiveTasks(Date since)`
`List<Attachment>` | `getAllAttachmentsByTaskId(long taskId)`
`List<Comment>` | `getAllCommentsByTaskId(long taskId)`
`List<Content>` | `getAllContentByTaskId(long taskId)`
`List<TaskDef>` | `getAllTaskDef(String filter)`
`List<TaskSummary>` | `getArchivedTasks()`
`Attachment` | `getAttachmentById(long attachId)`
`Comment` | `getCommentById(long commentId)`
`int` | `getCompletedTaskByUserId(String userId)`
`List<TaskSummary>` | `getCompletedTasks()`
`List<TaskSummary>` | `getCompletedTasks(Date since)`
`List<TaskSummary>` | `getCompletedTasksByProcessId(Long processId)`
`Content` | `getContentById(long contentId)`
`List<I18NText>` | `getDescriptions(long taskId)`
`Date` | `getExpirationDate(long taskId)`
`Group` | `getGroupById(String groupId)`
`List<Group>` | `getGroups()`
`OrganizationalEntity` | `getOrganizationalEntityById(String entityId)`
`int` | `getPendingSubTasksByParent(long parentId)`
`int` | `getPendingTaskByUserId(String userId)`
`int` | `getPriority(long taskId)`
`List<TaskSummary>` | `getSubTasksAssignedAsPotentialOwner(long parentId, String userId, String language)`
`List<TaskSummary>` | `getSubTasksByParent(long parentId)`
`SubTasksStrategy` | `getSubTaskStrategy(long taskId)`
`TaskAdminService` | `getTaskAdminService()`
`Task` | `getTaskById(long taskId)`
`Task` | `getTaskByWorkItemId(long workItemId)`
`Map<String,Object>` | `getTaskContent(long taskId)`
`TaskDef` | `getTaskDefById(String id)`
`TaskDefService` | `getTaskDefService()`
`List<TaskEvent>` | `getTaskEventsById(long taskId)`
`TaskEventsService` | `getTaskEventsService()`
`TaskIdentityService` | `getTaskIdentityService()`
`Task` | `getTaskInstanceById(long taskId)`
`TaskInstanceService` | `getTaskInstanceService()`
`TaskLifeCycleEventListener` | `getTaskLifeCycleEventListener()`
`TaskQueryService` | `getTaskQueryService()`
`List<TaskSummary>` | `getTasksAssignedAsBusinessAdministrator(String userId, String language)`
`List<TaskSummary>` | `getTasksAssignedAsExcludedOwner(String userId, String language)`
`List<TaskSummary>` | `getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language)`
`List<TaskSummary>` | `getTasksAssignedAsPotentialOwner(String userId, List<String> groupIds, String language, int firstResult, int maxResults)`
`List<TaskSummary>` | `getTasksAssignedAsPotentialOwner(String userId, String language)`
`List<TaskSummary>` | `getTasksAssignedAsPotentialOwnerByStatus(String salaboy, List<Status> status, String language)`
`List<TaskSummary>` | `getTasksAssignedAsPotentialOwnerByStatusByGroup(String userId, List<String> groupIds, List<Status> status, String language)`
`List<TaskSummary>` | `getTasksAssignedAsRecipient(String userId, String language)`
`List<TaskSummary>` | `getTasksAssignedAsTaskInitiator(String userId, String language)`
`List<TaskSummary>` | `getTasksAssignedAsTaskStakeholder(String userId, String language)`
`List<TaskSummary>` | `getTasksAssignedByGroup(String groupId, String language)`
`List<TaskSummary>` | `getTasksAssignedByGroups(List<String> groupIds, String language)`
`List<TaskSummary>` | `getTasksAssignedByGroupsByExpirationDate(List<String> groupIds, String language, Date expirationDate)`
`List<TaskSummary>` | `getTasksAssignedByGroupsByExpirationDateOptional(List<String> groupIds, String language, Date expirationDate)`
`List<TaskSummary>` | `getTasksOwned(String userId)`
`List<TaskSummary>` | `getTasksOwned(String userId, List<Status> status, String language)`
`List<TaskSummary>` | `getTasksOwnedByExpirationDate(String userId, List<Status> status, Date expirationDate)`
`List<TaskSummary>` | `getTasksOwnedByExpirationDateOptional(String userId, List<Status> statuses, Date expirationDate)`
`User` | `getUserById(String userId)`
`UserInfo` | `getUserInfo()`
`List<User>` | `getUsers()`
`boolean` | `isSkipable(long taskId)`
`long` | `newTask(String name, Map<String,Object> params)`
`long` | `newTask(TaskDef def, Map<String,Object> params)`
`long` | `newTask(TaskDef def, Map<String,Object> params, boolean deploy)`
`void` | `nominate(long taskId, String userId, List<OrganizationalEntity> potentialOwners)`
`void` | `release(long taskId, String userId)`
`void` | `remove(long taskId, String userId)`
`int` | `removeAllTasks()`
`void` | `removeGroup(String groupId)`
`void` | `removeTaskEventsById(long taskId)`
`int` | `removeTasks(List<TaskSummary> tasks)`
`void` | `removeUser(String userId)`
`void` | `resume(long taskId, String userId)`
`void` | `setDescriptions(long taskId, List<I18NText> descriptions)`
`void` | `setExpirationDate(long taskId, Date date)`
`void` | `setFault(long taskId, String userId, FaultData fault)`
`void` | `setOutput(long taskId, String userId, Object outputContentData)`
`void` | `setPriority(long taskId, int priority)`
`void` | `setSkipable(long taskId, boolean skipable)`
`void` | `setSubTaskStrategy(long taskId, SubTasksStrategy strategy)`
`void` | `setTaskAdminService(TaskAdminService taskAdminService)`
`void` | `setTaskDefService(TaskDefService taskDefService)`
`void` | `setTaskEventsService(TaskEventsService taskEventsService)`
`void` | `setTaskIdentityService(TaskIdentityService taskIdentityService)`
`void` | `setTaskInstanceService(TaskInstanceService taskInstanceService)`
`void` | `setTaskNames(long taskId, List<I18NText> taskName)`
`void` | `setTaskQueryService(TaskQueryService taskQueryService)`
`void` | `setUserInfo(UserInfo userInfo)`
`void` | `skip(long taskId, String userId)`
`void` | `start(long taskId, String userId)`
`void` | `stop(long taskId, String userId)`
`void` | `suspend(long taskId, String userId)`
`void` | `undeployTaskDef(String id)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TaskServiceEntryPointImpl

    public TaskServiceEntryPointImpl()

Method Detail

### getTaskDefService

    public TaskDefService getTaskDefService()

  Specified by:
    `getTaskDefService` in interface `TaskServiceEntryPoint`

### getTaskInstanceService

    public TaskInstanceService getTaskInstanceService()

  Specified by:
    `getTaskInstanceService` in interface `TaskServiceEntryPoint`

### getTaskIdentityService

    public TaskIdentityService getTaskIdentityService()

  Specified by:
    `getTaskIdentityService` in interface `TaskServiceEntryPoint`

### getTaskAdminService

    public TaskAdminService getTaskAdminService()

  Specified by:
    `getTaskAdminService` in interface `TaskServiceEntryPoint`

### getTaskQueryService

    public TaskQueryService getTaskQueryService()

  Specified by:
    `getTaskQueryService` in interface `TaskServiceEntryPoint`

### getTaskEventsService

    public TaskEventsService getTaskEventsService()

  Specified by:
    `getTaskEventsService` in interface `TaskServiceEntryPoint`

### getActiveTasks

    public List<TaskSummary> getActiveTasks()

  Specified by:
    `getActiveTasks` in interface `TaskServiceEntryPoint`

### getActiveTasks

    public List<TaskSummary> getActiveTasks(Date since)

  Specified by:
    `getActiveTasks` in interface `TaskServiceEntryPoint`

### getCompletedTasks

    public List<TaskSummary> getCompletedTasks()

  Specified by:
    `getCompletedTasks` in interface `TaskServiceEntryPoint`

### getCompletedTasks

    public List<TaskSummary> getCompletedTasks(Date since)

  Specified by:
    `getCompletedTasks` in interface `TaskServiceEntryPoint`

### getCompletedTasksByProcessId

    public List<TaskSummary> getCompletedTasksByProcessId(Long processId)

  Specified by:
    `getCompletedTasksByProcessId` in interface `TaskServiceEntryPoint`

### archiveTasks

    public int archiveTasks(List<TaskSummary> tasks)

  Specified by:
    `archiveTasks` in interface `TaskServiceEntryPoint`

### getArchivedTasks

    public List<TaskSummary> getArchivedTasks()

  Specified by:
    `getArchivedTasks` in interface `TaskServiceEntryPoint`

### removeTasks

    public int removeTasks(List<TaskSummary> tasks)

  Specified by:
    `removeTasks` in interface `TaskServiceEntryPoint`

### deployTaskDef

    public void deployTaskDef(TaskDef def)

  Specified by:
    `deployTaskDef` in interface `TaskServiceEntryPoint`

### getAllTaskDef

    public List<TaskDef> getAllTaskDef(String filter)

  Specified by:
    `getAllTaskDef` in interface `TaskServiceEntryPoint`

### getTaskDefById

    public TaskDef getTaskDefById(String id)

  Specified by:
    `getTaskDefById` in interface `TaskServiceEntryPoint`

### undeployTaskDef

    public void undeployTaskDef(String id)

  Specified by:
    `undeployTaskDef` in interface `TaskServiceEntryPoint`

### addUser

    public void addUser(User user)

  Specified by:
    `addUser` in interface `TaskServiceEntryPoint`

### addGroup

    public void addGroup(Group group)

  Specified by:
    `addGroup` in interface `TaskServiceEntryPoint`

### removeGroup

    public void removeGroup(String groupId)

  Specified by:
    `removeGroup` in interface `TaskServiceEntryPoint`

### removeUser

    public void removeUser(String userId)

  Specified by:
    `removeUser` in interface `TaskServiceEntryPoint`

### getUsers

    public List<User> getUsers()

  Specified by:
    `getUsers` in interface `TaskServiceEntryPoint`

### getGroups

    public List<Group> getGroups()

  Specified by:
    `getGroups` in interface `TaskServiceEntryPoint`

### getUserById

    public User getUserById(String userId)

  Specified by:
    `getUserById` in interface `TaskServiceEntryPoint`

### getGroupById

    public Group getGroupById(String groupId)

  Specified by:
    `getGroupById` in interface `TaskServiceEntryPoint`

### newTask

    public long newTask(String name,
                        Map<String,Object> params)

  Specified by:
    `newTask` in interface `TaskServiceEntryPoint`

### activate

    public void activate(long taskId,
                         String userId)

  Specified by:
    `activate` in interface `TaskServiceEntryPoint`

### claim

    public void claim(long taskId,
                      String userId)

  Specified by:
    `claim` in interface `TaskServiceEntryPoint`

### claim

    public void claim(long taskId,
                      String userId,
                      List<String> groupIds)

  Specified by:
    `claim` in interface `TaskServiceEntryPoint`

### claimNextAvailable

    public void claimNextAvailable(String userId,
                                   String language)

  Specified by:
    `claimNextAvailable` in interface `TaskServiceEntryPoint`

### claimNextAvailable

    public void claimNextAvailable(String userId,
                                   List<String> groupIds,
                                   String language)

  Specified by:
    `claimNextAvailable` in interface `TaskServiceEntryPoint`

### complete

    public void complete(long taskId,
                         String userId,
                         Map<String,Object> data)

  Specified by:
    `complete` in interface `TaskServiceEntryPoint`

### delegate

    public void delegate(long taskId,
                         String userId,
                         String targetUserId)

  Specified by:
    `delegate` in interface `TaskServiceEntryPoint`

### deleteFault

    public void deleteFault(long taskId,
                            String userId)

  Specified by:
    `deleteFault` in interface `TaskServiceEntryPoint`

### deleteOutput

    public void deleteOutput(long taskId,
                             String userId)

  Specified by:
    `deleteOutput` in interface `TaskServiceEntryPoint`

### exit

    public void exit(long taskId,
                     String userId)

  Specified by:
    `exit` in interface `TaskServiceEntryPoint`

### fail

    public void fail(long taskId,
                     String userId,
                     Map<String,Object> faultData)

  Specified by:
    `fail` in interface `TaskServiceEntryPoint`

### forward

    public void forward(long taskId,
                        String userId,
                        String targetEntityId)

  Specified by:
    `forward` in interface `TaskServiceEntryPoint`

### release

    public void release(long taskId,
                        String userId)

  Specified by:
    `release` in interface `TaskServiceEntryPoint`

### remove

    public void remove(long taskId,
                       String userId)

  Specified by:
    `remove` in interface `TaskServiceEntryPoint`

### resume

    public void resume(long taskId,
                       String userId)

  Specified by:
    `resume` in interface `TaskServiceEntryPoint`

### setFault

    public void setFault(long taskId,
                         String userId,
                         FaultData fault)

  Specified by:
    `setFault` in interface `TaskServiceEntryPoint`

### setOutput

    public void setOutput(long taskId,
                          String userId,
                          Object outputContentData)

  Specified by:
    `setOutput` in interface `TaskServiceEntryPoint`

### setPriority

    public void setPriority(long taskId,
                            int priority)

  Specified by:
    `setPriority` in interface `TaskServiceEntryPoint`

### skip

    public void skip(long taskId,
                     String userId)

  Specified by:
    `skip` in interface `TaskServiceEntryPoint`

### start

    public void start(long taskId,
                      String userId)

  Specified by:
    `start` in interface `TaskServiceEntryPoint`

### stop

    public void stop(long taskId,
                     String userId)

  Specified by:
    `stop` in interface `TaskServiceEntryPoint`

### suspend

    public void suspend(long taskId,
                        String userId)

  Specified by:
    `suspend` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsBusinessAdministrator

    public List<TaskSummary> getTasksAssignedAsBusinessAdministrator(String userId,
                                                                     String language)

  Specified by:
    `getTasksAssignedAsBusinessAdministrator` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsExcludedOwner

    public List<TaskSummary> getTasksAssignedAsExcludedOwner(String userId,
                                                             String language)

  Specified by:
    `getTasksAssignedAsExcludedOwner` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsPotentialOwner

    public List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId,
                                                              String language)

  Specified by:
    `getTasksAssignedAsPotentialOwner` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsPotentialOwner

    public List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId,
                                                              List<String> groupIds,
                                                              String language)

  Specified by:
    `getTasksAssignedAsPotentialOwner` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsPotentialOwner

    public List<TaskSummary> getTasksAssignedAsPotentialOwner(String userId,
                                                              List<String> groupIds,
                                                              String language,
                                                              int firstResult,
                                                              int maxResults)

  Specified by:
    `getTasksAssignedAsPotentialOwner` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsRecipient

    public List<TaskSummary> getTasksAssignedAsRecipient(String userId,
                                                         String language)

  Specified by:
    `getTasksAssignedAsRecipient` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsTaskInitiator

    public List<TaskSummary> getTasksAssignedAsTaskInitiator(String userId,
                                                             String language)

  Specified by:
    `getTasksAssignedAsTaskInitiator` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsTaskStakeholder

    public List<TaskSummary> getTasksAssignedAsTaskStakeholder(String userId,
                                                               String language)

  Specified by:
    `getTasksAssignedAsTaskStakeholder` in interface `TaskServiceEntryPoint`

### getTasksOwned

    public List<TaskSummary> getTasksOwned(String userId)

  Specified by:
    `getTasksOwned` in interface `TaskServiceEntryPoint`

### getTasksOwned

    public List<TaskSummary> getTasksOwned(String userId,
                                           List<Status> status,
                                           String language)

  Specified by:
    `getTasksOwned` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsPotentialOwnerByStatus

    public List<TaskSummary> getTasksAssignedAsPotentialOwnerByStatus(String salaboy,
                                                                      List<Status> status,
                                                                      String language)

  Specified by:
    `getTasksAssignedAsPotentialOwnerByStatus` in interface `TaskServiceEntryPoint`

### getTasksOwnedByExpirationDate

    public List<TaskSummary> getTasksOwnedByExpirationDate(String userId,
                                                           List<Status> status,
                                                           Date expirationDate)

  Specified by:
    `getTasksOwnedByExpirationDate` in interface `TaskServiceEntryPoint`

### getTasksAssignedByGroupsByExpirationDate

    public List<TaskSummary> getTasksAssignedByGroupsByExpirationDate(List<String> groupIds,
                                                                      String language,
                                                                      Date expirationDate)

  Specified by:
    `getTasksAssignedByGroupsByExpirationDate` in interface `TaskServiceEntryPoint`

### getTasksAssignedByGroupsByExpirationDateOptional

    public List<TaskSummary> getTasksAssignedByGroupsByExpirationDateOptional(List<String> groupIds,
                                                                              String language,
                                                                              Date expirationDate)

  Specified by:
    `getTasksAssignedByGroupsByExpirationDateOptional` in interface `TaskServiceEntryPoint`

### getTasksAssignedAsPotentialOwnerByStatusByGroup

    public List<TaskSummary> getTasksAssignedAsPotentialOwnerByStatusByGroup(String userId,
                                                                             List<String> groupIds,
                                                                             List<Status> status,
                                                                             String language)

  Specified by:
    `getTasksAssignedAsPotentialOwnerByStatusByGroup` in interface `TaskServiceEntryPoint`

### getSubTasksAssignedAsPotentialOwner

    public List<TaskSummary> getSubTasksAssignedAsPotentialOwner(long parentId,
                                                                 String userId,
                                                                 String language)

  Specified by:
    `getSubTasksAssignedAsPotentialOwner` in interface `TaskServiceEntryPoint`

### getSubTasksByParent

    public List<TaskSummary> getSubTasksByParent(long parentId)

  Specified by:
    `getSubTasksByParent` in interface `TaskServiceEntryPoint`

### getTaskById

    public Task getTaskById(long taskId)

  Specified by:
    `getTaskById` in interface `TaskServiceEntryPoint`

### getTaskByWorkItemId

    public Task getTaskByWorkItemId(long workItemId)

  Specified by:
    `getTaskByWorkItemId` in interface `TaskServiceEntryPoint`

### getTaskEventsById

    public List<TaskEvent> getTaskEventsById(long taskId)

  Specified by:
    `getTaskEventsById` in interface `TaskServiceEntryPoint`

### newTask

    public long newTask(TaskDef def,
                        Map<String,Object> params)

  Specified by:
    `newTask` in interface `TaskServiceEntryPoint`

### newTask

    public long newTask(TaskDef def,
                        Map<String,Object> params,
                        boolean deploy)

  Specified by:
    `newTask` in interface `TaskServiceEntryPoint`

### addTask

    public long addTask(Task task,
                        Map<String,Object> params)

  Specified by:
    `addTask` in interface `TaskServiceEntryPoint`

### addTask

    public long addTask(Task task,
                        ContentData data)

  Specified by:
    `addTask` in interface `TaskServiceEntryPoint`

### setTaskDefService

    public void setTaskDefService(TaskDefService taskDefService)

  Specified by:
    `setTaskDefService` in interface `TaskServiceEntryPoint`

### setTaskInstanceService

    public void setTaskInstanceService(TaskInstanceService taskInstanceService)

  Specified by:
    `setTaskInstanceService` in interface `TaskServiceEntryPoint`

### setTaskIdentityService

    public void setTaskIdentityService(TaskIdentityService taskIdentityService)

  Specified by:
    `setTaskIdentityService` in interface `TaskServiceEntryPoint`

### setTaskAdminService

    public void setTaskAdminService(TaskAdminService taskAdminService)

  Specified by:
    `setTaskAdminService` in interface `TaskServiceEntryPoint`

### setTaskQueryService

    public void setTaskQueryService(TaskQueryService taskQueryService)

  Specified by:
    `setTaskQueryService` in interface `TaskServiceEntryPoint`

### setTaskEventsService

    public void setTaskEventsService(TaskEventsService taskEventsService)

  Specified by:
    `setTaskEventsService` in interface `TaskServiceEntryPoint`

### getUserInfo

    public UserInfo getUserInfo()

  Specified by:
    `getUserInfo` in interface `TaskServiceEntryPoint`

### setUserInfo

    public void setUserInfo(UserInfo userInfo)

  Specified by:
    `setUserInfo` in interface `TaskServiceEntryPoint`

### addUsersAndGroups

    public void addUsersAndGroups(Map<String,User> users,
                                  Map<String,Group> groups)

  Specified by:
    `addUsersAndGroups` in interface `TaskServiceEntryPoint`

### nominate

    public void nominate(long taskId,
                         String userId,
                         List<OrganizationalEntity> potentialOwners)

  Specified by:
    `nominate` in interface `TaskServiceEntryPoint`

### removeAllTasks

    public int removeAllTasks()

  Specified by:
    `removeAllTasks` in interface `TaskServiceEntryPoint`

### addContent

    public long addContent(long taskId,
                           Content content)

  Specified by:
    `addContent` in interface `TaskServiceEntryPoint`

### addContent

    public long addContent(long taskId,
                           Map<String,Object> params)

  Specified by:
    `addContent` in interface `TaskServiceEntryPoint`

### deleteContent

    public void deleteContent(long taskId,
                              long contentId)

  Specified by:
    `deleteContent` in interface `TaskServiceEntryPoint`

### getAllContentByTaskId

    public List<Content> getAllContentByTaskId(long taskId)

  Specified by:
    `getAllContentByTaskId` in interface `TaskServiceEntryPoint`

### getContentById

    public Content getContentById(long contentId)

  Specified by:
    `getContentById` in interface `TaskServiceEntryPoint`

### addAttachment

    public long addAttachment(long taskId,
                              Attachment attachment,
                              Content content)

  Specified by:
    `addAttachment` in interface `TaskServiceEntryPoint`

### deleteAttachment

    public void deleteAttachment(long taskId,
                                 long attachmentId)

  Specified by:
    `deleteAttachment` in interface `TaskServiceEntryPoint`

### getAllAttachmentsByTaskId

    public List<Attachment> getAllAttachmentsByTaskId(long taskId)

  Specified by:
    `getAllAttachmentsByTaskId` in interface `TaskServiceEntryPoint`

### getAttachmentById

    public Attachment getAttachmentById(long attachId)

  Specified by:
    `getAttachmentById` in interface `TaskServiceEntryPoint`

### getPendingSubTasksByParent

    public int getPendingSubTasksByParent(long parentId)

  Specified by:
    `getPendingSubTasksByParent` in interface `TaskServiceEntryPoint`

### getTaskLifeCycleEventListener

    public TaskLifeCycleEventListener getTaskLifeCycleEventListener()

  Specified by:
    `getTaskLifeCycleEventListener` in interface `TaskServiceEntryPoint`

### removeTaskEventsById

    public void removeTaskEventsById(long taskId)

  Specified by:
    `removeTaskEventsById` in interface `TaskServiceEntryPoint`

### getOrganizationalEntityById

    public OrganizationalEntity getOrganizationalEntityById(String entityId)

  Specified by:
    `getOrganizationalEntityById` in interface `TaskServiceEntryPoint`

### setExpirationDate

    public void setExpirationDate(long taskId,
                                  Date date)

  Specified by:
    `setExpirationDate` in interface `TaskServiceEntryPoint`

### setDescriptions

    public void setDescriptions(long taskId,
                                List<I18NText> descriptions)

  Specified by:
    `setDescriptions` in interface `TaskServiceEntryPoint`

### setSkipable

    public void setSkipable(long taskId,
                            boolean skipable)

  Specified by:
    `setSkipable` in interface `TaskServiceEntryPoint`

### setSubTaskStrategy

    public void setSubTaskStrategy(long taskId,
                                   SubTasksStrategy strategy)

  Specified by:
    `setSubTaskStrategy` in interface `TaskServiceEntryPoint`

### getPriority

    public int getPriority(long taskId)

  Specified by:
    `getPriority` in interface `TaskServiceEntryPoint`

### getExpirationDate

    public Date getExpirationDate(long taskId)

  Specified by:
    `getExpirationDate` in interface `TaskServiceEntryPoint`

### getDescriptions

    public List<I18NText> getDescriptions(long taskId)

  Specified by:
    `getDescriptions` in interface `TaskServiceEntryPoint`

### isSkipable

    public boolean isSkipable(long taskId)

  Specified by:
    `isSkipable` in interface `TaskServiceEntryPoint`

### getSubTaskStrategy

    public SubTasksStrategy getSubTaskStrategy(long taskId)

  Specified by:
    `getSubTaskStrategy` in interface `TaskServiceEntryPoint`

### getTaskInstanceById

    public Task getTaskInstanceById(long taskId)

  Specified by:
    `getTaskInstanceById` in interface `TaskServiceEntryPoint`

### getCompletedTaskByUserId

    public int getCompletedTaskByUserId(String userId)

  Specified by:
    `getCompletedTaskByUserId` in interface `TaskServiceEntryPoint`

### getPendingTaskByUserId

    public int getPendingTaskByUserId(String userId)

  Specified by:
    `getPendingTaskByUserId` in interface `TaskServiceEntryPoint`

### getTasksAssignedByGroup

    public List<TaskSummary> getTasksAssignedByGroup(String groupId,
                                                     String language)

  Specified by:
    `getTasksAssignedByGroup` in interface `TaskServiceEntryPoint`

### getTasksAssignedByGroups

    public List<TaskSummary> getTasksAssignedByGroups(List<String> groupIds,
                                                      String language)

  Specified by:
    `getTasksAssignedByGroups` in interface `TaskServiceEntryPoint`

### addComment

    public long addComment(long taskId,
                           Comment comment)

  Specified by:
    `addComment` in interface `TaskServiceEntryPoint`

### deleteComment

    public void deleteComment(long taskId,
                              long commentId)

  Specified by:
    `deleteComment` in interface `TaskServiceEntryPoint`

### getAllCommentsByTaskId

    public List<Comment> getAllCommentsByTaskId(long taskId)

  Specified by:
    `getAllCommentsByTaskId` in interface `TaskServiceEntryPoint`

### getCommentById

    public Comment getCommentById(long commentId)

  Specified by:
    `getCommentById` in interface `TaskServiceEntryPoint`

### setTaskNames

    public void setTaskNames(long taskId,
                             List<I18NText> taskName)

  Specified by:
    `setTaskNames` in interface `TaskServiceEntryPoint`

### getTaskContent

    public Map<String,Object> getTaskContent(long taskId)

  Specified by:
    `getTaskContent` in interface `TaskServiceEntryPoint`

### getTasksOwnedByExpirationDateOptional

    public List<TaskSummary> getTasksOwnedByExpirationDateOptional(String userId,
                                                                   List<Status> statuses,
                                                                   Date expirationDate)

  Specified by:
    `getTasksOwnedByExpirationDateOptional` in interface `TaskServiceEntryPoint`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.