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 classNameId = &#63;.
720            *
721            * @param classNameId the class name 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> findByClassNameId(
726                    long classNameId)
727                    throws com.liferay.portal.kernel.exception.SystemException;
728    
729            /**
730            * Returns a range of all the d d m structures where classNameId = &#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 classNameId the class name 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> findByClassNameId(
743                    long classNameId, 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 classNameId = &#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 classNameId the class name 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> findByClassNameId(
761                    long classNameId, 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 classNameId = &#63;.
767            *
768            * @param classNameId the class name 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 findByClassNameId_First(
775                    long classNameId,
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 classNameId = &#63;.
782            *
783            * @param classNameId the class name 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 fetchByClassNameId_First(
789                    long classNameId,
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 classNameId = &#63;.
795            *
796            * @param classNameId the class name 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 findByClassNameId_Last(
803                    long classNameId,
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 classNameId = &#63;.
810            *
811            * @param classNameId the class name 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 fetchByClassNameId_Last(
817                    long classNameId,
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 classNameId = &#63;.
823            *
824            * @param structureId the primary key of the current d d m structure
825            * @param classNameId the class name 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[] findByClassNameId_PrevAndNext(
832                    long structureId, long classNameId,
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 classNameId = &#63; from the database.
839            *
840            * @param classNameId the class name ID
841            * @throws SystemException if a system exception occurred
842            */
843            public void removeByClassNameId(long classNameId)
844                    throws com.liferay.portal.kernel.exception.SystemException;
845    
846            /**
847            * Returns the number of d d m structures where classNameId = &#63;.
848            *
849            * @param classNameId the class name ID
850            * @return the number of matching d d m structures
851            * @throws SystemException if a system exception occurred
852            */
853            public int countByClassNameId(long classNameId)
854                    throws com.liferay.portal.kernel.exception.SystemException;
855    
856            /**
857            * Returns all the d d m structures where structureKey = &#63;.
858            *
859            * @param structureKey the structure key
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> findByStructureKey(
864                    java.lang.String structureKey)
865                    throws com.liferay.portal.kernel.exception.SystemException;
866    
867            /**
868            * Returns a range of all the d d m structures where structureKey = &#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 structureKey the structure key
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> findByStructureKey(
881                    java.lang.String structureKey, 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 structureKey = &#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 structureKey the structure key
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> findByStructureKey(
899                    java.lang.String structureKey, 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 structureKey = &#63;.
905            *
906            * @param structureKey the structure key
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 findByStructureKey_First(
913                    java.lang.String structureKey,
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 structureKey = &#63;.
920            *
921            * @param structureKey the structure key
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 fetchByStructureKey_First(
927                    java.lang.String structureKey,
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 structureKey = &#63;.
933            *
934            * @param structureKey the structure key
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 findByStructureKey_Last(
941                    java.lang.String structureKey,
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 structureKey = &#63;.
948            *
949            * @param structureKey the structure key
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 fetchByStructureKey_Last(
955                    java.lang.String structureKey,
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 structureKey = &#63;.
961            *
962            * @param structureId the primary key of the current d d m structure
963            * @param structureKey the structure key
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[] findByStructureKey_PrevAndNext(
970                    long structureId, java.lang.String structureKey,
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 structureKey = &#63; from the database.
977            *
978            * @param structureKey the structure key
979            * @throws SystemException if a system exception occurred
980            */
981            public void removeByStructureKey(java.lang.String structureKey)
982                    throws com.liferay.portal.kernel.exception.SystemException;
983    
984            /**
985            * Returns the number of d d m structures where structureKey = &#63;.
986            *
987            * @param structureKey the structure key
988            * @return the number of matching d d m structures
989            * @throws SystemException if a system exception occurred
990            */
991            public int countByStructureKey(java.lang.String structureKey)
992                    throws com.liferay.portal.kernel.exception.SystemException;
993    
994            /**
995            * Returns all the d d m structures where groupId = &#63; and parentStructureId = &#63;.
996            *
997            * @param groupId the group ID
998            * @param parentStructureId the parent structure ID
999            * @return the matching d d m structures
1000            * @throws SystemException if a system exception occurred
1001            */
1002            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_P(
1003                    long groupId, long parentStructureId)
1004                    throws com.liferay.portal.kernel.exception.SystemException;
1005    
1006            /**
1007            * Returns a range of all the d d m structures where groupId = &#63; and parentStructureId = &#63;.
1008            *
1009            * <p>
1010            * 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.
1011            * </p>
1012            *
1013            * @param groupId the group ID
1014            * @param parentStructureId the parent structure ID
1015            * @param start the lower bound of the range of d d m structures
1016            * @param end the upper bound of the range of d d m structures (not inclusive)
1017            * @return the range of matching d d m structures
1018            * @throws SystemException if a system exception occurred
1019            */
1020            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_P(
1021                    long groupId, long parentStructureId, int start, int end)
1022                    throws com.liferay.portal.kernel.exception.SystemException;
1023    
1024            /**
1025            * Returns an ordered range of all the d d m structures where groupId = &#63; and parentStructureId = &#63;.
1026            *
1027            * <p>
1028            * 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.
1029            * </p>
1030            *
1031            * @param groupId the group ID
1032            * @param parentStructureId the parent structure ID
1033            * @param start the lower bound of the range of d d m structures
1034            * @param end the upper bound of the range of d d m structures (not inclusive)
1035            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1036            * @return the ordered range of matching d d m structures
1037            * @throws SystemException if a system exception occurred
1038            */
1039            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_P(
1040                    long groupId, long parentStructureId, int start, int end,
1041                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1042                    throws com.liferay.portal.kernel.exception.SystemException;
1043    
1044            /**
1045            * Returns the first d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1046            *
1047            * @param groupId the group ID
1048            * @param parentStructureId the parent structure ID
1049            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1050            * @return the first matching d d m structure
1051            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1052            * @throws SystemException if a system exception occurred
1053            */
1054            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_P_First(
1055                    long groupId, long parentStructureId,
1056                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1057                    throws com.liferay.portal.kernel.exception.SystemException,
1058                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1059    
1060            /**
1061            * Returns the first d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1062            *
1063            * @param groupId the group ID
1064            * @param parentStructureId the parent structure ID
1065            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1066            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1067            * @throws SystemException if a system exception occurred
1068            */
1069            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_P_First(
1070                    long groupId, long parentStructureId,
1071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1072                    throws com.liferay.portal.kernel.exception.SystemException;
1073    
1074            /**
1075            * Returns the last d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1076            *
1077            * @param groupId the group ID
1078            * @param parentStructureId the parent structure ID
1079            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1080            * @return the last matching d d m structure
1081            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1082            * @throws SystemException if a system exception occurred
1083            */
1084            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_P_Last(
1085                    long groupId, long parentStructureId,
1086                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1087                    throws com.liferay.portal.kernel.exception.SystemException,
1088                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1089    
1090            /**
1091            * Returns the last d d m structure in the ordered set where groupId = &#63; and parentStructureId = &#63;.
1092            *
1093            * @param groupId the group ID
1094            * @param parentStructureId the parent structure ID
1095            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1096            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1097            * @throws SystemException if a system exception occurred
1098            */
1099            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_P_Last(
1100                    long groupId, long parentStructureId,
1101                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1102                    throws com.liferay.portal.kernel.exception.SystemException;
1103    
1104            /**
1105            * 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;.
1106            *
1107            * @param structureId the primary key of the current d d m structure
1108            * @param groupId the group ID
1109            * @param parentStructureId the parent structure ID
1110            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1111            * @return the previous, current, and next d d m structure
1112            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1113            * @throws SystemException if a system exception occurred
1114            */
1115            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_P_PrevAndNext(
1116                    long structureId, long groupId, long parentStructureId,
1117                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1118                    throws com.liferay.portal.kernel.exception.SystemException,
1119                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1120    
1121            /**
1122            * Returns all the d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1123            *
1124            * @param groupId the group ID
1125            * @param parentStructureId the parent structure ID
1126            * @return the matching d d m structures that the user has permission to view
1127            * @throws SystemException if a system exception occurred
1128            */
1129            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_P(
1130                    long groupId, long parentStructureId)
1131                    throws com.liferay.portal.kernel.exception.SystemException;
1132    
1133            /**
1134            * Returns a range of all the d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1135            *
1136            * <p>
1137            * 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.
1138            * </p>
1139            *
1140            * @param groupId the group ID
1141            * @param parentStructureId the parent structure ID
1142            * @param start the lower bound of the range of d d m structures
1143            * @param end the upper bound of the range of d d m structures (not inclusive)
1144            * @return the range of matching d d m structures that the user has permission to view
1145            * @throws SystemException if a system exception occurred
1146            */
1147            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_P(
1148                    long groupId, long parentStructureId, int start, int end)
1149                    throws com.liferay.portal.kernel.exception.SystemException;
1150    
1151            /**
1152            * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = &#63; and parentStructureId = &#63;.
1153            *
1154            * <p>
1155            * 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.
1156            * </p>
1157            *
1158            * @param groupId the group ID
1159            * @param parentStructureId the parent structure ID
1160            * @param start the lower bound of the range of d d m structures
1161            * @param end the upper bound of the range of d d m structures (not inclusive)
1162            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1163            * @return the ordered range of matching d d m structures that the user has permission to view
1164            * @throws SystemException if a system exception occurred
1165            */
1166            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_P(
1167                    long groupId, long parentStructureId, int start, int end,
1168                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1169                    throws com.liferay.portal.kernel.exception.SystemException;
1170    
1171            /**
1172            * 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;.
1173            *
1174            * @param structureId the primary key of the current d d m structure
1175            * @param groupId the group ID
1176            * @param parentStructureId the parent structure ID
1177            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1178            * @return the previous, current, and next d d m structure
1179            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1180            * @throws SystemException if a system exception occurred
1181            */
1182            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_P_PrevAndNext(
1183                    long structureId, long groupId, long parentStructureId,
1184                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1185                    throws com.liferay.portal.kernel.exception.SystemException,
1186                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1187    
1188            /**
1189            * Removes all the d d m structures where groupId = &#63; and parentStructureId = &#63; from the database.
1190            *
1191            * @param groupId the group ID
1192            * @param parentStructureId the parent structure ID
1193            * @throws SystemException if a system exception occurred
1194            */
1195            public void removeByG_P(long groupId, long parentStructureId)
1196                    throws com.liferay.portal.kernel.exception.SystemException;
1197    
1198            /**
1199            * Returns the number of d d m structures where groupId = &#63; and parentStructureId = &#63;.
1200            *
1201            * @param groupId the group ID
1202            * @param parentStructureId the parent structure ID
1203            * @return the number of matching d d m structures
1204            * @throws SystemException if a system exception occurred
1205            */
1206            public int countByG_P(long groupId, long parentStructureId)
1207                    throws com.liferay.portal.kernel.exception.SystemException;
1208    
1209            /**
1210            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and parentStructureId = &#63;.
1211            *
1212            * @param groupId the group ID
1213            * @param parentStructureId the parent structure ID
1214            * @return the number of matching d d m structures that the user has permission to view
1215            * @throws SystemException if a system exception occurred
1216            */
1217            public int filterCountByG_P(long groupId, long parentStructureId)
1218                    throws com.liferay.portal.kernel.exception.SystemException;
1219    
1220            /**
1221            * Returns all the d d m structures where groupId = &#63; and classNameId = &#63;.
1222            *
1223            * @param groupId the group ID
1224            * @param classNameId the class name ID
1225            * @return the matching d d m structures
1226            * @throws SystemException if a system exception occurred
1227            */
1228            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1229                    long groupId, long classNameId)
1230                    throws com.liferay.portal.kernel.exception.SystemException;
1231    
1232            /**
1233            * Returns a range of all the d d m structures where groupId = &#63; and classNameId = &#63;.
1234            *
1235            * <p>
1236            * 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.
1237            * </p>
1238            *
1239            * @param groupId the group ID
1240            * @param classNameId the class name ID
1241            * @param start the lower bound of the range of d d m structures
1242            * @param end the upper bound of the range of d d m structures (not inclusive)
1243            * @return the range of matching d d m structures
1244            * @throws SystemException if a system exception occurred
1245            */
1246            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1247                    long groupId, long classNameId, int start, int end)
1248                    throws com.liferay.portal.kernel.exception.SystemException;
1249    
1250            /**
1251            * Returns an ordered range of all the d d m structures where groupId = &#63; and classNameId = &#63;.
1252            *
1253            * <p>
1254            * 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.
1255            * </p>
1256            *
1257            * @param groupId the group ID
1258            * @param classNameId the class name ID
1259            * @param start the lower bound of the range of d d m structures
1260            * @param end the upper bound of the range of d d m structures (not inclusive)
1261            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1262            * @return the ordered range of matching d d m structures
1263            * @throws SystemException if a system exception occurred
1264            */
1265            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1266                    long groupId, long classNameId, int start, int end,
1267                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1268                    throws com.liferay.portal.kernel.exception.SystemException;
1269    
1270            /**
1271            * Returns the first d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1272            *
1273            * @param groupId the group ID
1274            * @param classNameId the class name ID
1275            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1276            * @return the first matching d d m structure
1277            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1278            * @throws SystemException if a system exception occurred
1279            */
1280            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_C_First(
1281                    long groupId, long classNameId,
1282                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1283                    throws com.liferay.portal.kernel.exception.SystemException,
1284                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1285    
1286            /**
1287            * Returns the first d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1288            *
1289            * @param groupId the group ID
1290            * @param classNameId the class name ID
1291            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1292            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1293            * @throws SystemException if a system exception occurred
1294            */
1295            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_First(
1296                    long groupId, long classNameId,
1297                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1298                    throws com.liferay.portal.kernel.exception.SystemException;
1299    
1300            /**
1301            * Returns the last d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1302            *
1303            * @param groupId the group ID
1304            * @param classNameId the class name ID
1305            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1306            * @return the last matching d d m structure
1307            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1308            * @throws SystemException if a system exception occurred
1309            */
1310            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_C_Last(
1311                    long groupId, long classNameId,
1312                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1313                    throws com.liferay.portal.kernel.exception.SystemException,
1314                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1315    
1316            /**
1317            * Returns the last d d m structure in the ordered set where groupId = &#63; and classNameId = &#63;.
1318            *
1319            * @param groupId the group ID
1320            * @param classNameId the class name ID
1321            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1322            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1323            * @throws SystemException if a system exception occurred
1324            */
1325            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_Last(
1326                    long groupId, long classNameId,
1327                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1328                    throws com.liferay.portal.kernel.exception.SystemException;
1329    
1330            /**
1331            * 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;.
1332            *
1333            * @param structureId the primary key of the current d d m structure
1334            * @param groupId the group ID
1335            * @param classNameId the class name ID
1336            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1337            * @return the previous, current, and next d d m structure
1338            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1339            * @throws SystemException if a system exception occurred
1340            */
1341            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_C_PrevAndNext(
1342                    long structureId, long groupId, long classNameId,
1343                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1344                    throws com.liferay.portal.kernel.exception.SystemException,
1345                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1346    
1347            /**
1348            * Returns all the d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1349            *
1350            * @param groupId the group ID
1351            * @param classNameId the class name ID
1352            * @return the matching d d m structures that the user has permission to view
1353            * @throws SystemException if a system exception occurred
1354            */
1355            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1356                    long groupId, long classNameId)
1357                    throws com.liferay.portal.kernel.exception.SystemException;
1358    
1359            /**
1360            * Returns a range of all the d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1361            *
1362            * <p>
1363            * 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.
1364            * </p>
1365            *
1366            * @param groupId the group ID
1367            * @param classNameId the class name ID
1368            * @param start the lower bound of the range of d d m structures
1369            * @param end the upper bound of the range of d d m structures (not inclusive)
1370            * @return the range of matching d d m structures that the user has permission to view
1371            * @throws SystemException if a system exception occurred
1372            */
1373            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1374                    long groupId, long classNameId, int start, int end)
1375                    throws com.liferay.portal.kernel.exception.SystemException;
1376    
1377            /**
1378            * Returns an ordered range of all the d d m structures that the user has permissions to view where groupId = &#63; and classNameId = &#63;.
1379            *
1380            * <p>
1381            * 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.
1382            * </p>
1383            *
1384            * @param groupId the group ID
1385            * @param classNameId the class name ID
1386            * @param start the lower bound of the range of d d m structures
1387            * @param end the upper bound of the range of d d m structures (not inclusive)
1388            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1389            * @return the ordered range of matching d d m structures that the user has permission to view
1390            * @throws SystemException if a system exception occurred
1391            */
1392            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1393                    long groupId, long classNameId, int start, int end,
1394                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1395                    throws com.liferay.portal.kernel.exception.SystemException;
1396    
1397            /**
1398            * 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;.
1399            *
1400            * @param structureId the primary key of the current d d m structure
1401            * @param groupId the group ID
1402            * @param classNameId the class name ID
1403            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1404            * @return the previous, current, and next d d m structure
1405            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1406            * @throws SystemException if a system exception occurred
1407            */
1408            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_C_PrevAndNext(
1409                    long structureId, long groupId, long classNameId,
1410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1411                    throws com.liferay.portal.kernel.exception.SystemException,
1412                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1413    
1414            /**
1415            * Returns all the d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1416            *
1417            * @param groupIds the group IDs
1418            * @param classNameId the class name ID
1419            * @return the matching d d m structures that the user has permission to view
1420            * @throws SystemException if a system exception occurred
1421            */
1422            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1423                    long[] groupIds, long classNameId)
1424                    throws com.liferay.portal.kernel.exception.SystemException;
1425    
1426            /**
1427            * Returns a range of all the d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1428            *
1429            * <p>
1430            * 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.
1431            * </p>
1432            *
1433            * @param groupIds the group IDs
1434            * @param classNameId the class name ID
1435            * @param start the lower bound of the range of d d m structures
1436            * @param end the upper bound of the range of d d m structures (not inclusive)
1437            * @return the range of matching d d m structures that the user has permission to view
1438            * @throws SystemException if a system exception occurred
1439            */
1440            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1441                    long[] groupIds, long classNameId, int start, int end)
1442                    throws com.liferay.portal.kernel.exception.SystemException;
1443    
1444            /**
1445            * 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;.
1446            *
1447            * <p>
1448            * 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.
1449            * </p>
1450            *
1451            * @param groupIds the group IDs
1452            * @param classNameId the class name ID
1453            * @param start the lower bound of the range of d d m structures
1454            * @param end the upper bound of the range of d d m structures (not inclusive)
1455            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1456            * @return the ordered range of matching d d m structures that the user has permission to view
1457            * @throws SystemException if a system exception occurred
1458            */
1459            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_C(
1460                    long[] groupIds, long classNameId, int start, int end,
1461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1462                    throws com.liferay.portal.kernel.exception.SystemException;
1463    
1464            /**
1465            * Returns all the d d m structures where groupId = any &#63; and classNameId = &#63;.
1466            *
1467            * <p>
1468            * 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.
1469            * </p>
1470            *
1471            * @param groupIds the group IDs
1472            * @param classNameId the class name ID
1473            * @return the matching d d m structures
1474            * @throws SystemException if a system exception occurred
1475            */
1476            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1477                    long[] groupIds, long classNameId)
1478                    throws com.liferay.portal.kernel.exception.SystemException;
1479    
1480            /**
1481            * Returns a range of all the d d m structures where groupId = any &#63; and classNameId = &#63;.
1482            *
1483            * <p>
1484            * 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.
1485            * </p>
1486            *
1487            * @param groupIds the group IDs
1488            * @param classNameId the class name ID
1489            * @param start the lower bound of the range of d d m structures
1490            * @param end the upper bound of the range of d d m structures (not inclusive)
1491            * @return the range of matching d d m structures
1492            * @throws SystemException if a system exception occurred
1493            */
1494            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1495                    long[] groupIds, long classNameId, int start, int end)
1496                    throws com.liferay.portal.kernel.exception.SystemException;
1497    
1498            /**
1499            * Returns an ordered range of all the d d m structures where groupId = any &#63; and classNameId = &#63;.
1500            *
1501            * <p>
1502            * 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.
1503            * </p>
1504            *
1505            * @param groupIds the group IDs
1506            * @param classNameId the class name ID
1507            * @param start the lower bound of the range of d d m structures
1508            * @param end the upper bound of the range of d d m structures (not inclusive)
1509            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1510            * @return the ordered range of matching d d m structures
1511            * @throws SystemException if a system exception occurred
1512            */
1513            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_C(
1514                    long[] groupIds, long classNameId, int start, int end,
1515                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1516                    throws com.liferay.portal.kernel.exception.SystemException;
1517    
1518            /**
1519            * Removes all the d d m structures where groupId = &#63; and classNameId = &#63; from the database.
1520            *
1521            * @param groupId the group ID
1522            * @param classNameId the class name ID
1523            * @throws SystemException if a system exception occurred
1524            */
1525            public void removeByG_C(long groupId, long classNameId)
1526                    throws com.liferay.portal.kernel.exception.SystemException;
1527    
1528            /**
1529            * Returns the number of d d m structures where groupId = &#63; and classNameId = &#63;.
1530            *
1531            * @param groupId the group ID
1532            * @param classNameId the class name ID
1533            * @return the number of matching d d m structures
1534            * @throws SystemException if a system exception occurred
1535            */
1536            public int countByG_C(long groupId, long classNameId)
1537                    throws com.liferay.portal.kernel.exception.SystemException;
1538    
1539            /**
1540            * Returns the number of d d m structures where groupId = any &#63; and classNameId = &#63;.
1541            *
1542            * @param groupIds the group IDs
1543            * @param classNameId the class name ID
1544            * @return the number of matching d d m structures
1545            * @throws SystemException if a system exception occurred
1546            */
1547            public int countByG_C(long[] groupIds, long classNameId)
1548                    throws com.liferay.portal.kernel.exception.SystemException;
1549    
1550            /**
1551            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and classNameId = &#63;.
1552            *
1553            * @param groupId the group ID
1554            * @param classNameId the class name ID
1555            * @return the number of matching d d m structures that the user has permission to view
1556            * @throws SystemException if a system exception occurred
1557            */
1558            public int filterCountByG_C(long groupId, long classNameId)
1559                    throws com.liferay.portal.kernel.exception.SystemException;
1560    
1561            /**
1562            * Returns the number of d d m structures that the user has permission to view where groupId = any &#63; and classNameId = &#63;.
1563            *
1564            * @param groupIds the group IDs
1565            * @param classNameId the class name ID
1566            * @return the number of matching d d m structures that the user has permission to view
1567            * @throws SystemException if a system exception occurred
1568            */
1569            public int filterCountByG_C(long[] groupIds, long classNameId)
1570                    throws com.liferay.portal.kernel.exception.SystemException;
1571    
1572            /**
1573            * Returns all the d d m structures where companyId = &#63; and classNameId = &#63;.
1574            *
1575            * @param companyId the company ID
1576            * @param classNameId the class name ID
1577            * @return the matching d d m structures
1578            * @throws SystemException if a system exception occurred
1579            */
1580            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1581                    long companyId, long classNameId)
1582                    throws com.liferay.portal.kernel.exception.SystemException;
1583    
1584            /**
1585            * Returns a range of all the d d m structures where companyId = &#63; and classNameId = &#63;.
1586            *
1587            * <p>
1588            * 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.
1589            * </p>
1590            *
1591            * @param companyId the company ID
1592            * @param classNameId the class name ID
1593            * @param start the lower bound of the range of d d m structures
1594            * @param end the upper bound of the range of d d m structures (not inclusive)
1595            * @return the range of matching d d m structures
1596            * @throws SystemException if a system exception occurred
1597            */
1598            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1599                    long companyId, long classNameId, int start, int end)
1600                    throws com.liferay.portal.kernel.exception.SystemException;
1601    
1602            /**
1603            * Returns an ordered range of all the d d m structures where companyId = &#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 companyId the company ID
1610            * @param classNameId the class name ID
1611            * @param start the lower bound of the range of d d m structures
1612            * @param end the upper bound of the range of d d m structures (not inclusive)
1613            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1614            * @return the ordered range of matching d d m structures
1615            * @throws SystemException if a system exception occurred
1616            */
1617            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1618                    long companyId, long classNameId, int start, int end,
1619                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1620                    throws com.liferay.portal.kernel.exception.SystemException;
1621    
1622            /**
1623            * Returns the first d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1624            *
1625            * @param companyId the company ID
1626            * @param classNameId the class name ID
1627            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1628            * @return the first matching d d m structure
1629            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1630            * @throws SystemException if a system exception occurred
1631            */
1632            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_First(
1633                    long companyId, long classNameId,
1634                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1635                    throws com.liferay.portal.kernel.exception.SystemException,
1636                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1637    
1638            /**
1639            * Returns the first d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1640            *
1641            * @param companyId the company ID
1642            * @param classNameId the class name ID
1643            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1644            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1645            * @throws SystemException if a system exception occurred
1646            */
1647            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_First(
1648                    long companyId, long classNameId,
1649                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1650                    throws com.liferay.portal.kernel.exception.SystemException;
1651    
1652            /**
1653            * Returns the last d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1654            *
1655            * @param companyId the company ID
1656            * @param classNameId the class name ID
1657            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1658            * @return the last matching d d m structure
1659            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1660            * @throws SystemException if a system exception occurred
1661            */
1662            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_Last(
1663                    long companyId, long classNameId,
1664                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1665                    throws com.liferay.portal.kernel.exception.SystemException,
1666                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1667    
1668            /**
1669            * Returns the last d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1670            *
1671            * @param companyId the company ID
1672            * @param classNameId the class name ID
1673            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1674            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1675            * @throws SystemException if a system exception occurred
1676            */
1677            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_Last(
1678                    long companyId, long classNameId,
1679                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1680                    throws com.liferay.portal.kernel.exception.SystemException;
1681    
1682            /**
1683            * 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;.
1684            *
1685            * @param structureId the primary key of the current d d m structure
1686            * @param companyId the company ID
1687            * @param classNameId the class name ID
1688            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1689            * @return the previous, current, and next d d m structure
1690            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1691            * @throws SystemException if a system exception occurred
1692            */
1693            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByC_C_PrevAndNext(
1694                    long structureId, long companyId, long classNameId,
1695                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1696                    throws com.liferay.portal.kernel.exception.SystemException,
1697                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1698    
1699            /**
1700            * Removes all the d d m structures where companyId = &#63; and classNameId = &#63; from the database.
1701            *
1702            * @param companyId the company ID
1703            * @param classNameId the class name ID
1704            * @throws SystemException if a system exception occurred
1705            */
1706            public void removeByC_C(long companyId, long classNameId)
1707                    throws com.liferay.portal.kernel.exception.SystemException;
1708    
1709            /**
1710            * Returns the number of d d m structures where companyId = &#63; and classNameId = &#63;.
1711            *
1712            * @param companyId the company ID
1713            * @param classNameId the class name ID
1714            * @return the number of matching d d m structures
1715            * @throws SystemException if a system exception occurred
1716            */
1717            public int countByC_C(long companyId, long classNameId)
1718                    throws com.liferay.portal.kernel.exception.SystemException;
1719    
1720            /**
1721            * 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.
1722            *
1723            * @param groupId the group ID
1724            * @param classNameId the class name ID
1725            * @param structureKey the structure key
1726            * @return the matching d d m structure
1727            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1728            * @throws SystemException if a system exception occurred
1729            */
1730            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_C_S(
1731                    long groupId, long classNameId, java.lang.String structureKey)
1732                    throws com.liferay.portal.kernel.exception.SystemException,
1733                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1734    
1735            /**
1736            * 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.
1737            *
1738            * @param groupId the group ID
1739            * @param classNameId the class name ID
1740            * @param structureKey the structure key
1741            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1742            * @throws SystemException if a system exception occurred
1743            */
1744            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_S(
1745                    long groupId, long classNameId, java.lang.String structureKey)
1746                    throws com.liferay.portal.kernel.exception.SystemException;
1747    
1748            /**
1749            * 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.
1750            *
1751            * @param groupId the group ID
1752            * @param classNameId the class name ID
1753            * @param structureKey the structure key
1754            * @param retrieveFromCache whether to use the finder cache
1755            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1756            * @throws SystemException if a system exception occurred
1757            */
1758            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_C_S(
1759                    long groupId, long classNameId, java.lang.String structureKey,
1760                    boolean retrieveFromCache)
1761                    throws com.liferay.portal.kernel.exception.SystemException;
1762    
1763            /**
1764            * Removes the d d m structure where groupId = &#63; and classNameId = &#63; and structureKey = &#63; from the database.
1765            *
1766            * @param groupId the group ID
1767            * @param classNameId the class name ID
1768            * @param structureKey the structure key
1769            * @return the d d m structure that was removed
1770            * @throws SystemException if a system exception occurred
1771            */
1772            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure removeByG_C_S(
1773                    long groupId, long classNameId, java.lang.String structureKey)
1774                    throws com.liferay.portal.kernel.exception.SystemException,
1775                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1776    
1777            /**
1778            * Returns the number of d d m structures where groupId = &#63; and classNameId = &#63; and structureKey = &#63;.
1779            *
1780            * @param groupId the group ID
1781            * @param classNameId the class name ID
1782            * @param structureKey the structure key
1783            * @return the number of matching d d m structures
1784            * @throws SystemException if a system exception occurred
1785            */
1786            public int countByG_C_S(long groupId, long classNameId,
1787                    java.lang.String structureKey)
1788                    throws com.liferay.portal.kernel.exception.SystemException;
1789    
1790            /**
1791            * Returns all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1792            *
1793            * @param groupId the group ID
1794            * @param name the name
1795            * @param description the description
1796            * @return the matching d d m structures
1797            * @throws SystemException if a system exception occurred
1798            */
1799            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1800                    long groupId, java.lang.String name, java.lang.String description)
1801                    throws com.liferay.portal.kernel.exception.SystemException;
1802    
1803            /**
1804            * Returns a range of all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1805            *
1806            * <p>
1807            * 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.
1808            * </p>
1809            *
1810            * @param groupId the group ID
1811            * @param name the name
1812            * @param description the description
1813            * @param start the lower bound of the range of d d m structures
1814            * @param end the upper bound of the range of d d m structures (not inclusive)
1815            * @return the range of matching d d m structures
1816            * @throws SystemException if a system exception occurred
1817            */
1818            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1819                    long groupId, java.lang.String name, java.lang.String description,
1820                    int start, int end)
1821                    throws com.liferay.portal.kernel.exception.SystemException;
1822    
1823            /**
1824            * Returns an ordered range of all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1825            *
1826            * <p>
1827            * 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.
1828            * </p>
1829            *
1830            * @param groupId the group ID
1831            * @param name the name
1832            * @param description the description
1833            * @param start the lower bound of the range of d d m structures
1834            * @param end the upper bound of the range of d d m structures (not inclusive)
1835            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1836            * @return the ordered range of matching d d m structures
1837            * @throws SystemException if a system exception occurred
1838            */
1839            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1840                    long groupId, java.lang.String name, java.lang.String description,
1841                    int start, int end,
1842                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1843                    throws com.liferay.portal.kernel.exception.SystemException;
1844    
1845            /**
1846            * Returns the first d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1847            *
1848            * @param groupId the group ID
1849            * @param name the name
1850            * @param description the description
1851            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1852            * @return the first matching d d m structure
1853            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1854            * @throws SystemException if a system exception occurred
1855            */
1856            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_First(
1857                    long groupId, java.lang.String name, java.lang.String description,
1858                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1859                    throws com.liferay.portal.kernel.exception.SystemException,
1860                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1861    
1862            /**
1863            * Returns the first d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1864            *
1865            * @param groupId the group ID
1866            * @param name the name
1867            * @param description the description
1868            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1869            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1870            * @throws SystemException if a system exception occurred
1871            */
1872            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_First(
1873                    long groupId, java.lang.String name, java.lang.String description,
1874                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1875                    throws com.liferay.portal.kernel.exception.SystemException;
1876    
1877            /**
1878            * Returns the last d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1879            *
1880            * @param groupId the group ID
1881            * @param name the name
1882            * @param description the description
1883            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1884            * @return the last matching d d m structure
1885            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1886            * @throws SystemException if a system exception occurred
1887            */
1888            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_Last(
1889                    long groupId, java.lang.String name, java.lang.String description,
1890                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1891                    throws com.liferay.portal.kernel.exception.SystemException,
1892                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1893    
1894            /**
1895            * Returns the last d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1896            *
1897            * @param groupId the group ID
1898            * @param name the name
1899            * @param description the description
1900            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1901            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1902            * @throws SystemException if a system exception occurred
1903            */
1904            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_Last(
1905                    long groupId, java.lang.String name, java.lang.String description,
1906                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1907                    throws com.liferay.portal.kernel.exception.SystemException;
1908    
1909            /**
1910            * 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;.
1911            *
1912            * @param structureId the primary key of the current d d m structure
1913            * @param groupId the group ID
1914            * @param name the name
1915            * @param description the description
1916            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1917            * @return the previous, current, and next d d m structure
1918            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1919            * @throws SystemException if a system exception occurred
1920            */
1921            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_N_D_PrevAndNext(
1922                    long structureId, long groupId, java.lang.String name,
1923                    java.lang.String description,
1924                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1925                    throws com.liferay.portal.kernel.exception.SystemException,
1926                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1927    
1928            /**
1929            * Returns all the d d m structures that the user has permission to view 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 that the user has permission to view
1935            * @throws SystemException if a system exception occurred
1936            */
1937            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_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 that the user has permission to view 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 that the user has permission to view
1954            * @throws SystemException if a system exception occurred
1955            */
1956            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_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 that the user has permissions to view 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 that the user has permission to view
1975            * @throws SystemException if a system exception occurred
1976            */
1977            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_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 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;.
1985            *
1986            * @param structureId the primary key of the current d d m structure
1987            * @param groupId the group ID
1988            * @param name the name
1989            * @param description the description
1990            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1991            * @return the previous, current, and next d d m structure
1992            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1993            * @throws SystemException if a system exception occurred
1994            */
1995            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_N_D_PrevAndNext(
1996                    long structureId, long groupId, java.lang.String name,
1997                    java.lang.String description,
1998                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1999                    throws com.liferay.portal.kernel.exception.SystemException,
2000                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2001    
2002            /**
2003            * Removes all the d d m structures where groupId = &#63; and name = &#63; and description = &#63; from the database.
2004            *
2005            * @param groupId the group ID
2006            * @param name the name
2007            * @param description the description
2008            * @throws SystemException if a system exception occurred
2009            */
2010            public void removeByG_N_D(long groupId, java.lang.String name,
2011                    java.lang.String description)
2012                    throws com.liferay.portal.kernel.exception.SystemException;
2013    
2014            /**
2015            * Returns the number of d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
2016            *
2017            * @param groupId the group ID
2018            * @param name the name
2019            * @param description the description
2020            * @return the number of matching d d m structures
2021            * @throws SystemException if a system exception occurred
2022            */
2023            public int countByG_N_D(long groupId, java.lang.String name,
2024                    java.lang.String description)
2025                    throws com.liferay.portal.kernel.exception.SystemException;
2026    
2027            /**
2028            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
2029            *
2030            * @param groupId the group ID
2031            * @param name the name
2032            * @param description the description
2033            * @return the number of matching d d m structures that the user has permission to view
2034            * @throws SystemException if a system exception occurred
2035            */
2036            public int filterCountByG_N_D(long groupId, java.lang.String name,
2037                    java.lang.String description)
2038                    throws com.liferay.portal.kernel.exception.SystemException;
2039    
2040            /**
2041            * Caches the d d m structure in the entity cache if it is enabled.
2042            *
2043            * @param ddmStructure the d d m structure
2044            */
2045            public void cacheResult(
2046                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure);
2047    
2048            /**
2049            * Caches the d d m structures in the entity cache if it is enabled.
2050            *
2051            * @param ddmStructures the d d m structures
2052            */
2053            public void cacheResult(
2054                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures);
2055    
2056            /**
2057            * Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.
2058            *
2059            * @param structureId the primary key for the new d d m structure
2060            * @return the new d d m structure
2061            */
2062            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure create(
2063                    long structureId);
2064    
2065            /**
2066            * Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.
2067            *
2068            * @param structureId the primary key of the d d m structure
2069            * @return the d d m structure that was removed
2070            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
2071            * @throws SystemException if a system exception occurred
2072            */
2073            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure remove(
2074                    long structureId)
2075                    throws com.liferay.portal.kernel.exception.SystemException,
2076                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2077    
2078            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateImpl(
2079                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
2080                    throws com.liferay.portal.kernel.exception.SystemException;
2081    
2082            /**
2083            * 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.
2084            *
2085            * @param structureId the primary key of the d d m structure
2086            * @return the d d m structure
2087            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
2088            * @throws SystemException if a system exception occurred
2089            */
2090            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByPrimaryKey(
2091                    long structureId)
2092                    throws com.liferay.portal.kernel.exception.SystemException,
2093                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
2094    
2095            /**
2096            * Returns the d d m structure with the primary key or returns <code>null</code> if it could not be found.
2097            *
2098            * @param structureId the primary key of the d d m structure
2099            * @return the d d m structure, or <code>null</code> if a d d m structure with the primary key could not be found
2100            * @throws SystemException if a system exception occurred
2101            */
2102            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByPrimaryKey(
2103                    long structureId)
2104                    throws com.liferay.portal.kernel.exception.SystemException;
2105    
2106            /**
2107            * Returns all the d d m structures.
2108            *
2109            * @return the d d m structures
2110            * @throws SystemException if a system exception occurred
2111            */
2112            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll()
2113                    throws com.liferay.portal.kernel.exception.SystemException;
2114    
2115            /**
2116            * Returns a range of all the d d m structures.
2117            *
2118            * <p>
2119            * 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.
2120            * </p>
2121            *
2122            * @param start the lower bound of the range of d d m structures
2123            * @param end the upper bound of the range of d d m structures (not inclusive)
2124            * @return the range of d d m structures
2125            * @throws SystemException if a system exception occurred
2126            */
2127            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll(
2128                    int start, int end)
2129                    throws com.liferay.portal.kernel.exception.SystemException;
2130    
2131            /**
2132            * Returns an ordered range of all the d d m structures.
2133            *
2134            * <p>
2135            * 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.
2136            * </p>
2137            *
2138            * @param start the lower bound of the range of d d m structures
2139            * @param end the upper bound of the range of d d m structures (not inclusive)
2140            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2141            * @return the ordered range of d d m structures
2142            * @throws SystemException if a system exception occurred
2143            */
2144            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll(
2145                    int start, int end,
2146                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2147                    throws com.liferay.portal.kernel.exception.SystemException;
2148    
2149            /**
2150            * Removes all the d d m structures from the database.
2151            *
2152            * @throws SystemException if a system exception occurred
2153            */
2154            public void removeAll()
2155                    throws com.liferay.portal.kernel.exception.SystemException;
2156    
2157            /**
2158            * Returns the number of d d m structures.
2159            *
2160            * @return the number of d d m structures
2161            * @throws SystemException if a system exception occurred
2162            */
2163            public int countAll()
2164                    throws com.liferay.portal.kernel.exception.SystemException;
2165    
2166            /**
2167            * Returns all the document library file entry types associated with the d d m structure.
2168            *
2169            * @param pk the primary key of the d d m structure
2170            * @return the document library file entry types associated with the d d m structure
2171            * @throws SystemException if a system exception occurred
2172            */
2173            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
2174                    long pk) throws com.liferay.portal.kernel.exception.SystemException;
2175    
2176            /**
2177            * Returns a range of all the document library file entry types associated with the d d m structure.
2178            *
2179            * <p>
2180            * 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.
2181            * </p>
2182            *
2183            * @param pk the primary key of the d d m structure
2184            * @param start the lower bound of the range of d d m structures
2185            * @param end the upper bound of the range of d d m structures (not inclusive)
2186            * @return the range of document library file entry types associated with the d d m structure
2187            * @throws SystemException if a system exception occurred
2188            */
2189            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
2190                    long pk, int start, int end)
2191                    throws com.liferay.portal.kernel.exception.SystemException;
2192    
2193            /**
2194            * Returns an ordered range of all the document library file entry types associated with the d d m structure.
2195            *
2196            * <p>
2197            * 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.
2198            * </p>
2199            *
2200            * @param pk the primary key of the d d m structure
2201            * @param start the lower bound of the range of d d m structures
2202            * @param end the upper bound of the range of d d m structures (not inclusive)
2203            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
2204            * @return the ordered range of document library file entry types associated with the d d m structure
2205            * @throws SystemException if a system exception occurred
2206            */
2207            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> getDLFileEntryTypes(
2208                    long pk, int start, int end,
2209                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
2210                    throws com.liferay.portal.kernel.exception.SystemException;
2211    
2212            /**
2213            * Returns the number of document library file entry types associated with the d d m structure.
2214            *
2215            * @param pk the primary key of the d d m structure
2216            * @return the number of document library file entry types associated with the d d m structure
2217            * @throws SystemException if a system exception occurred
2218            */
2219            public int getDLFileEntryTypesSize(long pk)
2220                    throws com.liferay.portal.kernel.exception.SystemException;
2221    
2222            /**
2223            * Returns <code>true</code> if the document library file entry type is associated with the d d m structure.
2224            *
2225            * @param pk the primary key of the d d m structure
2226            * @param dlFileEntryTypePK the primary key of the document library file entry type
2227            * @return <code>true</code> if the document library file entry type is associated with the d d m structure; <code>false</code> otherwise
2228            * @throws SystemException if a system exception occurred
2229            */
2230            public boolean containsDLFileEntryType(long pk, long dlFileEntryTypePK)
2231                    throws com.liferay.portal.kernel.exception.SystemException;
2232    
2233            /**
2234            * Returns <code>true</code> if the d d m structure has any document library file entry types associated with it.
2235            *
2236            * @param pk the primary key of the d d m structure to check for associations with document library file entry types
2237            * @return <code>true</code> if the d d m structure has any document library file entry types associated with it; <code>false</code> otherwise
2238            * @throws SystemException if a system exception occurred
2239            */
2240            public boolean containsDLFileEntryTypes(long pk)
2241                    throws com.liferay.portal.kernel.exception.SystemException;
2242    
2243            /**
2244            * 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.
2245            *
2246            * @param pk the primary key of the d d m structure
2247            * @param dlFileEntryTypePK the primary key of the document library file entry type
2248            * @throws SystemException if a system exception occurred
2249            */
2250            public void addDLFileEntryType(long pk, long dlFileEntryTypePK)
2251                    throws com.liferay.portal.kernel.exception.SystemException;
2252    
2253            /**
2254            * 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.
2255            *
2256            * @param pk the primary key of the d d m structure
2257            * @param dlFileEntryType the document library file entry type
2258            * @throws SystemException if a system exception occurred
2259            */
2260            public void addDLFileEntryType(long pk,
2261                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
2262                    throws com.liferay.portal.kernel.exception.SystemException;
2263    
2264            /**
2265            * 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.
2266            *
2267            * @param pk the primary key of the d d m structure
2268            * @param dlFileEntryTypePKs the primary keys of the document library file entry types
2269            * @throws SystemException if a system exception occurred
2270            */
2271            public void addDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
2272                    throws com.liferay.portal.kernel.exception.SystemException;
2273    
2274            /**
2275            * 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.
2276            *
2277            * @param pk the primary key of the d d m structure
2278            * @param dlFileEntryTypes the document library file entry types
2279            * @throws SystemException if a system exception occurred
2280            */
2281            public void addDLFileEntryTypes(long pk,
2282                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes)
2283                    throws com.liferay.portal.kernel.exception.SystemException;
2284    
2285            /**
2286            * 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.
2287            *
2288            * @param pk the primary key of the d d m structure to clear the associated document library file entry types from
2289            * @throws SystemException if a system exception occurred
2290            */
2291            public void clearDLFileEntryTypes(long pk)
2292                    throws com.liferay.portal.kernel.exception.SystemException;
2293    
2294            /**
2295            * 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.
2296            *
2297            * @param pk the primary key of the d d m structure
2298            * @param dlFileEntryTypePK the primary key of the document library file entry type
2299            * @throws SystemException if a system exception occurred
2300            */
2301            public void removeDLFileEntryType(long pk, long dlFileEntryTypePK)
2302                    throws com.liferay.portal.kernel.exception.SystemException;
2303    
2304            /**
2305            * 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.
2306            *
2307            * @param pk the primary key of the d d m structure
2308            * @param dlFileEntryType the document library file entry type
2309            * @throws SystemException if a system exception occurred
2310            */
2311            public void removeDLFileEntryType(long pk,
2312                    com.liferay.portlet.documentlibrary.model.DLFileEntryType dlFileEntryType)
2313                    throws com.liferay.portal.kernel.exception.SystemException;
2314    
2315            /**
2316            * 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.
2317            *
2318            * @param pk the primary key of the d d m structure
2319            * @param dlFileEntryTypePKs the primary keys of the document library file entry types
2320            * @throws SystemException if a system exception occurred
2321            */
2322            public void removeDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
2323                    throws com.liferay.portal.kernel.exception.SystemException;
2324    
2325            /**
2326            * 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.
2327            *
2328            * @param pk the primary key of the d d m structure
2329            * @param dlFileEntryTypes the document library file entry types
2330            * @throws SystemException if a system exception occurred
2331            */
2332            public void removeDLFileEntryTypes(long pk,
2333                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes)
2334                    throws com.liferay.portal.kernel.exception.SystemException;
2335    
2336            /**
2337            * 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.
2338            *
2339            * @param pk the primary key of the d d m structure
2340            * @param dlFileEntryTypePKs the primary keys of the document library file entry types to be associated with the d d m structure
2341            * @throws SystemException if a system exception occurred
2342            */
2343            public void setDLFileEntryTypes(long pk, long[] dlFileEntryTypePKs)
2344                    throws com.liferay.portal.kernel.exception.SystemException;
2345    
2346            /**
2347            * 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.
2348            *
2349            * @param pk the primary key of the d d m structure
2350            * @param dlFileEntryTypes the document library file entry types to be associated with the d d m structure
2351            * @throws SystemException if a system exception occurred
2352            */
2353            public void setDLFileEntryTypes(long pk,
2354                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntryType> dlFileEntryTypes)
2355                    throws com.liferay.portal.kernel.exception.SystemException;
2356    }