com.retek.component.task.impl
Class WorkTaskImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.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
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 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 |
WorkTaskImpl
public WorkTaskImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
WorkTaskImpl
public WorkTaskImpl(DistributedContext context,
DistributedReference reference,
Taskable taskable,
Task task)
throws SystemException
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