Example usage for com.liferay.portal.kernel.workflow WorkflowInstance getChildrenWorkflowInstanceCount

List of usage examples for com.liferay.portal.kernel.workflow WorkflowInstance getChildrenWorkflowInstanceCount

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.workflow WorkflowInstance getChildrenWorkflowInstanceCount.

Prototype

public int getChildrenWorkflowInstanceCount();

Source Link

Usage

From source file:de.hofuniversity.iisys.liferay.workflows.LoggingWorkflowEngine.java

License:Open Source License

private void logWfInstance(WorkflowInstance wf, String indent) {
    if (wf != null) {
        fLogger.println(indent + "ChildrenWorkflowInstanceCount: " + wf.getChildrenWorkflowInstanceCount());
        fLogger.println(indent + "ParentWorkflowInstanceId: " + wf.getParentWorkflowInstanceId());
        fLogger.println(indent + "state: " + wf.getState());
        fLogger.println(indent + "WorkflowDefinitionName: " + wf.getWorkflowDefinitionName());
        fLogger.println(indent + "WorkflowInstanceId: " + wf.getWorkflowInstanceId());
        fLogger.println(indent + "WorkflowContext:");
        logMap(wf.getWorkflowContext(), indent + "\t");
    }//w  w w.ja  va2s  .c  o  m
}