public class WorkflowNodeInfoImpl extends Object implements WorkflowNodeInfo
WorkflowNodeInfo.Filter, WorkflowNodeInfo.TYPE
MASKNAME
Constructor and Description |
---|
WorkflowNodeInfoImpl(com.saperion.wf.BoxCount count)
Constructor for workflow root node.
|
WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box)
Constructor.
|
WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box,
boolean performQuery)
Constructor.
|
WorkflowNodeInfoImpl(String leafName,
int id,
WorkflowNodeInfo.Filter filter)
Constructor.
|
WorkflowNodeInfoImpl(String indexForm,
WorkflowNodeInfo.TYPE typeValue,
int id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getBoxId()
Returns the id of the box this node info is representing.
|
WorkflowNodeInfo.Filter |
getFilterType()
Returns the filter of this workflow node.
|
String |
getMaskName() |
String |
getName() |
String |
getQuery()
Returns the workflow query string.
|
long |
getTotalCount()
Returns the number of total items enclosed by this folder.
|
WorkflowNodeInfo.TYPE |
getType() |
long |
getUnreadCount()
Returns the number of unread items enclosed by this folder.
|
boolean |
isPerformQuery()
Checks if the query is to be performed immediately.
|
void |
setTotalCount(long count)
Sets the number of total items enclosed by this folder.
|
void |
setUnreadCount(long count)
Sets the number of unread items enclosed by this folder.
|
public WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box)
box
- the box definitionpublic WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box, boolean performQuery)
box
- the box definitionperformQuery
- if set to false, the workflow-query will not be executed immediatelypublic WorkflowNodeInfoImpl(String leafName, int id, WorkflowNodeInfo.Filter filter)
leafName
- the name of this leafid
- the user idfilter
- the query filterpublic WorkflowNodeInfoImpl(String indexForm, WorkflowNodeInfo.TYPE typeValue, int id)
indexForm
- Index formtypeValue
- Typeid
- Box idpublic WorkflowNodeInfoImpl(com.saperion.wf.BoxCount count)
count
- global task countpublic String getQuery()
getQuery
in interface WorkflowNodeInfo
WorkflowNodeInfo.getQuery()
public String getMaskName()
getMaskName
in interface WorkflowNodeInfo
WorkflowNodeInfo.getMaskName()
public String getName()
public WorkflowNodeInfo.TYPE getType()
getType
in interface WorkflowNodeInfo
public void setTotalCount(long count)
setTotalCount
in interface WorkflowNodeInfo
count
- the number of total items enclosed by this folder.WorkflowNodeInfo.setTotalCount(long)
public void setUnreadCount(long count)
setUnreadCount
in interface WorkflowNodeInfo
count
- the number of unread items enclosed by this folder.WorkflowNodeInfo.setUnreadCount(long)
public long getTotalCount()
getTotalCount
in interface WorkflowNodeInfo
WorkflowNodeInfo.getTotalCount()
public long getUnreadCount()
getUnreadCount
in interface WorkflowNodeInfo
WorkflowNodeInfo.getUnreadCount()
public WorkflowNodeInfo.Filter getFilterType()
getFilterType
in interface WorkflowNodeInfo
WorkflowNodeInfo.getFilterType()
public int getBoxId()
getBoxId
in interface WorkflowNodeInfo
WorkflowNodeInfo.getBoxId()
public boolean isPerformQuery()
isPerformQuery
in interface WorkflowNodeInfo
WorkflowNodeInfo.isPerformQuery()
Copyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.