com.retek.component.task.impl.persistence.db.oracle
Class OracleTaskDao

java.lang.Object
  extended bycom.retek.commons.domain.core.persistence.db.oracle.AbstractOracleDao
      extended bycom.retek.component.task.impl.persistence.db.oracle.OracleTaskDao
All Implemented Interfaces:
TaskDao

public class OracleTaskDao
extends AbstractOracleDao
implements TaskDao


Constructor Summary
OracleTaskDao()
           
 
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)
           
protected  java.lang.String getDaoResourceProperty()
           
 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)
           
 
Methods inherited from class com.retek.commons.domain.core.persistence.db.oracle.AbstractOracleDao
buildReferenceCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleTaskDao

public OracleTaskDao()
Method Detail

persist

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

readRoutingAttribute

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

readTask

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

findAllRoutingAttributes

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

findAllTaskTypes

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

findTasks

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

readTaskType

public TaskTypeDto readTaskType(DistributedReference ref)
                         throws SystemException
Specified by:
readTaskType 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

findWorkTasks

public java.util.Set findWorkTasks(WorkTaskSearchCriteria criteria)
                            throws SystemException
Specified by:
findWorkTasks 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

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

getDaoResourceProperty

protected java.lang.String getDaoResourceProperty()
Overrides:
getDaoResourceProperty in class AbstractOracleDao

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