1
14
15 package com.liferay.portlet.announcements.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.announcements.model.AnnouncementsDelivery;
20
21
34 public interface AnnouncementsDeliveryPersistence extends BasePersistence<AnnouncementsDelivery> {
35 public void cacheResult(
36 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> announcementsDeliveries);
40
41 public com.liferay.portlet.announcements.model.AnnouncementsDelivery create(
42 long deliveryId);
43
44 public com.liferay.portlet.announcements.model.AnnouncementsDelivery remove(
45 long deliveryId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.announcements.NoSuchDeliveryException;
48
49
52 public com.liferay.portlet.announcements.model.AnnouncementsDelivery update(
53 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.announcements.model.AnnouncementsDelivery updateImpl(
57 com.liferay.portlet.announcements.model.AnnouncementsDelivery announcementsDelivery,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByPrimaryKey(
61 long deliveryId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.announcements.NoSuchDeliveryException;
64
65 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByPrimaryKey(
66 long deliveryId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
69 long userId) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
72 long userId, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findByUserId(
76 long userId, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator obc)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByUserId_First(
81 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portlet.announcements.NoSuchDeliveryException;
84
85 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByUserId_Last(
86 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.announcements.NoSuchDeliveryException;
89
90 public com.liferay.portlet.announcements.model.AnnouncementsDelivery[] findByUserId_PrevAndNext(
91 long deliveryId, long userId,
92 com.liferay.portal.kernel.util.OrderByComparator obc)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.announcements.NoSuchDeliveryException;
95
96 public com.liferay.portlet.announcements.model.AnnouncementsDelivery findByU_T(
97 long userId, java.lang.String type)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portlet.announcements.NoSuchDeliveryException;
100
101 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByU_T(
102 long userId, java.lang.String type)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.announcements.model.AnnouncementsDelivery fetchByU_T(
106 long userId, java.lang.String type, boolean retrieveFromCache)
107 throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll()
110 throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll(
113 int start, int end) throws com.liferay.portal.SystemException;
114
115 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsDelivery> findAll(
116 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException;
118
119 public void removeByUserId(long userId)
120 throws com.liferay.portal.SystemException;
121
122 public void removeByU_T(long userId, java.lang.String type)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.announcements.NoSuchDeliveryException;
125
126 public void removeAll() throws com.liferay.portal.SystemException;
127
128 public int countByUserId(long userId)
129 throws com.liferay.portal.SystemException;
130
131 public int countByU_T(long userId, java.lang.String type)
132 throws com.liferay.portal.SystemException;
133
134 public int countAll() throws com.liferay.portal.SystemException;
135 }