001    /**
002     * Copyright (c) 2000-2012 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 classNameId = &#63;.
996            *
997            * @param groupId the group ID
998            * @param classNameId the class name 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_C(
1003                    long groupId, long classNameId)
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 classNameId = &#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 classNameId the class name 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_C(
1021                    long groupId, long classNameId, 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 classNameId = &#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 classNameId the class name 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_C(
1040                    long groupId, long classNameId, 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 classNameId = &#63;.
1046            *
1047            * @param groupId the group ID
1048            * @param classNameId the class name 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_C_First(
1055                    long groupId, long classNameId,
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 classNameId = &#63;.
1062            *
1063            * @param groupId the group ID
1064            * @param classNameId the class name 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_C_First(
1070                    long groupId, long classNameId,
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 classNameId = &#63;.
1076            *
1077            * @param groupId the group ID
1078            * @param classNameId the class name 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_C_Last(
1085                    long groupId, long classNameId,
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 classNameId = &#63;.
1092            *
1093            * @param groupId the group ID
1094            * @param classNameId the class name 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_C_Last(
1100                    long groupId, long classNameId,
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 classNameId = &#63;.
1106            *
1107            * @param structureId the primary key of the current d d m structure
1108            * @param groupId the group ID
1109            * @param classNameId the class name 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_C_PrevAndNext(
1116                    long structureId, long groupId, long classNameId,
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 classNameId = &#63;.
1123            *
1124            * @param groupId the group ID
1125            * @param classNameId the class name 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_C(
1130                    long groupId, long classNameId)
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 classNameId = &#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 classNameId the class name 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_C(
1148                    long groupId, long classNameId, 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 classNameId = &#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 classNameId the class name 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_C(
1167                    long groupId, long classNameId, 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 classNameId = &#63;.
1173            *
1174            * @param structureId the primary key of the current d d m structure
1175            * @param groupId the group ID
1176            * @param classNameId the class name 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_C_PrevAndNext(
1183                    long structureId, long groupId, long classNameId,
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 classNameId = &#63; from the database.
1190            *
1191            * @param groupId the group ID
1192            * @param classNameId the class name ID
1193            * @throws SystemException if a system exception occurred
1194            */
1195            public void removeByG_C(long groupId, long classNameId)
1196                    throws com.liferay.portal.kernel.exception.SystemException;
1197    
1198            /**
1199            * Returns the number of d d m structures where groupId = &#63; and classNameId = &#63;.
1200            *
1201            * @param groupId the group ID
1202            * @param classNameId the class name ID
1203            * @return the number of matching d d m structures
1204            * @throws SystemException if a system exception occurred
1205            */
1206            public int countByG_C(long groupId, long classNameId)
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 classNameId = &#63;.
1211            *
1212            * @param groupId the group ID
1213            * @param classNameId the class name 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_C(long groupId, long classNameId)
1218                    throws com.liferay.portal.kernel.exception.SystemException;
1219    
1220            /**
1221            * Returns the d d m structure where groupId = &#63; and structureKey = &#63; or throws a {@link com.liferay.portlet.dynamicdatamapping.NoSuchStructureException} if it could not be found.
1222            *
1223            * @param groupId the group ID
1224            * @param structureKey the structure key
1225            * @return the matching d d m structure
1226            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1227            * @throws SystemException if a system exception occurred
1228            */
1229            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_S(
1230                    long groupId, java.lang.String structureKey)
1231                    throws com.liferay.portal.kernel.exception.SystemException,
1232                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1233    
1234            /**
1235            * Returns the d d m structure where groupId = &#63; and structureKey = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
1236            *
1237            * @param groupId the group ID
1238            * @param structureKey the structure key
1239            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1240            * @throws SystemException if a system exception occurred
1241            */
1242            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_S(
1243                    long groupId, java.lang.String structureKey)
1244                    throws com.liferay.portal.kernel.exception.SystemException;
1245    
1246            /**
1247            * Returns the d d m structure where groupId = &#63; and structureKey = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
1248            *
1249            * @param groupId the group ID
1250            * @param structureKey the structure key
1251            * @param retrieveFromCache whether to use the finder cache
1252            * @return the matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1253            * @throws SystemException if a system exception occurred
1254            */
1255            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_S(
1256                    long groupId, java.lang.String structureKey, boolean retrieveFromCache)
1257                    throws com.liferay.portal.kernel.exception.SystemException;
1258    
1259            /**
1260            * Removes the d d m structure where groupId = &#63; and structureKey = &#63; from the database.
1261            *
1262            * @param groupId the group ID
1263            * @param structureKey the structure key
1264            * @return the d d m structure that was removed
1265            * @throws SystemException if a system exception occurred
1266            */
1267            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure removeByG_S(
1268                    long groupId, java.lang.String structureKey)
1269                    throws com.liferay.portal.kernel.exception.SystemException,
1270                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1271    
1272            /**
1273            * Returns the number of d d m structures where groupId = &#63; and structureKey = &#63;.
1274            *
1275            * @param groupId the group ID
1276            * @param structureKey the structure key
1277            * @return the number of matching d d m structures
1278            * @throws SystemException if a system exception occurred
1279            */
1280            public int countByG_S(long groupId, java.lang.String structureKey)
1281                    throws com.liferay.portal.kernel.exception.SystemException;
1282    
1283            /**
1284            * Returns all the d d m structures where companyId = &#63; and classNameId = &#63;.
1285            *
1286            * @param companyId the company ID
1287            * @param classNameId the class name ID
1288            * @return the matching d d m structures
1289            * @throws SystemException if a system exception occurred
1290            */
1291            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1292                    long companyId, long classNameId)
1293                    throws com.liferay.portal.kernel.exception.SystemException;
1294    
1295            /**
1296            * Returns a range of all the d d m structures where companyId = &#63; and classNameId = &#63;.
1297            *
1298            * <p>
1299            * 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.
1300            * </p>
1301            *
1302            * @param companyId the company ID
1303            * @param classNameId the class name ID
1304            * @param start the lower bound of the range of d d m structures
1305            * @param end the upper bound of the range of d d m structures (not inclusive)
1306            * @return the range of matching d d m structures
1307            * @throws SystemException if a system exception occurred
1308            */
1309            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1310                    long companyId, long classNameId, int start, int end)
1311                    throws com.liferay.portal.kernel.exception.SystemException;
1312    
1313            /**
1314            * Returns an ordered range of all the d d m structures where companyId = &#63; and classNameId = &#63;.
1315            *
1316            * <p>
1317            * 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.
1318            * </p>
1319            *
1320            * @param companyId the company ID
1321            * @param classNameId the class name ID
1322            * @param start the lower bound of the range of d d m structures
1323            * @param end the upper bound of the range of d d m structures (not inclusive)
1324            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1325            * @return the ordered range of matching d d m structures
1326            * @throws SystemException if a system exception occurred
1327            */
1328            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByC_C(
1329                    long companyId, long classNameId, int start, int end,
1330                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1331                    throws com.liferay.portal.kernel.exception.SystemException;
1332    
1333            /**
1334            * Returns the first d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1335            *
1336            * @param companyId the company ID
1337            * @param classNameId the class name ID
1338            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1339            * @return the first matching d d m structure
1340            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1341            * @throws SystemException if a system exception occurred
1342            */
1343            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_First(
1344                    long companyId, long classNameId,
1345                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1346                    throws com.liferay.portal.kernel.exception.SystemException,
1347                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1348    
1349            /**
1350            * Returns the first d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1351            *
1352            * @param companyId the company ID
1353            * @param classNameId the class name ID
1354            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1355            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1356            * @throws SystemException if a system exception occurred
1357            */
1358            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_First(
1359                    long companyId, long classNameId,
1360                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1361                    throws com.liferay.portal.kernel.exception.SystemException;
1362    
1363            /**
1364            * Returns the last d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1365            *
1366            * @param companyId the company ID
1367            * @param classNameId the class name ID
1368            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1369            * @return the last matching d d m structure
1370            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1371            * @throws SystemException if a system exception occurred
1372            */
1373            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByC_C_Last(
1374                    long companyId, long classNameId,
1375                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1376                    throws com.liferay.portal.kernel.exception.SystemException,
1377                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1378    
1379            /**
1380            * Returns the last d d m structure in the ordered set where companyId = &#63; and classNameId = &#63;.
1381            *
1382            * @param companyId the company ID
1383            * @param classNameId the class name ID
1384            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1385            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1386            * @throws SystemException if a system exception occurred
1387            */
1388            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByC_C_Last(
1389                    long companyId, long classNameId,
1390                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1391                    throws com.liferay.portal.kernel.exception.SystemException;
1392    
1393            /**
1394            * 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;.
1395            *
1396            * @param structureId the primary key of the current d d m structure
1397            * @param companyId the company ID
1398            * @param classNameId the class name ID
1399            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1400            * @return the previous, current, and next d d m structure
1401            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1402            * @throws SystemException if a system exception occurred
1403            */
1404            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByC_C_PrevAndNext(
1405                    long structureId, long companyId, long classNameId,
1406                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1407                    throws com.liferay.portal.kernel.exception.SystemException,
1408                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1409    
1410            /**
1411            * Removes all the d d m structures where companyId = &#63; and classNameId = &#63; from the database.
1412            *
1413            * @param companyId the company ID
1414            * @param classNameId the class name ID
1415            * @throws SystemException if a system exception occurred
1416            */
1417            public void removeByC_C(long companyId, long classNameId)
1418                    throws com.liferay.portal.kernel.exception.SystemException;
1419    
1420            /**
1421            * Returns the number of d d m structures where companyId = &#63; and classNameId = &#63;.
1422            *
1423            * @param companyId the company ID
1424            * @param classNameId the class name ID
1425            * @return the number of matching d d m structures
1426            * @throws SystemException if a system exception occurred
1427            */
1428            public int countByC_C(long companyId, long classNameId)
1429                    throws com.liferay.portal.kernel.exception.SystemException;
1430    
1431            /**
1432            * Returns all the d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1433            *
1434            * @param groupId the group ID
1435            * @param name the name
1436            * @param description the description
1437            * @return the matching d d m structures
1438            * @throws SystemException if a system exception occurred
1439            */
1440            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1441                    long groupId, java.lang.String name, java.lang.String description)
1442                    throws com.liferay.portal.kernel.exception.SystemException;
1443    
1444            /**
1445            * Returns a range of all the d d m structures where groupId = &#63; and name = &#63; and description = &#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 groupId the group ID
1452            * @param name the name
1453            * @param description the description
1454            * @param start the lower bound of the range of d d m structures
1455            * @param end the upper bound of the range of d d m structures (not inclusive)
1456            * @return the range of matching d d m structures
1457            * @throws SystemException if a system exception occurred
1458            */
1459            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1460                    long groupId, java.lang.String name, java.lang.String description,
1461                    int start, int end)
1462                    throws com.liferay.portal.kernel.exception.SystemException;
1463    
1464            /**
1465            * Returns an ordered range of all the d d m structures where groupId = &#63; and name = &#63; and description = &#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 groupId the group ID
1472            * @param name the name
1473            * @param description the description
1474            * @param start the lower bound of the range of d d m structures
1475            * @param end the upper bound of the range of d d m structures (not inclusive)
1476            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1477            * @return the ordered range of matching d d m structures
1478            * @throws SystemException if a system exception occurred
1479            */
1480            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findByG_N_D(
1481                    long groupId, java.lang.String name, java.lang.String description,
1482                    int start, int end,
1483                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1484                    throws com.liferay.portal.kernel.exception.SystemException;
1485    
1486            /**
1487            * Returns the first d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1488            *
1489            * @param groupId the group ID
1490            * @param name the name
1491            * @param description the description
1492            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1493            * @return the first matching d d m structure
1494            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1495            * @throws SystemException if a system exception occurred
1496            */
1497            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_First(
1498                    long groupId, java.lang.String name, java.lang.String description,
1499                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1500                    throws com.liferay.portal.kernel.exception.SystemException,
1501                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1502    
1503            /**
1504            * Returns the first d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1505            *
1506            * @param groupId the group ID
1507            * @param name the name
1508            * @param description the description
1509            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1510            * @return the first matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1511            * @throws SystemException if a system exception occurred
1512            */
1513            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_First(
1514                    long groupId, java.lang.String name, java.lang.String description,
1515                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1516                    throws com.liferay.portal.kernel.exception.SystemException;
1517    
1518            /**
1519            * Returns the last d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1520            *
1521            * @param groupId the group ID
1522            * @param name the name
1523            * @param description the description
1524            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1525            * @return the last matching d d m structure
1526            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a matching d d m structure could not be found
1527            * @throws SystemException if a system exception occurred
1528            */
1529            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByG_N_D_Last(
1530                    long groupId, java.lang.String name, java.lang.String description,
1531                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1532                    throws com.liferay.portal.kernel.exception.SystemException,
1533                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1534    
1535            /**
1536            * Returns the last d d m structure in the ordered set where groupId = &#63; and name = &#63; and description = &#63;.
1537            *
1538            * @param groupId the group ID
1539            * @param name the name
1540            * @param description the description
1541            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1542            * @return the last matching d d m structure, or <code>null</code> if a matching d d m structure could not be found
1543            * @throws SystemException if a system exception occurred
1544            */
1545            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByG_N_D_Last(
1546                    long groupId, java.lang.String name, java.lang.String description,
1547                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1548                    throws com.liferay.portal.kernel.exception.SystemException;
1549    
1550            /**
1551            * 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;.
1552            *
1553            * @param structureId the primary key of the current d d m structure
1554            * @param groupId the group ID
1555            * @param name the name
1556            * @param description the description
1557            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1558            * @return the previous, current, and next d d m structure
1559            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1560            * @throws SystemException if a system exception occurred
1561            */
1562            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] findByG_N_D_PrevAndNext(
1563                    long structureId, long groupId, java.lang.String name,
1564                    java.lang.String description,
1565                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1566                    throws com.liferay.portal.kernel.exception.SystemException,
1567                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1568    
1569            /**
1570            * Returns all the d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
1571            *
1572            * @param groupId the group ID
1573            * @param name the name
1574            * @param description the description
1575            * @return the matching d d m structures that the user has permission to view
1576            * @throws SystemException if a system exception occurred
1577            */
1578            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D(
1579                    long groupId, java.lang.String name, java.lang.String description)
1580                    throws com.liferay.portal.kernel.exception.SystemException;
1581    
1582            /**
1583            * 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;.
1584            *
1585            * <p>
1586            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.dynamicdatamapping.model.impl.DDMStructureModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1587            * </p>
1588            *
1589            * @param groupId the group ID
1590            * @param name the name
1591            * @param description the description
1592            * @param start the lower bound of the range of d d m structures
1593            * @param end the upper bound of the range of d d m structures (not inclusive)
1594            * @return the range of matching d d m structures that the user has permission to view
1595            * @throws SystemException if a system exception occurred
1596            */
1597            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D(
1598                    long groupId, java.lang.String name, java.lang.String description,
1599                    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 that the user has permissions to view where groupId = &#63; and name = &#63; and description = &#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 groupId the group ID
1610            * @param name the name
1611            * @param description the description
1612            * @param start the lower bound of the range of d d m structures
1613            * @param end the upper bound of the range of d d m structures (not inclusive)
1614            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1615            * @return the ordered range of matching d d m structures that the user has permission to view
1616            * @throws SystemException if a system exception occurred
1617            */
1618            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> filterFindByG_N_D(
1619                    long groupId, java.lang.String name, java.lang.String description,
1620                    int start, int end,
1621                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1622                    throws com.liferay.portal.kernel.exception.SystemException;
1623    
1624            /**
1625            * 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;.
1626            *
1627            * @param structureId the primary key of the current d d m structure
1628            * @param groupId the group ID
1629            * @param name the name
1630            * @param description the description
1631            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1632            * @return the previous, current, and next d d m structure
1633            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1634            * @throws SystemException if a system exception occurred
1635            */
1636            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure[] filterFindByG_N_D_PrevAndNext(
1637                    long structureId, long groupId, java.lang.String name,
1638                    java.lang.String description,
1639                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1640                    throws com.liferay.portal.kernel.exception.SystemException,
1641                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1642    
1643            /**
1644            * Removes all the d d m structures where groupId = &#63; and name = &#63; and description = &#63; from the database.
1645            *
1646            * @param groupId the group ID
1647            * @param name the name
1648            * @param description the description
1649            * @throws SystemException if a system exception occurred
1650            */
1651            public void removeByG_N_D(long groupId, java.lang.String name,
1652                    java.lang.String description)
1653                    throws com.liferay.portal.kernel.exception.SystemException;
1654    
1655            /**
1656            * Returns the number of d d m structures where groupId = &#63; and name = &#63; and description = &#63;.
1657            *
1658            * @param groupId the group ID
1659            * @param name the name
1660            * @param description the description
1661            * @return the number of matching d d m structures
1662            * @throws SystemException if a system exception occurred
1663            */
1664            public int countByG_N_D(long groupId, java.lang.String name,
1665                    java.lang.String description)
1666                    throws com.liferay.portal.kernel.exception.SystemException;
1667    
1668            /**
1669            * Returns the number of d d m structures that the user has permission to view where groupId = &#63; and name = &#63; and description = &#63;.
1670            *
1671            * @param groupId the group ID
1672            * @param name the name
1673            * @param description the description
1674            * @return the number of matching d d m structures that the user has permission to view
1675            * @throws SystemException if a system exception occurred
1676            */
1677            public int filterCountByG_N_D(long groupId, java.lang.String name,
1678                    java.lang.String description)
1679                    throws com.liferay.portal.kernel.exception.SystemException;
1680    
1681            /**
1682            * Caches the d d m structure in the entity cache if it is enabled.
1683            *
1684            * @param ddmStructure the d d m structure
1685            */
1686            public void cacheResult(
1687                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure);
1688    
1689            /**
1690            * Caches the d d m structures in the entity cache if it is enabled.
1691            *
1692            * @param ddmStructures the d d m structures
1693            */
1694            public void cacheResult(
1695                    java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> ddmStructures);
1696    
1697            /**
1698            * Creates a new d d m structure with the primary key. Does not add the d d m structure to the database.
1699            *
1700            * @param structureId the primary key for the new d d m structure
1701            * @return the new d d m structure
1702            */
1703            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure create(
1704                    long structureId);
1705    
1706            /**
1707            * Removes the d d m structure with the primary key from the database. Also notifies the appropriate model listeners.
1708            *
1709            * @param structureId the primary key of the d d m structure
1710            * @return the d d m structure that was removed
1711            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1712            * @throws SystemException if a system exception occurred
1713            */
1714            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure remove(
1715                    long structureId)
1716                    throws com.liferay.portal.kernel.exception.SystemException,
1717                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1718    
1719            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure updateImpl(
1720                    com.liferay.portlet.dynamicdatamapping.model.DDMStructure ddmStructure)
1721                    throws com.liferay.portal.kernel.exception.SystemException;
1722    
1723            /**
1724            * 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.
1725            *
1726            * @param structureId the primary key of the d d m structure
1727            * @return the d d m structure
1728            * @throws com.liferay.portlet.dynamicdatamapping.NoSuchStructureException if a d d m structure with the primary key could not be found
1729            * @throws SystemException if a system exception occurred
1730            */
1731            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure findByPrimaryKey(
1732                    long structureId)
1733                    throws com.liferay.portal.kernel.exception.SystemException,
1734                            com.liferay.portlet.dynamicdatamapping.NoSuchStructureException;
1735    
1736            /**
1737            * Returns the d d m structure with the primary key or returns <code>null</code> if it could not be found.
1738            *
1739            * @param structureId the primary key of the d d m structure
1740            * @return the d d m structure, or <code>null</code> if a d d m structure with the primary key could not be found
1741            * @throws SystemException if a system exception occurred
1742            */
1743            public com.liferay.portlet.dynamicdatamapping.model.DDMStructure fetchByPrimaryKey(
1744                    long structureId)
1745                    throws com.liferay.portal.kernel.exception.SystemException;
1746    
1747            /**
1748            * Returns all the d d m structures.
1749            *
1750            * @return the d d m structures
1751            * @throws SystemException if a system exception occurred
1752            */
1753            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll()
1754                    throws com.liferay.portal.kernel.exception.SystemException;
1755    
1756            /**
1757            * Returns a range of all the d d m structures.
1758            *
1759            * <p>
1760            * 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.
1761            * </p>
1762            *
1763            * @param start the lower bound of the range of d d m structures
1764            * @param end the upper bound of the range of d d m structures (not inclusive)
1765            * @return the range of d d m structures
1766            * @throws SystemException if a system exception occurred
1767            */
1768            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll(
1769                    int start, int end)
1770                    throws com.liferay.portal.kernel.exception.SystemException;
1771    
1772            /**
1773            * Returns an ordered range of all the d d m structures.
1774            *
1775            * <p>
1776            * 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.
1777            * </p>
1778            *
1779            * @param start the lower bound of the range of d d m structures
1780            * @param end the upper bound of the range of d d m structures (not inclusive)
1781            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1782            * @return the ordered range of d d m structures
1783            * @throws SystemException if a system exception occurred
1784            */
1785            public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStructure> findAll(
1786                    int start, int end,
1787                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1788                    throws com.liferay.portal.kernel.exception.SystemException;
1789    
1790            /**
1791            * Removes all the d d m structures from the database.
1792            *
1793            * @throws SystemException if a system exception occurred
1794            */
1795            public void removeAll()
1796                    throws com.liferay.portal.kernel.exception.SystemException;
1797    
1798            /**
1799            * Returns the number of d d m structures.
1800            *
1801            * @return the number of d d m structures
1802            * @throws SystemException if a system exception occurred
1803            */
1804            public int countAll()
1805                    throws com.liferay.portal.kernel.exception.SystemException;
1806    }