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