1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.notes.web; |
18 | |
|
19 | |
import java.util.List; |
20 | |
|
21 | |
import org.kuali.rice.kew.notes.Note; |
22 | |
import org.kuali.rice.kew.util.KEWConstants; |
23 | |
import org.kuali.rice.kew.util.Utilities; |
24 | |
import org.kuali.rice.kns.util.KNSConstants; |
25 | |
import org.kuali.rice.kns.web.struts.form.KualiForm; |
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
public class NoteForm extends KualiForm { |
34 | |
|
35 | |
private static final long serialVersionUID = 1L; |
36 | |
private Note note; |
37 | |
private Note existingNote; |
38 | 0 | private String methodToCall = ""; |
39 | |
private String showEdit; |
40 | |
private Boolean showAdd; |
41 | |
private String docId; |
42 | |
private Long noteIdNumber; |
43 | |
private Integer numberOfNotes; |
44 | 0 | private String sortOrder = "DESCENDING"; |
45 | |
private Boolean sortNotes; |
46 | |
private String currentUserName; |
47 | |
private String currentDate; |
48 | |
private Boolean authorizedToAdd; |
49 | |
private List noteList; |
50 | |
private String addText; |
51 | |
private Long idInEdit; |
52 | |
private Boolean showAttachments; |
53 | |
private String attachmentTarget; |
54 | |
|
55 | |
|
56 | |
private Object file; |
57 | |
|
58 | 0 | public NoteForm() { |
59 | 0 | note = new Note(); |
60 | 0 | } |
61 | |
|
62 | |
public String getMethodToCall() { |
63 | 0 | return methodToCall; |
64 | |
} |
65 | |
|
66 | |
public void setMethodToCall(String methodToCall) { |
67 | 0 | this.methodToCall = methodToCall; |
68 | 0 | } |
69 | |
|
70 | |
public Note getNote() { |
71 | 0 | return note; |
72 | |
} |
73 | |
|
74 | |
public void setNote(Note note) { |
75 | 0 | this.note = note; |
76 | 0 | } |
77 | |
|
78 | |
public Note getExistingNote() { |
79 | 0 | return existingNote; |
80 | |
} |
81 | |
|
82 | |
public void setExistingNote(Note existingNote) { |
83 | 0 | this.existingNote = existingNote; |
84 | 0 | } |
85 | |
|
86 | |
public String getShowEdit() { |
87 | 0 | return showEdit; |
88 | |
} |
89 | |
|
90 | |
public void setShowEdit(String showEdit) { |
91 | 0 | this.showEdit = showEdit; |
92 | 0 | } |
93 | |
|
94 | |
public String getDocId() { |
95 | 0 | return docId; |
96 | |
} |
97 | |
|
98 | |
public void setDocId(String docId) { |
99 | 0 | this.docId = docId; |
100 | 0 | } |
101 | |
|
102 | |
public Integer getNumberOfNotes() { |
103 | 0 | return numberOfNotes; |
104 | |
} |
105 | |
|
106 | |
public void setNumberOfNotes(Integer numberOfNotes) { |
107 | 0 | this.numberOfNotes = numberOfNotes; |
108 | 0 | } |
109 | |
|
110 | |
public Boolean getShowAdd() { |
111 | 0 | return showAdd; |
112 | |
} |
113 | |
|
114 | |
public void setShowAdd(Boolean showAdd) { |
115 | 0 | this.showAdd = showAdd; |
116 | 0 | } |
117 | |
|
118 | |
public Long getNoteIdNumber() { |
119 | 0 | return noteIdNumber; |
120 | |
} |
121 | |
|
122 | |
public void setNoteIdNumber(Long noteIdNumber) { |
123 | 0 | this.noteIdNumber = noteIdNumber; |
124 | 0 | } |
125 | |
|
126 | |
public String getSortOrder() { |
127 | 0 | return sortOrder; |
128 | |
} |
129 | |
|
130 | |
public void setSortOrder(String sortOrder) { |
131 | 0 | this.sortOrder = sortOrder; |
132 | 0 | } |
133 | |
|
134 | |
public Boolean getSortNotes() { |
135 | 0 | return sortNotes; |
136 | |
} |
137 | |
|
138 | |
public void setSortNotes(Boolean sortNotes) { |
139 | 0 | this.sortNotes = sortNotes; |
140 | 0 | } |
141 | |
|
142 | |
public String getCurrentDate() { |
143 | 0 | return currentDate; |
144 | |
} |
145 | |
|
146 | |
public void setCurrentDate(String currentDate) { |
147 | 0 | this.currentDate = currentDate; |
148 | 0 | } |
149 | |
|
150 | |
public String getCurrentUserName() { |
151 | 0 | return currentUserName; |
152 | |
} |
153 | |
|
154 | |
public void setCurrentUserName(String currentUserName) { |
155 | 0 | this.currentUserName = currentUserName; |
156 | 0 | } |
157 | |
|
158 | |
public Boolean getAuthorizedToAdd() { |
159 | 0 | return authorizedToAdd; |
160 | |
} |
161 | |
|
162 | |
public void setAuthorizedToAdd(Boolean authorizedToAdd) { |
163 | 0 | this.authorizedToAdd = authorizedToAdd; |
164 | 0 | } |
165 | |
|
166 | |
public List getNoteList() { |
167 | 0 | return noteList; |
168 | |
} |
169 | |
|
170 | |
public void setNoteList(List noteList) { |
171 | 0 | this.noteList = noteList; |
172 | 0 | } |
173 | |
|
174 | |
public String getAddText() { |
175 | 0 | return addText; |
176 | |
} |
177 | |
|
178 | |
public void setAddText(String addText) { |
179 | 0 | this.addText = addText; |
180 | 0 | } |
181 | |
|
182 | |
public Long getIdInEdit() { |
183 | 0 | return idInEdit; |
184 | |
} |
185 | |
|
186 | |
public void setIdInEdit(Long idInEdit) { |
187 | 0 | this.idInEdit = idInEdit; |
188 | 0 | } |
189 | |
|
190 | |
public Object getFile() { |
191 | 0 | return file; |
192 | |
} |
193 | |
|
194 | |
public void setFile(Object file) { |
195 | 0 | this.file = file; |
196 | 0 | } |
197 | |
|
198 | |
public Boolean getShowAttachments() { |
199 | 0 | return showAttachments; |
200 | |
} |
201 | |
|
202 | |
public void setShowAttachments(Boolean showAttachments) { |
203 | 0 | this.showAttachments = showAttachments; |
204 | 0 | } |
205 | |
|
206 | |
public String getAttachmentTarget() { |
207 | 0 | return attachmentTarget; |
208 | |
} |
209 | |
|
210 | |
public void setAttachmentTarget(String attachmentTarget) { |
211 | 0 | this.attachmentTarget = attachmentTarget; |
212 | 0 | } |
213 | |
} |