1
22
23 package com.liferay.portlet.announcements.service.persistence;
24
25
31 public interface AnnouncementsEntryPersistence {
32 public com.liferay.portlet.announcements.model.AnnouncementsEntry create(
33 long entryId);
34
35 public com.liferay.portlet.announcements.model.AnnouncementsEntry remove(
36 long entryId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.announcements.NoSuchEntryException;
39
40 public com.liferay.portlet.announcements.model.AnnouncementsEntry remove(
41 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
42 throws com.liferay.portal.SystemException;
43
44
47 public com.liferay.portlet.announcements.model.AnnouncementsEntry update(
48 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
49 throws com.liferay.portal.SystemException;
50
51
64 public com.liferay.portlet.announcements.model.AnnouncementsEntry update(
65 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.announcements.model.AnnouncementsEntry updateImpl(
69 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry,
70 boolean merge) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByPrimaryKey(
73 long entryId)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portlet.announcements.NoSuchEntryException;
76
77 public com.liferay.portlet.announcements.model.AnnouncementsEntry fetchByPrimaryKey(
78 long entryId) throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
81 java.lang.String uuid) throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
84 java.lang.String uuid, int start, int end)
85 throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
88 java.lang.String uuid, int start, int end,
89 com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUuid_First(
93 java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.announcements.NoSuchEntryException;
97
98 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUuid_Last(
99 java.lang.String uuid,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.announcements.NoSuchEntryException;
103
104 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByUuid_PrevAndNext(
105 long entryId, java.lang.String uuid,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.announcements.NoSuchEntryException;
109
110 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
111 long userId) throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
114 long userId, int start, int end)
115 throws com.liferay.portal.SystemException;
116
117 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
118 long userId, int start, int end,
119 com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException;
121
122 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUserId_First(
123 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.announcements.NoSuchEntryException;
126
127 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUserId_Last(
128 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException,
130 com.liferay.portlet.announcements.NoSuchEntryException;
131
132 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByUserId_PrevAndNext(
133 long entryId, long userId,
134 com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.announcements.NoSuchEntryException;
137
138 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
139 long classNameId, long classPK)
140 throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
143 long classNameId, long classPK, int start, int end)
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
147 long classNameId, long classPK, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException;
150
151 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_First(
152 long classNameId, long classPK,
153 com.liferay.portal.kernel.util.OrderByComparator obc)
154 throws com.liferay.portal.SystemException,
155 com.liferay.portlet.announcements.NoSuchEntryException;
156
157 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_Last(
158 long classNameId, long classPK,
159 com.liferay.portal.kernel.util.OrderByComparator obc)
160 throws com.liferay.portal.SystemException,
161 com.liferay.portlet.announcements.NoSuchEntryException;
162
163 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByC_C_PrevAndNext(
164 long entryId, long classNameId, long classPK,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.announcements.NoSuchEntryException;
168
169 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
170 long classNameId, long classPK, boolean alert)
171 throws com.liferay.portal.SystemException;
172
173 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
174 long classNameId, long classPK, boolean alert, int start, int end)
175 throws com.liferay.portal.SystemException;
176
177 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
178 long classNameId, long classPK, boolean alert, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator obc)
180 throws com.liferay.portal.SystemException;
181
182 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_A_First(
183 long classNameId, long classPK, boolean alert,
184 com.liferay.portal.kernel.util.OrderByComparator obc)
185 throws com.liferay.portal.SystemException,
186 com.liferay.portlet.announcements.NoSuchEntryException;
187
188 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_A_Last(
189 long classNameId, long classPK, boolean alert,
190 com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.announcements.NoSuchEntryException;
193
194 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByC_C_A_PrevAndNext(
195 long entryId, long classNameId, long classPK, boolean alert,
196 com.liferay.portal.kernel.util.OrderByComparator obc)
197 throws com.liferay.portal.SystemException,
198 com.liferay.portlet.announcements.NoSuchEntryException;
199
200 public java.util.List<Object> findWithDynamicQuery(
201 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
202 throws com.liferay.portal.SystemException;
203
204 public java.util.List<Object> findWithDynamicQuery(
205 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
206 int end) throws com.liferay.portal.SystemException;
207
208 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll()
209 throws com.liferay.portal.SystemException;
210
211 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll(
212 int start, int end) throws com.liferay.portal.SystemException;
213
214 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll(
215 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
216 throws com.liferay.portal.SystemException;
217
218 public void removeByUuid(java.lang.String uuid)
219 throws com.liferay.portal.SystemException;
220
221 public void removeByUserId(long userId)
222 throws com.liferay.portal.SystemException;
223
224 public void removeByC_C(long classNameId, long classPK)
225 throws com.liferay.portal.SystemException;
226
227 public void removeByC_C_A(long classNameId, long classPK, boolean alert)
228 throws com.liferay.portal.SystemException;
229
230 public void removeAll() throws com.liferay.portal.SystemException;
231
232 public int countByUuid(java.lang.String uuid)
233 throws com.liferay.portal.SystemException;
234
235 public int countByUserId(long userId)
236 throws com.liferay.portal.SystemException;
237
238 public int countByC_C(long classNameId, long classPK)
239 throws com.liferay.portal.SystemException;
240
241 public int countByC_C_A(long classNameId, long classPK, boolean alert)
242 throws com.liferay.portal.SystemException;
243
244 public int countAll() throws com.liferay.portal.SystemException;
245
246 public void registerListener(
247 com.liferay.portal.model.ModelListener listener);
248
249 public void unregisterListener(
250 com.liferay.portal.model.ModelListener listener);
251 }