Rev 1414 | Rev 1781 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1414 | Rev 1780 | ||
---|---|---|---|
Line 346... | Line 346... | ||
346 | return StringsUtils.hasElement(getLocalSubscribedUnits(),""+unit.getId(),","); |
346 | return StringsUtils.hasElement(getLocalSubscribedUnits(),""+unit.getId(),","); |
347 | } |
347 | } |
348 | 348 | ||
349 | 349 | ||
350 | 350 | ||
- | 351 | private List<String> excludedGenericJsonMethodsWithOpenTransactions = null; |
|
- | 352 | ||
- | 353 | @1.5.0/docs/api/java/lang/Override.html">Override |
|
- | 354 | public synchronized List<String> getJsonExcludedProperties() { |
|
- | 355 | if(excludedGenericJsonMethodsWithOpenTransactions == null) |
|
- | 356 | { |
|
- | 357 | excludedGenericJsonMethodsWithOpenTransactions = new ArrayList<String>(); |
|
- | 358 | searchMyMethodsStartingWith("subscribedUnits",excludedGenericJsonMethodsWithOpenTransactions); |
|
- | 359 | searchMyMethodsStartingWith("subscribedCourses",excludedGenericJsonMethodsWithOpenTransactions); |
|
- | 360 | excludedGenericJsonMethodsWithOpenTransactions.add("courseUnitAnnouncementsView"); |
|
- | 361 | } |
|
- | 362 | return excludedGenericJsonMethodsWithOpenTransactions; |
|
- | 363 | } |
|
351 | 364 | ||
352 | } |
365 | } |