com.retek.component.task.impl
Class WorkTaskImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.task.impl.WorkTaskImpl
All Implemented Interfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, WorkTask
Direct Known Subclasses:
ActivityRequestWorkTaskImpl, OrderWorkTaskImpl, PersonalReminderWorkTaskImpl

public abstract class WorkTaskImpl
extends DistributedObjectImpl
implements WorkTask


Nested Class Summary
 
Nested classes inherited from class com.retek.commons.component.impl.DistributedObjectImpl
DistributedObjectImpl.DtoBurgular
 
Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.task.WorkTask
TASK, TASKABLE
 
Constructor Summary
WorkTaskImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
WorkTaskImpl(DistributedContext context, DistributedReference reference, Taskable taskable, Task task)
           
 
Method Summary
 java.lang.String getBatchNumber()
           
 RDate getCreateDate()
           
 User getCreatedByUser()
           
 java.lang.String getDescription()
           
 WorkTaskDto getDto()
           
 RDate getLastLeaseDate()
           
 User getLastUpdatedByUser()
           
 RDate getLastUpdatedDate()
           
 RDate getLeaseDate()
           
 User getResolvedByUser()
           
 RDate getResolvedDate()
           
 Task getTask()
           
 Taskable getTaskable()
           
 boolean isResolved()
           
protected  Dto readLatest()
           
abstract  void resolve(User user)
           
 void setBatchNumber(java.lang.String batchNumber)
           
 void setLeaseDate(RDate leaseDate)
           
 void setResolved(boolean resolved)
           
 void setResolvedByUser(User user)
           
 void setResolvedDate(RDate resolvedDate)
           
 void submit(User user)
           
 java.lang.String toDisplayString()
           
protected abstract  void validate()
           
 
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.component.task.WorkTask
accept, getCallCenterLocation
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

WorkTaskImpl

public WorkTaskImpl(DistributedContext context,
                    DistributedReference reference,
                    boolean createHollow)
             throws SystemException

WorkTaskImpl

public WorkTaskImpl(DistributedContext context,
                    DistributedReference reference,
                    Taskable taskable,
                    Task task)
             throws SystemException
Method Detail

getDto

public WorkTaskDto getDto()
                   throws SystemException
Throws:
SystemException

getLastUpdatedByUser

public User getLastUpdatedByUser()
                          throws SystemException
Specified by:
getLastUpdatedByUser in interface WorkTask
Throws:
SystemException

getLastUpdatedDate

public RDate getLastUpdatedDate()
                         throws SystemException
Specified by:
getLastUpdatedDate in interface WorkTask
Throws:
SystemException

getTask

public Task getTask()
             throws SystemException
Specified by:
getTask in interface WorkTask
Throws:
SystemException

getTaskable

public Taskable getTaskable()
                     throws SystemException
Specified by:
getTaskable in interface WorkTask
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Throws:
SystemException

getCreatedByUser

public User getCreatedByUser()
                      throws SystemException
Specified by:
getCreatedByUser in interface WorkTask
Throws:
SystemException

getCreateDate

public RDate getCreateDate()
                    throws SystemException
Specified by:
getCreateDate in interface WorkTask
Throws:
SystemException

submit

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

isResolved

public boolean isResolved()
                   throws SystemException
Specified by:
isResolved in interface WorkTask
Throws:
SystemException

setResolved

public final void setResolved(boolean resolved)
                       throws SystemException
Throws:
SystemException

getResolvedDate

public final RDate getResolvedDate()
                            throws SystemException
Specified by:
getResolvedDate in interface WorkTask
Throws:
SystemException

setResolvedDate

public final void setResolvedDate(RDate resolvedDate)
                           throws SystemException
Throws:
SystemException

getLeaseDate

public final RDate getLeaseDate()
                         throws SystemException
Specified by:
getLeaseDate in interface WorkTask
Throws:
SystemException

getLastLeaseDate

public final RDate getLastLeaseDate()
                             throws SystemException
Specified by:
getLastLeaseDate in interface WorkTask
Throws:
SystemException

setLeaseDate

public void setLeaseDate(RDate leaseDate)
                  throws SystemException
Throws:
SystemException

setResolvedByUser

public void setResolvedByUser(User user)
                       throws SystemException
Throws:
SystemException

getResolvedByUser

public User getResolvedByUser()
                       throws SystemException
Specified by:
getResolvedByUser in interface WorkTask
Throws:
SystemException

setBatchNumber

public void setBatchNumber(java.lang.String batchNumber)
                    throws SystemException
Throws:
SystemException

getBatchNumber

public java.lang.String getBatchNumber()
                                throws SystemException
Specified by:
getBatchNumber in interface WorkTask
Throws:
SystemException

toDisplayString

public java.lang.String toDisplayString()
Specified by:
toDisplayString in interface com.retek.swing11.commons.type.Displayable

readLatest

protected Dto readLatest()
                  throws SystemException
Overrides:
readLatest in class DistributedObjectImpl
Throws:
SystemException

validate

protected abstract void validate()
                          throws SystemException,
                                 BusinessException
Throws:
SystemException
BusinessException

resolve

public abstract void resolve(User user)
                      throws SystemException,
                             BusinessException
Specified by:
resolve in interface WorkTask
Throws:
SystemException
BusinessException


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