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