Class WorkflowNodeInfoImpl
java.lang.Object
com.saperion.ngc.model.navigation.WorkflowNodeInfoImpl
- All Implemented Interfaces:
WorkflowNodeInfo
- Author:
- rbo
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.saperion.ngc.model.navigation.intf.WorkflowNodeInfo
WorkflowNodeInfo.Filter, WorkflowNodeInfo.TYPE -
Field Summary
Fields inherited from interface com.saperion.ngc.model.navigation.intf.WorkflowNodeInfo
MASKNAME -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box) Constructor.WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box, boolean performQuery) Constructor.WorkflowNodeInfoImpl(com.saperion.wf.BoxCount count) Constructor for workflow root node.WorkflowNodeInfoImpl(String leafName, int id, WorkflowNodeInfo.Filter filter) Constructor.WorkflowNodeInfoImpl(String indexForm, WorkflowNodeInfo.TYPE typeValue, int id) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintgetBoxId()Returns the id of the box this node info is representing.Returns the filter of this workflow node.getName()getQuery()Returns the workflow query string.longReturns the number of total items enclosed by this folder.getType()longReturns the number of unread items enclosed by this folder.booleanChecks if the query is to be performed immediately.voidsetTotalCount(long count) Sets the number of total items enclosed by this folder.voidsetUnreadCount(long count) Sets the number of unread items enclosed by this folder.
-
Constructor Details
-
WorkflowNodeInfoImpl
public WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box) Constructor. (used for virtual workflow items)- Parameters:
box- the box definition
-
WorkflowNodeInfoImpl
public WorkflowNodeInfoImpl(com.saperion.intf.wf.BoxDefinition box, boolean performQuery) Constructor. (used for virtual workflow items)- Parameters:
box- the box definitionperformQuery- if set to false, the workflow-query will not be executed immediately
-
WorkflowNodeInfoImpl
public WorkflowNodeInfoImpl(com.saperion.wf.BoxCount count) Constructor for workflow root node.- Parameters:
count- global task count
-
-
Method Details
-
getQuery
Returns the workflow query string.- Specified by:
getQueryin interfaceWorkflowNodeInfo- Returns:
- query string
- See Also:
-
getMaskName
- Specified by:
getMaskNamein interfaceWorkflowNodeInfo- Returns:
- Mask name
- See Also:
-
getName
- Returns:
- Name
-
getType
- Specified by:
getTypein interfaceWorkflowNodeInfo- Returns:
- Type
-
setTotalCount
public void setTotalCount(long count) Sets the number of total items enclosed by this folder.- Specified by:
setTotalCountin interfaceWorkflowNodeInfo- Parameters:
count- the number of total items enclosed by this folder.- See Also:
-
setUnreadCount
public void setUnreadCount(long count) Sets the number of unread items enclosed by this folder.- Specified by:
setUnreadCountin interfaceWorkflowNodeInfo- Parameters:
count- the number of unread items enclosed by this folder.- See Also:
-
getTotalCount
public long getTotalCount()Returns the number of total items enclosed by this folder.- Specified by:
getTotalCountin interfaceWorkflowNodeInfo- Returns:
- the number of total items enclosed by this folder.
- See Also:
-
getUnreadCount
public long getUnreadCount()Returns the number of unread items enclosed by this folder.- Specified by:
getUnreadCountin interfaceWorkflowNodeInfo- Returns:
- the number of unread items enclosed by this folder.
- See Also:
-
getFilterType
Returns the filter of this workflow node.- Specified by:
getFilterTypein interfaceWorkflowNodeInfo- Returns:
- the filter of this workflow node.
- See Also:
-
getBoxId
public int getBoxId()Returns the id of the box this node info is representing.- Specified by:
getBoxIdin interfaceWorkflowNodeInfo- Returns:
- the id of the box this node info is representing.
- See Also:
-
isPerformQuery
public boolean isPerformQuery()Checks if the query is to be performed immediately.- Specified by:
isPerformQueryin interfaceWorkflowNodeInfo- Returns:
- perform query
- See Also:
-