Produced by Araxis Merge on 9/11/2017 8:05:40 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | MHV_CIF_2017.4.0.0.zip\MHV_CIF_2017.4.0.0\MHV_CIF_2017.4.0.0\sms_main\sms_source\mhv_sms_ng\mhv-sm-domain\src\main\java\gov\va\med\mhv\sm\service | LoggingService.java | Sat May 13 00:13:58 2017 UTC |
2 | MHV_CIF_2017.4.0.0.zip\MHV_CIF_2017.4.0.0\MHV_CIF_2017.4.0.0\sms_main\sms_source\mhv_sms_ng\mhv-sm-domain\src\main\java\gov\va\med\mhv\sm\service | LoggingService.java | Thu Sep 7 19:20:13 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 580 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | /** | |
2 | * | |
3 | */ | |
4 | package go v.va.med.m hv.sm.serv ice; | |
5 | ||
6 | import jav a.util.Dat e; | |
7 | ||
8 | import gov .va.med.mh v.foundati on.service .Service; | |
9 | import gov .va.med.mh v.foundati on.service .response. ServiceRes ponse; | |
10 | import gov .va.med.mh v.sm.enume ration.Ema ilNotifica tionTypeEn um; | |
11 | import gov .va.med.mh v.sm.enume ration.Per formerType Enum; | |
12 | import gov .va.med.mh v.sm.model .Clinician ; | |
13 | import gov .va.med.mh v.sm.model .Message; | |
14 | import gov .va.med.mh v.sm.model .Patient; | |
15 | import gov .va.med.mh v.sm.model .TiuNoteRe cord; | |
16 | import gov .va.med.mh v.sm.model .User; | |
17 | ||
18 | /** | |
19 | * @author DNS MCCARW | |
20 | * | |
21 | */ | |
22 | public int erface Log gingServic e extends Service{ | |
23 | ||
24 | /* * | |
25 | * Log a use r being op ted in | |
26 | * @param us er | |
27 | * @param pe rformerTyp e | |
28 | * @param co mments | |
29 | * @param su ccessful | |
30 | * @return | |
31 | * / | |
32 | pu blic Servi ceResponse <Boolean> optIn(User user, Per formerType Enum perfo rmerType, String com ments, boo lean succe ssful); | |
33 | ||
34 | /* * | |
35 | * Log a use r being op ted in | |
36 | * @param us er | |
37 | * @param pe rformerTyp e | |
38 | * @param co mments | |
39 | * @param su ccessful | |
40 | * @return | |
41 | * / | |
42 | pu blic Servi ceResponse <Boolean> optInFromM HV(User us er, Perfor merTypeEnu m performe rType, Str ing commen ts, boolea n successf ul,Date da te); | |
43 | ||
44 | ||
45 | /* * | |
46 | * Log a use r being op ted out | |
47 | * @param us er | |
48 | * @param pe rformerTyp e | |
49 | * @param co mments | |
50 | * @param su ccessful | |
51 | * @return | |
52 | * / | |
53 | pu blic Servi ceResponse <Boolean> optOut(Use r user, Pe rformerTyp eEnum perf ormerType, String co mments, bo olean succ essful); | |
54 | ||
55 | /* * | |
56 | * User not Opted In(A ction Pend ing) | |
57 | * @param us er | |
58 | * @param pe rformerTyp e | |
59 | * @param co mments | |
60 | * @param su ccessful | |
61 | * @return | |
62 | * / | |
63 | pu blic Servi ceResponse <Boolean> actionPend ing(User u ser, Perfo rmerTypeEn um perform erType, St ring comme nts, boole an success ful); | |
64 | ||
65 | /* * | |
66 | * Log the s ending of a message | |
67 | * | |
68 | * @param us er | |
69 | * @param m | |
70 | * @param co mments | |
71 | * @param su ccessful | |
72 | * @return | |
73 | * / | |
74 | pu blic Servi ceResponse <Boolean> sendMessag e(User use r, Message m, String comments, boolean successful ); | |
75 | ||
76 | /* * | |
77 | * log a mes sage being sent from a surroga te | |
78 | * | |
79 | * @param us er | |
80 | * @param m | |
81 | * @param co mments | |
82 | * @param su ccessful | |
83 | * @return | |
84 | * / | |
85 | pu blic Servi ceResponse <Boolean> sendMessag eAsSurroga te(User us er, Messag e m, Strin g comments , boolean successfu l); | |
86 | ||
87 | /* * | |
88 | * log the r eading of a message | |
89 | * | |
90 | * @param us er | |
91 | * @param m | |
92 | * @param co mments | |
93 | * @param su ccessful | |
94 | * @return | |
95 | * / | |
96 | pu blic Servi ceResponse <Boolean> readMessag e(User use r, Message m, String comments, boolean successful ); | |
97 | ||
98 | /* * | |
99 | * log the c ompletion of a messa ge | |
100 | * | |
101 | * @param c | |
102 | * @param m | |
103 | * @param co mments | |
104 | * @param su ccessful | |
105 | * @return | |
106 | * / | |
107 | pu blic Servi ceResponse <Boolean> completeMe ssage(Clin ician c, M essage m, String com ments, boo lean succ essful); | |
108 | ||
109 | /* * | |
110 | * log the a rchiving o f a messag e | |
111 | * | |
112 | * @param m | |
113 | * @param co mments | |
114 | * @param su ccessful | |
115 | * @return | |
116 | * / | |
117 | pu blic Servi ceResponse <Boolean> archiveMes sage(Messa ge m, Stri ng comment s, boolean successf ul); | |
118 | ||
119 | /* * | |
120 | * log the a ssigning o f a messag e | |
121 | * | |
122 | * @param c | |
123 | * @param m | |
124 | * @param co mments | |
125 | * @param su ccessful | |
126 | * @return | |
127 | * / | |
128 | pu blic Servi ceResponse <Boolean> assignMess age(Clinic ian c, Mes sage m, St ring comme nts, boole an succes sful); | |
129 | ||
130 | /* * | |
131 | * log the c reation of a progres s note | |
132 | * | |
133 | * @param c | |
134 | * @param m | |
135 | * @param ti uNoteRecor d | |
136 | * @param co mments | |
137 | * @param su ccessful | |
138 | * @return | |
139 | * / | |
140 | pu blic Servi ceResponse <Boolean> progressNo te(Clinici an c, Mess age m, Tiu NoteRecord tiuNoteRe cord, Stri ng comment s, boolean successf ul); | |
141 | ||
142 | /* * | |
143 | * log the b locking of a patient | |
144 | * | |
145 | * @param p | |
146 | * @param co mments | |
147 | * @param su ccessful | |
148 | * @return | |
149 | * / | |
150 | pu blic Servi ceResponse <Boolean> blockedPat ient(Patie nt p, Stri ng comment s, boolean successf ul); | |
151 | ||
152 | /* * | |
153 | * log the u nblocking of a patie nt | |
154 | * | |
155 | * @param p | |
156 | * @param co mments | |
157 | * @param su ccessful | |
158 | * @return | |
159 | * / | |
160 | pu blic Servi ceResponse <Boolean> unblockPat ient(Patie nt p, Stri ng comment s, boolean successf ul); | |
161 | ||
162 | ||
163 | /* * | |
164 | * Log with the prefer ences new message no tification changes. | |
165 | * @param us er | |
166 | * @param pe rformerTyp e | |
167 | * @param co mments | |
168 | * @param su ccessful | |
169 | * @return | |
170 | * / | |
171 | pu blic Servi ceResponse <Boolean> notificati onPreferen ceChange(U ser user, PerformerT ypeEnum pe rformerTyp e, String comments, boolean st atus); | |
172 | ||
173 | /* * | |
174 | * Log with the prefer ences clin ician inbo x view. | |
175 | * @param us er | |
176 | * @param pe rformerTyp e | |
177 | * @param co mments | |
178 | * @param su ccessful | |
179 | * @return | |
180 | * / | |
181 | pu blic Servi ceResponse <Boolean> clinicianI nboxViewCh anges(User user, Per formerType Enum perfo rmerType, String com ments, boo lean statu s); | |
182 | ||
183 | /* * | |
184 | * Log with the prefer ences user signature | |
185 | * @param us er | |
186 | * @param pe rformerTyp e | |
187 | * @param co mments | |
188 | * @param su ccessful | |
189 | * @return | |
190 | * / | |
191 | pu blic Servi ceResponse <Boolean> userSignat ureChanges (User user , Performe rTypeEnum performerT ype, Strin g comments , boolean status); | |
192 | ||
193 | /* * | |
194 | * Log with the prefer ences with surrogate setup | |
195 | * @param us er | |
196 | * @param pe rformerTyp e | |
197 | * @param co mments | |
198 | * @param su ccessful | |
199 | * @return | |
200 | * / | |
201 | pu blic Servi ceResponse <Boolean> userSurrog ateSetup(U ser user, PerformerT ypeEnum pe rformerTyp e, String comments, boolean st atus); | |
202 | ||
203 | /* * | |
204 | * Log with the detail s when com pleted mes sage statu s changed to reassig n. | |
205 | * @param us er | |
206 | * @param pe rformerTyp e | |
207 | * @param co mments | |
208 | * @param su ccessful | |
209 | * @return | |
210 | * / | |
211 | pu blic Servi ceResponse <Boolean> completedM essageReAs signment(U ser user, PerformerT ypeEnum pe rformerTyp e, String comments, boolean st atus); | |
212 | ||
213 | /* * | |
214 | * Log with the change to user n etworkId o r Clinical UserType | |
215 | * @param us er | |
216 | * @param pe rformerTyp e | |
217 | * @param co mments | |
218 | * @param su ccessful | |
219 | * @return | |
220 | * / | |
221 | pu blic Servi ceResponse <Boolean> userInfoCh anged(User user, Per formerType Enum perfo rmerType, String com ments, boo lean statu s); | |
222 | ||
223 | /* * | |
224 | * Log when a user rec alls a mes sage | |
225 | * @param us er | |
226 | * @param pe rformerTyp e | |
227 | * @param co mments | |
228 | * @param su ccessful | |
229 | * @return | |
230 | * / | |
231 | pu blic Servi ceResponse <Boolean> recallMess age(User u ser, Perfo rmerTypeEn um perform erType, St ring comme nts, boole an status) ; | |
232 | ||
233 | /* * | |
234 | * Log with the event of an admi n reading messages f rom staff members. | |
235 | * @param us er | |
236 | * @param pe rformerTyp e | |
237 | * @param co mments | |
238 | * @param su ccessful | |
239 | * @return | |
240 | * / | |
241 | pu blic Servi ceResponse <Boolean> readStaffM essage(Use r user, Me ssage m, S tring comm ents, bool ean statu s); | |
242 | ||
243 | /* * | |
244 | * Log with the event of new Ema il Notific ation to t he User | |
245 | * @param us er | |
246 | * @param pe rformerTyp e | |
247 | * @param co mments | |
248 | * @param su ccessful | |
249 | * @return | |
250 | * / | |
251 | pu blic Servi ceResponse <Boolean> newEmailNo tification (Long user Id, Long m essageId, String com ments, boo lean stat us,EmailNo tification TypeEnum e mailMessag eType); | |
252 | ||
253 | /* * | |
254 | * Log with the event of ReAssig n Email No tification to the Us er | |
255 | * @param us er | |
256 | * @param pe rformerTyp e | |
257 | * @param co mments | |
258 | * @param su ccessful | |
259 | * @return | |
260 | * / | |
261 | pu blic Servi ceResponse <Boolean> reAssignEm ailNotific ation(Long userId, L ong messag eId, Strin g comments , boolean status,Em ailNotific ationTypeE num emailM essageType ); | |
262 | ||
263 | /* | |
264 | * Log with the event of ReAssig n Email No tification to the Us er | |
265 | * @param us er | |
266 | * @param pe rformerTyp e | |
267 | * @param co mments | |
268 | * @param su ccessful | |
269 | * @return | |
270 | * / | |
271 | pu blic Servi ceResponse <Boolean> facilityAd minEmailNo tification (Long user Id, Long m essageId, String com ments, boo lean stat us,EmailNo tification TypeEnum e mailMessag eType); | |
272 | ||
273 | /* * | |
274 | * Log with the event of message sent Erro r to the U ser | |
275 | * @param us er | |
276 | * @param pe rformerTyp e | |
277 | * @param co mments | |
278 | * @param su ccessful | |
279 | * @return | |
280 | * / | |
281 | pu blic Servi ceResponse <Boolean> messageSen tError(Lon g userId, Long messa geId, Stri ng comment s, boolean status); | |
282 | ||
283 | /* * | |
284 | * Log to th e MHV Acti vity table | |
285 | * | |
286 | * @param us erProfileI d | |
287 | * @param ap pName | |
288 | * @return | |
289 | * / | |
290 | pu blic Servi ceResponse <Boolean> logInFromA PI(Long us erProfileI d, String appName); | |
291 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.