KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portlets > workflows > struts > WorkflowTaskForm


1 package com.dotmarketing.portlets.workflows.struts;
2
3 import java.util.Date JavaDoc;
4
5 import javax.servlet.http.HttpServletRequest JavaDoc;
6
7 import org.apache.commons.lang.builder.ToStringBuilder;
8 import org.apache.struts.action.ActionErrors;
9 import org.apache.struts.action.ActionMapping;
10 import org.apache.struts.validator.ValidatorForm;
11
12
13
14 public class WorkflowTaskForm extends ValidatorForm
15 {
16     
17     private static final long serialVersionUID = 1L;
18     
19     long inode;
20     Date JavaDoc creationDate;
21     Date JavaDoc modDate;
22     Date JavaDoc dueDate;
23     String JavaDoc dueDateMonth;
24     String JavaDoc dueDateDay;
25     String JavaDoc dueDateYear;
26     boolean noDueDate;
27     String JavaDoc createdBy;
28     String JavaDoc assignedTo;
29     String JavaDoc belongsTo;
30     String JavaDoc title;
31     String JavaDoc description;
32     int status;
33     long webasset = 0;
34
35         
36     public long getInode() {
37         return inode;
38     }
39
40
41     public void setInode(long inode) {
42         this.inode = inode;
43     }
44
45
46     public String JavaDoc getAssignedTo() {
47         return assignedTo;
48     }
49
50
51     public void setAssignedTo(String JavaDoc assignedTo) {
52         this.assignedTo = assignedTo;
53     }
54
55
56     public String JavaDoc getBelongsTo() {
57         return belongsTo;
58     }
59
60
61     public void setBelongsTo(String JavaDoc belongsTo) {
62         this.belongsTo = belongsTo;
63     }
64
65
66     public String JavaDoc getCreatedBy() {
67         return createdBy;
68     }
69
70
71     public void setCreatedBy(String JavaDoc createdBy) {
72         this.createdBy = createdBy;
73     }
74
75
76     public Date JavaDoc getCreationDate() {
77         return creationDate;
78     }
79
80
81     public void setCreationDate(Date JavaDoc creationDate) {
82         this.creationDate = creationDate;
83     }
84
85
86     public String JavaDoc getDescription() {
87         return description;
88     }
89
90
91     public void setDescription(String JavaDoc description) {
92         this.description = description;
93     }
94
95
96     public Date JavaDoc getDueDate() {
97         return dueDate;
98     }
99
100
101     public void setDueDate(Date JavaDoc dueDate) {
102         this.dueDate = dueDate;
103     }
104
105
106     public Date JavaDoc getModDate() {
107         return modDate;
108     }
109
110
111     public void setModDate(Date JavaDoc modDate) {
112         this.modDate = modDate;
113     }
114
115
116     public int getStatus() {
117         return status;
118     }
119
120
121     public void setStatus(int status) {
122         this.status = status;
123     }
124
125
126     public String JavaDoc getTitle() {
127         return title;
128     }
129
130
131     public void setTitle(String JavaDoc title) {
132         this.title = title;
133     }
134
135    
136
137     public String JavaDoc getDueDateDay() {
138         return dueDateDay;
139     }
140
141
142     public void setDueDateDay(String JavaDoc dueDateDay) {
143         this.dueDateDay = dueDateDay;
144     }
145
146
147     public String JavaDoc getDueDateMonth() {
148         return dueDateMonth;
149     }
150
151
152     public void setDueDateMonth(String JavaDoc dueDateMonth) {
153         this.dueDateMonth = dueDateMonth;
154     }
155
156
157     public String JavaDoc getDueDateYear() {
158         return dueDateYear;
159     }
160
161
162     public void setDueDateYear(String JavaDoc dueDateYear) {
163         this.dueDateYear = dueDateYear;
164     }
165
166
167     public boolean isNoDueDate() {
168         return noDueDate;
169     }
170
171
172     public void setNoDueDate(boolean noDueDate) {
173         this.noDueDate = noDueDate;
174     }
175
176     
177
178     public long getWebasset() {
179         return webasset;
180     }
181
182
183     public void setWebasset(long webasset) {
184         this.webasset = webasset;
185     }
186
187
188     @Override JavaDoc
189     public String JavaDoc toString() {
190         return ToStringBuilder.reflectionToString(this);
191     }
192
193     public ActionErrors validate(ActionMapping arg0, HttpServletRequest JavaDoc arg1) {
194         ActionErrors ae = new ActionErrors();
195         ae = super.validate(arg0,arg1);
196         return ae;
197     }
198 }
199
Popular Tags