Clover Coverage Report - itracker
Coverage timestamp: Tue May 1 2012 16:42:12 CEST
15   79   8   1.88
0   52   0.53   8
8     1  
1    
 
 
  ITrackerServicesImpl       Line # 25 15 8 0% 0.0
 
No Tests
 
1    package org.itracker.services.implementations;
2   
3    import org.itracker.services.ConfigurationService;
4    import org.itracker.services.ITrackerServices;
5    import org.itracker.services.IssueService;
6    import org.itracker.services.NotificationService;
7    import org.itracker.services.ProjectService;
8    import org.itracker.services.ReportService;
9    import org.itracker.services.UserService;
10    import org.itracker.services.util.EmailService;
11   
12    //TODO: clean up messy stuff by refactoring
13    /**
14    *
15    * Service layer is a bit messy. The are *Factories, which work mainly as data access objects,
16    * and *Handlers, that work as the service layer. It's messy because it was a straight EJB migration,
17    * and they were not refactored yet.
18    *
19    * @author ricardow
20    *
21    */
22   
23    //TODO: Cleanup this file, go through all issues, todos, etc.
24   
 
25    public class ITrackerServicesImpl implements ITrackerServices {
26   
27    private IssueService issueService;
28    private UserService userService;
29    private ProjectService projectService;
30    private ConfigurationService configurationService;
31    private ReportService reportService;
32    private EmailService emailService;
33    private NotificationService notificationService;
34   
35    // Factories
36   
 
37  0 toggle public ITrackerServicesImpl(IssueService issueService,
38    UserService userService, ProjectService projectService,
39    ConfigurationService configurationService,
40    ReportService reportService, NotificationService notificationService, EmailService emailService) {
41  0 super();
42  0 this.issueService = issueService;
43  0 this.userService = userService;
44  0 this.projectService = projectService;
45  0 this.configurationService = configurationService;
46  0 this.reportService = reportService;
47  0 this.notificationService = notificationService;
48  0 this.emailService = emailService;
49    }
50   
 
51  0 toggle public IssueService getIssueService() {
52  0 return issueService;
53    }
54   
 
55  0 toggle public UserService getUserService() {
56  0 return userService;
57    }
58   
 
59  0 toggle public ProjectService getProjectService() {
60  0 return projectService;
61    }
62   
 
63  0 toggle public ReportService getReportService() {
64  0 return reportService;
65    }
66   
 
67  0 toggle public ConfigurationService getConfigurationService() {
68  0 return configurationService;
69    }
70   
 
71  0 toggle public EmailService getEmailService() {
72  0 return emailService;
73    }
74   
 
75  0 toggle public NotificationService getNotificationService() {
76   
77  0 return this.notificationService;
78    }
79    }