com.retek.component.task.impl
Class TaskImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.DistributedObjectImpl
          extended bycom.retek.component.task.impl.TaskImpl
All Implemented Interfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, Task

public class TaskImpl
extends DistributedObjectImpl
implements Task


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.Task
LONG_DESCRIPTION, SHORT_DESCRIPTION, TASK_ROUTING, TASK_TYPE
 
Constructor Summary
TaskImpl(DistributedContext context, DistributedReference reference, boolean createHollow)
           
TaskImpl(DistributedContext context, DistributedReference reference, TaskType taskType, java.lang.String shortDescription)
           
 
Method Summary
 java.lang.String getDescription()
           
 TaskDto getDto()
           
 java.lang.String getLongDescription()
           
 RoutingAttribute getRoutingAttribute()
           
 java.lang.String getShortDescription()
           
 TaskType getTaskType()
           
 boolean isAutoResolve()
           
 boolean isAutoResolveOverridable()
           
 boolean isSystematic()
           
protected  Dto readLatest()
           
 void setAutoResolvable(boolean isAutoResolvable)
          Sets the autoresolve flag on the Task
 void setLongDescription(java.lang.String longDescription)
           
 void setRoutingAttribute(RoutingAttribute routingAttribute)
          Sets the RoutingAttribute on the Task
 void setShortDescription(java.lang.String shortDescription)
           
 void setTaskType(TaskType taskType)
           
 void submit()
          Persist this Task to the database and perform all task submit validation.
 java.lang.String toDisplayString()
           
 
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.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

TaskImpl

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

TaskImpl

public TaskImpl(DistributedContext context,
                DistributedReference reference,
                TaskType taskType,
                java.lang.String shortDescription)
         throws BusinessException,
                SystemException
Method Detail

getDto

public TaskDto getDto()
               throws SystemException
Throws:
SystemException

getTaskType

public TaskType getTaskType()
                     throws SystemException
Specified by:
getTaskType in interface Task
Throws:
SystemException

getDescription

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

getShortDescription

public java.lang.String getShortDescription()
                                     throws SystemException
Specified by:
getShortDescription in interface Task
Throws:
SystemException

getLongDescription

public java.lang.String getLongDescription()
                                    throws SystemException
Specified by:
getLongDescription in interface Task
Throws:
SystemException

setLongDescription

public void setLongDescription(java.lang.String longDescription)
                        throws SystemException
Specified by:
setLongDescription in interface Task
Throws:
SystemException

isSystematic

public boolean isSystematic()
                     throws SystemException
Specified by:
isSystematic in interface Task
Throws:
SystemException

setRoutingAttribute

public void setRoutingAttribute(RoutingAttribute routingAttribute)
                         throws SystemException
Description copied from interface: Task
Sets the RoutingAttribute on the Task

Specified by:
setRoutingAttribute in interface Task
Throws:
SystemException

getRoutingAttribute

public RoutingAttribute getRoutingAttribute()
                                     throws SystemException
Specified by:
getRoutingAttribute in interface Task
Throws:
SystemException

setShortDescription

public void setShortDescription(java.lang.String shortDescription)
                         throws SystemException
Specified by:
setShortDescription in interface Task
Throws:
SystemException

submit

public void submit()
            throws SystemException,
                   BusinessException
Description copied from interface: Task
Persist this Task to the database and perform all task submit validation.

Specified by:
submit in interface Task
Throws:
BusinessException
SystemException

readLatest

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

isAutoResolve

public boolean isAutoResolve()
                      throws SystemException
Specified by:
isAutoResolve in interface Task
Throws:
SystemException

setAutoResolvable

public void setAutoResolvable(boolean isAutoResolvable)
                       throws SystemException,
                              BusinessException
Description copied from interface: Task
Sets the autoresolve flag on the Task

Specified by:
setAutoResolvable in interface Task
Throws:
BusinessException
SystemException

isAutoResolveOverridable

public boolean isAutoResolveOverridable()
                                 throws SystemException
Specified by:
isAutoResolveOverridable in interface Task
Throws:
SystemException

setTaskType

public void setTaskType(TaskType taskType)
                 throws SystemException
Throws:
SystemException

toDisplayString

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


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