001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.exportimport.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.persistence.BasePersistence;
020    
021    import com.liferay.portlet.exportimport.model.ExportImportConfiguration;
022    
023    /**
024     * The persistence interface for the export import configuration service.
025     *
026     * <p>
027     * Caching information and settings can be found in <code>portal.properties</code>
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see com.liferay.portlet.exportimport.service.persistence.impl.ExportImportConfigurationPersistenceImpl
032     * @see ExportImportConfigurationUtil
033     * @generated
034     */
035    @ProviderType
036    public interface ExportImportConfigurationPersistence extends BasePersistence<ExportImportConfiguration> {
037            /*
038             * NOTE FOR DEVELOPERS:
039             *
040             * Never modify or reference this interface directly. Always use {@link ExportImportConfigurationUtil} to access the export import configuration persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
041             */
042    
043            /**
044            * Returns all the export import configurations where groupId = &#63;.
045            *
046            * @param groupId the group ID
047            * @return the matching export import configurations
048            */
049            public java.util.List<ExportImportConfiguration> findByGroupId(long groupId);
050    
051            /**
052            * Returns a range of all the export import configurations where groupId = &#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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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 groupId the group ID
059            * @param start the lower bound of the range of export import configurations
060            * @param end the upper bound of the range of export import configurations (not inclusive)
061            * @return the range of matching export import configurations
062            */
063            public java.util.List<ExportImportConfiguration> findByGroupId(
064                    long groupId, int start, int end);
065    
066            /**
067            * Returns an ordered range of all the export import configurations where groupId = &#63;.
068            *
069            * <p>
070            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
071            * </p>
072            *
073            * @param groupId the group ID
074            * @param start the lower bound of the range of export import configurations
075            * @param end the upper bound of the range of export import configurations (not inclusive)
076            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
077            * @return the ordered range of matching export import configurations
078            */
079            public java.util.List<ExportImportConfiguration> findByGroupId(
080                    long groupId, int start, int end,
081                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
082    
083            /**
084            * Returns an ordered range of all the export import configurations where groupId = &#63;.
085            *
086            * <p>
087            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
088            * </p>
089            *
090            * @param groupId the group ID
091            * @param start the lower bound of the range of export import configurations
092            * @param end the upper bound of the range of export import configurations (not inclusive)
093            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
094            * @param retrieveFromCache whether to retrieve from the finder cache
095            * @return the ordered range of matching export import configurations
096            */
097            public java.util.List<ExportImportConfiguration> findByGroupId(
098                    long groupId, int start, int end,
099                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator,
100                    boolean retrieveFromCache);
101    
102            /**
103            * Returns the first export import configuration in the ordered set where groupId = &#63;.
104            *
105            * @param groupId the group ID
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching export import configuration
108            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
109            */
110            public ExportImportConfiguration findByGroupId_First(long groupId,
111                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
112                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
113    
114            /**
115            * Returns the first export import configuration in the ordered set where groupId = &#63;.
116            *
117            * @param groupId the group ID
118            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
119            * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
120            */
121            public ExportImportConfiguration fetchByGroupId_First(long groupId,
122                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
123    
124            /**
125            * Returns the last export import configuration in the ordered set where groupId = &#63;.
126            *
127            * @param groupId the group ID
128            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
129            * @return the last matching export import configuration
130            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
131            */
132            public ExportImportConfiguration findByGroupId_Last(long groupId,
133                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
134                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
135    
136            /**
137            * Returns the last export import configuration in the ordered set where groupId = &#63;.
138            *
139            * @param groupId the group ID
140            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
141            * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
142            */
143            public ExportImportConfiguration fetchByGroupId_Last(long groupId,
144                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
145    
146            /**
147            * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = &#63;.
148            *
149            * @param exportImportConfigurationId the primary key of the current export import configuration
150            * @param groupId the group ID
151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
152            * @return the previous, current, and next export import configuration
153            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
154            */
155            public ExportImportConfiguration[] findByGroupId_PrevAndNext(
156                    long exportImportConfigurationId, long groupId,
157                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
158                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
159    
160            /**
161            * Removes all the export import configurations where groupId = &#63; from the database.
162            *
163            * @param groupId the group ID
164            */
165            public void removeByGroupId(long groupId);
166    
167            /**
168            * Returns the number of export import configurations where groupId = &#63;.
169            *
170            * @param groupId the group ID
171            * @return the number of matching export import configurations
172            */
173            public int countByGroupId(long groupId);
174    
175            /**
176            * Returns all the export import configurations where companyId = &#63;.
177            *
178            * @param companyId the company ID
179            * @return the matching export import configurations
180            */
181            public java.util.List<ExportImportConfiguration> findByCompanyId(
182                    long companyId);
183    
184            /**
185            * Returns a range of all the export import configurations where companyId = &#63;.
186            *
187            * <p>
188            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
189            * </p>
190            *
191            * @param companyId the company ID
192            * @param start the lower bound of the range of export import configurations
193            * @param end the upper bound of the range of export import configurations (not inclusive)
194            * @return the range of matching export import configurations
195            */
196            public java.util.List<ExportImportConfiguration> findByCompanyId(
197                    long companyId, int start, int end);
198    
199            /**
200            * Returns an ordered range of all the export import configurations where companyId = &#63;.
201            *
202            * <p>
203            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
204            * </p>
205            *
206            * @param companyId the company ID
207            * @param start the lower bound of the range of export import configurations
208            * @param end the upper bound of the range of export import configurations (not inclusive)
209            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
210            * @return the ordered range of matching export import configurations
211            */
212            public java.util.List<ExportImportConfiguration> findByCompanyId(
213                    long companyId, int start, int end,
214                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
215    
216            /**
217            * Returns an ordered range of all the export import configurations where companyId = &#63;.
218            *
219            * <p>
220            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
221            * </p>
222            *
223            * @param companyId the company ID
224            * @param start the lower bound of the range of export import configurations
225            * @param end the upper bound of the range of export import configurations (not inclusive)
226            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
227            * @param retrieveFromCache whether to retrieve from the finder cache
228            * @return the ordered range of matching export import configurations
229            */
230            public java.util.List<ExportImportConfiguration> findByCompanyId(
231                    long companyId, int start, int end,
232                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator,
233                    boolean retrieveFromCache);
234    
235            /**
236            * Returns the first export import configuration in the ordered set where companyId = &#63;.
237            *
238            * @param companyId the company ID
239            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
240            * @return the first matching export import configuration
241            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
242            */
243            public ExportImportConfiguration findByCompanyId_First(long companyId,
244                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
245                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
246    
247            /**
248            * Returns the first export import configuration in the ordered set where companyId = &#63;.
249            *
250            * @param companyId the company ID
251            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
252            * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
253            */
254            public ExportImportConfiguration fetchByCompanyId_First(long companyId,
255                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
256    
257            /**
258            * Returns the last export import configuration in the ordered set where companyId = &#63;.
259            *
260            * @param companyId the company ID
261            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
262            * @return the last matching export import configuration
263            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
264            */
265            public ExportImportConfiguration findByCompanyId_Last(long companyId,
266                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
267                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
268    
269            /**
270            * Returns the last export import configuration in the ordered set where companyId = &#63;.
271            *
272            * @param companyId the company ID
273            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
274            * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
275            */
276            public ExportImportConfiguration fetchByCompanyId_Last(long companyId,
277                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
278    
279            /**
280            * Returns the export import configurations before and after the current export import configuration in the ordered set where companyId = &#63;.
281            *
282            * @param exportImportConfigurationId the primary key of the current export import configuration
283            * @param companyId the company ID
284            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
285            * @return the previous, current, and next export import configuration
286            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
287            */
288            public ExportImportConfiguration[] findByCompanyId_PrevAndNext(
289                    long exportImportConfigurationId, long companyId,
290                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
291                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
292    
293            /**
294            * Removes all the export import configurations where companyId = &#63; from the database.
295            *
296            * @param companyId the company ID
297            */
298            public void removeByCompanyId(long companyId);
299    
300            /**
301            * Returns the number of export import configurations where companyId = &#63;.
302            *
303            * @param companyId the company ID
304            * @return the number of matching export import configurations
305            */
306            public int countByCompanyId(long companyId);
307    
308            /**
309            * Returns all the export import configurations where groupId = &#63; and type = &#63;.
310            *
311            * @param groupId the group ID
312            * @param type the type
313            * @return the matching export import configurations
314            */
315            public java.util.List<ExportImportConfiguration> findByG_T(long groupId,
316                    int type);
317    
318            /**
319            * Returns a range of all the export import configurations where groupId = &#63; and type = &#63;.
320            *
321            * <p>
322            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
323            * </p>
324            *
325            * @param groupId the group ID
326            * @param type the type
327            * @param start the lower bound of the range of export import configurations
328            * @param end the upper bound of the range of export import configurations (not inclusive)
329            * @return the range of matching export import configurations
330            */
331            public java.util.List<ExportImportConfiguration> findByG_T(long groupId,
332                    int type, int start, int end);
333    
334            /**
335            * Returns an ordered range of all the export import configurations where groupId = &#63; and type = &#63;.
336            *
337            * <p>
338            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
339            * </p>
340            *
341            * @param groupId the group ID
342            * @param type the type
343            * @param start the lower bound of the range of export import configurations
344            * @param end the upper bound of the range of export import configurations (not inclusive)
345            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
346            * @return the ordered range of matching export import configurations
347            */
348            public java.util.List<ExportImportConfiguration> findByG_T(long groupId,
349                    int type, int start, int end,
350                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
351    
352            /**
353            * Returns an ordered range of all the export import configurations where groupId = &#63; and type = &#63;.
354            *
355            * <p>
356            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
357            * </p>
358            *
359            * @param groupId the group ID
360            * @param type the type
361            * @param start the lower bound of the range of export import configurations
362            * @param end the upper bound of the range of export import configurations (not inclusive)
363            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
364            * @param retrieveFromCache whether to retrieve from the finder cache
365            * @return the ordered range of matching export import configurations
366            */
367            public java.util.List<ExportImportConfiguration> findByG_T(long groupId,
368                    int type, int start, int end,
369                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator,
370                    boolean retrieveFromCache);
371    
372            /**
373            * Returns the first export import configuration in the ordered set where groupId = &#63; and type = &#63;.
374            *
375            * @param groupId the group ID
376            * @param type the type
377            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
378            * @return the first matching export import configuration
379            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
380            */
381            public ExportImportConfiguration findByG_T_First(long groupId, int type,
382                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
383                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
384    
385            /**
386            * Returns the first export import configuration in the ordered set where groupId = &#63; and type = &#63;.
387            *
388            * @param groupId the group ID
389            * @param type the type
390            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
391            * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
392            */
393            public ExportImportConfiguration fetchByG_T_First(long groupId, int type,
394                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
395    
396            /**
397            * Returns the last export import configuration in the ordered set where groupId = &#63; and type = &#63;.
398            *
399            * @param groupId the group ID
400            * @param type the type
401            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
402            * @return the last matching export import configuration
403            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
404            */
405            public ExportImportConfiguration findByG_T_Last(long groupId, int type,
406                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
407                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
408    
409            /**
410            * Returns the last export import configuration in the ordered set where groupId = &#63; and type = &#63;.
411            *
412            * @param groupId the group ID
413            * @param type the type
414            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
415            * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
416            */
417            public ExportImportConfiguration fetchByG_T_Last(long groupId, int type,
418                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
419    
420            /**
421            * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = &#63; and type = &#63;.
422            *
423            * @param exportImportConfigurationId the primary key of the current export import configuration
424            * @param groupId the group ID
425            * @param type the type
426            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
427            * @return the previous, current, and next export import configuration
428            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
429            */
430            public ExportImportConfiguration[] findByG_T_PrevAndNext(
431                    long exportImportConfigurationId, long groupId, int type,
432                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
433                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
434    
435            /**
436            * Removes all the export import configurations where groupId = &#63; and type = &#63; from the database.
437            *
438            * @param groupId the group ID
439            * @param type the type
440            */
441            public void removeByG_T(long groupId, int type);
442    
443            /**
444            * Returns the number of export import configurations where groupId = &#63; and type = &#63;.
445            *
446            * @param groupId the group ID
447            * @param type the type
448            * @return the number of matching export import configurations
449            */
450            public int countByG_T(long groupId, int type);
451    
452            /**
453            * Returns all the export import configurations where groupId = &#63; and status = &#63;.
454            *
455            * @param groupId the group ID
456            * @param status the status
457            * @return the matching export import configurations
458            */
459            public java.util.List<ExportImportConfiguration> findByG_S(long groupId,
460                    int status);
461    
462            /**
463            * Returns a range of all the export import configurations where groupId = &#63; and status = &#63;.
464            *
465            * <p>
466            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
467            * </p>
468            *
469            * @param groupId the group ID
470            * @param status the status
471            * @param start the lower bound of the range of export import configurations
472            * @param end the upper bound of the range of export import configurations (not inclusive)
473            * @return the range of matching export import configurations
474            */
475            public java.util.List<ExportImportConfiguration> findByG_S(long groupId,
476                    int status, int start, int end);
477    
478            /**
479            * Returns an ordered range of all the export import configurations where groupId = &#63; and status = &#63;.
480            *
481            * <p>
482            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
483            * </p>
484            *
485            * @param groupId the group ID
486            * @param status the status
487            * @param start the lower bound of the range of export import configurations
488            * @param end the upper bound of the range of export import configurations (not inclusive)
489            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
490            * @return the ordered range of matching export import configurations
491            */
492            public java.util.List<ExportImportConfiguration> findByG_S(long groupId,
493                    int status, int start, int end,
494                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
495    
496            /**
497            * Returns an ordered range of all the export import configurations where groupId = &#63; and status = &#63;.
498            *
499            * <p>
500            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
501            * </p>
502            *
503            * @param groupId the group ID
504            * @param status the status
505            * @param start the lower bound of the range of export import configurations
506            * @param end the upper bound of the range of export import configurations (not inclusive)
507            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
508            * @param retrieveFromCache whether to retrieve from the finder cache
509            * @return the ordered range of matching export import configurations
510            */
511            public java.util.List<ExportImportConfiguration> findByG_S(long groupId,
512                    int status, int start, int end,
513                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator,
514                    boolean retrieveFromCache);
515    
516            /**
517            * Returns the first export import configuration in the ordered set where groupId = &#63; and status = &#63;.
518            *
519            * @param groupId the group ID
520            * @param status the status
521            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
522            * @return the first matching export import configuration
523            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
524            */
525            public ExportImportConfiguration findByG_S_First(long groupId, int status,
526                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
527                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
528    
529            /**
530            * Returns the first export import configuration in the ordered set where groupId = &#63; and status = &#63;.
531            *
532            * @param groupId the group ID
533            * @param status the status
534            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
535            * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
536            */
537            public ExportImportConfiguration fetchByG_S_First(long groupId, int status,
538                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
539    
540            /**
541            * Returns the last export import configuration in the ordered set where groupId = &#63; and status = &#63;.
542            *
543            * @param groupId the group ID
544            * @param status the status
545            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
546            * @return the last matching export import configuration
547            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
548            */
549            public ExportImportConfiguration findByG_S_Last(long groupId, int status,
550                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
551                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
552    
553            /**
554            * Returns the last export import configuration in the ordered set where groupId = &#63; and status = &#63;.
555            *
556            * @param groupId the group ID
557            * @param status the status
558            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
559            * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
560            */
561            public ExportImportConfiguration fetchByG_S_Last(long groupId, int status,
562                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
563    
564            /**
565            * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = &#63; and status = &#63;.
566            *
567            * @param exportImportConfigurationId the primary key of the current export import configuration
568            * @param groupId the group ID
569            * @param status the status
570            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
571            * @return the previous, current, and next export import configuration
572            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
573            */
574            public ExportImportConfiguration[] findByG_S_PrevAndNext(
575                    long exportImportConfigurationId, long groupId, int status,
576                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
577                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
578    
579            /**
580            * Removes all the export import configurations where groupId = &#63; and status = &#63; from the database.
581            *
582            * @param groupId the group ID
583            * @param status the status
584            */
585            public void removeByG_S(long groupId, int status);
586    
587            /**
588            * Returns the number of export import configurations where groupId = &#63; and status = &#63;.
589            *
590            * @param groupId the group ID
591            * @param status the status
592            * @return the number of matching export import configurations
593            */
594            public int countByG_S(long groupId, int status);
595    
596            /**
597            * Returns all the export import configurations where groupId = &#63; and type = &#63; and status = &#63;.
598            *
599            * @param groupId the group ID
600            * @param type the type
601            * @param status the status
602            * @return the matching export import configurations
603            */
604            public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId,
605                    int type, int status);
606    
607            /**
608            * Returns a range of all the export import configurations where groupId = &#63; and type = &#63; and status = &#63;.
609            *
610            * <p>
611            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
612            * </p>
613            *
614            * @param groupId the group ID
615            * @param type the type
616            * @param status the status
617            * @param start the lower bound of the range of export import configurations
618            * @param end the upper bound of the range of export import configurations (not inclusive)
619            * @return the range of matching export import configurations
620            */
621            public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId,
622                    int type, int status, int start, int end);
623    
624            /**
625            * Returns an ordered range of all the export import configurations where groupId = &#63; and type = &#63; and status = &#63;.
626            *
627            * <p>
628            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
629            * </p>
630            *
631            * @param groupId the group ID
632            * @param type the type
633            * @param status the status
634            * @param start the lower bound of the range of export import configurations
635            * @param end the upper bound of the range of export import configurations (not inclusive)
636            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
637            * @return the ordered range of matching export import configurations
638            */
639            public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId,
640                    int type, int status, int start, int end,
641                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
642    
643            /**
644            * Returns an ordered range of all the export import configurations where groupId = &#63; and type = &#63; and status = &#63;.
645            *
646            * <p>
647            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
648            * </p>
649            *
650            * @param groupId the group ID
651            * @param type the type
652            * @param status the status
653            * @param start the lower bound of the range of export import configurations
654            * @param end the upper bound of the range of export import configurations (not inclusive)
655            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
656            * @param retrieveFromCache whether to retrieve from the finder cache
657            * @return the ordered range of matching export import configurations
658            */
659            public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId,
660                    int type, int status, int start, int end,
661                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator,
662                    boolean retrieveFromCache);
663    
664            /**
665            * Returns the first export import configuration in the ordered set where groupId = &#63; and type = &#63; and status = &#63;.
666            *
667            * @param groupId the group ID
668            * @param type the type
669            * @param status the status
670            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
671            * @return the first matching export import configuration
672            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
673            */
674            public ExportImportConfiguration findByG_T_S_First(long groupId, int type,
675                    int status,
676                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
677                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
678    
679            /**
680            * Returns the first export import configuration in the ordered set where groupId = &#63; and type = &#63; and status = &#63;.
681            *
682            * @param groupId the group ID
683            * @param type the type
684            * @param status the status
685            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
686            * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
687            */
688            public ExportImportConfiguration fetchByG_T_S_First(long groupId, int type,
689                    int status,
690                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
691    
692            /**
693            * Returns the last export import configuration in the ordered set where groupId = &#63; and type = &#63; and status = &#63;.
694            *
695            * @param groupId the group ID
696            * @param type the type
697            * @param status the status
698            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
699            * @return the last matching export import configuration
700            * @throws NoSuchConfigurationException if a matching export import configuration could not be found
701            */
702            public ExportImportConfiguration findByG_T_S_Last(long groupId, int type,
703                    int status,
704                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
705                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
706    
707            /**
708            * Returns the last export import configuration in the ordered set where groupId = &#63; and type = &#63; and status = &#63;.
709            *
710            * @param groupId the group ID
711            * @param type the type
712            * @param status the status
713            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
714            * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found
715            */
716            public ExportImportConfiguration fetchByG_T_S_Last(long groupId, int type,
717                    int status,
718                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
719    
720            /**
721            * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = &#63; and type = &#63; and status = &#63;.
722            *
723            * @param exportImportConfigurationId the primary key of the current export import configuration
724            * @param groupId the group ID
725            * @param type the type
726            * @param status the status
727            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
728            * @return the previous, current, and next export import configuration
729            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
730            */
731            public ExportImportConfiguration[] findByG_T_S_PrevAndNext(
732                    long exportImportConfigurationId, long groupId, int type, int status,
733                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator)
734                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
735    
736            /**
737            * Removes all the export import configurations where groupId = &#63; and type = &#63; and status = &#63; from the database.
738            *
739            * @param groupId the group ID
740            * @param type the type
741            * @param status the status
742            */
743            public void removeByG_T_S(long groupId, int type, int status);
744    
745            /**
746            * Returns the number of export import configurations where groupId = &#63; and type = &#63; and status = &#63;.
747            *
748            * @param groupId the group ID
749            * @param type the type
750            * @param status the status
751            * @return the number of matching export import configurations
752            */
753            public int countByG_T_S(long groupId, int type, int status);
754    
755            /**
756            * Caches the export import configuration in the entity cache if it is enabled.
757            *
758            * @param exportImportConfiguration the export import configuration
759            */
760            public void cacheResult(ExportImportConfiguration exportImportConfiguration);
761    
762            /**
763            * Caches the export import configurations in the entity cache if it is enabled.
764            *
765            * @param exportImportConfigurations the export import configurations
766            */
767            public void cacheResult(
768                    java.util.List<ExportImportConfiguration> exportImportConfigurations);
769    
770            /**
771            * Creates a new export import configuration with the primary key. Does not add the export import configuration to the database.
772            *
773            * @param exportImportConfigurationId the primary key for the new export import configuration
774            * @return the new export import configuration
775            */
776            public ExportImportConfiguration create(long exportImportConfigurationId);
777    
778            /**
779            * Removes the export import configuration with the primary key from the database. Also notifies the appropriate model listeners.
780            *
781            * @param exportImportConfigurationId the primary key of the export import configuration
782            * @return the export import configuration that was removed
783            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
784            */
785            public ExportImportConfiguration remove(long exportImportConfigurationId)
786                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
787    
788            public ExportImportConfiguration updateImpl(
789                    ExportImportConfiguration exportImportConfiguration);
790    
791            /**
792            * Returns the export import configuration with the primary key or throws a {@link NoSuchConfigurationException} if it could not be found.
793            *
794            * @param exportImportConfigurationId the primary key of the export import configuration
795            * @return the export import configuration
796            * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found
797            */
798            public ExportImportConfiguration findByPrimaryKey(
799                    long exportImportConfigurationId)
800                    throws com.liferay.portlet.exportimport.exception.NoSuchConfigurationException;
801    
802            /**
803            * Returns the export import configuration with the primary key or returns <code>null</code> if it could not be found.
804            *
805            * @param exportImportConfigurationId the primary key of the export import configuration
806            * @return the export import configuration, or <code>null</code> if a export import configuration with the primary key could not be found
807            */
808            public ExportImportConfiguration fetchByPrimaryKey(
809                    long exportImportConfigurationId);
810    
811            @Override
812            public java.util.Map<java.io.Serializable, ExportImportConfiguration> fetchByPrimaryKeys(
813                    java.util.Set<java.io.Serializable> primaryKeys);
814    
815            /**
816            * Returns all the export import configurations.
817            *
818            * @return the export import configurations
819            */
820            public java.util.List<ExportImportConfiguration> findAll();
821    
822            /**
823            * Returns a range of all the export import configurations.
824            *
825            * <p>
826            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
827            * </p>
828            *
829            * @param start the lower bound of the range of export import configurations
830            * @param end the upper bound of the range of export import configurations (not inclusive)
831            * @return the range of export import configurations
832            */
833            public java.util.List<ExportImportConfiguration> findAll(int start, int end);
834    
835            /**
836            * Returns an ordered range of all the export import configurations.
837            *
838            * <p>
839            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
840            * </p>
841            *
842            * @param start the lower bound of the range of export import configurations
843            * @param end the upper bound of the range of export import configurations (not inclusive)
844            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
845            * @return the ordered range of export import configurations
846            */
847            public java.util.List<ExportImportConfiguration> findAll(int start,
848                    int end,
849                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator);
850    
851            /**
852            * Returns an ordered range of all the export import configurations.
853            *
854            * <p>
855            * 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 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 QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. 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.
856            * </p>
857            *
858            * @param start the lower bound of the range of export import configurations
859            * @param end the upper bound of the range of export import configurations (not inclusive)
860            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
861            * @param retrieveFromCache whether to retrieve from the finder cache
862            * @return the ordered range of export import configurations
863            */
864            public java.util.List<ExportImportConfiguration> findAll(int start,
865                    int end,
866                    com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator,
867                    boolean retrieveFromCache);
868    
869            /**
870            * Removes all the export import configurations from the database.
871            */
872            public void removeAll();
873    
874            /**
875            * Returns the number of export import configurations.
876            *
877            * @return the number of export import configurations
878            */
879            public int countAll();
880    
881            @Override
882            public java.util.Set<java.lang.String> getBadColumnNames();
883    }