Rev 1701 | Rev 1814 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1701 | Rev 1780 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | import pt.estgp.estgweb.utils.RoleManager; |
6 | import pt.estgp.estgweb.utils.RoleManager; |
7 | import pt.utl.ist.berserk.logic.serviceManager.IServiceManager; |
7 | import pt.utl.ist.berserk.logic.serviceManager.IServiceManager; |
8 | import pt.utl.ist.berserk.logic.serviceManager.ServiceManager; |
8 | import pt.utl.ist.berserk.logic.serviceManager.ServiceManager; |
9 | 9 | ||
10 | import java.util.ArrayList; |
10 | import java.util.ArrayList; |
- | 11 | import java.util.HashMap; |
|
11 | import java.util.List; |
12 | import java.util.List; |
12 | import java.util.Map; |
13 | import java.util.Map; |
13 | import java.util.HashMap; |
- | |
14 | 14 | ||
15 | /** |
15 | /** |
16 | * @author Jorge Machado |
16 | * @author Jorge Machado |
17 | * @date 28/Fev/2008 |
17 | * @date 28/Fev/2008 |
18 | * @time 12:51:32 |
18 | * @time 12:51:32 |
Line 331... | Line 331... | ||
331 | 331 | ||
332 | public boolean hasCoordinationsOrBelongToCourseCommissions() |
332 | public boolean hasCoordinationsOrBelongToCourseCommissions() |
333 | { |
333 | { |
334 | return obtainCourseComissionsAndCoordinationsRoles().size() > 0; |
334 | return obtainCourseComissionsAndCoordinationsRoles().size() > 0; |
335 | } |
335 | } |
- | 336 | ||
- | 337 | private List<String> excludedGenericJsonMethodsWithOpenTransactions = null; |
|
- | 338 | ||
- | 339 | @1.5.0/docs/api/java/lang/Override.html">Override |
|
- | 340 | public synchronized List<String> getJsonExcludedProperties() { |
|
- | 341 | if(excludedGenericJsonMethodsWithOpenTransactions == null) |
|
- | 342 | { |
|
- | 343 | excludedGenericJsonMethodsWithOpenTransactions = new ArrayList<String>(); |
|
- | 344 | searchMyMethodsStartingWith("teachedUnits",excludedGenericJsonMethodsWithOpenTransactions); |
|
- | 345 | } |
|
- | 346 | return excludedGenericJsonMethodsWithOpenTransactions; |
|
- | 347 | } |
|
- | 348 | ||
- | 349 | ||
336 | } |
350 | } |