001    /**
002     * Copyright (c) 2000-2013 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 com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.dynamicdatamapping.model.DDMStructure;
020    
021    /**
022     * The persistence interface for the d d m structure service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see DDMStructurePersistenceImpl
030     * @see DDMStructureUtil
031     * @generated
032     */
033    public interface DDMStructurePersistence extends BasePersistence<DDMStructure> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link DDMStructureUtil} to access the d d m structure persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Returns all the d d m structures where uuid = &#63;.
042            *
043            * @param uuid the uuid
044            * @return the matching d d m structures
045            * @throws SystemException if a system exception occurred
046            */
047            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid(
048                    java.lang.String uuid)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            /**
052            * Returns a range of all the d d m structures 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 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.DDMStructureModelImpl}. 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 structures
060            * @param end the upper bound of the range of d d m structures (not inclusive)
061            * @return the range of matching d d m structures
062            * @throws SystemException if a system exception occurred
063            */
064            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid(
065                    java.lang.String uuid, int start, int end)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            /**
069            * Returns an ordered range of all the d d m structures where uuid = &#63;.
070            *
071            * <p>
072            * 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.DDMStructureModelImpl}. 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.
073            * </p>
074            *
075            * @param uuid the uuid
076            * @param start the lower bound of the range of d d m structures
077            * @param end the upper bound of the range of d d m structures (not inclusive)
078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
079            * @return the ordered range of matching d d m structures
080            * @throws SystemException if a system exception occurred
081            */
082            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid(
083                    java.lang.String uuid, int start, int end,
084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            /**
088            * Returns the first d d m structure in the ordered set where uuid = &#63;.
089            *
090            * @param uuid the uuid
091            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
092            * @return the first matching d d m structure
093            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
094            * @throws SystemException if a system exception occurred
095            */
096            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_First(
097                    java.lang.String uuid,
098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099                    throws com.liferay.portal.kernel.exception.SystemException,
100                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
101    
102            /**
103            * Returns the first d d m structure in the ordered set where uuid = &#63;.
104            *
105            * @param uuid the uuid
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
108            * @throws SystemException if a system exception occurred
109            */
110            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_First(
111                    java.lang.String uuid,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Returns the last d d m structure in the ordered set where uuid = &#63;.
117            *
118            * @param uuid the uuid
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the last matching d d m structure
121            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
122            * @throws SystemException if a system exception occurred
123            */
124            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_Last(
125                    java.lang.String uuid,
126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
127                    throws com.liferay.portal.kernel.exception.SystemException,
128                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
129    
130            /**
131            * Returns the last d d m structure in the ordered set where uuid = &#63;.
132            *
133            * @param uuid the uuid
134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
135            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
136            * @throws SystemException if a system exception occurred
137            */
138            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_Last(
139                    java.lang.String uuid,
140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            /**
144            * Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = &#63;.
145            *
146            * @param structureId the primary key of the current d d m structure
147            * @param uuid the uuid
148            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
149            * @return the previous, current, and next d d m structure
150            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
151            * @throws SystemException if a system exception occurred
152            */
153            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByUuid_PrevAndNext(
154                    long structureId, java.lang.String uuid,
155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156                    throws com.liferay.portal.kernel.exception.SystemException,
157                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
158    
159            /**
160            * Removes all the d d m structures where uuid = &#63; from the database.
161            *
162            * @param uuid the uuid
163            * @throws SystemException if a system exception occurred
164            */
165            public void removeByUuid(java.lang.String uuid)
166                    throws com.liferay.portal.kernel.exception.SystemException;
167    
168            /**
169            * Returns the number of d d m structures where uuid = &#63;.
170            *
171            * @param uuid the uuid
172            * @return the number of matching d d m structures
173            * @throws SystemException if a system exception occurred
174            */
175            public int countByUuid(java.lang.String uuid)
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            /**
179            * Returns the d d m structure where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found.
180            *
181            * @param uuid the uuid
182            * @param groupId the group ID
183            * @return the matching d d m structure
184            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
185            * @throws SystemException if a system exception occurred
186            */
187            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUUID_G(
188                    java.lang.String uuid, long groupId)
189                    throws com.liferay.portal.kernel.exception.SystemException,
190                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
191    
192            /**
193            * Returns the d d m structure where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
194            *
195            * @param uuid the uuid
196            * @param groupId the group ID
197            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
198            * @throws SystemException if a system exception occurred
199            */
200            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUUID_G(
201                    java.lang.String uuid, long groupId)
202                    throws com.liferay.portal.kernel.exception.SystemException;
203    
204            /**
205            * Returns the d d m structure where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
206            *
207            * @param uuid the uuid
208            * @param groupId the group ID
209            * @param retrieveFromCache whether to use the finder cache
210            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
211            * @throws SystemException if a system exception occurred
212            */
213            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUUID_G(
214                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
215                    throws com.liferay.portal.kernel.exception.SystemException;
216    
217            /**
218            * Removes the d d m structure where uuid = &#63; and groupId = &#63; from the database.
219            *
220            * @param uuid the uuid
221            * @param groupId the group ID
222            * @return the d d m structure that was removed
223            * @throws SystemException if a system exception occurred
224            */
225            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure removeByUUID_G(
226                    java.lang.String uuid, long groupId)
227                    throws com.liferay.portal.kernel.exception.SystemException,
228                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
229    
230            /**
231            * Returns the number of d d m structures where uuid = &#63; and groupId = &#63;.
232            *
233            * @param uuid the uuid
234            * @param groupId the group ID
235            * @return the number of matching d d m structures
236            * @throws SystemException if a system exception occurred
237            */
238            public int countByUUID_G(java.lang.String uuid, long groupId)
239                    throws com.liferay.portal.kernel.exception.SystemException;
240    
241            /**
242            * Returns all the d d m structures where uuid = &#63; and companyId = &#63;.
243            *
244            * @param uuid the uuid
245            * @param companyId the company ID
246            * @return the matching d d m structures
247            * @throws SystemException if a system exception occurred
248            */
249            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid_C(
250                    java.lang.String uuid, long companyId)
251                    throws com.liferay.portal.kernel.exception.SystemException;
252    
253            /**
254            * Returns a range of all the d d m structures where uuid = &#63; and companyId = &#63;.
255            *
256            * <p>
257            * 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.DDMStructureModelImpl}. 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.
258            * </p>
259            *
260            * @param uuid the uuid
261            * @param companyId the company ID
262            * @param start the lower bound of the range of d d m structures
263            * @param end the upper bound of the range of d d m structures (not inclusive)
264            * @return the range of matching d d m structures
265            * @throws SystemException if a system exception occurred
266            */
267            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid_C(
268                    java.lang.String uuid, long companyId, int start, int end)
269                    throws com.liferay.portal.kernel.exception.SystemException;
270    
271            /**
272            * Returns an ordered range of all the d d m structures where uuid = &#63; and companyId = &#63;.
273            *
274            * <p>
275            * 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.DDMStructureModelImpl}. 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.
276            * </p>
277            *
278            * @param uuid the uuid
279            * @param companyId the company ID
280            * @param start the lower bound of the range of d d m structures
281            * @param end the upper bound of the range of d d m structures (not inclusive)
282            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
283            * @return the ordered range of matching d d m structures
284            * @throws SystemException if a system exception occurred
285            */
286            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByUuid_C(
287                    java.lang.String uuid, long companyId, int start, int end,
288                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
289                    throws com.liferay.portal.kernel.exception.SystemException;
290    
291            /**
292            * Returns the first d d m structure in the ordered set where uuid = &#63; and companyId = &#63;.
293            *
294            * @param uuid the uuid
295            * @param companyId the company ID
296            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
297            * @return the first matching d d m structure
298            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
299            * @throws SystemException if a system exception occurred
300            */
301            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_C_First(
302                    java.lang.String uuid, long companyId,
303                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
304                    throws com.liferay.portal.kernel.exception.SystemException,
305                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
306    
307            /**
308            * Returns the first d d m structure in the ordered set where uuid = &#63; and companyId = &#63;.
309            *
310            * @param uuid the uuid
311            * @param companyId the company ID
312            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
313            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
314            * @throws SystemException if a system exception occurred
315            */
316            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_C_First(
317                    java.lang.String uuid, long companyId,
318                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319                    throws com.liferay.portal.kernel.exception.SystemException;
320    
321            /**
322            * Returns the last d d m structure in the ordered set where uuid = &#63; and companyId = &#63;.
323            *
324            * @param uuid the uuid
325            * @param companyId the company ID
326            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
327            * @return the last matching d d m structure
328            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
329            * @throws SystemException if a system exception occurred
330            */
331            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByUuid_C_Last(
332                    java.lang.String uuid, long companyId,
333                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
334                    throws com.liferay.portal.kernel.exception.SystemException,
335                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
336    
337            /**
338            * Returns the last d d m structure in the ordered set where uuid = &#63; and companyId = &#63;.
339            *
340            * @param uuid the uuid
341            * @param companyId the company ID
342            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
343            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
344            * @throws SystemException if a system exception occurred
345            */
346            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByUuid_C_Last(
347                    java.lang.String uuid, long companyId,
348                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
349                    throws com.liferay.portal.kernel.exception.SystemException;
350    
351            /**
352            * Returns the d d m structures before and after the current d d m structure in the ordered set where uuid = &#63; and companyId = &#63;.
353            *
354            * @param structureId the primary key of the current d d m structure
355            * @param uuid the uuid
356            * @param companyId the company ID
357            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
358            * @return the previous, current, and next d d m structure
359            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
360            * @throws SystemException if a system exception occurred
361            */
362            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByUuid_C_PrevAndNext(
363                    long structureId, java.lang.String uuid, long companyId,
364                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
365                    throws com.liferay.portal.kernel.exception.SystemException,
366                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
367    
368            /**
369            * Removes all the d d m structures where uuid = &#63; and companyId = &#63; from the database.
370            *
371            * @param uuid the uuid
372            * @param companyId the company ID
373            * @throws SystemException if a system exception occurred
374            */
375            public void removeByUuid_C(java.lang.String uuid, long companyId)
376                    throws com.liferay.portal.kernel.exception.SystemException;
377    
378            /**
379            * Returns the number of d d m structures where uuid = &#63; and companyId = &#63;.
380            *
381            * @param uuid the uuid
382            * @param companyId the company ID
383            * @return the number of matching d d m structures
384            * @throws SystemException if a system exception occurred
385            */
386            public int countByUuid_C(java.lang.String uuid, long companyId)
387                    throws com.liferay.portal.kernel.exception.SystemException;
388    
389            /**
390            * Returns all the d d m structures where groupId = &#63;.
391            *
392            * @param groupId the group ID
393            * @return the matching d d m structures
394            * @throws SystemException if a system exception occurred
395            */
396            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId(
397                    long groupId)
398                    throws com.liferay.portal.kernel.exception.SystemException;
399    
400            /**
401            * Returns a range of all the d d m structures where groupId = &#63;.
402            *
403            * <p>
404            * 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.DDMStructureModelImpl}. 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.
405            * </p>
406            *
407            * @param groupId the group ID
408            * @param start the lower bound of the range of d d m structures
409            * @param end the upper bound of the range of d d m structures (not inclusive)
410            * @return the range of matching d d m structures
411            * @throws SystemException if a system exception occurred
412            */
413            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId(
414                    long groupId, int start, int end)
415                    throws com.liferay.portal.kernel.exception.SystemException;
416    
417            /**
418            * Returns an ordered range of all the d d m structures where groupId = &#63;.
419            *
420            * <p>
421            * 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.DDMStructureModelImpl}. 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.
422            * </p>
423            *
424            * @param groupId the group ID
425            * @param start the lower bound of the range of d d m structures
426            * @param end the upper bound of the range of d d m structures (not inclusive)
427            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
428            * @return the ordered range of matching d d m structures
429            * @throws SystemException if a system exception occurred
430            */
431            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId(
432                    long groupId, int start, int end,
433                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434                    throws com.liferay.portal.kernel.exception.SystemException;
435    
436            /**
437            * Returns the first d d m structure in the ordered set where groupId = &#63;.
438            *
439            * @param groupId the group ID
440            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
441            * @return the first matching d d m structure
442            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
443            * @throws SystemException if a system exception occurred
444            */
445            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByGroupId_First(
446                    long groupId,
447                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
448                    throws com.liferay.portal.kernel.exception.SystemException,
449                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
450    
451            /**
452            * Returns the first d d m structure in the ordered set where groupId = &#63;.
453            *
454            * @param groupId the group ID
455            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
456            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
457            * @throws SystemException if a system exception occurred
458            */
459            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByGroupId_First(
460                    long groupId,
461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
462                    throws com.liferay.portal.kernel.exception.SystemException;
463    
464            /**
465            * Returns the last d d m structure in the ordered set where groupId = &#63;.
466            *
467            * @param groupId the group ID
468            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
469            * @return the last matching d d m structure
470            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
471            * @throws SystemException if a system exception occurred
472            */
473            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByGroupId_Last(
474                    long groupId,
475                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
476                    throws com.liferay.portal.kernel.exception.SystemException,
477                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
478    
479            /**
480            * Returns the last d d m structure in the ordered set where groupId = &#63;.
481            *
482            * @param groupId the group ID
483            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
484            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
485            * @throws SystemException if a system exception occurred
486            */
487            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByGroupId_Last(
488                    long groupId,
489                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            /**
493            * Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = &#63;.
494            *
495            * @param structureId the primary key of the current d d m structure
496            * @param groupId the group ID
497            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
498            * @return the previous, current, and next d d m structure
499            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
500            * @throws SystemException if a system exception occurred
501            */
502            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByGroupId_PrevAndNext(
503                    long structureId, long groupId,
504                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
505                    throws com.liferay.portal.kernel.exception.SystemException,
506                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
507    
508            /**
509            * Returns all the d d m structures that the user has permission to view where groupId = &#63;.
510            *
511            * @param groupId the group ID
512            * @return the matching d d m structures that the user has permission to view
513            * @throws SystemException if a system exception occurred
514            */
515            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId(
516                    long groupId)
517                    throws com.liferay.portal.kernel.exception.SystemException;
518    
519            /**
520            * Returns a range of all the d d m structures that the user has permission to view where groupId = &#63;.
521            *
522            * <p>
523            * 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.DDMStructureModelImpl}. 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.
524            * </p>
525            *
526            * @param groupId the group ID
527            * @param start the lower bound of the range of d d m structures
528            * @param end the upper bound of the range of d d m structures (not inclusive)
529            * @return the range of matching d d m structures that the user has permission to view
530            * @throws SystemException if a system exception occurred
531            */
532            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId(
533                    long groupId, int start, int end)
534                    throws com.liferay.portal.kernel.exception.SystemException;
535    
536            /**
537            * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = &#63;.
538            *
539            * <p>
540            * 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.DDMStructureModelImpl}. 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.
541            * </p>
542            *
543            * @param groupId the group ID
544            * @param start the lower bound of the range of d d m structures
545            * @param end the upper bound of the range of d d m structures (not inclusive)
546            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
547            * @return the ordered range of matching d d m structures that the user has permission to view
548            * @throws SystemException if a system exception occurred
549            */
550            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId(
551                    long groupId, int start, int end,
552                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
553                    throws com.liferay.portal.kernel.exception.SystemException;
554    
555            /**
556            * Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = &#63;.
557            *
558            * @param structureId the primary key of the current d d m structure
559            * @param groupId the group ID
560            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
561            * @return the previous, current, and next d d m structure
562            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
563            * @throws SystemException if a system exception occurred
564            */
565            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByGroupId_PrevAndNext(
566                    long structureId, long groupId,
567                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
568                    throws com.liferay.portal.kernel.exception.SystemException,
569                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
570    
571            /**
572            * Returns all the d d m structures that the user has permission to view where groupId = any &#63;.
573            *
574            * @param groupIds the group IDs
575            * @return the matching d d m structures that the user has permission to view
576            * @throws SystemException if a system exception occurred
577            */
578            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId(
579                    long[] groupIds)
580                    throws com.liferay.portal.kernel.exception.SystemException;
581    
582            /**
583            * Returns a range of all the d d m structures that the user has permission to view where groupId = any &#63;.
584            *
585            * <p>
586            * 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.DDMStructureModelImpl}. 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.
587            * </p>
588            *
589            * @param groupIds the group IDs
590            * @param start the lower bound of the range of d d m structures
591            * @param end the upper bound of the range of d d m structures (not inclusive)
592            * @return the range of matching d d m structures that the user has permission to view
593            * @throws SystemException if a system exception occurred
594            */
595            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId(
596                    long[] groupIds, int start, int end)
597                    throws com.liferay.portal.kernel.exception.SystemException;
598    
599            /**
600            * Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any &#63;.
601            *
602            * <p>
603            * 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.DDMStructureModelImpl}. 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.
604            * </p>
605            *
606            * @param groupIds the group IDs
607            * @param start the lower bound of the range of d d m structures
608            * @param end the upper bound of the range of d d m structures (not inclusive)
609            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
610            * @return the ordered range of matching d d m structures that the user has permission to view
611            * @throws SystemException if a system exception occurred
612            */
613            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByGroupId(
614                    long[] groupIds, int start, int end,
615                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
616                    throws com.liferay.portal.kernel.exception.SystemException;
617    
618            /**
619            * Returns all the d d m structures where groupId = any &#63;.
620            *
621            * <p>
622            * 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.DDMStructureModelImpl}. 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.
623            * </p>
624            *
625            * @param groupIds the group IDs
626            * @return the matching d d m structures
627            * @throws SystemException if a system exception occurred
628            */
629            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId(
630                    long[] groupIds)
631                    throws com.liferay.portal.kernel.exception.SystemException;
632    
633            /**
634            * Returns a range of all the d d m structures where groupId = any &#63;.
635            *
636            * <p>
637            * 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.DDMStructureModelImpl}. 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.
638            * </p>
639            *
640            * @param groupIds the group IDs
641            * @param start the lower bound of the range of d d m structures
642            * @param end the upper bound of the range of d d m structures (not inclusive)
643            * @return the range of matching d d m structures
644            * @throws SystemException if a system exception occurred
645            */
646            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId(
647                    long[] groupIds, int start, int end)
648                    throws com.liferay.portal.kernel.exception.SystemException;
649    
650            /**
651            * Returns an ordered range of all the d d m structures where groupId = any &#63;.
652            *
653            * <p>
654            * 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.DDMStructureModelImpl}. 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.
655            * </p>
656            *
657            * @param groupIds the group IDs
658            * @param start the lower bound of the range of d d m structures
659            * @param end the upper bound of the range of d d m structures (not inclusive)
660            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
661            * @return the ordered range of matching d d m structures
662            * @throws SystemException if a system exception occurred
663            */
664            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByGroupId(
665                    long[] groupIds, int start, int end,
666                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
667                    throws com.liferay.portal.kernel.exception.SystemException;
668    
669            /**
670            * Removes all the d d m structures where groupId = &#63; from the database.
671            *
672            * @param groupId the group ID
673            * @throws SystemException if a system exception occurred
674            */
675            public void removeByGroupId(long groupId)
676                    throws com.liferay.portal.kernel.exception.SystemException;
677    
678            /**
679            * Returns the number of d d m structures where groupId = &#63;.
680            *
681            * @param groupId the group ID
682            * @return the number of matching d d m structures
683            * @throws SystemException if a system exception occurred
684            */
685            public int countByGroupId(long groupId)
686                    throws com.liferay.portal.kernel.exception.SystemException;
687    
688            /**
689            * Returns the number of d d m structures where groupId = any &#63;.
690            *
691            * @param groupIds the group IDs
692            * @return the number of matching d d m structures
693            * @throws SystemException if a system exception occurred
694            */
695            public int countByGroupId(long[] groupIds)
696                    throws com.liferay.portal.kernel.exception.SystemException;
697    
698            /**
699            * Returns the number of d d m structures that the user has permission to view where groupId = &#63;.
700            *
701            * @param groupId the group ID
702            * @return the number of matching d d m structures that the user has permission to view
703            * @throws SystemException if a system exception occurred
704            */
705            public int filterCountByGroupId(long groupId)
706                    throws com.liferay.portal.kernel.exception.SystemException;
707    
708            /**
709            * Returns the number of d d m structures that the user has permission to view where groupId = any &#63;.
710            *
711            * @param groupIds the group IDs
712            * @return the number of matching d d m structures that the user has permission to view
713            * @throws SystemException if a system exception occurred
714            */
715            public int filterCountByGroupId(long[] groupIds)
716                    throws com.liferay.portal.kernel.exception.SystemException;
717    
718            /**
719            * Returns all the d d m structures where parentStructureId = &#63;.
720            *
721            * @param parentStructureId the parent structure ID
722            * @return the matching d d m structures
723            * @throws SystemException if a system exception occurred
724            */
725            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByParentStructureId(
726                    long parentStructureId)
727                    throws com.liferay.portal.kernel.exception.SystemException;
728    
729            /**
730            * Returns a range of all the d d m structures where parentStructureId = &#63;.
731            *
732            * <p>
733            * 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.DDMStructureModelImpl}. 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.
734            * </p>
735            *
736            * @param parentStructureId the parent structure ID
737            * @param start the lower bound of the range of d d m structures
738            * @param end the upper bound of the range of d d m structures (not inclusive)
739            * @return the range of matching d d m structures
740            * @throws SystemException if a system exception occurred
741            */
742            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByParentStructureId(
743                    long parentStructureId, int start, int end)
744                    throws com.liferay.portal.kernel.exception.SystemException;
745    
746            /**
747            * Returns an ordered range of all the d d m structures where parentStructureId = &#63;.
748            *
749            * <p>
750            * 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.DDMStructureModelImpl}. 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.
751            * </p>
752            *
753            * @param parentStructureId the parent structure ID
754            * @param start the lower bound of the range of d d m structures
755            * @param end the upper bound of the range of d d m structures (not inclusive)
756            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
757            * @return the ordered range of matching d d m structures
758            * @throws SystemException if a system exception occurred
759            */
760            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByParentStructureId(
761                    long parentStructureId, int start, int end,
762                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
763                    throws com.liferay.portal.kernel.exception.SystemException;
764    
765            /**
766            * Returns the first d d m structure in the ordered set where parentStructureId = &#63;.
767            *
768            * @param parentStructureId the parent structure ID
769            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
770            * @return the first matching d d m structure
771            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
772            * @throws SystemException if a system exception occurred
773            */
774            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByParentStructureId_First(
775                    long parentStructureId,
776                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
777                    throws com.liferay.portal.kernel.exception.SystemException,
778                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
779    
780            /**
781            * Returns the first d d m structure in the ordered set where parentStructureId = &#63;.
782            *
783            * @param parentStructureId the parent structure ID
784            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
785            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
786            * @throws SystemException if a system exception occurred
787            */
788            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByParentStructureId_First(
789                    long parentStructureId,
790                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
791                    throws com.liferay.portal.kernel.exception.SystemException;
792    
793            /**
794            * Returns the last d d m structure in the ordered set where parentStructureId = &#63;.
795            *
796            * @param parentStructureId the parent structure ID
797            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
798            * @return the last matching d d m structure
799            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
800            * @throws SystemException if a system exception occurred
801            */
802            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByParentStructureId_Last(
803                    long parentStructureId,
804                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
805                    throws com.liferay.portal.kernel.exception.SystemException,
806                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
807    
808            /**
809            * Returns the last d d m structure in the ordered set where parentStructureId = &#63;.
810            *
811            * @param parentStructureId the parent structure ID
812            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
813            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
814            * @throws SystemException if a system exception occurred
815            */
816            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByParentStructureId_Last(
817                    long parentStructureId,
818                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
819                    throws com.liferay.portal.kernel.exception.SystemException;
820    
821            /**
822            * Returns the d d m structures before and after the current d d m structure in the ordered set where parentStructureId = &#63;.
823            *
824            * @param structureId the primary key of the current d d m structure
825            * @param parentStructureId the parent structure ID
826            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
827            * @return the previous, current, and next d d m structure
828            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
829            * @throws SystemException if a system exception occurred
830            */
831            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByParentStructureId_PrevAndNext(
832                    long structureId, long parentStructureId,
833                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
834                    throws com.liferay.portal.kernel.exception.SystemException,
835                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
836    
837            /**
838            * Removes all the d d m structures where parentStructureId = &#63; from the database.
839            *
840            * @param parentStructureId the parent structure ID
841            * @throws SystemException if a system exception occurred
842            */
843            public void removeByParentStructureId(long parentStructureId)
844                    throws com.liferay.portal.kernel.exception.SystemException;
845    
846            /**
847            * Returns the number of d d m structures where parentStructureId = &#63;.
848            *
849            * @param parentStructureId the parent structure ID
850            * @return the number of matching d d m structures
851            * @throws SystemException if a system exception occurred
852            */
853            public int countByParentStructureId(long parentStructureId)
854                    throws com.liferay.portal.kernel.exception.SystemException;
855    
856            /**
857            * Returns all the d d m structures where classNameId = &#63;.
858            *
859            * @param classNameId the class name ID
860            * @return the matching d d m structures
861            * @throws SystemException if a system exception occurred
862            */
863            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByClassNameId(
864                    long classNameId)
865                    throws com.liferay.portal.kernel.exception.SystemException;
866    
867            /**
868            * Returns a range of all the d d m structures where classNameId = &#63;.
869            *
870            * <p>
871            * 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.DDMStructureModelImpl}. 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.
872            * </p>
873            *
874            * @param classNameId the class name ID
875            * @param start the lower bound of the range of d d m structures
876            * @param end the upper bound of the range of d d m structures (not inclusive)
877            * @return the range of matching d d m structures
878            * @throws SystemException if a system exception occurred
879            */
880            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByClassNameId(
881                    long classNameId, int start, int end)
882                    throws com.liferay.portal.kernel.exception.SystemException;
883    
884            /**
885            * Returns an ordered range of all the d d m structures where classNameId = &#63;.
886            *
887            * <p>
888            * 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.DDMStructureModelImpl}. 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.
889            * </p>
890            *
891            * @param classNameId the class name ID
892            * @param start the lower bound of the range of d d m structures
893            * @param end the upper bound of the range of d d m structures (not inclusive)
894            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
895            * @return the ordered range of matching d d m structures
896            * @throws SystemException if a system exception occurred
897            */
898            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByClassNameId(
899                    long classNameId, int start, int end,
900                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
901                    throws com.liferay.portal.kernel.exception.SystemException;
902    
903            /**
904            * Returns the first d d m structure in the ordered set where classNameId = &#63;.
905            *
906            * @param classNameId the class name ID
907            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
908            * @return the first matching d d m structure
909            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
910            * @throws SystemException if a system exception occurred
911            */
912            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByClassNameId_First(
913                    long classNameId,
914                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
915                    throws com.liferay.portal.kernel.exception.SystemException,
916                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
917    
918            /**
919            * Returns the first d d m structure in the ordered set where classNameId = &#63;.
920            *
921            * @param classNameId the class name ID
922            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
923            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
924            * @throws SystemException if a system exception occurred
925            */
926            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByClassNameId_First(
927                    long classNameId,
928                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
929                    throws com.liferay.portal.kernel.exception.SystemException;
930    
931            /**
932            * Returns the last d d m structure in the ordered set where classNameId = &#63;.
933            *
934            * @param classNameId the class name ID
935            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
936            * @return the last matching d d m structure
937            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
938            * @throws SystemException if a system exception occurred
939            */
940            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByClassNameId_Last(
941                    long classNameId,
942                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
943                    throws com.liferay.portal.kernel.exception.SystemException,
944                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
945    
946            /**
947            * Returns the last d d m structure in the ordered set where classNameId = &#63;.
948            *
949            * @param classNameId the class name ID
950            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
951            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
952            * @throws SystemException if a system exception occurred
953            */
954            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByClassNameId_Last(
955                    long classNameId,
956                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
957                    throws com.liferay.portal.kernel.exception.SystemException;
958    
959            /**
960            * Returns the d d m structures before and after the current d d m structure in the ordered set where classNameId = &#63;.
961            *
962            * @param structureId the primary key of the current d d m structure
963            * @param classNameId the class name ID
964            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
965            * @return the previous, current, and next d d m structure
966            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
967            * @throws SystemException if a system exception occurred
968            */
969            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByClassNameId_PrevAndNext(
970                    long structureId, long classNameId,
971                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
972                    throws com.liferay.portal.kernel.exception.SystemException,
973                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
974    
975            /**
976            * Removes all the d d m structures where classNameId = &#63; from the database.
977            *
978            * @param classNameId the class name ID
979            * @throws SystemException if a system exception occurred
980            */
981            public void removeByClassNameId(long classNameId)
982                    throws com.liferay.portal.kernel.exception.SystemException;
983    
984            /**
985            * Returns the number of d d m structures where classNameId = &#63;.
986            *
987            * @param classNameId the class name ID
988            * @return the number of matching d d m structures
989            * @throws SystemException if a system exception occurred
990            */
991            public int countByClassNameId(long classNameId)
992                    throws com.liferay.portal.kernel.exception.SystemException;
993    
994            /**
995            * Returns all the d d m structures where structureKey = &#63;.
996            *
997            * @param structureKey the structure key
998            * @return the matching d d m structures
999            * @throws SystemException if a system exception occurred
1000            */
1001            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByStructureKey(
1002                    java.lang.String structureKey)
1003                    throws com.liferay.portal.kernel.exception.SystemException;
1004    
1005            /**
1006            * Returns a range of all the d d m structures where structureKey = &#63;.
1007            *
1008            * <p>
1009            * 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.DDMStructureModelImpl}. 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.
1010            * </p>
1011            *
1012            * @param structureKey the structure key
1013            * @param start the lower bound of the range of d d m structures
1014            * @param end the upper bound of the range of d d m structures (not inclusive)
1015            * @return the range of matching d d m structures
1016            * @throws SystemException if a system exception occurred
1017            */
1018            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByStructureKey(
1019                    java.lang.String structureKey, int start, int end)
1020                    throws com.liferay.portal.kernel.exception.SystemException;
1021    
1022            /**
1023            * Returns an ordered range of all the d d m structures where structureKey = &#63;.
1024            *
1025            * <p>
1026            * 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.DDMStructureModelImpl}. 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.
1027            * </p>
1028            *
1029            * @param structureKey the structure key
1030            * @param start the lower bound of the range of d d m structures
1031            * @param end the upper bound of the range of d d m structures (not inclusive)
1032            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1033            * @return the ordered range of matching d d m structures
1034            * @throws SystemException if a system exception occurred
1035            */
1036            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByStructureKey(
1037                    java.lang.String structureKey, int start, int end,
1038                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1039                    throws com.liferay.portal.kernel.exception.SystemException;
1040    
1041            /**
1042            * Returns the first d d m structure in the ordered set where structureKey = &#63;.
1043            *
1044            * @param structureKey the structure key
1045            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1046            * @return the first matching d d m structure
1047            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1048            * @throws SystemException if a system exception occurred
1049            */
1050            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByStructureKey_First(
1051                    java.lang.String structureKey,
1052                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1053                    throws com.liferay.portal.kernel.exception.SystemException,
1054                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1055    
1056            /**
1057            * Returns the first d d m structure in the ordered set where structureKey = &#63;.
1058            *
1059            * @param structureKey the structure key
1060            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1061            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1062            * @throws SystemException if a system exception occurred
1063            */
1064            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByStructureKey_First(
1065                    java.lang.String structureKey,
1066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1067                    throws com.liferay.portal.kernel.exception.SystemException;
1068    
1069            /**
1070            * Returns the last d d m structure in the ordered set where structureKey = &#63;.
1071            *
1072            * @param structureKey the structure key
1073            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1074            * @return the last matching d d m structure
1075            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1076            * @throws SystemException if a system exception occurred
1077            */
1078            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByStructureKey_Last(
1079                    java.lang.String structureKey,
1080                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1081                    throws com.liferay.portal.kernel.exception.SystemException,
1082                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1083    
1084            /**
1085            * Returns the last d d m structure in the ordered set where structureKey = &#63;.
1086            *
1087            * @param structureKey the structure key
1088            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1089            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1090            * @throws SystemException if a system exception occurred
1091            */
1092            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByStructureKey_Last(
1093                    java.lang.String structureKey,
1094                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1095                    throws com.liferay.portal.kernel.exception.SystemException;
1096    
1097            /**
1098            * Returns the d d m structures before and after the current d d m structure in the ordered set where structureKey = &#63;.
1099            *
1100            * @param structureId the primary key of the current d d m structure
1101            * @param structureKey the structure key
1102            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1103            * @return the previous, current, and next d d m structure
1104            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1105            * @throws SystemException if a system exception occurred
1106            */
1107            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByStructureKey_PrevAndNext(
1108                    long structureId, java.lang.String structureKey,
1109                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1110                    throws com.liferay.portal.kernel.exception.SystemException,
1111                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1112    
1113            /**
1114            * Removes all the d d m structures where structureKey = &#63; from the database.
1115            *
1116            * @param structureKey the structure key
1117            * @throws SystemException if a system exception occurred
1118            */
1119            public void removeByStructureKey(java.lang.String structureKey)
1120                    throws com.liferay.portal.kernel.exception.SystemException;
1121    
1122            /**
1123            * Returns the number of d d m structures where structureKey = &#63;.
1124            *
1125            * @param structureKey the structure key
1126            * @return the number of matching d d m structures
1127            * @throws SystemException if a system exception occurred
1128            */
1129            public int countByStructureKey(java.lang.String structureKey)
1130                    throws com.liferay.portal.kernel.exception.SystemException;
1131    
1132            /**
1133            * Returns all the d d m structures where groupId = &#63; and parentStructureId = &#63;.
1134            *
1135            * @param groupId the group ID
1136            * @param parentStructureId the parent structure ID
1137            * @return the matching d d m structures
1138            * @throws SystemException if a system exception occurred
1139            */
1140            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_P(
1141                    long groupId, long parentStructureId)
1142                    throws com.liferay.portal.kernel.exception.SystemException;
1143    
1144            /**
1145            * Returns a range of all the d d m structures where groupId = &#63; and parentStructureId = &#63;.
1146            *
1147            * <p>
1148            * 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.DDMStructureModelImpl}. 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.
1149            * </p>
1150            *
1151            * @param groupId the group ID
1152            * @param parentStructureId the parent structure ID
1153            * @param start the lower bound of the range of d d m structures
1154            * @param end the upper bound of the range of d d m structures (not inclusive)
1155            * @return the range of matching d d m structures
1156            * @throws SystemException if a system exception occurred
1157            */
1158            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_P(
1159                    long groupId, long parentStructureId, int start, int end)
1160                    throws com.liferay.portal.kernel.exception.SystemException;
1161    
1162            /**
1163            * Returns an ordered range of all the d d m structures where groupId = &#63; and parentStructureId = &#63;.
1164            *
1165            * <p>
1166            * 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.DDMStructureModelImpl}. 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.
1167            * </p>
1168            *
1169            * @param groupId the group ID
1170            * @param parentStructureId the parent structure ID
1171            * @param start the lower bound of the range of d d m structures
1172            * @param end the upper bound of the range of d d m structures (not inclusive)
1173            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1174            * @return the ordered range of matching d d m structures
1175            * @throws SystemException if a system exception occurred
1176            */
1177            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_P(
1178                    long groupId, long parentStructureId, int start, int end,
1179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1180                    throws com.liferay.portal.kernel.exception.SystemException;
1181    
1182            /**
1183            * Returns the first d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1184            *
1185            * @param groupId the group ID
1186            * @param parentStructureId the parent structure ID
1187            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1188            * @return the first matching d d m structure
1189            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1190            * @throws SystemException if a system exception occurred
1191            */
1192            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_P_First(
1193                    long groupId, long parentStructureId,
1194                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1195                    throws com.liferay.portal.kernel.exception.SystemException,
1196                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1197    
1198            /**
1199            * Returns the first d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1200            *
1201            * @param groupId the group ID
1202            * @param parentStructureId the parent structure ID
1203            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1204            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1205            * @throws SystemException if a system exception occurred
1206            */
1207            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_P_First(
1208                    long groupId, long parentStructureId,
1209                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1210                    throws com.liferay.portal.kernel.exception.SystemException;
1211    
1212            /**
1213            * Returns the last d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1214            *
1215            * @param groupId the group ID
1216            * @param parentStructureId the parent structure ID
1217            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1218            * @return the last matching d d m structure
1219            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1220            * @throws SystemException if a system exception occurred
1221            */
1222            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_P_Last(
1223                    long groupId, long parentStructureId,
1224                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1225                    throws com.liferay.portal.kernel.exception.SystemException,
1226                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1227    
1228            /**
1229            * Returns the last d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1230            *
1231            * @param groupId the group ID
1232            * @param parentStructureId the parent structure ID
1233            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1234            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1235            * @throws SystemException if a system exception occurred
1236            */
1237            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_P_Last(
1238                    long groupId, long parentStructureId,
1239                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1240                    throws com.liferay.portal.kernel.exception.SystemException;
1241    
1242            /**
1243            * Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1244            *
1245            * @param structureId the primary key of the current d d m structure
1246            * @param groupId the group ID
1247            * @param parentStructureId the parent structure ID
1248            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1249            * @return the previous, current, and next d d m structure
1250            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1251            * @throws SystemException if a system exception occurred
1252            */
1253            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_P_PrevAndNext(
1254                    long structureId, long groupId, long parentStructureId,
1255                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1256                    throws com.liferay.portal.kernel.exception.SystemException,
1257                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1258    
1259            /**
1260            * Returns all the d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1261            *
1262            * @param groupId the group ID
1263            * @param parentStructureId the parent structure ID
1264            * @return the matching d d m structures that the user has permission to view
1265            * @throws SystemException if a system exception occurred
1266            */
1267            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_P(
1268                    long groupId, long parentStructureId)
1269                    throws com.liferay.portal.kernel.exception.SystemException;
1270    
1271            /**
1272            * Returns a range of all the d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1273            *
1274            * <p>
1275            * 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.DDMStructureModelImpl}. 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.
1276            * </p>
1277            *
1278            * @param groupId the group ID
1279            * @param parentStructureId the parent structure ID
1280            * @param start the lower bound of the range of d d m structures
1281            * @param end the upper bound of the range of d d m structures (not inclusive)
1282            * @return the range of matching d d m structures that the user has permission to view
1283            * @throws SystemException if a system exception occurred
1284            */
1285            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_P(
1286                    long groupId, long parentStructureId, int start, int end)
1287                    throws com.liferay.portal.kernel.exception.SystemException;
1288    
1289            /**
1290            * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = &#63; and parentStructureId = &#63;.
1291            *
1292            * <p>
1293            * 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.DDMStructureModelImpl}. 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.
1294            * </p>
1295            *
1296            * @param groupId the group ID
1297            * @param parentStructureId the parent structure ID
1298            * @param start the lower bound of the range of d d m structures
1299            * @param end the upper bound of the range of d d m structures (not inclusive)
1300            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1301            * @return the ordered range of matching d d m structures that the user has permission to view
1302            * @throws SystemException if a system exception occurred
1303            */
1304            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_P(
1305                    long groupId, long parentStructureId, int start, int end,
1306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1307                    throws com.liferay.portal.kernel.exception.SystemException;
1308    
1309            /**
1310            * Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1311            *
1312            * @param structureId the primary key of the current d d m structure
1313            * @param groupId the group ID
1314            * @param parentStructureId the parent structure ID
1315            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1316            * @return the previous, current, and next d d m structure
1317            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1318            * @throws SystemException if a system exception occurred
1319            */
1320            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_P_PrevAndNext(
1321                    long structureId, long groupId, long parentStructureId,
1322                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1323                    throws com.liferay.portal.kernel.exception.SystemException,
1324                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1325    
1326            /**
1327            * Removes all the d d m structures where groupId = &#63; and parentStructureId = &#63; from the database.
1328            *
1329            * @param groupId the group ID
1330            * @param parentStructureId the parent structure ID
1331            * @throws SystemException if a system exception occurred
1332            */
1333            public void removeByG_P(long groupId, long parentStructureId)
1334                    throws com.liferay.portal.kernel.exception.SystemException;
1335    
1336            /**
1337            * Returns the number of d d m structures where groupId = &#63; and parentStructureId = &#63;.
1338            *
1339            * @param groupId the group ID
1340            * @param parentStructureId the parent structure ID
1341            * @return the number of matching d d m structures
1342            * @throws SystemException if a system exception occurred
1343            */
1344            public int countByG_P(long groupId, long parentStructureId)
1345                    throws com.liferay.portal.kernel.exception.SystemException;
1346    
1347            /**
1348            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1349            *
1350            * @param groupId the group ID
1351            * @param parentStructureId the parent structure ID
1352            * @return the number of matching d d m structures that the user has permission to view
1353            * @throws SystemException if a system exception occurred
1354            */
1355            public int filterCountByG_P(long groupId, long parentStructureId)
1356                    throws com.liferay.portal.kernel.exception.SystemException;
1357    
1358            /**
1359            * Returns all the d d m structures where groupId = &#63; and classNameId = &#63;.
1360            *
1361            * @param groupId the group ID
1362            * @param classNameId the class name ID
1363            * @return the matching d d m structures
1364            * @throws SystemException if a system exception occurred
1365            */
1366            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1367                    long groupId, long classNameId)
1368                    throws com.liferay.portal.kernel.exception.SystemException;
1369    
1370            /**
1371            * Returns a range of all the d d m structures where groupId = &#63; and classNameId = &#63;.
1372            *
1373            * <p>
1374            * 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.DDMStructureModelImpl}. 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.
1375            * </p>
1376            *
1377            * @param groupId the group ID
1378            * @param classNameId the class name ID
1379            * @param start the lower bound of the range of d d m structures
1380            * @param end the upper bound of the range of d d m structures (not inclusive)
1381            * @return the range of matching d d m structures
1382            * @throws SystemException if a system exception occurred
1383            */
1384            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1385                    long groupId, long classNameId, int start, int end)
1386                    throws com.liferay.portal.kernel.exception.SystemException;
1387    
1388            /**
1389            * Returns an ordered range of all the d d m structures where groupId = &#63; and classNameId = &#63;.
1390            *
1391            * <p>
1392            * 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.DDMStructureModelImpl}. 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.
1393            * </p>
1394            *
1395            * @param groupId the group ID
1396            * @param classNameId the class name ID
1397            * @param start the lower bound of the range of d d m structures
1398            * @param end the upper bound of the range of d d m structures (not inclusive)
1399            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1400            * @return the ordered range of matching d d m structures
1401            * @throws SystemException if a system exception occurred
1402            */
1403            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1404                    long groupId, long classNameId, int start, int end,
1405                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1406                    throws com.liferay.portal.kernel.exception.SystemException;
1407    
1408            /**
1409            * Returns the first d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1410            *
1411            * @param groupId the group ID
1412            * @param classNameId the class name ID
1413            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1414            * @return the first matching d d m structure
1415            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1416            * @throws SystemException if a system exception occurred
1417            */
1418            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_C_First(
1419                    long groupId, long classNameId,
1420                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1421                    throws com.liferay.portal.kernel.exception.SystemException,
1422                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1423    
1424            /**
1425            * Returns the first d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1426            *
1427            * @param groupId the group ID
1428            * @param classNameId the class name ID
1429            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1430            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1431            * @throws SystemException if a system exception occurred
1432            */
1433            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_First(
1434                    long groupId, long classNameId,
1435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1436                    throws com.liferay.portal.kernel.exception.SystemException;
1437    
1438            /**
1439            * Returns the last d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1440            *
1441            * @param groupId the group ID
1442            * @param classNameId the class name ID
1443            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1444            * @return the last matching d d m structure
1445            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1446            * @throws SystemException if a system exception occurred
1447            */
1448            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_C_Last(
1449                    long groupId, long classNameId,
1450                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1451                    throws com.liferay.portal.kernel.exception.SystemException,
1452                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1453    
1454            /**
1455            * Returns the last d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1456            *
1457            * @param groupId the group ID
1458            * @param classNameId the class name ID
1459            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1460            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1461            * @throws SystemException if a system exception occurred
1462            */
1463            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_Last(
1464                    long groupId, long classNameId,
1465                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1466                    throws com.liferay.portal.kernel.exception.SystemException;
1467    
1468            /**
1469            * Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1470            *
1471            * @param structureId the primary key of the current d d m structure
1472            * @param groupId the group ID
1473            * @param classNameId the class name ID
1474            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1475            * @return the previous, current, and next d d m structure
1476            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1477            * @throws SystemException if a system exception occurred
1478            */
1479            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_C_PrevAndNext(
1480                    long structureId, long groupId, long classNameId,
1481                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1482                    throws com.liferay.portal.kernel.exception.SystemException,
1483                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1484    
1485            /**
1486            * Returns all the d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1487            *
1488            * @param groupId the group ID
1489            * @param classNameId the class name ID
1490            * @return the matching d d m structures that the user has permission to view
1491            * @throws SystemException if a system exception occurred
1492            */
1493            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1494                    long groupId, long classNameId)
1495                    throws com.liferay.portal.kernel.exception.SystemException;
1496    
1497            /**
1498            * Returns a range of all the d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1499            *
1500            * <p>
1501            * 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.DDMStructureModelImpl}. 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.
1502            * </p>
1503            *
1504            * @param groupId the group ID
1505            * @param classNameId the class name ID
1506            * @param start the lower bound of the range of d d m structures
1507            * @param end the upper bound of the range of d d m structures (not inclusive)
1508            * @return the range of matching d d m structures that the user has permission to view
1509            * @throws SystemException if a system exception occurred
1510            */
1511            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1512                    long groupId, long classNameId, int start, int end)
1513                    throws com.liferay.portal.kernel.exception.SystemException;
1514    
1515            /**
1516            * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = &#63; and classNameId = &#63;.
1517            *
1518            * <p>
1519            * 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.DDMStructureModelImpl}. 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.
1520            * </p>
1521            *
1522            * @param groupId the group ID
1523            * @param classNameId the class name ID
1524            * @param start the lower bound of the range of d d m structures
1525            * @param end the upper bound of the range of d d m structures (not inclusive)
1526            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1527            * @return the ordered range of matching d d m structures that the user has permission to view
1528            * @throws SystemException if a system exception occurred
1529            */
1530            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1531                    long groupId, long classNameId, int start, int end,
1532                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1533                    throws com.liferay.portal.kernel.exception.SystemException;
1534    
1535            /**
1536            * Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1537            *
1538            * @param structureId the primary key of the current d d m structure
1539            * @param groupId the group ID
1540            * @param classNameId the class name ID
1541            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1542            * @return the previous, current, and next d d m structure
1543            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1544            * @throws SystemException if a system exception occurred
1545            */
1546            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_C_PrevAndNext(
1547                    long structureId, long groupId, long classNameId,
1548                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1549                    throws com.liferay.portal.kernel.exception.SystemException,
1550                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1551    
1552            /**
1553            * Returns all the d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1554            *
1555            * @param groupIds the group IDs
1556            * @param classNameId the class name ID
1557            * @return the matching d d m structures that the user has permission to view
1558            * @throws SystemException if a system exception occurred
1559            */
1560            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1561                    long[] groupIds, long classNameId)
1562                    throws com.liferay.portal.kernel.exception.SystemException;
1563    
1564            /**
1565            * Returns a range of all the d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1566            *
1567            * <p>
1568            * 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.DDMStructureModelImpl}. 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.
1569            * </p>
1570            *
1571            * @param groupIds the group IDs
1572            * @param classNameId the class name ID
1573            * @param start the lower bound of the range of d d m structures
1574            * @param end the upper bound of the range of d d m structures (not inclusive)
1575            * @return the range of matching d d m structures that the user has permission to view
1576            * @throws SystemException if a system exception occurred
1577            */
1578            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1579                    long[] groupIds, long classNameId, int start, int end)
1580                    throws com.liferay.portal.kernel.exception.SystemException;
1581    
1582            /**
1583            * Returns an ordered range of all the d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1584            *
1585            * <p>
1586            * 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.DDMStructureModelImpl}. 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.
1587            * </p>
1588            *
1589            * @param groupIds the group IDs
1590            * @param classNameId the class name ID
1591            * @param start the lower bound of the range of d d m structures
1592            * @param end the upper bound of the range of d d m structures (not inclusive)
1593            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1594            * @return the ordered range of matching d d m structures that the user has permission to view
1595            * @throws SystemException if a system exception occurred
1596            */
1597            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1598                    long[] groupIds, long classNameId, int start, int end,
1599                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1600                    throws com.liferay.portal.kernel.exception.SystemException;
1601    
1602            /**
1603            * Returns all the d d m structures where groupId = any &#63; and classNameId = &#63;.
1604            *
1605            * <p>
1606            * 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.DDMStructureModelImpl}. 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.
1607            * </p>
1608            *
1609            * @param groupIds the group IDs
1610            * @param classNameId the class name ID
1611            * @return the matching d d m structures
1612            * @throws SystemException if a system exception occurred
1613            */
1614            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1615                    long[] groupIds, long classNameId)
1616                    throws com.liferay.portal.kernel.exception.SystemException;
1617    
1618            /**
1619            * Returns a range of all the d d m structures where groupId = any &#63; and classNameId = &#63;.
1620            *
1621            * <p>
1622            * 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.DDMStructureModelImpl}. 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.
1623            * </p>
1624            *
1625            * @param groupIds the group IDs
1626            * @param classNameId the class name ID
1627            * @param start the lower bound of the range of d d m structures
1628            * @param end the upper bound of the range of d d m structures (not inclusive)
1629            * @return the range of matching d d m structures
1630            * @throws SystemException if a system exception occurred
1631            */
1632            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1633                    long[] groupIds, long classNameId, int start, int end)
1634                    throws com.liferay.portal.kernel.exception.SystemException;
1635    
1636            /**
1637            * Returns an ordered range of all the d d m structures where groupId = any &#63; and classNameId = &#63;.
1638            *
1639            * <p>
1640            * 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.DDMStructureModelImpl}. 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.
1641            * </p>
1642            *
1643            * @param groupIds the group IDs
1644            * @param classNameId the class name ID
1645            * @param start the lower bound of the range of d d m structures
1646            * @param end the upper bound of the range of d d m structures (not inclusive)
1647            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1648            * @return the ordered range of matching d d m structures
1649            * @throws SystemException if a system exception occurred
1650            */
1651            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1652                    long[] groupIds, long classNameId, int start, int end,
1653                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1654                    throws com.liferay.portal.kernel.exception.SystemException;
1655    
1656            /**
1657            * Removes all the d d m structures where groupId = &#63; and classNameId = &#63; from the database.
1658            *
1659            * @param groupId the group ID
1660            * @param classNameId the class name ID
1661            * @throws SystemException if a system exception occurred
1662            */
1663            public void removeByG_C(long groupId, long classNameId)
1664                    throws com.liferay.portal.kernel.exception.SystemException;
1665    
1666            /**
1667            * Returns the number of d d m structures where groupId = &#63; and classNameId = &#63;.
1668            *
1669            * @param groupId the group ID
1670            * @param classNameId the class name ID
1671            * @return the number of matching d d m structures
1672            * @throws SystemException if a system exception occurred
1673            */
1674            public int countByG_C(long groupId, long classNameId)
1675                    throws com.liferay.portal.kernel.exception.SystemException;
1676    
1677            /**
1678            * Returns the number of d d m structures where groupId = any &#63; and classNameId = &#63;.
1679            *
1680            * @param groupIds the group IDs
1681            * @param classNameId the class name ID
1682            * @return the number of matching d d m structures
1683            * @throws SystemException if a system exception occurred
1684            */
1685            public int countByG_C(long[] groupIds, long classNameId)
1686                    throws com.liferay.portal.kernel.exception.SystemException;
1687    
1688            /**
1689            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1690            *
1691            * @param groupId the group ID
1692            * @param classNameId the class name ID
1693            * @return the number of matching d d m structures that the user has permission to view
1694            * @throws SystemException if a system exception occurred
1695            */
1696            public int filterCountByG_C(long groupId, long classNameId)
1697                    throws com.liferay.portal.kernel.exception.SystemException;
1698    
1699            /**
1700            * Returns the number of d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1701            *
1702            * @param groupIds the group IDs
1703            * @param classNameId the class name ID
1704            * @return the number of matching d d m structures that the user has permission to view
1705            * @throws SystemException if a system exception occurred
1706            */
1707            public int filterCountByG_C(long[] groupIds, long classNameId)
1708                    throws com.liferay.portal.kernel.exception.SystemException;
1709    
1710            /**
1711            * Returns all the d d m structures where companyId = &#63; and classNameId = &#63;.
1712            *
1713            * @param companyId the company ID
1714            * @param classNameId the class name ID
1715            * @return the matching d d m structures
1716            * @throws SystemException if a system exception occurred
1717            */
1718            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1719                    long companyId, long classNameId)
1720                    throws com.liferay.portal.kernel.exception.SystemException;
1721    
1722            /**
1723            * Returns a range of all the d d m structures where companyId = &#63; and classNameId = &#63;.
1724            *
1725            * <p>
1726            * 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.DDMStructureModelImpl}. 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.
1727            * </p>
1728            *
1729            * @param companyId the company ID
1730            * @param classNameId the class name ID
1731            * @param start the lower bound of the range of d d m structures
1732            * @param end the upper bound of the range of d d m structures (not inclusive)
1733            * @return the range of matching d d m structures
1734            * @throws SystemException if a system exception occurred
1735            */
1736            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1737                    long companyId, long classNameId, int start, int end)
1738                    throws com.liferay.portal.kernel.exception.SystemException;
1739    
1740            /**
1741            * Returns an ordered range of all the d d m structures where companyId = &#63; and classNameId = &#63;.
1742            *
1743            * <p>
1744            * 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.DDMStructureModelImpl}. 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.
1745            * </p>
1746            *
1747            * @param companyId the company ID
1748            * @param classNameId the class name ID
1749            * @param start the lower bound of the range of d d m structures
1750            * @param end the upper bound of the range of d d m structures (not inclusive)
1751            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1752            * @return the ordered range of matching d d m structures
1753            * @throws SystemException if a system exception occurred
1754            */
1755            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1756                    long companyId, long classNameId, int start, int end,
1757                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1758                    throws com.liferay.portal.kernel.exception.SystemException;
1759    
1760            /**
1761            * Returns the first d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1762            *
1763            * @param companyId the company ID
1764            * @param classNameId the class name ID
1765            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1766            * @return the first matching d d m structure
1767            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1768            * @throws SystemException if a system exception occurred
1769            */
1770            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_First(
1771                    long companyId, long classNameId,
1772                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1773                    throws com.liferay.portal.kernel.exception.SystemException,
1774                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1775    
1776            /**
1777            * Returns the first d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1778            *
1779            * @param companyId the company ID
1780            * @param classNameId the class name ID
1781            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1782            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1783            * @throws SystemException if a system exception occurred
1784            */
1785            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_First(
1786                    long companyId, long classNameId,
1787                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1788                    throws com.liferay.portal.kernel.exception.SystemException;
1789    
1790            /**
1791            * Returns the last d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1792            *
1793            * @param companyId the company ID
1794            * @param classNameId the class name ID
1795            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1796            * @return the last matching d d m structure
1797            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1798            * @throws SystemException if a system exception occurred
1799            */
1800            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_Last(
1801                    long companyId, long classNameId,
1802                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1803                    throws com.liferay.portal.kernel.exception.SystemException,
1804                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1805    
1806            /**
1807            * Returns the last d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1808            *
1809            * @param companyId the company ID
1810            * @param classNameId the class name ID
1811            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1812            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1813            * @throws SystemException if a system exception occurred
1814            */
1815            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_Last(
1816                    long companyId, long classNameId,
1817                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1818                    throws com.liferay.portal.kernel.exception.SystemException;
1819    
1820            /**
1821            * Returns the d d m structures before and after the current d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1822            *
1823            * @param structureId the primary key of the current d d m structure
1824            * @param companyId the company ID
1825            * @param classNameId the class name ID
1826            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1827            * @return the previous, current, and next d d m structure
1828            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1829            * @throws SystemException if a system exception occurred
1830            */
1831            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByC_C_PrevAndNext(
1832                    long structureId, long companyId, long classNameId,
1833                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1834                    throws com.liferay.portal.kernel.exception.SystemException,
1835                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1836    
1837            /**
1838            * Removes all the d d m structures where companyId = &#63; and classNameId = &#63; from the database.
1839            *
1840            * @param companyId the company ID
1841            * @param classNameId the class name ID
1842            * @throws SystemException if a system exception occurred
1843            */
1844            public void removeByC_C(long companyId, long classNameId)
1845                    throws com.liferay.portal.kernel.exception.SystemException;
1846    
1847            /**
1848            * Returns the number of d d m structures where companyId = &#63; and classNameId = &#63;.
1849            *
1850            * @param companyId the company ID
1851            * @param classNameId the class name ID
1852            * @return the number of matching d d m structures
1853            * @throws SystemException if a system exception occurred
1854            */
1855            public int countByC_C(long companyId, long classNameId)
1856                    throws com.liferay.portal.kernel.exception.SystemException;
1857    
1858            /**
1859            * Returns the d d m structure where groupId = &#63; and classNameId = &#63; and structureKey = &#63; or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found.
1860            *
1861            * @param groupId the group ID
1862            * @param classNameId the class name ID
1863            * @param structureKey the structure key
1864            * @return the matching d d m structure
1865            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1866            * @throws SystemException if a system exception occurred
1867            */
1868            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_C_S(
1869                    long groupId, long classNameId, java.lang.String structureKey)
1870                    throws com.liferay.portal.kernel.exception.SystemException,
1871                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1872    
1873            /**
1874            * Returns the d d m structure where groupId = &#63; and classNameId = &#63; and structureKey = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1875            *
1876            * @param groupId the group ID
1877            * @param classNameId the class name ID
1878            * @param structureKey the structure key
1879            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1880            * @throws SystemException if a system exception occurred
1881            */
1882            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_S(
1883                    long groupId, long classNameId, java.lang.String structureKey)
1884                    throws com.liferay.portal.kernel.exception.SystemException;
1885    
1886            /**
1887            * Returns the d d m structure where groupId = &#63; and classNameId = &#63; and structureKey = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1888            *
1889            * @param groupId the group ID
1890            * @param classNameId the class name ID
1891            * @param structureKey the structure key
1892            * @param retrieveFromCache whether to use the finder cache
1893            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1894            * @throws SystemException if a system exception occurred
1895            */
1896            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_S(
1897                    long groupId, long classNameId, java.lang.String structureKey,
1898                    boolean retrieveFromCache)
1899                    throws com.liferay.portal.kernel.exception.SystemException;
1900    
1901            /**
1902            * Removes the d d m structure where groupId = &#63; and classNameId = &#63; and structureKey = &#63; from the database.
1903            *
1904            * @param groupId the group ID
1905            * @param classNameId the class name ID
1906            * @param structureKey the structure key
1907            * @return the d d m structure that was removed
1908            * @throws SystemException if a system exception occurred
1909            */
1910            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure removeByG_C_S(
1911                    long groupId, long classNameId, java.lang.String structureKey)
1912                    throws com.liferay.portal.kernel.exception.SystemException,
1913                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1914    
1915            /**
1916            * Returns the number of d d m structures where groupId = &#63; and classNameId = &#63; and structureKey = &#63;.
1917            *
1918            * @param groupId the group ID
1919            * @param classNameId the class name ID
1920            * @param structureKey the structure key
1921            * @return the number of matching d d m structures
1922            * @throws SystemException if a system exception occurred
1923            */
1924            public int countByG_C_S(long groupId, long classNameId,
1925                    java.lang.String structureKey)
1926                    throws com.liferay.portal.kernel.exception.SystemException;
1927    
1928            /**
1929            * Returns all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1930            *
1931            * @param groupId the group ID
1932            * @param name the name
1933            * @param description the description
1934            * @return the matching d d m structures
1935            * @throws SystemException if a system exception occurred
1936            */
1937            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1938                    long groupId, java.lang.String name, java.lang.String description)
1939                    throws com.liferay.portal.kernel.exception.SystemException;
1940    
1941            /**
1942            * Returns a range of all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1943            *
1944            * <p>
1945            * 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.DDMStructureModelImpl}. 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.
1946            * </p>
1947            *
1948            * @param groupId the group ID
1949            * @param name the name
1950            * @param description the description
1951            * @param start the lower bound of the range of d d m structures
1952            * @param end the upper bound of the range of d d m structures (not inclusive)
1953            * @return the range of matching d d m structures
1954            * @throws SystemException if a system exception occurred
1955            */
1956            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1957                    long groupId, java.lang.String name, java.lang.String description,
1958                    int start, int end)
1959                    throws com.liferay.portal.kernel.exception.SystemException;
1960    
1961            /**
1962            * Returns an ordered range of all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1963            *
1964            * <p>
1965            * 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.DDMStructureModelImpl}. 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.
1966            * </p>
1967            *
1968            * @param groupId the group ID
1969            * @param name the name
1970            * @param description the description
1971            * @param start the lower bound of the range of d d m structures
1972            * @param end the upper bound of the range of d d m structures (not inclusive)
1973            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1974            * @return the ordered range of matching d d m structures
1975            * @throws SystemException if a system exception occurred
1976            */
1977            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1978                    long groupId, java.lang.String name, java.lang.String description,
1979                    int start, int end,
1980                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1981                    throws com.liferay.portal.kernel.exception.SystemException;
1982    
1983            /**
1984            * Returns the first d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1985            *
1986            * @param groupId the group ID
1987            * @param name the name
1988            * @param description the description
1989            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1990            * @return the first matching d d m structure
1991            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1992            * @throws SystemException if a system exception occurred
1993            */
1994            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_First(
1995                    long groupId, java.lang.String name, java.lang.String description,
1996                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1997                    throws com.liferay.portal.kernel.exception.SystemException,
1998                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1999    
2000            /**
2001            * Returns the first d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
2002            *
2003            * @param groupId the group ID
2004            * @param name the name
2005            * @param description the description
2006            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2007            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
2008            * @throws SystemException if a system exception occurred
2009            */
2010            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_First(
2011                    long groupId, java.lang.String name, java.lang.String description,
2012                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2013                    throws com.liferay.portal.kernel.exception.SystemException;
2014    
2015            /**
2016            * Returns the last d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
2017            *
2018            * @param groupId the group ID
2019            * @param name the name
2020            * @param description the description
2021            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2022            * @return the last matching d d m structure
2023            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
2024            * @throws SystemException if a system exception occurred
2025            */
2026            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_Last(
2027                    long groupId, java.lang.String name, java.lang.String description,
2028                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2029                    throws com.liferay.portal.kernel.exception.SystemException,
2030                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2031    
2032            /**
2033            * Returns the last d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
2034            *
2035            * @param groupId the group ID
2036            * @param name the name
2037            * @param description the description
2038            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2039            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
2040            * @throws SystemException if a system exception occurred
2041            */
2042            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_Last(
2043                    long groupId, java.lang.String name, java.lang.String description,
2044                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2045                    throws com.liferay.portal.kernel.exception.SystemException;
2046    
2047            /**
2048            * Returns the d d m structures before and after the current d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
2049            *
2050            * @param structureId the primary key of the current d d m structure
2051            * @param groupId the group ID
2052            * @param name the name
2053            * @param description the description
2054            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2055            * @return the previous, current, and next d d m structure
2056            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
2057            * @throws SystemException if a system exception occurred
2058            */
2059            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_N_D_PrevAndNext(
2060                    long structureId, long groupId, java.lang.String name,
2061                    java.lang.String description,
2062                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2063                    throws com.liferay.portal.kernel.exception.SystemException,
2064                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2065    
2066            /**
2067            * Returns all the d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
2068            *
2069            * @param groupId the group ID
2070            * @param name the name
2071            * @param description the description
2072            * @return the matching d d m structures that the user has permission to view
2073            * @throws SystemException if a system exception occurred
2074            */
2075            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D(
2076                    long groupId, java.lang.String name, java.lang.String description)
2077                    throws com.liferay.portal.kernel.exception.SystemException;
2078    
2079            /**
2080            * Returns a range of all the d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
2081            *
2082            * <p>
2083            * 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.DDMStructureModelImpl}. 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.
2084            * </p>
2085            *
2086            * @param groupId the group ID
2087            * @param name the name
2088            * @param description the description
2089            * @param start the lower bound of the range of d d m structures
2090            * @param end the upper bound of the range of d d m structures (not inclusive)
2091            * @return the range of matching d d m structures that the user has permission to view
2092            * @throws SystemException if a system exception occurred
2093            */
2094            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D(
2095                    long groupId, java.lang.String name, java.lang.String description,
2096                    int start, int end)
2097                    throws com.liferay.portal.kernel.exception.SystemException;
2098    
2099            /**
2100            * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = &#63; and name = &#63; and description = &#63;.
2101            *
2102            * <p>
2103            * 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.DDMStructureModelImpl}. 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.
2104            * </p>
2105            *
2106            * @param groupId the group ID
2107            * @param name the name
2108            * @param description the description
2109            * @param start the lower bound of the range of d d m structures
2110            * @param end the upper bound of the range of d d m structures (not inclusive)
2111            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2112            * @return the ordered range of matching d d m structures that the user has permission to view
2113            * @throws SystemException if a system exception occurred
2114            */
2115            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D(
2116                    long groupId, java.lang.String name, java.lang.String description,
2117                    int start, int end,
2118                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2119                    throws com.liferay.portal.kernel.exception.SystemException;
2120    
2121            /**
2122            * Returns the d d m structures before and after the current d d m structure in the ordered set of d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
2123            *
2124            * @param structureId the primary key of the current d d m structure
2125            * @param groupId the group ID
2126            * @param name the name
2127            * @param description the description
2128            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
2129            * @return the previous, current, and next d d m structure
2130            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
2131            * @throws SystemException if a system exception occurred
2132            */
2133            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_N_D_PrevAndNext(
2134                    long structureId, long groupId, java.lang.String name,
2135                    java.lang.String description,
2136                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2137                    throws com.liferay.portal.kernel.exception.SystemException,
2138                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2139    
2140            /**
2141            * Removes all the d d m structures where groupId = &#63; and name = &#63; and description = &#63; from the database.
2142            *
2143            * @param groupId the group ID
2144            * @param name the name
2145            * @param description the description
2146            * @throws SystemException if a system exception occurred
2147            */
2148            public void removeByG_N_D(long groupId, java.lang.String name,
2149                    java.lang.String description)
2150                    throws com.liferay.portal.kernel.exception.SystemException;
2151    
2152            /**
2153            * Returns the number of d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
2154            *
2155            * @param groupId the group ID
2156            * @param name the name
2157            * @param description the description
2158            * @return the number of matching d d m structures
2159            * @throws SystemException if a system exception occurred
2160            */
2161            public int countByG_N_D(long groupId, java.lang.String name,
2162                    java.lang.String description)
2163                    throws com.liferay.portal.kernel.exception.SystemException;
2164    
2165            /**
2166            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
2167            *
2168            * @param groupId the group ID
2169            * @param name the name
2170            * @param description the description
2171            * @return the number of matching d d m structures that the user has permission to view
2172            * @throws SystemException if a system exception occurred
2173            */
2174            public int filterCountByG_N_D(long groupId, java.lang.String name,
2175                    java.lang.String description)
2176                    throws com.liferay.portal.kernel.exception.SystemException;
2177    
2178            /**
2179            * Caches the d d m structure in the entity cache if it is enabled.
2180            *
2181            * @param ddmStructure the d d m structure
2182            */
2183            public void cacheResult(
2184                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure);
2185    
2186            /**
2187            * Caches the d d m structures in the entity cache if it is enabled.
2188            *
2189            * @param ddmStructures the d d m structures
2190            */
2191            public void cacheResult(
2192                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures);
2193    
2194            /**
2195            * Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.
2196            *
2197            * @param structureId the primary key for the new d d m structure
2198            * @return the new d d m structure
2199            */
2200            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure create(
2201                    long structureId);
2202    
2203            /**
2204            * Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.
2205            *
2206            * @param structureId the primary key of the d d m structure
2207            * @return the d d m structure that was removed
2208            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
2209            * @throws SystemException if a system exception occurred
2210            */
2211            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure remove(
2212                    long structureId)
2213                    throws com.liferay.portal.kernel.exception.SystemException,
2214                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2215    
2216            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateImpl(
2217                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
2218                    throws com.liferay.portal.kernel.exception.SystemException;
2219    
2220            /**
2221            * Returns the d d m structure with the primary key or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found.
2222            *
2223            * @param structureId the primary key of the d d m structure
2224            * @return the d d m structure
2225            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
2226            * @throws SystemException if a system exception occurred
2227            */
2228            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByPrimaryKey(
2229                    long structureId)
2230                    throws com.liferay.portal.kernel.exception.SystemException,
2231                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2232    
2233            /**
2234            * Returns the d d m structure with the primary key or returns <code>null</code> if it could not be found.
2235            *
2236            * @param structureId the primary key of the d d m structure
2237            * @return the d d m structure, or <code>null</code> if a d d m structure with the primary key could not be found
2238            * @throws SystemException if a system exception occurred
2239            */
2240            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByPrimaryKey(
2241                    long structureId)
2242                    throws com.liferay.portal.kernel.exception.SystemException;
2243    
2244            /**
2245            * Returns all the d d m structures.
2246            *
2247            * @return the d d m structures
2248            * @throws SystemException if a system exception occurred
2249            */
2250            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll()
2251                    throws com.liferay.portal.kernel.exception.SystemException;
2252    
2253            /**
2254            * Returns a range of all the d d m structures.
2255            *
2256            * <p>
2257            * 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.DDMStructureModelImpl}. 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.
2258            * </p>
2259            *
2260            * @param start the lower bound of the range of d d m structures
2261            * @param end the upper bound of the range of d d m structures (not inclusive)
2262            * @return the range of d d m structures
2263            * @throws SystemException if a system exception occurred
2264            */
2265            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll(
2266                    int start, int end)
2267                    throws com.liferay.portal.kernel.exception.SystemException;
2268    
2269            /**
2270            * Returns an ordered range of all the d d m structures.
2271            *
2272            * <p>
2273            * 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.DDMStructureModelImpl}. 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.
2274            * </p>
2275            *
2276            * @param start the lower bound of the range of d d m structures
2277            * @param end the upper bound of the range of d d m structures (not inclusive)
2278            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2279            * @return the ordered range of d d m structures
2280            * @throws SystemException if a system exception occurred
2281            */
2282            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll(
2283                    int start, int end,
2284                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2285                    throws com.liferay.portal.kernel.exception.SystemException;
2286    
2287            /**
2288            * Removes all the d d m structures from the database.
2289            *
2290            * @throws SystemException if a system exception occurred
2291            */
2292            public void removeAll()
2293                    throws com.liferay.portal.kernel.exception.SystemException;
2294    
2295            /**
2296            * Returns the number of d d m structures.
2297            *
2298            * @return the number of d d m structures
2299            * @throws SystemException if a system exception occurred
2300            */
2301            public int countAll()
2302                    throws com.liferay.portal.kernel.exception.SystemException;
2303    
2304            /**
2305            * Returns all the document library file entry types associated with the d d m structure.
2306            *
2307            * @param pk the primary key of the d d m structure
2308            * @return the document library file entry types associated with the d d m structure
2309            * @throws SystemException if a system exception occurred
2310            */
2311            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
2312                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
2313    
2314            /**
2315            * Returns a range of all the document library file entry types associated with the d d m structure.
2316            *
2317            * <p>
2318            * 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.DDMStructureModelImpl}. 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.
2319            * </p>
2320            *
2321            * @param pk the primary key of the d d m structure
2322            * @param start the lower bound of the range of d d m structures
2323            * @param end the upper bound of the range of d d m structures (not inclusive)
2324            * @return the range of document library file entry types associated with the d d m structure
2325            * @throws SystemException if a system exception occurred
2326            */
2327            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
2328                    long pk, int start, int end)
2329                    throws com.liferay.portal.kernel.exception.SystemException;
2330    
2331            /**
2332            * Returns an ordered range of all the document library file entry types associated with the d d m structure.
2333            *
2334            * <p>
2335            * 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.DDMStructureModelImpl}. 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.
2336            * </p>
2337            *
2338            * @param pk the primary key of the d d m structure
2339            * @param start the lower bound of the range of d d m structures
2340            * @param end the upper bound of the range of d d m structures (not inclusive)
2341            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2342            * @return the ordered range of document library file entry types associated with the d d m structure
2343            * @throws SystemException if a system exception occurred
2344            */
2345            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
2346                    long pk, int start, int end,
2347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2348                    throws com.liferay.portal.kernel.exception.SystemException;
2349    
2350            /**
2351            * Returns the number of document library file entry types associated with the d d m structure.
2352            *
2353            * @param pk the primary key of the d d m structure
2354            * @return the number of document library file entry types associated with the d d m structure
2355            * @throws SystemException if a system exception occurred
2356            */
2357            public int getDLFileEntryTypesSize(long pk)
2358                    throws com.liferay.portal.kernel.exception.SystemException;
2359    
2360            /**
2361            * Returns <code>true</code> if the document library file entry type is associated with the d d m structure.
2362            *
2363            * @param pk the primary key of the d d m structure
2364            * @param dlFileEntryTypePK the primary key of the document library file entry type
2365            * @return <code>true</code> if the document library file entry type is associated with the d d m structure; <code>false</code> otherwise
2366            * @throws SystemException if a system exception occurred
2367            */
2368            public boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK)
2369                    throws com.liferay.portal.kernel.exception.SystemException;
2370    
2371            /**
2372            * Returns <code>true</code> if the d d m structure has any document library file entry types associated with it.
2373            *
2374            * @param pk the primary key of the d d m structure to check for associations with document library file entry types
2375            * @return <code>true</code> if the d d m structure has any document library file entry types associated with it; <code>false</code> otherwise
2376            * @throws SystemException if a system exception occurred
2377            */
2378            public boolean containsDLFileEntryTypes(long pk)
2379                    throws com.liferay.portal.kernel.exception.SystemException;
2380    
2381            /**
2382            * Adds an association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2383            *
2384            * @param pk the primary key of the d d m structure
2385            * @param dlFileEntryTypePK the primary key of the document library file entry type
2386            * @throws SystemException if a system exception occurred
2387            */
2388            public void addDLFileEntryType(long pk, long dlFileEntryTypePK)
2389                    throws com.liferay.portal.kernel.exception.SystemException;
2390    
2391            /**
2392            * Adds an association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2393            *
2394            * @param pk the primary key of the d d m structure
2395            * @param dlFileEntryType the document library file entry type
2396            * @throws SystemException if a system exception occurred
2397            */
2398            public void addDLFileEntryType(long pk,
2399                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
2400                    throws com.liferay.portal.kernel.exception.SystemException;
2401    
2402            /**
2403            * Adds an association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2404            *
2405            * @param pk the primary key of the d d m structure
2406            * @param dlFileEntryTypePKs the primary keys of the document library file entry types
2407            * @throws SystemException if a system exception occurred
2408            */
2409            public void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
2410                    throws com.liferay.portal.kernel.exception.SystemException;
2411    
2412            /**
2413            * Adds an association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2414            *
2415            * @param pk the primary key of the d d m structure
2416            * @param dlFileEntryTypes the document library file entry types
2417            * @throws SystemException if a system exception occurred
2418            */
2419            public void addDLFileEntryTypes(long pk,
2420                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes)
2421                    throws com.liferay.portal.kernel.exception.SystemException;
2422    
2423            /**
2424            * Clears all associations between the d d m structure and its document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2425            *
2426            * @param pk the primary key of the d d m structure to clear the associated document library file entry types from
2427            * @throws SystemException if a system exception occurred
2428            */
2429            public void clearDLFileEntryTypes(long pk)
2430                    throws com.liferay.portal.kernel.exception.SystemException;
2431    
2432            /**
2433            * Removes the association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2434            *
2435            * @param pk the primary key of the d d m structure
2436            * @param dlFileEntryTypePK the primary key of the document library file entry type
2437            * @throws SystemException if a system exception occurred
2438            */
2439            public void removeDLFileEntryType(long pk, long dlFileEntryTypePK)
2440                    throws com.liferay.portal.kernel.exception.SystemException;
2441    
2442            /**
2443            * Removes the association between the d d m structure and the document library file entry type. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2444            *
2445            * @param pk the primary key of the d d m structure
2446            * @param dlFileEntryType the document library file entry type
2447            * @throws SystemException if a system exception occurred
2448            */
2449            public void removeDLFileEntryType(long pk,
2450                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
2451                    throws com.liferay.portal.kernel.exception.SystemException;
2452    
2453            /**
2454            * Removes the association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2455            *
2456            * @param pk the primary key of the d d m structure
2457            * @param dlFileEntryTypePKs the primary keys of the document library file entry types
2458            * @throws SystemException if a system exception occurred
2459            */
2460            public void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
2461                    throws com.liferay.portal.kernel.exception.SystemException;
2462    
2463            /**
2464            * Removes the association between the d d m structure and the document library file entry types. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2465            *
2466            * @param pk the primary key of the d d m structure
2467            * @param dlFileEntryTypes the document library file entry types
2468            * @throws SystemException if a system exception occurred
2469            */
2470            public void removeDLFileEntryTypes(long pk,
2471                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes)
2472                    throws com.liferay.portal.kernel.exception.SystemException;
2473    
2474            /**
2475            * Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2476            *
2477            * @param pk the primary key of the d d m structure
2478            * @param dlFileEntryTypePKs the primary keys of the document library file entry types to be associated with the d d m structure
2479            * @throws SystemException if a system exception occurred
2480            */
2481            public void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
2482                    throws com.liferay.portal.kernel.exception.SystemException;
2483    
2484            /**
2485            * Sets the document library file entry types associated with the d d m structure, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.
2486            *
2487            * @param pk the primary key of the d d m structure
2488            * @param dlFileEntryTypes the document library file entry types to be associated with the d d m structure
2489            * @throws SystemException if a system exception occurred
2490            */
2491            public void setDLFileEntryTypes(long pk,
2492                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes)
2493                    throws com.liferay.portal.kernel.exception.SystemException;
2494    }