Example usage for com.liferay.portal.kernel.workflow WorkflowTask getName

List of usage examples for com.liferay.portal.kernel.workflow WorkflowTask getName

Introduction

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

Prototype

public String getName();

Source Link

Usage

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

License:Open Source License

private void logTask(WorkflowTask task, String indent) {
    if (task == null) {
        return;/*from   ww w  .  j  ava  2  s  .  c  o  m*/
    }

    fLogger.println(indent + "AssigneeUserId: " + task.getAssigneeUserId());
    fLogger.println(indent + "name: " + task.getName());
    fLogger.println(indent + "workflowDefinitionName: " + task.getWorkflowDefinitionName());
    fLogger.println(indent + "workflowInstanceId: " + task.getWorkflowInstanceId());
    fLogger.println(indent + "workflowTaskId: " + task.getWorkflowTaskId());

    fLogger.println(indent + "optionalAttributes:");
    logMap(task.getOptionalAttributes(), indent + "\t");

    fLogger.println(indent + "workflowTaskAssignees:");
    for (WorkflowTaskAssignee wta : task.getWorkflowTaskAssignees()) {
        fLogger.println(indent + "\t" + "assignee:");

        fLogger.println(indent + "\t\t" + "className: " + wta.getAssigneeClassName());
        fLogger.println(indent + "\t\t" + "classPK: " + wta.getAssigneeClassPK());
    }
}