1
14
15 package com.liferay.portal.service.persistence;
16
17 import com.liferay.portal.model.Layout;
18
19
32 public interface LayoutPersistence extends BasePersistence<Layout> {
33 public void cacheResult(com.liferay.portal.model.Layout layout);
34
35 public void cacheResult(
36 java.util.List<com.liferay.portal.model.Layout> layouts);
37
38 public com.liferay.portal.model.Layout create(long plid);
39
40 public com.liferay.portal.model.Layout remove(long plid)
41 throws com.liferay.portal.NoSuchLayoutException,
42 com.liferay.portal.SystemException;
43
44
47 public com.liferay.portal.model.Layout update(
48 com.liferay.portal.model.Layout layout)
49 throws com.liferay.portal.SystemException;
50
51 public com.liferay.portal.model.Layout updateImpl(
52 com.liferay.portal.model.Layout layout, boolean merge)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.Layout findByPrimaryKey(long plid)
56 throws com.liferay.portal.NoSuchLayoutException,
57 com.liferay.portal.SystemException;
58
59 public com.liferay.portal.model.Layout fetchByPrimaryKey(long plid)
60 throws com.liferay.portal.SystemException;
61
62 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
63 long groupId) throws com.liferay.portal.SystemException;
64
65 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
66 long groupId, int start, int end)
67 throws com.liferay.portal.SystemException;
68
69 public java.util.List<com.liferay.portal.model.Layout> findByGroupId(
70 long groupId, int start, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portal.model.Layout findByGroupId_First(long groupId,
75 com.liferay.portal.kernel.util.OrderByComparator obc)
76 throws com.liferay.portal.NoSuchLayoutException,
77 com.liferay.portal.SystemException;
78
79 public com.liferay.portal.model.Layout findByGroupId_Last(long groupId,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.NoSuchLayoutException,
82 com.liferay.portal.SystemException;
83
84 public com.liferay.portal.model.Layout[] findByGroupId_PrevAndNext(
85 long plid, long groupId,
86 com.liferay.portal.kernel.util.OrderByComparator obc)
87 throws com.liferay.portal.NoSuchLayoutException,
88 com.liferay.portal.SystemException;
89
90 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
91 long companyId) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
94 long companyId, int start, int end)
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.Layout> findByCompanyId(
98 long companyId, int start, int end,
99 com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException;
101
102 public com.liferay.portal.model.Layout findByCompanyId_First(
103 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.NoSuchLayoutException,
105 com.liferay.portal.SystemException;
106
107 public com.liferay.portal.model.Layout findByCompanyId_Last(
108 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.NoSuchLayoutException,
110 com.liferay.portal.SystemException;
111
112 public com.liferay.portal.model.Layout[] findByCompanyId_PrevAndNext(
113 long plid, long companyId,
114 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.NoSuchLayoutException,
116 com.liferay.portal.SystemException;
117
118 public com.liferay.portal.model.Layout findByDLFolderId(long dlFolderId)
119 throws com.liferay.portal.NoSuchLayoutException,
120 com.liferay.portal.SystemException;
121
122 public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId)
123 throws com.liferay.portal.SystemException;
124
125 public com.liferay.portal.model.Layout fetchByDLFolderId(long dlFolderId,
126 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
127
128 public com.liferay.portal.model.Layout findByIconImageId(long iconImageId)
129 throws com.liferay.portal.NoSuchLayoutException,
130 com.liferay.portal.SystemException;
131
132 public com.liferay.portal.model.Layout fetchByIconImageId(long iconImageId)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portal.model.Layout fetchByIconImageId(
136 long iconImageId, boolean retrieveFromCache)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
140 long groupId, boolean privateLayout)
141 throws com.liferay.portal.SystemException;
142
143 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
144 long groupId, boolean privateLayout, int start, int end)
145 throws com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portal.model.Layout> findByG_P(
148 long groupId, boolean privateLayout, int start, int end,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException;
151
152 public com.liferay.portal.model.Layout findByG_P_First(long groupId,
153 boolean privateLayout,
154 com.liferay.portal.kernel.util.OrderByComparator obc)
155 throws com.liferay.portal.NoSuchLayoutException,
156 com.liferay.portal.SystemException;
157
158 public com.liferay.portal.model.Layout findByG_P_Last(long groupId,
159 boolean privateLayout,
160 com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.NoSuchLayoutException,
162 com.liferay.portal.SystemException;
163
164 public com.liferay.portal.model.Layout[] findByG_P_PrevAndNext(long plid,
165 long groupId, boolean privateLayout,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.NoSuchLayoutException,
168 com.liferay.portal.SystemException;
169
170 public com.liferay.portal.model.Layout findByG_P_L(long groupId,
171 boolean privateLayout, long layoutId)
172 throws com.liferay.portal.NoSuchLayoutException,
173 com.liferay.portal.SystemException;
174
175 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
176 boolean privateLayout, long layoutId)
177 throws com.liferay.portal.SystemException;
178
179 public com.liferay.portal.model.Layout fetchByG_P_L(long groupId,
180 boolean privateLayout, long layoutId, boolean retrieveFromCache)
181 throws com.liferay.portal.SystemException;
182
183 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
184 long groupId, boolean privateLayout, long parentLayoutId)
185 throws com.liferay.portal.SystemException;
186
187 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
188 long groupId, boolean privateLayout, long parentLayoutId, int start,
189 int end) throws com.liferay.portal.SystemException;
190
191 public java.util.List<com.liferay.portal.model.Layout> findByG_P_P(
192 long groupId, boolean privateLayout, long parentLayoutId, int start,
193 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException;
195
196 public com.liferay.portal.model.Layout findByG_P_P_First(long groupId,
197 boolean privateLayout, long parentLayoutId,
198 com.liferay.portal.kernel.util.OrderByComparator obc)
199 throws com.liferay.portal.NoSuchLayoutException,
200 com.liferay.portal.SystemException;
201
202 public com.liferay.portal.model.Layout findByG_P_P_Last(long groupId,
203 boolean privateLayout, long parentLayoutId,
204 com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.NoSuchLayoutException,
206 com.liferay.portal.SystemException;
207
208 public com.liferay.portal.model.Layout[] findByG_P_P_PrevAndNext(
209 long plid, long groupId, boolean privateLayout, long parentLayoutId,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.NoSuchLayoutException,
212 com.liferay.portal.SystemException;
213
214 public com.liferay.portal.model.Layout findByG_P_F(long groupId,
215 boolean privateLayout, java.lang.String friendlyURL)
216 throws com.liferay.portal.NoSuchLayoutException,
217 com.liferay.portal.SystemException;
218
219 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
220 boolean privateLayout, java.lang.String friendlyURL)
221 throws com.liferay.portal.SystemException;
222
223 public com.liferay.portal.model.Layout fetchByG_P_F(long groupId,
224 boolean privateLayout, java.lang.String friendlyURL,
225 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
226
227 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
228 long groupId, boolean privateLayout, java.lang.String type)
229 throws com.liferay.portal.SystemException;
230
231 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
232 long groupId, boolean privateLayout, java.lang.String type, int start,
233 int end) throws com.liferay.portal.SystemException;
234
235 public java.util.List<com.liferay.portal.model.Layout> findByG_P_T(
236 long groupId, boolean privateLayout, java.lang.String type, int start,
237 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException;
239
240 public com.liferay.portal.model.Layout findByG_P_T_First(long groupId,
241 boolean privateLayout, java.lang.String type,
242 com.liferay.portal.kernel.util.OrderByComparator obc)
243 throws com.liferay.portal.NoSuchLayoutException,
244 com.liferay.portal.SystemException;
245
246 public com.liferay.portal.model.Layout findByG_P_T_Last(long groupId,
247 boolean privateLayout, java.lang.String type,
248 com.liferay.portal.kernel.util.OrderByComparator obc)
249 throws com.liferay.portal.NoSuchLayoutException,
250 com.liferay.portal.SystemException;
251
252 public com.liferay.portal.model.Layout[] findByG_P_T_PrevAndNext(
253 long plid, long groupId, boolean privateLayout, java.lang.String type,
254 com.liferay.portal.kernel.util.OrderByComparator obc)
255 throws com.liferay.portal.NoSuchLayoutException,
256 com.liferay.portal.SystemException;
257
258 public java.util.List<com.liferay.portal.model.Layout> findAll()
259 throws com.liferay.portal.SystemException;
260
261 public java.util.List<com.liferay.portal.model.Layout> findAll(int start,
262 int end) throws com.liferay.portal.SystemException;
263
264 public java.util.List<com.liferay.portal.model.Layout> findAll(int start,
265 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
266 throws com.liferay.portal.SystemException;
267
268 public void removeByGroupId(long groupId)
269 throws com.liferay.portal.SystemException;
270
271 public void removeByCompanyId(long companyId)
272 throws com.liferay.portal.SystemException;
273
274 public void removeByDLFolderId(long dlFolderId)
275 throws com.liferay.portal.NoSuchLayoutException,
276 com.liferay.portal.SystemException;
277
278 public void removeByIconImageId(long iconImageId)
279 throws com.liferay.portal.NoSuchLayoutException,
280 com.liferay.portal.SystemException;
281
282 public void removeByG_P(long groupId, boolean privateLayout)
283 throws com.liferay.portal.SystemException;
284
285 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
286 throws com.liferay.portal.NoSuchLayoutException,
287 com.liferay.portal.SystemException;
288
289 public void removeByG_P_P(long groupId, boolean privateLayout,
290 long parentLayoutId) throws com.liferay.portal.SystemException;
291
292 public void removeByG_P_F(long groupId, boolean privateLayout,
293 java.lang.String friendlyURL)
294 throws com.liferay.portal.NoSuchLayoutException,
295 com.liferay.portal.SystemException;
296
297 public void removeByG_P_T(long groupId, boolean privateLayout,
298 java.lang.String type) throws com.liferay.portal.SystemException;
299
300 public void removeAll() throws com.liferay.portal.SystemException;
301
302 public int countByGroupId(long groupId)
303 throws com.liferay.portal.SystemException;
304
305 public int countByCompanyId(long companyId)
306 throws com.liferay.portal.SystemException;
307
308 public int countByDLFolderId(long dlFolderId)
309 throws com.liferay.portal.SystemException;
310
311 public int countByIconImageId(long iconImageId)
312 throws com.liferay.portal.SystemException;
313
314 public int countByG_P(long groupId, boolean privateLayout)
315 throws com.liferay.portal.SystemException;
316
317 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
318 throws com.liferay.portal.SystemException;
319
320 public int countByG_P_P(long groupId, boolean privateLayout,
321 long parentLayoutId) throws com.liferay.portal.SystemException;
322
323 public int countByG_P_F(long groupId, boolean privateLayout,
324 java.lang.String friendlyURL) throws com.liferay.portal.SystemException;
325
326 public int countByG_P_T(long groupId, boolean privateLayout,
327 java.lang.String type) throws com.liferay.portal.SystemException;
328
329 public int countAll() throws com.liferay.portal.SystemException;
330 }