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