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.AnnouncementsEntry;
20
21
34 public interface AnnouncementsEntryPersistence extends BasePersistence<AnnouncementsEntry> {
35 public void cacheResult(
36 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> announcementsEntries);
40
41 public com.liferay.portlet.announcements.model.AnnouncementsEntry create(
42 long entryId);
43
44 public com.liferay.portlet.announcements.model.AnnouncementsEntry remove(
45 long entryId)
46 throws com.liferay.portal.SystemException,
47 com.liferay.portlet.announcements.NoSuchEntryException;
48
49
52 public com.liferay.portlet.announcements.model.AnnouncementsEntry update(
53 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.announcements.model.AnnouncementsEntry updateImpl(
57 com.liferay.portlet.announcements.model.AnnouncementsEntry announcementsEntry,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByPrimaryKey(
61 long entryId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.announcements.NoSuchEntryException;
64
65 public com.liferay.portlet.announcements.model.AnnouncementsEntry fetchByPrimaryKey(
66 long entryId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
69 java.lang.String uuid) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
72 java.lang.String uuid, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUuid(
76 java.lang.String uuid, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUuid_First(
81 java.lang.String uuid,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.announcements.NoSuchEntryException;
85
86 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUuid_Last(
87 java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.announcements.NoSuchEntryException;
91
92 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByUuid_PrevAndNext(
93 long entryId, java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.announcements.NoSuchEntryException;
97
98 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
99 long userId) throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
102 long userId, int start, int end)
103 throws com.liferay.portal.SystemException;
104
105 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByUserId(
106 long userId, int start, int end,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.SystemException;
109
110 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUserId_First(
111 long userId,
112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.announcements.NoSuchEntryException;
115
116 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByUserId_Last(
117 long userId,
118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portlet.announcements.NoSuchEntryException;
121
122 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByUserId_PrevAndNext(
123 long entryId, long userId,
124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.announcements.NoSuchEntryException;
127
128 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
129 long classNameId, long classPK)
130 throws com.liferay.portal.SystemException;
131
132 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
133 long classNameId, long classPK, int start, int end)
134 throws com.liferay.portal.SystemException;
135
136 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C(
137 long classNameId, long classPK, int start, int end,
138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
139 throws com.liferay.portal.SystemException;
140
141 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_First(
142 long classNameId, long classPK,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.announcements.NoSuchEntryException;
146
147 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_Last(
148 long classNameId, long classPK,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.announcements.NoSuchEntryException;
152
153 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByC_C_PrevAndNext(
154 long entryId, long classNameId, long classPK,
155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.announcements.NoSuchEntryException;
158
159 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
160 long classNameId, long classPK, boolean alert)
161 throws com.liferay.portal.SystemException;
162
163 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
164 long classNameId, long classPK, boolean alert, int start, int end)
165 throws com.liferay.portal.SystemException;
166
167 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findByC_C_A(
168 long classNameId, long classPK, boolean alert, int start, int end,
169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170 throws com.liferay.portal.SystemException;
171
172 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_A_First(
173 long classNameId, long classPK, boolean alert,
174 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
175 throws com.liferay.portal.SystemException,
176 com.liferay.portlet.announcements.NoSuchEntryException;
177
178 public com.liferay.portlet.announcements.model.AnnouncementsEntry findByC_C_A_Last(
179 long classNameId, long classPK, boolean alert,
180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.announcements.NoSuchEntryException;
183
184 public com.liferay.portlet.announcements.model.AnnouncementsEntry[] findByC_C_A_PrevAndNext(
185 long entryId, long classNameId, long classPK, boolean alert,
186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.announcements.NoSuchEntryException;
189
190 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll()
191 throws com.liferay.portal.SystemException;
192
193 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll(
194 int start, int end) throws com.liferay.portal.SystemException;
195
196 public java.util.List<com.liferay.portlet.announcements.model.AnnouncementsEntry> findAll(
197 int start, int end,
198 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199 throws com.liferay.portal.SystemException;
200
201 public void removeByUuid(java.lang.String uuid)
202 throws com.liferay.portal.SystemException;
203
204 public void removeByUserId(long userId)
205 throws com.liferay.portal.SystemException;
206
207 public void removeByC_C(long classNameId, long classPK)
208 throws com.liferay.portal.SystemException;
209
210 public void removeByC_C_A(long classNameId, long classPK, boolean alert)
211 throws com.liferay.portal.SystemException;
212
213 public void removeAll() throws com.liferay.portal.SystemException;
214
215 public int countByUuid(java.lang.String uuid)
216 throws com.liferay.portal.SystemException;
217
218 public int countByUserId(long userId)
219 throws com.liferay.portal.SystemException;
220
221 public int countByC_C(long classNameId, long classPK)
222 throws com.liferay.portal.SystemException;
223
224 public int countByC_C_A(long classNameId, long classPK, boolean alert)
225 throws com.liferay.portal.SystemException;
226
227 public int countAll() throws com.liferay.portal.SystemException;
228 }