Package com.saperion.wf
Class TaskInfoImpl
java.lang.Object
com.saperion.wf.WorkflowDataHolder
com.saperion.wf.TaskInfoImpl
- All Implemented Interfaces:
TaskInfo
,Serializable
- Author:
- rbo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTaskInfoImpl
(Map<String, Object> propertyMap, String ddcName, Map<String, SaConstants.SaFieldType> fieldTypes) Constructor from property map. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
canTake()
int
getActor()
int
getFlags()
int
getUserDefined
(String fieldName) boolean
boolean
boolean
boolean
boolean
isAdhoc()
boolean
boolean
boolean
isError()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isPaused()
boolean
isProxy()
boolean
boolean
void
Writes data as xml part.Methods inherited from class com.saperion.wf.WorkflowDataHolder
getDateValue, getIntValue, getStringValue
-
Constructor Details
-
Method Details
-
writeXML
Writes data as xml part.- Parameters:
hd
- Content handler- Throws:
SAXException
- Exception
-
getErrMsg
-
getUserDefined
- Specified by:
getUserDefined
in interfaceTaskInfo
- Returns:
- the userDefined fields
- See Also:
-
getSysFields
- Specified by:
getSysFields
in interfaceTaskInfo
- Returns:
- the system fields
- See Also:
-
getUserDefined
- Specified by:
getUserDefined
in interfaceTaskInfo
- Parameters:
fieldName
- Field name- Returns:
- Field value
- See Also:
-
getEscalationHoldInfo
- Specified by:
getEscalationHoldInfo
in interfaceTaskInfo
- Returns:
- the escalationHoldInfo
- See Also:
-
getTaskTimeInfo
- Specified by:
getTaskTimeInfo
in interfaceTaskInfo
- Returns:
- the taskTimeInfo
- See Also:
-
getLastTaskInfo
- Specified by:
getLastTaskInfo
in interfaceTaskInfo
- Returns:
- the lastInfo
- See Also:
-
getProcessInfo
- Specified by:
getProcessInfo
in interfaceTaskInfo
- Returns:
- the processInfo
- See Also:
-
getSubject
- Specified by:
getSubject
in interfaceTaskInfo
- Returns:
- the subject
- See Also:
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceTaskInfo
- Returns:
- the priority
- See Also:
-
getActivityId
public int getActivityId()- Specified by:
getActivityId
in interfaceTaskInfo
- Returns:
- the activity Id
- See Also:
-
getActor
-
getDescription
- Specified by:
getDescription
in interfaceTaskInfo
- Returns:
- the description
- See Also:
-
getFlags
public int getFlags() -
getInfoFlags
- Specified by:
getInfoFlags
in interfaceTaskInfo
- Returns:
- Task info flags
- See Also:
-
getReceiveDate
- Specified by:
getReceiveDate
in interfaceTaskInfo
- Returns:
- the receiveDate
- See Also:
-
canDelete
public boolean canDelete() -
canPutBack
public boolean canPutBack()- Specified by:
canPutBack
in interfaceTaskInfo
- Returns:
- can put back (is a pool task)
- See Also:
-
isError
public boolean isError() -
isEscalation
public boolean isEscalation()- Specified by:
isEscalation
in interfaceTaskInfo
- Returns:
- escalation (missed deadline)
- See Also:
-
hasNewComment
public boolean hasNewComment()- Specified by:
hasNewComment
in interfaceTaskInfo
- Returns:
- task has new comment
- See Also:
-
isPaused
public boolean isPaused() -
isProxy
public boolean isProxy() -
isReminderReached
public boolean isReminderReached()- Specified by:
isReminderReached
in interfaceTaskInfo
- Returns:
- reminder reached
- See Also:
-
canApprove
public boolean canApprove()- Specified by:
canApprove
in interfaceTaskInfo
- Returns:
- Can approve
- See Also:
-
canEditDoc
public boolean canEditDoc()- Specified by:
canEditDoc
in interfaceTaskInfo
- Returns:
- Can edit doc
- See Also:
-
canEditDocindex
public boolean canEditDocindex()- Specified by:
canEditDocindex
in interfaceTaskInfo
- Returns:
- Can edit document index
- See Also:
-
canEditIndex
public boolean canEditIndex()- Specified by:
canEditIndex
in interfaceTaskInfo
- Returns:
- Can edit index
- See Also:
-
canForward
public boolean canForward()- Specified by:
canForward
in interfaceTaskInfo
- Returns:
- Can forward
- See Also:
-
canNotResponsible
public boolean canNotResponsible()- Specified by:
canNotResponsible
in interfaceTaskInfo
- Returns:
- Can not responsible
- See Also:
-
canReject
public boolean canReject() -
canRework
public boolean canRework() -
canTake
public boolean canTake() -
hasChilds
public boolean hasChilds() -
hasComment
public boolean hasComment()- Specified by:
hasComment
in interfaceTaskInfo
- Returns:
- Has comment
- See Also:
-
hasNewHistoryCommentSet
public boolean hasNewHistoryCommentSet()- Specified by:
hasNewHistoryCommentSet
in interfaceTaskInfo
- Returns:
- New history comment set
- See Also:
-
isAdhoc
public boolean isAdhoc() -
isClientaction
public boolean isClientaction()- Specified by:
isClientaction
in interfaceTaskInfo
- Returns:
- Is client action
- See Also:
-
isEntryOrExitFailed
public boolean isEntryOrExitFailed()- Specified by:
isEntryOrExitFailed
in interfaceTaskInfo
- Returns:
- Entry or exit failed
- See Also:
-
isInactive
public boolean isInactive()- Specified by:
isInactive
in interfaceTaskInfo
- Returns:
- Is inactive
- See Also:
-
isLockDoc
public boolean isLockDoc() -
isNewCommentSet
public boolean isNewCommentSet()- Specified by:
isNewCommentSet
in interfaceTaskInfo
- Returns:
- New comment set
- See Also:
-
isNotPresent
public boolean isNotPresent()- Specified by:
isNotPresent
in interfaceTaskInfo
- Returns:
- Not present
- See Also:
-
isNotification
public boolean isNotification()- Specified by:
isNotification
in interfaceTaskInfo
- Returns:
- Is notification
- See Also:
-
isReminder
public boolean isReminder()- Specified by:
isReminder
in interfaceTaskInfo
- Returns:
- Is reminder
- See Also:
-