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

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

Introduction

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

Prototype

public long getParentWorkflowInstanceId();

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");
    }/*from   w  w w . j ava  2  s.  c o m*/
}