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.DDMStructureLink;
022    
023    /**
024     * The persistence interface for the d d m structure link 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 DDMStructureLinkPersistenceImpl
032     * @see DDMStructureLinkUtil
033     * @generated
034     */
035    @ProviderType
036    public interface DDMStructureLinkPersistence extends BasePersistence<DDMStructureLink> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link DDMStructureLinkUtil} to access the d d m structure link persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the d d m structure links where classNameId = &#63;.
045            *
046            * @param classNameId the class name ID
047            * @return the matching d d m structure links
048            */
049            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findByClassNameId(
050                    long classNameId);
051    
052            /**
053            * Returns a range of all the d d m structure links where classNameId = &#63;.
054            *
055            * <p>
056            * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl}. 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.
057            * </p>
058            *
059            * @param classNameId the class name ID
060            * @param start the lower bound of the range of d d m structure links
061            * @param end the upper bound of the range of d d m structure links (not inclusive)
062            * @return the range of matching d d m structure links
063            */
064            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findByClassNameId(
065                    long classNameId, int start, int end);
066    
067            /**
068            * Returns an ordered range of all the d d m structure links where classNameId = &#63;.
069            *
070            * <p>
071            * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl}. 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.
072            * </p>
073            *
074            * @param classNameId the class name ID
075            * @param start the lower bound of the range of d d m structure links
076            * @param end the upper bound of the range of d d m structure links (not inclusive)
077            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
078            * @return the ordered range of matching d d m structure links
079            */
080            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findByClassNameId(
081                    long classNameId, int start, int end,
082                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
083    
084            /**
085            * Returns the first d d m structure link in the ordered set where classNameId = &#63;.
086            *
087            * @param classNameId the class name ID
088            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
089            * @return the first matching d d m structure link
090            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a matching d d m structure link could not be found
091            */
092            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink findByClassNameId_First(
093                    long classNameId,
094                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator)
095                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
096    
097            /**
098            * Returns the first d d m structure link in the ordered set where classNameId = &#63;.
099            *
100            * @param classNameId the class name ID
101            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
102            * @return the first matching d d m structure link, or <code>null</code> if a matching d d m structure link could not be found
103            */
104            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByClassNameId_First(
105                    long classNameId,
106                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
107    
108            /**
109            * Returns the last d d m structure link in the ordered set where classNameId = &#63;.
110            *
111            * @param classNameId the class name ID
112            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
113            * @return the last matching d d m structure link
114            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a matching d d m structure link could not be found
115            */
116            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink findByClassNameId_Last(
117                    long classNameId,
118                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator)
119                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
120    
121            /**
122            * Returns the last d d m structure link in the ordered set where classNameId = &#63;.
123            *
124            * @param classNameId the class name ID
125            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
126            * @return the last matching d d m structure link, or <code>null</code> if a matching d d m structure link could not be found
127            */
128            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByClassNameId_Last(
129                    long classNameId,
130                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
131    
132            /**
133            * Returns the d d m structure links before and after the current d d m structure link in the ordered set where classNameId = &#63;.
134            *
135            * @param structureLinkId the primary key of the current d d m structure link
136            * @param classNameId the class name ID
137            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
138            * @return the previous, current, and next d d m structure link
139            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a d d m structure link with the primary key could not be found
140            */
141            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink[] findByClassNameId_PrevAndNext(
142                    long structureLinkId, long classNameId,
143                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator)
144                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
145    
146            /**
147            * Removes all the d d m structure links where classNameId = &#63; from the database.
148            *
149            * @param classNameId the class name ID
150            */
151            public void removeByClassNameId(long classNameId);
152    
153            /**
154            * Returns the number of d d m structure links where classNameId = &#63;.
155            *
156            * @param classNameId the class name ID
157            * @return the number of matching d d m structure links
158            */
159            public int countByClassNameId(long classNameId);
160    
161            /**
162            * Returns the d d m structure link where classPK = &#63; or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException} if it could not be found.
163            *
164            * @param classPK the class p k
165            * @return the matching d d m structure link
166            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a matching d d m structure link could not be found
167            */
168            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink findByClassPK(
169                    long classPK)
170                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
171    
172            /**
173            * Returns the d d m structure link where classPK = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
174            *
175            * @param classPK the class p k
176            * @return the matching d d m structure link, or <code>null</code> if a matching d d m structure link could not be found
177            */
178            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByClassPK(
179                    long classPK);
180    
181            /**
182            * Returns the d d m structure link where classPK = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
183            *
184            * @param classPK the class p k
185            * @param retrieveFromCache whether to use the finder cache
186            * @return the matching d d m structure link, or <code>null</code> if a matching d d m structure link could not be found
187            */
188            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByClassPK(
189                    long classPK, boolean retrieveFromCache);
190    
191            /**
192            * Removes the d d m structure link where classPK = &#63; from the database.
193            *
194            * @param classPK the class p k
195            * @return the d d m structure link that was removed
196            */
197            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink removeByClassPK(
198                    long classPK)
199                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
200    
201            /**
202            * Returns the number of d d m structure links where classPK = &#63;.
203            *
204            * @param classPK the class p k
205            * @return the number of matching d d m structure links
206            */
207            public int countByClassPK(long classPK);
208    
209            /**
210            * Returns all the d d m structure links where structureId = &#63;.
211            *
212            * @param structureId the structure ID
213            * @return the matching d d m structure links
214            */
215            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findByStructureId(
216                    long structureId);
217    
218            /**
219            * Returns a range of all the d d m structure links where structureId = &#63;.
220            *
221            * <p>
222            * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl}. 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.
223            * </p>
224            *
225            * @param structureId the structure ID
226            * @param start the lower bound of the range of d d m structure links
227            * @param end the upper bound of the range of d d m structure links (not inclusive)
228            * @return the range of matching d d m structure links
229            */
230            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findByStructureId(
231                    long structureId, int start, int end);
232    
233            /**
234            * Returns an ordered range of all the d d m structure links where structureId = &#63;.
235            *
236            * <p>
237            * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl}. 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.
238            * </p>
239            *
240            * @param structureId the structure ID
241            * @param start the lower bound of the range of d d m structure links
242            * @param end the upper bound of the range of d d m structure links (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 links
245            */
246            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findByStructureId(
247                    long structureId, int start, int end,
248                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
249    
250            /**
251            * Returns the first d d m structure link in the ordered set where structureId = &#63;.
252            *
253            * @param structureId the structure ID
254            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
255            * @return the first matching d d m structure link
256            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a matching d d m structure link could not be found
257            */
258            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink findByStructureId_First(
259                    long structureId,
260                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator)
261                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
262    
263            /**
264            * Returns the first d d m structure link in the ordered set where structureId = &#63;.
265            *
266            * @param structureId the structure ID
267            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
268            * @return the first matching d d m structure link, or <code>null</code> if a matching d d m structure link could not be found
269            */
270            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByStructureId_First(
271                    long structureId,
272                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
273    
274            /**
275            * Returns the last d d m structure link in the ordered set where structureId = &#63;.
276            *
277            * @param structureId the structure ID
278            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
279            * @return the last matching d d m structure link
280            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a matching d d m structure link could not be found
281            */
282            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink findByStructureId_Last(
283                    long structureId,
284                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator)
285                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
286    
287            /**
288            * Returns the last d d m structure link in the ordered set where structureId = &#63;.
289            *
290            * @param structureId the structure ID
291            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
292            * @return the last matching d d m structure link, or <code>null</code> if a matching d d m structure link could not be found
293            */
294            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByStructureId_Last(
295                    long structureId,
296                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
297    
298            /**
299            * Returns the d d m structure links before and after the current d d m structure link in the ordered set where structureId = &#63;.
300            *
301            * @param structureLinkId the primary key of the current d d m structure link
302            * @param structureId the structure ID
303            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
304            * @return the previous, current, and next d d m structure link
305            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a d d m structure link with the primary key could not be found
306            */
307            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink[] findByStructureId_PrevAndNext(
308                    long structureLinkId, long structureId,
309                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator)
310                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
311    
312            /**
313            * Removes all the d d m structure links where structureId = &#63; from the database.
314            *
315            * @param structureId the structure ID
316            */
317            public void removeByStructureId(long structureId);
318    
319            /**
320            * Returns the number of d d m structure links where structureId = &#63;.
321            *
322            * @param structureId the structure ID
323            * @return the number of matching d d m structure links
324            */
325            public int countByStructureId(long structureId);
326    
327            /**
328            * Caches the d d m structure link in the entity cache if it is enabled.
329            *
330            * @param ddmStructureLink the d d m structure link
331            */
332            public void cacheResult(
333                    com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink);
334    
335            /**
336            * Caches the d d m structure links in the entity cache if it is enabled.
337            *
338            * @param ddmStructureLinks the d d m structure links
339            */
340            public void cacheResult(
341                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> ddmStructureLinks);
342    
343            /**
344            * Creates a new d d m structure link with the primary key. Does not add the d d m structure link to the database.
345            *
346            * @param structureLinkId the primary key for the new d d m structure link
347            * @return the new d d m structure link
348            */
349            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink create(
350                    long structureLinkId);
351    
352            /**
353            * Removes the d d m structure link with the primary key from the database. Also notifies the appropriate model listeners.
354            *
355            * @param structureLinkId the primary key of the d d m structure link
356            * @return the d d m structure link that was removed
357            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a d d m structure link with the primary key could not be found
358            */
359            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink remove(
360                    long structureLinkId)
361                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
362    
363            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink updateImpl(
364                    com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink ddmStructureLink);
365    
366            /**
367            * Returns the d d m structure link with the primary key or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException} if it could not be found.
368            *
369            * @param structureLinkId the primary key of the d d m structure link
370            * @return the d d m structure link
371            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException if a d d m structure link with the primary key could not be found
372            */
373            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink findByPrimaryKey(
374                    long structureLinkId)
375                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureLinkException;
376    
377            /**
378            * Returns the d d m structure link with the primary key or returns <code>null</code> if it could not be found.
379            *
380            * @param structureLinkId the primary key of the d d m structure link
381            * @return the d d m structure link, or <code>null</code> if a d d m structure link with the primary key could not be found
382            */
383            public com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink fetchByPrimaryKey(
384                    long structureLinkId);
385    
386            @Override
387            public java.util.Map<java.io.Serializable, com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> fetchByPrimaryKeys(
388                    java.util.Set<java.io.Serializable> primaryKeys);
389    
390            /**
391            * Returns all the d d m structure links.
392            *
393            * @return the d d m structure links
394            */
395            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findAll();
396    
397            /**
398            * Returns a range of all the d d m structure links.
399            *
400            * <p>
401            * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl}. 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.
402            * </p>
403            *
404            * @param start the lower bound of the range of d d m structure links
405            * @param end the upper bound of the range of d d m structure links (not inclusive)
406            * @return the range of d d m structure links
407            */
408            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findAll(
409                    int start, int end);
410    
411            /**
412            * Returns an ordered range of all the d d m structure links.
413            *
414            * <p>
415            * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureLinkModelImpl}. 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.
416            * </p>
417            *
418            * @param start the lower bound of the range of d d m structure links
419            * @param end the upper bound of the range of d d m structure links (not inclusive)
420            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
421            * @return the ordered range of d d m structure links
422            */
423            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> findAll(
424                    int start, int end,
425                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.dynamicdatamapping.model.DDMStructureLink> orderByComparator);
426    
427            /**
428            * Removes all the d d m structure links from the database.
429            */
430            public void removeAll();
431    
432            /**
433            * Returns the number of d d m structure links.
434            *
435            * @return the number of d d m structure links
436            */
437            public int countAll();
438    }