| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| NotificationServiceLocator |
|
| 1.0;1 |
| 1 | /* | |
| 2 | * Copyright 2006-2011 The Kuali Foundation | |
| 3 | * | |
| 4 | * Licensed under the Educational Community License, Version 2.0 (the "License"); | |
| 5 | * you may not use this file except in compliance with the License. | |
| 6 | * You may obtain a copy of the License at | |
| 7 | * | |
| 8 | * http://www.opensource.org/licenses/ecl2.php | |
| 9 | * | |
| 10 | * Unless required by applicable law or agreed to in writing, software | |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 | * See the License for the specific language governing permissions and | |
| 14 | * limitations under the License. | |
| 15 | */ | |
| 16 | ||
| 17 | package org.kuali.rice.ken.core; | |
| 18 | ||
| 19 | import org.kuali.rice.core.framework.persistence.dao.GenericDao; | |
| 20 | import org.kuali.rice.ken.service.KENAPIService; | |
| 21 | import org.kuali.rice.ken.service.NotificationAuthorizationService; | |
| 22 | import org.kuali.rice.ken.service.NotificationChannelService; | |
| 23 | import org.kuali.rice.ken.service.NotificationContentTypeService; | |
| 24 | import org.kuali.rice.ken.service.NotificationMessageContentService; | |
| 25 | import org.kuali.rice.ken.service.NotificationMessageDeliveryAutoRemovalService; | |
| 26 | import org.kuali.rice.ken.service.NotificationMessageDeliveryResolverService; | |
| 27 | import org.kuali.rice.ken.service.NotificationMessageDeliveryService; | |
| 28 | import org.kuali.rice.ken.service.NotificationRecipientService; | |
| 29 | import org.kuali.rice.ken.service.NotificationService; | |
| 30 | import org.kuali.rice.ken.service.NotificationWorkflowDocumentService; | |
| 31 | import org.kuali.rice.ken.service.UserPreferenceService; | |
| 32 | import org.quartz.Scheduler; | |
| 33 | ||
| 34 | /** | |
| 35 | * Interface for obtaining Notification System services | |
| 36 | * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 37 | */ | |
| 38 | public interface NotificationServiceLocator { | |
| 39 | /** | |
| 40 | * This method returns an instance of the Spring configured impl for the KENAPIService. | |
| 41 | * @return KENAPIService | |
| 42 | */ | |
| 43 | public KENAPIService getKENAPIService(); | |
| 44 | ||
| 45 | /** | |
| 46 | * This method returns an instance of the Spring configured impl for the NotificationService. | |
| 47 | * @return NotificationService | |
| 48 | */ | |
| 49 | public NotificationService getNotificationService(); | |
| 50 | ||
| 51 | /** | |
| 52 | * This method returns an instance of the Spring configured impl for the NotificationContentTypeService. | |
| 53 | * @return NotificationContentTypeService | |
| 54 | */ | |
| 55 | public NotificationContentTypeService getNotificationContentTypeService(); | |
| 56 | ||
| 57 | /** | |
| 58 | * This method returns an instance of the Spring configured impl for the NotificationMessageContentService. | |
| 59 | * @return NotificationMessageContentService | |
| 60 | */ | |
| 61 | public NotificationMessageContentService getNotificationMessageContentService(); | |
| 62 | ||
| 63 | /** | |
| 64 | * This method returns an instance of the Spring configured impl for the BusinessObjectDao. | |
| 65 | * @return GenericDao | |
| 66 | */ | |
| 67 | public GenericDao getGenericDao(); | |
| 68 | ||
| 69 | /** | |
| 70 | * This method returns an instance of the Spring configured impl for the NotificationAuthorizationService. | |
| 71 | * @return NotificationAuthorizationService | |
| 72 | */ | |
| 73 | public NotificationAuthorizationService getNotificationAuthorizationService(); | |
| 74 | ||
| 75 | /** | |
| 76 | * This method returns an instance of the Spring configured impl for the NotificationWorkflowDocumentService. | |
| 77 | * @return NotificationWorkflowDocumentService | |
| 78 | */ | |
| 79 | public NotificationWorkflowDocumentService getNotificationWorkflowDocumentService(); | |
| 80 | ||
| 81 | /** | |
| 82 | * This method returns an instance of the Spring configured impl for the NotificationMessageDeliveryAutoRemovalService. | |
| 83 | * @return NotificationMessageDeliveryAutoRemovalService | |
| 84 | */ | |
| 85 | public NotificationMessageDeliveryAutoRemovalService getNotificationMessageDeliveryAutoRemovalService(); | |
| 86 | ||
| 87 | /** | |
| 88 | * This method returns an instance of the Spring configured impl for the getNotificationMessageDeliveryResolverService. | |
| 89 | * @return NotificationMessageDeliveryResolverService | |
| 90 | */ | |
| 91 | public NotificationMessageDeliveryResolverService getNotificationMessageDeliveryResolverService(); | |
| 92 | ||
| 93 | /** | |
| 94 | * This method returns an instance of the Spring configured impl for the NotificationRecipientService. | |
| 95 | * @return NotificationRecipientService | |
| 96 | */ | |
| 97 | public NotificationRecipientService getNotificationRecipientService(); | |
| 98 | ||
| 99 | /** | |
| 100 | * This method returns an instance of the Spring configured impl for the NotificationMessageDeliveryService. | |
| 101 | * @return NotificationMessageDeliveryService | |
| 102 | */ | |
| 103 | public NotificationMessageDeliveryService getNotificationMessageDeliveryService(); | |
| 104 | ||
| 105 | /** | |
| 106 | * This method returns an instance of the Spring configured impl for the UserPreferenceService. | |
| 107 | * @return UserPreferenceService | |
| 108 | */ | |
| 109 | public UserPreferenceService getUserPreferenceService(); | |
| 110 | ||
| 111 | /** | |
| 112 | * This method returns an instance of the Spring configured impl for the NotificationChannelService. | |
| 113 | * @return NotificationChannelService | |
| 114 | */ | |
| 115 | public NotificationChannelService getNotificationChannelService(); | |
| 116 | ||
| 117 | /** | |
| 118 | * Returns the Quartz scheduler used by the Notification system | |
| 119 | * @return the Quartz scheduler used by the Notification system | |
| 120 | */ | |
| 121 | public Scheduler getScheduler(); | |
| 122 | } |