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

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

Introduction

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

Prototype

public long getWorkflowInstanceId();

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  ww w. j a v  a2  s  .com*/
}