| WorkflowTask.java |
1 /**
2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3 *
4 * This library is free software; you can redistribute it and/or modify it under
5 * the terms of the GNU Lesser General Public License as published by the Free
6 * Software Foundation; either version 2.1 of the License, or (at your option)
7 * any later version.
8 *
9 * This library is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 * details.
13 */
14
15 package com.liferay.portal.kernel.workflow;
16
17 import java.io.Serializable;
18
19 import java.util.Date;
20 import java.util.Map;
21
22 /**
23 * <a href="WorkflowTask.java.html"><b><i>View Source</i></b></a>
24 *
25 * @author Micha Kiener
26 * @author Shuyang Zhou
27 * @author Brian Wing Shun Chan
28 * @author Marcellus Tavares
29 */
30 public interface WorkflowTask {
31
32 public String getAssigneeEmailAddress();
33
34 public long getAssigneeRoleId();
35
36 public long getAssigneeUserId();
37
38 public Date getCompletionDate();
39
40 public Date getCreateDate();
41
42 public String getDescription();
43
44 public Date getDueDate();
45
46 public String getName();
47
48 public Map<String, Serializable> getOptionalAttributes();
49
50 public long getWorkflowDefinitionId();
51
52 public String getWorkflowDefinitionName();
53
54 public int getWorkflowDefinitionVersion();
55
56 public long getWorkflowInstanceId();
57
58 public long getWorkflowTaskId();
59
60 public boolean isAsynchronous();
61
62 public boolean isCompleted();
63
64 }