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