1
22
23 package com.liferay.portlet.announcements.service;
24
25
26
51 public interface AnnouncementsDeliveryLocalService {
52 public com.liferay.portlet.announcements.model.AnnouncementsDelivery addAnnouncementsDelivery(
53 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteAnnouncementsDelivery(long deliveryId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteAnnouncementsDelivery(
61 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portal.PortalException;
64
65 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> dynamicQuery(
66 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> dynamicQuery(
70 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
71 int begin, int end) throws com.liferay.portal.SystemException;
72
73 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateAnnouncementsDelivery(
74 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
75 throws com.liferay.portal.SystemException;
76
77 public void deleteDeliveries(long userId)
78 throws com.liferay.portal.SystemException;
79
80 public void deleteDelivery(long deliveryId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portal.PortalException;
83
84 public void deleteDelivery(long userId, java.lang.String type)
85 throws com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getDelivery(
88 long deliveryId)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portal.PortalException;
91
92 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> getUserDeliveries(
93 long userId)
94 throws com.liferay.portal.SystemException,
95 com.liferay.portal.PortalException;
96
97 public com.liferay.portlet.announcements.model.AnnouncementsDelivery getUserDelivery(
98 long userId, java.lang.String type)
99 throws com.liferay.portal.SystemException,
100 com.liferay.portal.PortalException;
101
102 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateDelivery(
103 long userId, java.lang.String type, boolean email, boolean sms,
104 boolean website)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.PortalException;
107 }