Package com.saperion.wf
Class TaskInfoImpl
- java.lang.Object
-
- com.saperion.wf.WorkflowDataHolder
-
- com.saperion.wf.TaskInfoImpl
-
- All Implemented Interfaces:
TaskInfo,java.io.Serializable
public final class TaskInfoImpl extends WorkflowDataHolder implements TaskInfo
- Author:
- rbo
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskInfoImpl(java.util.Map<java.lang.String,java.lang.Object> propertyMap, java.lang.String ddcName, java.util.Map<java.lang.String,SaConstants.SaFieldType> fieldTypes)Constructor from property map.
-
Method Summary
-
Methods inherited from class com.saperion.wf.WorkflowDataHolder
getDateValue, getIntValue, getStringValue
-
-
-
-
Constructor Detail
-
TaskInfoImpl
public TaskInfoImpl(java.util.Map<java.lang.String,java.lang.Object> propertyMap, java.lang.String ddcName, java.util.Map<java.lang.String,SaConstants.SaFieldType> fieldTypes)Constructor from property map.- Parameters:
propertyMap- Property MapddcName- Workflow DDC namefieldTypes- Fieldtype list
-
-
Method Detail
-
writeXML
public void writeXML(org.xml.sax.ContentHandler hd) throws org.xml.sax.SAXExceptionWrites data as xml part.- Parameters:
hd- Content handler- Throws:
org.xml.sax.SAXException- Exception
-
getErrMsg
public java.lang.String getErrMsg()
- Specified by:
getErrMsgin interfaceTaskInfo- Returns:
- the errMsg
- See Also:
TaskInfo.getErrMsg()
-
getUserDefined
public java.util.Map<java.lang.String,SaPropertyValue> getUserDefined()
- Specified by:
getUserDefinedin interfaceTaskInfo- Returns:
- the userDefined fields
- See Also:
TaskInfo.getUserDefined()
-
getSysFields
public java.util.Map<java.lang.String,SaPropertyValue> getSysFields()
- Specified by:
getSysFieldsin interfaceTaskInfo- Returns:
- the system fields
- See Also:
TaskInfo.getSysFields()
-
getUserDefined
public SaPropertyValue getUserDefined(java.lang.String fieldName)
- Specified by:
getUserDefinedin interfaceTaskInfo- Parameters:
fieldName- Field name- Returns:
- Field value
- See Also:
TaskInfo.getUserDefined(java.lang.String)
-
getEscalationHoldInfo
public EscalationHoldInfo getEscalationHoldInfo()
- Specified by:
getEscalationHoldInfoin interfaceTaskInfo- Returns:
- the escalationHoldInfo
- See Also:
TaskInfo.getEscalationHoldInfo()
-
getTaskTimeInfo
public TimeInfo getTaskTimeInfo()
- Specified by:
getTaskTimeInfoin interfaceTaskInfo- Returns:
- the taskTimeInfo
- See Also:
TaskInfo.getTaskTimeInfo()
-
getLastTaskInfo
public LastTaskInfo getLastTaskInfo()
- Specified by:
getLastTaskInfoin interfaceTaskInfo- Returns:
- the lastInfo
- See Also:
TaskInfo.getLastTaskInfo()
-
getProcessInfo
public ProcessInfo getProcessInfo()
- Specified by:
getProcessInfoin interfaceTaskInfo- Returns:
- the processInfo
- See Also:
TaskInfo.getProcessInfo()
-
getSubject
public java.lang.String getSubject()
- Specified by:
getSubjectin interfaceTaskInfo- Returns:
- the subject
- See Also:
TaskInfo.getSubject()
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceTaskInfo- Returns:
- the priority
- See Also:
TaskInfo.getPriority()
-
getActivityId
public int getActivityId()
- Specified by:
getActivityIdin interfaceTaskInfo- Returns:
- the activity Id
- See Also:
TaskInfo.getActivityId()
-
getActor
public ActorInfo getActor()
- Specified by:
getActorin interfaceTaskInfo- Returns:
- the user
- See Also:
TaskInfo.getActor()
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceTaskInfo- Returns:
- the description
- See Also:
TaskInfo.getDescription()
-
getFlags
public int getFlags()
- Specified by:
getFlagsin interfaceTaskInfo- Returns:
- the flags
- See Also:
TaskInfo.getFlags()
-
getInfoFlags
public TaskInfoFlags getInfoFlags()
- Specified by:
getInfoFlagsin interfaceTaskInfo- Returns:
- Task info flags
- See Also:
TaskInfo.getInfoFlags()
-
getReceiveDate
public java.util.Date getReceiveDate()
- Specified by:
getReceiveDatein interfaceTaskInfo- Returns:
- the receiveDate
- See Also:
TaskInfo.getReceiveDate()
-
canDelete
public boolean canDelete()
- Specified by:
canDeletein interfaceTaskInfo- Returns:
- can delete (the only workflow-item that can be deleted is a notification)
- See Also:
TaskInfo.canDelete()
-
canPutBack
public boolean canPutBack()
- Specified by:
canPutBackin interfaceTaskInfo- Returns:
- can put back (is a pool task)
- See Also:
TaskInfo.canPutBack()
-
isError
public boolean isError()
- Specified by:
isErrorin interfaceTaskInfo- Returns:
- error in task
- See Also:
TaskInfo.isError()
-
isEscalation
public boolean isEscalation()
- Specified by:
isEscalationin interfaceTaskInfo- Returns:
- escalation (missed deadline)
- See Also:
TaskInfo.isEscalation()
-
hasNewComment
public boolean hasNewComment()
- Specified by:
hasNewCommentin interfaceTaskInfo- Returns:
- task has new comment
- See Also:
TaskInfo.hasNewComment()
-
isPaused
public boolean isPaused()
- Specified by:
isPausedin interfaceTaskInfo- Returns:
- task is paused
- See Also:
TaskInfo.isPaused()
-
isProxy
public boolean isProxy()
- Specified by:
isProxyin interfaceTaskInfo- Returns:
- user is a substitute
- See Also:
TaskInfo.isProxy()
-
isReminderReached
public boolean isReminderReached()
- Specified by:
isReminderReachedin interfaceTaskInfo- Returns:
- reminder reached
- See Also:
TaskInfo.isReminderReached()
-
canApprove
public boolean canApprove()
- Specified by:
canApprovein interfaceTaskInfo- Returns:
- Can approve
- See Also:
TaskInfo.canApprove()
-
canEditDoc
public boolean canEditDoc()
- Specified by:
canEditDocin interfaceTaskInfo- Returns:
- Can edit doc
- See Also:
TaskInfo.canEditDoc()
-
canEditDocindex
public boolean canEditDocindex()
- Specified by:
canEditDocindexin interfaceTaskInfo- Returns:
- Can edit document index
- See Also:
TaskInfo.canEditDocindex()
-
canEditIndex
public boolean canEditIndex()
- Specified by:
canEditIndexin interfaceTaskInfo- Returns:
- Can edit index
- See Also:
TaskInfo.canEditIndex()
-
canForward
public boolean canForward()
- Specified by:
canForwardin interfaceTaskInfo- Returns:
- Can forward
- See Also:
TaskInfo.canForward()
-
canNotResponsible
public boolean canNotResponsible()
- Specified by:
canNotResponsiblein interfaceTaskInfo- Returns:
- Can not responsible
- See Also:
TaskInfo.canNotResponsible()
-
canReject
public boolean canReject()
- Specified by:
canRejectin interfaceTaskInfo- Returns:
- Can reject
- See Also:
TaskInfo.canReject()
-
canRework
public boolean canRework()
- Specified by:
canReworkin interfaceTaskInfo- Returns:
- Can rework
- See Also:
TaskInfo.canRework()
-
canTake
public boolean canTake()
- Specified by:
canTakein interfaceTaskInfo- Returns:
- Can take
- See Also:
TaskInfo.canTake()
-
hasChilds
public boolean hasChilds()
- Specified by:
hasChildsin interfaceTaskInfo- Returns:
- Has childs
- See Also:
TaskInfo.hasChilds()
-
hasComment
public boolean hasComment()
- Specified by:
hasCommentin interfaceTaskInfo- Returns:
- Has comment
- See Also:
TaskInfo.hasComment()
-
hasNewHistoryCommentSet
public boolean hasNewHistoryCommentSet()
- Specified by:
hasNewHistoryCommentSetin interfaceTaskInfo- Returns:
- New history comment set
- See Also:
TaskInfo.hasNewHistoryCommentSet()
-
isAdhoc
public boolean isAdhoc()
- Specified by:
isAdhocin interfaceTaskInfo- Returns:
- Is adhoc
- See Also:
TaskInfo.isAdhoc()
-
isClientaction
public boolean isClientaction()
- Specified by:
isClientactionin interfaceTaskInfo- Returns:
- Is client action
- See Also:
TaskInfo.isClientaction()
-
isEntryOrExitFailed
public boolean isEntryOrExitFailed()
- Specified by:
isEntryOrExitFailedin interfaceTaskInfo- Returns:
- Entry or exit failed
- See Also:
TaskInfo.isEntryOrExitFailed()
-
isInactive
public boolean isInactive()
- Specified by:
isInactivein interfaceTaskInfo- Returns:
- Is inactive
- See Also:
TaskInfo.isInactive()
-
isLockDoc
public boolean isLockDoc()
- Specified by:
isLockDocin interfaceTaskInfo- Returns:
- Is lock doc
- See Also:
TaskInfo.isLockDoc()
-
isNewCommentSet
public boolean isNewCommentSet()
- Specified by:
isNewCommentSetin interfaceTaskInfo- Returns:
- New comment set
- See Also:
TaskInfo.isNewCommentSet()
-
isNotPresent
public boolean isNotPresent()
- Specified by:
isNotPresentin interfaceTaskInfo- Returns:
- Not present
- See Also:
TaskInfo.isNotPresent()
-
isNotification
public boolean isNotification()
- Specified by:
isNotificationin interfaceTaskInfo- Returns:
- Is notification
- See Also:
TaskInfo.isNotification()
-
isReminder
public boolean isReminder()
- Specified by:
isReminderin interfaceTaskInfo- Returns:
- Is reminder
- See Also:
TaskInfo.isReminder()
-
-