001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.dynamicdatamapping.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.dynamicdatamapping.model.DDMStructureLayout;
022    
023    /**
024     * The persistence interface for the d d m structure layout service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see com.liferay.portlet.dynamicdatamapping.service.persistence.impl.DDMStructureLayoutPersistenceImpl
032     * @see DDMStructureLayoutUtil
033     * @generated
034     */
035    @ProviderType
036    public interface DDMStructureLayoutPersistence extends BasePersistence<DDMStructureLayout> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link DDMStructureLayoutUtil} to access the d d m structure layout persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the d d m structure layouts where uuid = &#63;.
045            *
046            * @param uuid the uuid
047            * @return the matching d d m structure layouts
048            */
049            public java.util.List<DDMStructureLayout> findByUuid(java.lang.String uuid);
050    
051            /**
052            * Returns a range of all the d d m structure layouts where uuid = &#63;.
053            *
054            * <p>
055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureLayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
056            * </p>
057            *
058            * @param uuid the uuid
059            * @param start the lower bound of the range of d d m structure layouts
060            * @param end the upper bound of the range of d d m structure layouts (not inclusive)
061            * @return the range of matching d d m structure layouts
062            */
063            public java.util.List<DDMStructureLayout> findByUuid(
064                    java.lang.String uuid, int start, int end);
065    
066            /**
067            * Returns an ordered range of all the d d m structure layouts where uuid = &#63;.
068            *
069            * <p>
070            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureLayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
071            * </p>
072            *
073            * @param uuid the uuid
074            * @param start the lower bound of the range of d d m structure layouts
075            * @param end the upper bound of the range of d d m structure layouts (not inclusive)
076            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
077            * @return the ordered range of matching d d m structure layouts
078            */
079            public java.util.List<DDMStructureLayout> findByUuid(
080                    java.lang.String uuid, int start, int end,
081                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
082    
083            /**
084            * Returns the first d d m structure layout in the ordered set where uuid = &#63;.
085            *
086            * @param uuid the uuid
087            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
088            * @return the first matching d d m structure layout
089            * @throws NoSuchStructureLayoutException if a matching d d m structure layout could not be found
090            */
091            public DDMStructureLayout findByUuid_First(java.lang.String uuid,
092                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
093                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
094    
095            /**
096            * Returns the first d d m structure layout in the ordered set where uuid = &#63;.
097            *
098            * @param uuid the uuid
099            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
100            * @return the first matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
101            */
102            public DDMStructureLayout fetchByUuid_First(java.lang.String uuid,
103                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
104    
105            /**
106            * Returns the last d d m structure layout in the ordered set where uuid = &#63;.
107            *
108            * @param uuid the uuid
109            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
110            * @return the last matching d d m structure layout
111            * @throws NoSuchStructureLayoutException if a matching d d m structure layout could not be found
112            */
113            public DDMStructureLayout findByUuid_Last(java.lang.String uuid,
114                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
115                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
116    
117            /**
118            * Returns the last d d m structure layout in the ordered set where uuid = &#63;.
119            *
120            * @param uuid the uuid
121            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
122            * @return the last matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
123            */
124            public DDMStructureLayout fetchByUuid_Last(java.lang.String uuid,
125                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
126    
127            /**
128            * Returns the d d m structure layouts before and after the current d d m structure layout in the ordered set where uuid = &#63;.
129            *
130            * @param structureLayoutId the primary key of the current d d m structure layout
131            * @param uuid the uuid
132            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
133            * @return the previous, current, and next d d m structure layout
134            * @throws NoSuchStructureLayoutException if a d d m structure layout with the primary key could not be found
135            */
136            public DDMStructureLayout[] findByUuid_PrevAndNext(long structureLayoutId,
137                    java.lang.String uuid,
138                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
139                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
140    
141            /**
142            * Removes all the d d m structure layouts where uuid = &#63; from the database.
143            *
144            * @param uuid the uuid
145            */
146            public void removeByUuid(java.lang.String uuid);
147    
148            /**
149            * Returns the number of d d m structure layouts where uuid = &#63;.
150            *
151            * @param uuid the uuid
152            * @return the number of matching d d m structure layouts
153            */
154            public int countByUuid(java.lang.String uuid);
155    
156            /**
157            * Returns the d d m structure layout where uuid = &#63; and groupId = &#63; or throws a {@link NoSuchStructureLayoutException} if it could not be found.
158            *
159            * @param uuid the uuid
160            * @param groupId the group ID
161            * @return the matching d d m structure layout
162            * @throws NoSuchStructureLayoutException if a matching d d m structure layout could not be found
163            */
164            public DDMStructureLayout findByUUID_G(java.lang.String uuid, long groupId)
165                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
166    
167            /**
168            * Returns the d d m structure layout where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
169            *
170            * @param uuid the uuid
171            * @param groupId the group ID
172            * @return the matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
173            */
174            public DDMStructureLayout fetchByUUID_G(java.lang.String uuid, long groupId);
175    
176            /**
177            * Returns the d d m structure layout where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
178            *
179            * @param uuid the uuid
180            * @param groupId the group ID
181            * @param retrieveFromCache whether to use the finder cache
182            * @return the matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
183            */
184            public DDMStructureLayout fetchByUUID_G(java.lang.String uuid,
185                    long groupId, boolean retrieveFromCache);
186    
187            /**
188            * Removes the d d m structure layout where uuid = &#63; and groupId = &#63; from the database.
189            *
190            * @param uuid the uuid
191            * @param groupId the group ID
192            * @return the d d m structure layout that was removed
193            */
194            public DDMStructureLayout removeByUUID_G(java.lang.String uuid, long groupId)
195                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
196    
197            /**
198            * Returns the number of d d m structure layouts where uuid = &#63; and groupId = &#63;.
199            *
200            * @param uuid the uuid
201            * @param groupId the group ID
202            * @return the number of matching d d m structure layouts
203            */
204            public int countByUUID_G(java.lang.String uuid, long groupId);
205    
206            /**
207            * Returns all the d d m structure layouts where uuid = &#63; and companyId = &#63;.
208            *
209            * @param uuid the uuid
210            * @param companyId the company ID
211            * @return the matching d d m structure layouts
212            */
213            public java.util.List<DDMStructureLayout> findByUuid_C(
214                    java.lang.String uuid, long companyId);
215    
216            /**
217            * Returns a range of all the d d m structure layouts where uuid = &#63; and companyId = &#63;.
218            *
219            * <p>
220            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureLayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
221            * </p>
222            *
223            * @param uuid the uuid
224            * @param companyId the company ID
225            * @param start the lower bound of the range of d d m structure layouts
226            * @param end the upper bound of the range of d d m structure layouts (not inclusive)
227            * @return the range of matching d d m structure layouts
228            */
229            public java.util.List<DDMStructureLayout> findByUuid_C(
230                    java.lang.String uuid, long companyId, int start, int end);
231    
232            /**
233            * Returns an ordered range of all the d d m structure layouts where uuid = &#63; and companyId = &#63;.
234            *
235            * <p>
236            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureLayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
237            * </p>
238            *
239            * @param uuid the uuid
240            * @param companyId the company ID
241            * @param start the lower bound of the range of d d m structure layouts
242            * @param end the upper bound of the range of d d m structure layouts (not inclusive)
243            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
244            * @return the ordered range of matching d d m structure layouts
245            */
246            public java.util.List<DDMStructureLayout> findByUuid_C(
247                    java.lang.String uuid, long companyId, int start, int end,
248                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
249    
250            /**
251            * Returns the first d d m structure layout in the ordered set where uuid = &#63; and companyId = &#63;.
252            *
253            * @param uuid the uuid
254            * @param companyId the company ID
255            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
256            * @return the first matching d d m structure layout
257            * @throws NoSuchStructureLayoutException if a matching d d m structure layout could not be found
258            */
259            public DDMStructureLayout findByUuid_C_First(java.lang.String uuid,
260                    long companyId,
261                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
262                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
263    
264            /**
265            * Returns the first d d m structure layout in the ordered set where uuid = &#63; and companyId = &#63;.
266            *
267            * @param uuid the uuid
268            * @param companyId the company ID
269            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
270            * @return the first matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
271            */
272            public DDMStructureLayout fetchByUuid_C_First(java.lang.String uuid,
273                    long companyId,
274                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
275    
276            /**
277            * Returns the last d d m structure layout in the ordered set where uuid = &#63; and companyId = &#63;.
278            *
279            * @param uuid the uuid
280            * @param companyId the company ID
281            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
282            * @return the last matching d d m structure layout
283            * @throws NoSuchStructureLayoutException if a matching d d m structure layout could not be found
284            */
285            public DDMStructureLayout findByUuid_C_Last(java.lang.String uuid,
286                    long companyId,
287                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
288                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
289    
290            /**
291            * Returns the last d d m structure layout in the ordered set where uuid = &#63; and companyId = &#63;.
292            *
293            * @param uuid the uuid
294            * @param companyId the company ID
295            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
296            * @return the last matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
297            */
298            public DDMStructureLayout fetchByUuid_C_Last(java.lang.String uuid,
299                    long companyId,
300                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
301    
302            /**
303            * Returns the d d m structure layouts before and after the current d d m structure layout in the ordered set where uuid = &#63; and companyId = &#63;.
304            *
305            * @param structureLayoutId the primary key of the current d d m structure layout
306            * @param uuid the uuid
307            * @param companyId the company ID
308            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
309            * @return the previous, current, and next d d m structure layout
310            * @throws NoSuchStructureLayoutException if a d d m structure layout with the primary key could not be found
311            */
312            public DDMStructureLayout[] findByUuid_C_PrevAndNext(
313                    long structureLayoutId, java.lang.String uuid, long companyId,
314                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
315                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
316    
317            /**
318            * Removes all the d d m structure layouts where uuid = &#63; and companyId = &#63; from the database.
319            *
320            * @param uuid the uuid
321            * @param companyId the company ID
322            */
323            public void removeByUuid_C(java.lang.String uuid, long companyId);
324    
325            /**
326            * Returns the number of d d m structure layouts where uuid = &#63; and companyId = &#63;.
327            *
328            * @param uuid the uuid
329            * @param companyId the company ID
330            * @return the number of matching d d m structure layouts
331            */
332            public int countByUuid_C(java.lang.String uuid, long companyId);
333    
334            /**
335            * Returns the d d m structure layout where structureVersionId = &#63; or throws a {@link NoSuchStructureLayoutException} if it could not be found.
336            *
337            * @param structureVersionId the structure version ID
338            * @return the matching d d m structure layout
339            * @throws NoSuchStructureLayoutException if a matching d d m structure layout could not be found
340            */
341            public DDMStructureLayout findByStructureVersionId(long structureVersionId)
342                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
343    
344            /**
345            * Returns the d d m structure layout where structureVersionId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
346            *
347            * @param structureVersionId the structure version ID
348            * @return the matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
349            */
350            public DDMStructureLayout fetchByStructureVersionId(long structureVersionId);
351    
352            /**
353            * Returns the d d m structure layout where structureVersionId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
354            *
355            * @param structureVersionId the structure version ID
356            * @param retrieveFromCache whether to use the finder cache
357            * @return the matching d d m structure layout, or <code>null</code> if a matching d d m structure layout could not be found
358            */
359            public DDMStructureLayout fetchByStructureVersionId(
360                    long structureVersionId, boolean retrieveFromCache);
361    
362            /**
363            * Removes the d d m structure layout where structureVersionId = &#63; from the database.
364            *
365            * @param structureVersionId the structure version ID
366            * @return the d d m structure layout that was removed
367            */
368            public DDMStructureLayout removeByStructureVersionId(
369                    long structureVersionId)
370                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
371    
372            /**
373            * Returns the number of d d m structure layouts where structureVersionId = &#63;.
374            *
375            * @param structureVersionId the structure version ID
376            * @return the number of matching d d m structure layouts
377            */
378            public int countByStructureVersionId(long structureVersionId);
379    
380            /**
381            * Caches the d d m structure layout in the entity cache if it is enabled.
382            *
383            * @param ddmStructureLayout the d d m structure layout
384            */
385            public void cacheResult(DDMStructureLayout ddmStructureLayout);
386    
387            /**
388            * Caches the d d m structure layouts in the entity cache if it is enabled.
389            *
390            * @param ddmStructureLayouts the d d m structure layouts
391            */
392            public void cacheResult(
393                    java.util.List<DDMStructureLayout> ddmStructureLayouts);
394    
395            /**
396            * Creates a new d d m structure layout with the primary key. Does not add the d d m structure layout to the database.
397            *
398            * @param structureLayoutId the primary key for the new d d m structure layout
399            * @return the new d d m structure layout
400            */
401            public DDMStructureLayout create(long structureLayoutId);
402    
403            /**
404            * Removes the d d m structure layout with the primary key from the database. Also notifies the appropriate model listeners.
405            *
406            * @param structureLayoutId the primary key of the d d m structure layout
407            * @return the d d m structure layout that was removed
408            * @throws NoSuchStructureLayoutException if a d d m structure layout with the primary key could not be found
409            */
410            public DDMStructureLayout remove(long structureLayoutId)
411                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
412    
413            public DDMStructureLayout updateImpl(DDMStructureLayout ddmStructureLayout);
414    
415            /**
416            * Returns the d d m structure layout with the primary key or throws a {@link NoSuchStructureLayoutException} if it could not be found.
417            *
418            * @param structureLayoutId the primary key of the d d m structure layout
419            * @return the d d m structure layout
420            * @throws NoSuchStructureLayoutException if a d d m structure layout with the primary key could not be found
421            */
422            public DDMStructureLayout findByPrimaryKey(long structureLayoutId)
423                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLayoutException;
424    
425            /**
426            * Returns the d d m structure layout with the primary key or returns <code>null</code> if it could not be found.
427            *
428            * @param structureLayoutId the primary key of the d d m structure layout
429            * @return the d d m structure layout, or <code>null</code> if a d d m structure layout with the primary key could not be found
430            */
431            public DDMStructureLayout fetchByPrimaryKey(long structureLayoutId);
432    
433            @Override
434            public java.util.Map<java.io.Serializable, DDMStructureLayout> fetchByPrimaryKeys(
435                    java.util.Set<java.io.Serializable> primaryKeys);
436    
437            /**
438            * Returns all the d d m structure layouts.
439            *
440            * @return the d d m structure layouts
441            */
442            public java.util.List<DDMStructureLayout> findAll();
443    
444            /**
445            * Returns a range of all the d d m structure layouts.
446            *
447            * <p>
448            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureLayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
449            * </p>
450            *
451            * @param start the lower bound of the range of d d m structure layouts
452            * @param end the upper bound of the range of d d m structure layouts (not inclusive)
453            * @return the range of d d m structure layouts
454            */
455            public java.util.List<DDMStructureLayout> findAll(int start, int end);
456    
457            /**
458            * Returns an ordered range of all the d d m structure layouts.
459            *
460            * <p>
461            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link DDMStructureLayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
462            * </p>
463            *
464            * @param start the lower bound of the range of d d m structure layouts
465            * @param end the upper bound of the range of d d m structure layouts (not inclusive)
466            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
467            * @return the ordered range of d d m structure layouts
468            */
469            public java.util.List<DDMStructureLayout> findAll(int start, int end,
470                    com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator);
471    
472            /**
473            * Removes all the d d m structure layouts from the database.
474            */
475            public void removeAll();
476    
477            /**
478            * Returns the number of d d m structure layouts.
479            *
480            * @return the number of d d m structure layouts
481            */
482            public int countAll();
483    }