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 TypeMethodDescriptionint
getBoxId()
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.long
Returns the number of total items enclosed by this folder.getType()
long
Returns the number of unread items enclosed by this folder.boolean
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.
-
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:
getQuery
in interfaceWorkflowNodeInfo
- Returns:
- query string
- See Also:
-
getMaskName
- Specified by:
getMaskName
in interfaceWorkflowNodeInfo
- Returns:
- Mask name
- See Also:
-
getName
- Returns:
- Name
-
getType
- Specified by:
getType
in interfaceWorkflowNodeInfo
- Returns:
- Type
-
setTotalCount
public void setTotalCount(long count) Sets the number of total items enclosed by this folder.- Specified by:
setTotalCount
in 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:
setUnreadCount
in 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:
getTotalCount
in 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:
getUnreadCount
in interfaceWorkflowNodeInfo
- Returns:
- the number of unread items enclosed by this folder.
- See Also:
-
getFilterType
Returns the filter of this workflow node.- Specified by:
getFilterType
in 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:
getBoxId
in 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:
isPerformQuery
in interfaceWorkflowNodeInfo
- Returns:
- perform query
- See Also:
-