com.retek.component.task.impl.persistence.cache
Class CacheTaskDao

java.lang.Object
  extended bycom.retek.commons.component.impl.persistence.cache.MemoryDao
      extended bycom.retek.component.task.impl.persistence.cache.CacheTaskDao
All Implemented Interfaces:
TaskDao

public class CacheTaskDao
extends MemoryDao
implements TaskDao


Constructor Summary
CacheTaskDao()
           
 
Method Summary
 ReferenceCache createReferenceCacheForTask()
           
 ReferenceCache createReferenceCacheForWorkTask(java.lang.Class businessInterface)
           
 java.util.Set findAllRoutingAttributes()
           
 java.util.Set findAllTaskTypes()
           
 java.util.Set findTasks(TaskSearchCriteria criteria)
           
 java.util.Set findWorkTasks(WorkTaskSearchCriteria criteria)
           
 java.lang.String getNextBatchNumber()
           
 java.util.Set getWorkTaskSummaryItems(DistributedReference taskTypeRef)
           
 WorkTaskDto leaseNextWorkTask(WorkTaskSearchCriteria criteria, RDate currentSystemTime, DistributedReference userRef)
           
 TaskDto persist(TaskDto dto)
           
 WorkTaskDto persist(WorkTaskDto dto)
           
 RoutingAttributeDto readRoutingAttribute(DistributedReference ref)
           
 TaskDto readTask(DistributedReference ref)
           
 TaskTypeDto readTaskType(DistributedReference ref)
           
 WorkTaskDto readWorkTask(DistributedReference ref)
           
static void reset()
           
 
Methods inherited from class com.retek.commons.component.impl.persistence.cache.MemoryDao
doCreateReferenceCache, doCreateReferenceCache, doDelete, doPersist, doPersist, doRead, doRead, getDtosForType, getSizeReport, isWildCardEqual, resetAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheTaskDao

public CacheTaskDao()
             throws SystemException
Method Detail

reset

public static void reset()

findAllTaskTypes

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

findAllRoutingAttributes

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

createReferenceCacheForTask

public ReferenceCache createReferenceCacheForTask()
                                           throws SystemException
Specified by:
createReferenceCacheForTask in interface TaskDao
Throws:
SystemException

createReferenceCacheForWorkTask

public ReferenceCache createReferenceCacheForWorkTask(java.lang.Class businessInterface)
                                               throws SystemException
Specified by:
createReferenceCacheForWorkTask in interface TaskDao
Throws:
SystemException

leaseNextWorkTask

public WorkTaskDto leaseNextWorkTask(WorkTaskSearchCriteria criteria,
                                     RDate currentSystemTime,
                                     DistributedReference userRef)
                              throws SystemException
Specified by:
leaseNextWorkTask in interface TaskDao
Throws:
SystemException

findWorkTasks

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

findTasks

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

readTask

public TaskDto readTask(DistributedReference ref)
                 throws SystemException
Specified by:
readTask in interface TaskDao
Throws:
SystemException

readRoutingAttribute

public RoutingAttributeDto readRoutingAttribute(DistributedReference ref)
                                         throws SystemException
Specified by:
readRoutingAttribute in interface TaskDao
Throws:
SystemException

readTaskType

public TaskTypeDto readTaskType(DistributedReference ref)
                         throws SystemException
Specified by:
readTaskType in interface TaskDao
Throws:
SystemException

persist

public TaskDto persist(TaskDto dto)
                throws SystemException
Specified by:
persist in interface TaskDao
Throws:
SystemException

persist

public WorkTaskDto persist(WorkTaskDto dto)
                    throws SystemException
Specified by:
persist in interface TaskDao
Throws:
SystemException

readWorkTask

public WorkTaskDto readWorkTask(DistributedReference ref)
                         throws SystemException
Specified by:
readWorkTask in interface TaskDao
Throws:
SystemException

getWorkTaskSummaryItems

public java.util.Set getWorkTaskSummaryItems(DistributedReference taskTypeRef)
                                      throws SystemException
Specified by:
getWorkTaskSummaryItems in interface TaskDao
Throws:
SystemException

getNextBatchNumber

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


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