TaskImpl.java
5.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.granite.taskmanagement.Task
* com.adobe.granite.taskmanagement.TaskAction
* com.adobe.granite.workflow.exec.Status
*/
package com.adobe.granite.taskmanagement.impl;
import com.adobe.granite.taskmanagement.Task;
import com.adobe.granite.taskmanagement.TaskAction;
import com.adobe.granite.workflow.exec.Status;
import java.util.Collections;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public class TaskImpl
implements Task {
private String id;
private String parentId;
private String name;
private String description;
private Status status;
private String currentAssignee;
private String taskTypeName;
private Date timeStarted;
private String createdBy;
private Date lastModified;
private String lastModifiedBy;
private Date timeEnded;
private String completeBy;
private String instructions;
private List<Task> subTasks;
private String nameHierarchy;
private String itemSubType;
private boolean parentTask = false;
private List<TaskAction> listOfActionObjects = null;
private TaskAction selectedAction;
private String contentPath;
private Map<String, Object> properties = new HashMap<String, Object>();
public boolean hasSubTasks() {
return this.parentTask;
}
public void setParentTask(boolean parentTask) {
this.parentTask = parentTask;
}
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getParentId() {
return this.parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Status getStatus() {
return this.status;
}
public void setStatus(Status status) {
this.status = status;
}
public String getCurrentAssignee() {
return this.currentAssignee;
}
public void setCurrentAssignee(String currentAssignee) {
this.currentAssignee = currentAssignee;
}
public String getTaskTypeName() {
return this.taskTypeName;
}
public void setTaskTypeName(String aTaskTypeName) {
this.taskTypeName = aTaskTypeName;
}
public Date getTimeStarted() {
Date result = null == this.timeStarted ? null : (Date)this.timeStarted.clone();
return result;
}
public void setTimeStarted(Date createTime) {
this.timeStarted = null == this.timeStarted ? createTime : new Date(createTime.getTime());
}
public String getCreatedBy() {
return this.createdBy;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
public Date getLastModified() {
Date result = null == this.lastModified ? null : (Date)this.lastModified.clone();
return result;
}
public void setLastModified(Date updateTime) {
this.lastModified = null == updateTime ? null : new Date(updateTime.getTime());
}
public void setLastModifiedBy(String lastModifiedBy) {
this.lastModifiedBy = lastModifiedBy;
}
public String getLastModifiedBy() {
return this.lastModifiedBy;
}
public Date getTimeEnded() {
Date result = null == this.timeEnded ? null : (Date)this.timeEnded.clone();
return result;
}
public void setTimeEnded(Date timeEnded) {
this.timeEnded = null == timeEnded ? null : new Date(timeEnded.getTime());
}
public void setProperty(String aPropertyName, Object aPropertyValue) {
this.properties.put(aPropertyName, aPropertyValue);
}
public Object getProperty(String aPropertyName) {
return this.properties.get(aPropertyName);
}
public Iterator<String> getPropertyNames() {
Map result = this.properties == null ? Collections.emptyMap() : this.properties;
return result.keySet().iterator();
}
public String getInstructions() {
return this.instructions;
}
public void setInstructions(String instructions) {
this.instructions = instructions;
}
public List<TaskAction> getActions() {
return this.listOfActionObjects;
}
public void setActions(List<TaskAction> aListOfActionObjects) {
this.listOfActionObjects = aListOfActionObjects;
}
public void setSelectedAction(TaskAction action) {
this.selectedAction = action;
}
public TaskAction getSelectedAction() {
return this.selectedAction;
}
public List<Task> getSubTasks() {
return this.subTasks;
}
public boolean isSubTaskInfoLoaded() {
return this.subTasks != null;
}
public void setSubTasks(List<Task> subTasks) {
this.subTasks = subTasks;
}
public String getContentPath() {
return this.contentPath;
}
public void setContentPath(String contentPath) {
this.contentPath = contentPath;
}
public void setNameHierarchy(String nameHierarchy) {
this.nameHierarchy = nameHierarchy;
}
public String getNameHierarchy() {
return this.nameHierarchy;
}
public String getCompletedBy() {
return this.completeBy;
}
public void setCompletedBy(String completeBy) {
this.completeBy = completeBy;
}
public String getItemType() {
return "Task";
}
public void setItemSubType(String itemSubType) {
this.itemSubType = itemSubType;
}
public String getItemSubType() {
return this.itemSubType;
}
}