com.retek.component.task.impl
Class TaskManagerImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.DistributedObjectManagerImpl
      extended bycom.retek.component.task.impl.TaskManagerImpl
All Implemented Interfaces:
DistributedObjectManager, TaskManager

public class TaskManagerImpl
extends DistributedObjectManagerImpl
implements TaskManager


Field Summary
static java.lang.String PERSONAL_REMINDER_TASK_REF
           
 
Constructor Summary
TaskManagerImpl(DistributedContext context)
           
 
Method Summary
 ActivityRequestWorkTask buildActivityRequestWorkTask(ActivityRequest activityRequest)
           
 OrderWorkTask buildOrderWorkTask(Taskable taskable, CustomerOrder order, Task task)
           
 PersonalReminderWorkTask buildPersonalReminderWorkTask(Taskable taskable, ActivityRequest activityRequest, Task task)
           
 PersonalReminderWorkTask buildPersonalReminderWorkTask(Taskable taskable, CustomerOrder order, Task task)
           
 PersonalReminderWorkTask buildPersonalReminderWorkTask(Taskable taskable, Task task)
           
 Task buildTask(TaskType taskType, java.lang.String shortDescription)
           
protected  ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
           
 java.util.Set findActivityRequestTasks(TaskType taskType)
           
 java.util.Set findActivityRequestTaskTypes()
           
 java.util.Set findAllPrintFileFilters()
           
 java.util.Set findAllRoutingAttributes()
           
 java.util.Set findAllTaskTypes()
           
 java.util.Set findOrderTasks(TaskType taskType)
           
 java.util.Set findOrderTaskTypes()
           
 java.util.Set findPersonalReminderWorkTasks(User user, boolean includeClosed)
           
 java.util.Set findPrintFileWorkTasks(PrintFileFilter printFileFilter)
           
 java.util.Set findTasks(TaskSearchCriteria criteria)
           
 java.util.Set findWorkTasks(WorkTaskSearchCriteria criteria)
           
 java.lang.String getNextBatchNumber()
           
 Task getPersonalReminderTask()
           
 java.util.Set getWorkTaskSummaryItems(TaskType taskType)
           
 WorkTask leaseNextWorkTaskForWorklist(Task task, Banner banner, User user)
           
 void leaseWorkTask(WorkTask workTask, User user)
           
 ActivityRequestPrintFile printActivityRequests(java.util.Set activityRequestWorkTasks, User user)
           
 void releaseLease(WorkTask workTask, User user)
           
 void resolve(ActivityRequestWorkTask activityRequestWorkTask, ActivityRequest activityRequest, User user)
           
 void resolve(OrderWorkTask orderWorkTask, CustomerOrder order, User user, CustomerOrderPendReason customerOrderPendReason)
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectManagerImpl
getContext, getReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.DistributedObjectManager
getContext
 

Field Detail

PERSONAL_REMINDER_TASK_REF

public static final java.lang.String PERSONAL_REMINDER_TASK_REF
See Also:
Constant Field Values
Constructor Detail

TaskManagerImpl

public TaskManagerImpl(DistributedContext context)
Method Detail

findAllTaskTypes

public java.util.Set findAllTaskTypes()
                               throws SystemException
Specified by:
findAllTaskTypes in interface TaskManager
Throws:
SystemException

findOrderTaskTypes

public java.util.Set findOrderTaskTypes()
                                 throws SystemException
Specified by:
findOrderTaskTypes in interface TaskManager
Throws:
SystemException

findActivityRequestTaskTypes

public java.util.Set findActivityRequestTaskTypes()
                                           throws SystemException
Specified by:
findActivityRequestTaskTypes in interface TaskManager
Throws:
SystemException

findTasks

public java.util.Set findTasks(TaskSearchCriteria criteria)
                        throws SystemException
Specified by:
findTasks in interface TaskManager
Throws:
SystemException

findActivityRequestTasks

public java.util.Set findActivityRequestTasks(TaskType taskType)
                                       throws SystemException
Specified by:
findActivityRequestTasks in interface TaskManager
Throws:
SystemException

findOrderTasks

public java.util.Set findOrderTasks(TaskType taskType)
                             throws SystemException
Specified by:
findOrderTasks in interface TaskManager
Throws:
SystemException

findWorkTasks

public java.util.Set findWorkTasks(WorkTaskSearchCriteria criteria)
                            throws SystemException
Specified by:
findWorkTasks in interface TaskManager
Throws:
SystemException

findAllRoutingAttributes

public java.util.Set findAllRoutingAttributes()
                                       throws SystemException
Specified by:
findAllRoutingAttributes in interface TaskManager
Throws:
SystemException

buildTask

public Task buildTask(TaskType taskType,
                      java.lang.String shortDescription)
               throws SystemException,
                      BusinessException
Specified by:
buildTask in interface TaskManager
Throws:
SystemException
BusinessException

buildOrderWorkTask

public OrderWorkTask buildOrderWorkTask(Taskable taskable,
                                        CustomerOrder order,
                                        Task task)
                                 throws SystemException
Specified by:
buildOrderWorkTask in interface TaskManager
Throws:
SystemException

getWorkTaskSummaryItems

public java.util.Set getWorkTaskSummaryItems(TaskType taskType)
                                      throws SystemException
Specified by:
getWorkTaskSummaryItems in interface TaskManager
Throws:
SystemException

buildActivityRequestWorkTask

public ActivityRequestWorkTask buildActivityRequestWorkTask(ActivityRequest activityRequest)
                                                     throws SystemException
Specified by:
buildActivityRequestWorkTask in interface TaskManager
Throws:
SystemException

getPersonalReminderTask

public Task getPersonalReminderTask()
                             throws SystemException
Specified by:
getPersonalReminderTask in interface TaskManager
Throws:
SystemException

buildPersonalReminderWorkTask

public PersonalReminderWorkTask buildPersonalReminderWorkTask(Taskable taskable,
                                                              ActivityRequest activityRequest,
                                                              Task task)
                                                       throws SystemException
Specified by:
buildPersonalReminderWorkTask in interface TaskManager
Throws:
SystemException

buildPersonalReminderWorkTask

public PersonalReminderWorkTask buildPersonalReminderWorkTask(Taskable taskable,
                                                              Task task)
                                                       throws SystemException
Specified by:
buildPersonalReminderWorkTask in interface TaskManager
Throws:
SystemException

buildPersonalReminderWorkTask

public PersonalReminderWorkTask buildPersonalReminderWorkTask(Taskable taskable,
                                                              CustomerOrder order,
                                                              Task task)
                                                       throws SystemException
Specified by:
buildPersonalReminderWorkTask in interface TaskManager
Throws:
SystemException

leaseNextWorkTaskForWorklist

public WorkTask leaseNextWorkTaskForWorklist(Task task,
                                             Banner banner,
                                             User user)
                                      throws SystemException
Specified by:
leaseNextWorkTaskForWorklist in interface TaskManager
Throws:
SystemException

releaseLease

public void releaseLease(WorkTask workTask,
                         User user)
                  throws SystemException,
                         BusinessException
Specified by:
releaseLease in interface TaskManager
Throws:
SystemException
BusinessException

findPersonalReminderWorkTasks

public java.util.Set findPersonalReminderWorkTasks(User user,
                                                   boolean includeClosed)
                                            throws SystemException
Specified by:
findPersonalReminderWorkTasks in interface TaskManager
Throws:
SystemException

getNextBatchNumber

public java.lang.String getNextBatchNumber()
                                    throws SystemException
Specified by:
getNextBatchNumber in interface TaskManager
Throws:
SystemException

printActivityRequests

public ActivityRequestPrintFile printActivityRequests(java.util.Set activityRequestWorkTasks,
                                                      User user)
                                               throws SystemException,
                                                      BusinessException
Specified by:
printActivityRequests in interface TaskManager
Throws:
SystemException
BusinessException

leaseWorkTask

public void leaseWorkTask(WorkTask workTask,
                          User user)
                   throws SystemException,
                          BusinessException
Specified by:
leaseWorkTask in interface TaskManager
Throws:
SystemException
BusinessException

findAllPrintFileFilters

public java.util.Set findAllPrintFileFilters()
Specified by:
findAllPrintFileFilters in interface TaskManager

findPrintFileWorkTasks

public java.util.Set findPrintFileWorkTasks(PrintFileFilter printFileFilter)
                                     throws SystemException
Specified by:
findPrintFileWorkTasks in interface TaskManager
Throws:
SystemException

fetchMoreReferences

protected ReferenceCache fetchMoreReferences(java.lang.Class businessIface)
                                      throws SystemException
Specified by:
fetchMoreReferences in class DistributedObjectManagerImpl
Throws:
SystemException

resolve

public void resolve(ActivityRequestWorkTask activityRequestWorkTask,
                    ActivityRequest activityRequest,
                    User user)
             throws SystemException,
                    BusinessException
Specified by:
resolve in interface TaskManager
Throws:
SystemException
BusinessException

resolve

public void resolve(OrderWorkTask orderWorkTask,
                    CustomerOrder order,
                    User user,
                    CustomerOrderPendReason customerOrderPendReason)
             throws SystemException,
                    BusinessException
Specified by:
resolve in interface TaskManager
Throws:
SystemException
BusinessException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28