Example usage for com.liferay.portal.kernel.workflow WorkflowTaskAssignee getAssigneeClassPK

List of usage examples for com.liferay.portal.kernel.workflow WorkflowTaskAssignee getAssigneeClassPK

Introduction

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

Prototype

public long getAssigneeClassPK() 

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;/* ww  w.j  av a 2 s .com*/
    }

    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());
    }
}