001    /**
002     * Copyright (c) 2000-2010 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.documentlibrary.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.documentlibrary.model.DLFileVersion;
020    
021    /**
022     * The persistence interface for the d l file version service.
023     *
024     * <p>
025     * Never modify this interface directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this interface.
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see DLFileVersionPersistenceImpl
030     * @see DLFileVersionUtil
031     * @generated
032     */
033    public interface DLFileVersionPersistence extends BasePersistence<DLFileVersion> {
034            /**
035            * Caches the d l file version in the entity cache if it is enabled.
036            *
037            * @param dlFileVersion the d l file version to cache
038            */
039            public void cacheResult(
040                    com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion);
041    
042            /**
043            * Caches the d l file versions in the entity cache if it is enabled.
044            *
045            * @param dlFileVersions the d l file versions to cache
046            */
047            public void cacheResult(
048                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> dlFileVersions);
049    
050            /**
051            * Creates a new d l file version with the primary key.
052            *
053            * @param fileVersionId the primary key for the new d l file version
054            * @return the new d l file version
055            */
056            public com.liferay.portlet.documentlibrary.model.DLFileVersion create(
057                    long fileVersionId);
058    
059            /**
060            * Removes the d l file version with the primary key from the database. Also notifies the appropriate model listeners.
061            *
062            * @param fileVersionId the primary key of the d l file version to remove
063            * @return the d l file version that was removed
064            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found
065            * @throws SystemException if a system exception occurred
066            */
067            public com.liferay.portlet.documentlibrary.model.DLFileVersion remove(
068                    long fileVersionId)
069                    throws com.liferay.portal.kernel.exception.SystemException,
070                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
071    
072            public com.liferay.portlet.documentlibrary.model.DLFileVersion updateImpl(
073                    com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion,
074                    boolean merge)
075                    throws com.liferay.portal.kernel.exception.SystemException;
076    
077            /**
078            * Finds the d l file version with the primary key or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileVersionException} if it could not be found.
079            *
080            * @param fileVersionId the primary key of the d l file version to find
081            * @return the d l file version
082            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found
083            * @throws SystemException if a system exception occurred
084            */
085            public com.liferay.portlet.documentlibrary.model.DLFileVersion findByPrimaryKey(
086                    long fileVersionId)
087                    throws com.liferay.portal.kernel.exception.SystemException,
088                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
089    
090            /**
091            * Finds the d l file version with the primary key or returns <code>null</code> if it could not be found.
092            *
093            * @param fileVersionId the primary key of the d l file version to find
094            * @return the d l file version, or <code>null</code> if a d l file version with the primary key could not be found
095            * @throws SystemException if a system exception occurred
096            */
097            public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByPrimaryKey(
098                    long fileVersionId)
099                    throws com.liferay.portal.kernel.exception.SystemException;
100    
101            /**
102            * Finds all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63;.
103            *
104            * @param groupId the group id to search with
105            * @param folderId the folder id to search with
106            * @param name the name to search with
107            * @return the matching d l file versions
108            * @throws SystemException if a system exception occurred
109            */
110            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N(
111                    long groupId, long folderId, java.lang.String name)
112                    throws com.liferay.portal.kernel.exception.SystemException;
113    
114            /**
115            * Finds a range of all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63;.
116            *
117            * <p>
118            * 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.
119            * </p>
120            *
121            * @param groupId the group id to search with
122            * @param folderId the folder id to search with
123            * @param name the name to search with
124            * @param start the lower bound of the range of d l file versions to return
125            * @param end the upper bound of the range of d l file versions to return (not inclusive)
126            * @return the range of matching d l file versions
127            * @throws SystemException if a system exception occurred
128            */
129            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N(
130                    long groupId, long folderId, java.lang.String name, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            /**
134            * Finds an ordered range of all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63;.
135            *
136            * <p>
137            * 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.
138            * </p>
139            *
140            * @param groupId the group id to search with
141            * @param folderId the folder id to search with
142            * @param name the name to search with
143            * @param start the lower bound of the range of d l file versions to return
144            * @param end the upper bound of the range of d l file versions to return (not inclusive)
145            * @param orderByComparator the comparator to order the results by
146            * @return the ordered range of matching d l file versions
147            * @throws SystemException if a system exception occurred
148            */
149            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N(
150                    long groupId, long folderId, java.lang.String name, int start, int end,
151                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152                    throws com.liferay.portal.kernel.exception.SystemException;
153    
154            /**
155            * Finds the first d l file version in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63;.
156            *
157            * <p>
158            * 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.
159            * </p>
160            *
161            * @param groupId the group id to search with
162            * @param folderId the folder id to search with
163            * @param name the name to search with
164            * @param orderByComparator the comparator to order the set by
165            * @return the first matching d l file version
166            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found
167            * @throws SystemException if a system exception occurred
168            */
169            public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_First(
170                    long groupId, long folderId, java.lang.String name,
171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
174    
175            /**
176            * Finds the last d l file version in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63;.
177            *
178            * <p>
179            * 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.
180            * </p>
181            *
182            * @param groupId the group id to search with
183            * @param folderId the folder id to search with
184            * @param name the name to search with
185            * @param orderByComparator the comparator to order the set by
186            * @return the last matching d l file version
187            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found
188            * @throws SystemException if a system exception occurred
189            */
190            public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_Last(
191                    long groupId, long folderId, java.lang.String name,
192                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193                    throws com.liferay.portal.kernel.exception.SystemException,
194                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
195    
196            /**
197            * Finds the d l file versions before and after the current d l file version in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63;.
198            *
199            * <p>
200            * 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.
201            * </p>
202            *
203            * @param fileVersionId the primary key of the current d l file version
204            * @param groupId the group id to search with
205            * @param folderId the folder id to search with
206            * @param name the name to search with
207            * @param orderByComparator the comparator to order the set by
208            * @return the previous, current, and next d l file version
209            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found
210            * @throws SystemException if a system exception occurred
211            */
212            public com.liferay.portlet.documentlibrary.model.DLFileVersion[] findByG_F_N_PrevAndNext(
213                    long fileVersionId, long groupId, long folderId, java.lang.String name,
214                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
215                    throws com.liferay.portal.kernel.exception.SystemException,
216                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
217    
218            /**
219            * Finds the d l file version where groupId = &#63; and folderId = &#63; and name = &#63; and version = &#63; or throws a {@link com.liferay.portlet.documentlibrary.NoSuchFileVersionException} if it could not be found.
220            *
221            * @param groupId the group id to search with
222            * @param folderId the folder id to search with
223            * @param name the name to search with
224            * @param version the version to search with
225            * @return the matching d l file version
226            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found
227            * @throws SystemException if a system exception occurred
228            */
229            public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_V(
230                    long groupId, long folderId, java.lang.String name,
231                    java.lang.String version)
232                    throws com.liferay.portal.kernel.exception.SystemException,
233                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
234    
235            /**
236            * Finds the d l file version where groupId = &#63; and folderId = &#63; and name = &#63; and version = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
237            *
238            * @param groupId the group id to search with
239            * @param folderId the folder id to search with
240            * @param name the name to search with
241            * @param version the version to search with
242            * @return the matching d l file version, or <code>null</code> if a matching d l file version could not be found
243            * @throws SystemException if a system exception occurred
244            */
245            public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByG_F_N_V(
246                    long groupId, long folderId, java.lang.String name,
247                    java.lang.String version)
248                    throws com.liferay.portal.kernel.exception.SystemException;
249    
250            /**
251            * Finds the d l file version where groupId = &#63; and folderId = &#63; and name = &#63; and version = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
252            *
253            * @param groupId the group id to search with
254            * @param folderId the folder id to search with
255            * @param name the name to search with
256            * @param version the version to search with
257            * @return the matching d l file version, or <code>null</code> if a matching d l file version could not be found
258            * @throws SystemException if a system exception occurred
259            */
260            public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchByG_F_N_V(
261                    long groupId, long folderId, java.lang.String name,
262                    java.lang.String version, boolean retrieveFromCache)
263                    throws com.liferay.portal.kernel.exception.SystemException;
264    
265            /**
266            * Finds all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
267            *
268            * @param groupId the group id to search with
269            * @param folderId the folder id to search with
270            * @param name the name to search with
271            * @param status the status to search with
272            * @return the matching d l file versions
273            * @throws SystemException if a system exception occurred
274            */
275            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N_S(
276                    long groupId, long folderId, java.lang.String name, int status)
277                    throws com.liferay.portal.kernel.exception.SystemException;
278    
279            /**
280            * Finds a range of all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
281            *
282            * <p>
283            * 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.
284            * </p>
285            *
286            * @param groupId the group id to search with
287            * @param folderId the folder id to search with
288            * @param name the name to search with
289            * @param status the status to search with
290            * @param start the lower bound of the range of d l file versions to return
291            * @param end the upper bound of the range of d l file versions to return (not inclusive)
292            * @return the range of matching d l file versions
293            * @throws SystemException if a system exception occurred
294            */
295            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N_S(
296                    long groupId, long folderId, java.lang.String name, int status,
297                    int start, int end)
298                    throws com.liferay.portal.kernel.exception.SystemException;
299    
300            /**
301            * Finds an ordered range of all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
302            *
303            * <p>
304            * 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.
305            * </p>
306            *
307            * @param groupId the group id to search with
308            * @param folderId the folder id to search with
309            * @param name the name to search with
310            * @param status the status to search with
311            * @param start the lower bound of the range of d l file versions to return
312            * @param end the upper bound of the range of d l file versions to return (not inclusive)
313            * @param orderByComparator the comparator to order the results by
314            * @return the ordered range of matching d l file versions
315            * @throws SystemException if a system exception occurred
316            */
317            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findByG_F_N_S(
318                    long groupId, long folderId, java.lang.String name, int status,
319                    int start, int end,
320                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
321                    throws com.liferay.portal.kernel.exception.SystemException;
322    
323            /**
324            * Finds the first d l file version in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
325            *
326            * <p>
327            * 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.
328            * </p>
329            *
330            * @param groupId the group id to search with
331            * @param folderId the folder id to search with
332            * @param name the name to search with
333            * @param status the status to search with
334            * @param orderByComparator the comparator to order the set by
335            * @return the first matching d l file version
336            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found
337            * @throws SystemException if a system exception occurred
338            */
339            public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_S_First(
340                    long groupId, long folderId, java.lang.String name, int status,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException,
343                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
344    
345            /**
346            * Finds the last d l file version in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
347            *
348            * <p>
349            * 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.
350            * </p>
351            *
352            * @param groupId the group id to search with
353            * @param folderId the folder id to search with
354            * @param name the name to search with
355            * @param status the status to search with
356            * @param orderByComparator the comparator to order the set by
357            * @return the last matching d l file version
358            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a matching d l file version could not be found
359            * @throws SystemException if a system exception occurred
360            */
361            public com.liferay.portlet.documentlibrary.model.DLFileVersion findByG_F_N_S_Last(
362                    long groupId, long folderId, java.lang.String name, int status,
363                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
364                    throws com.liferay.portal.kernel.exception.SystemException,
365                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
366    
367            /**
368            * Finds the d l file versions before and after the current d l file version in the ordered set where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
369            *
370            * <p>
371            * 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.
372            * </p>
373            *
374            * @param fileVersionId the primary key of the current d l file version
375            * @param groupId the group id to search with
376            * @param folderId the folder id to search with
377            * @param name the name to search with
378            * @param status the status to search with
379            * @param orderByComparator the comparator to order the set by
380            * @return the previous, current, and next d l file version
381            * @throws com.liferay.portlet.documentlibrary.NoSuchFileVersionException if a d l file version with the primary key could not be found
382            * @throws SystemException if a system exception occurred
383            */
384            public com.liferay.portlet.documentlibrary.model.DLFileVersion[] findByG_F_N_S_PrevAndNext(
385                    long fileVersionId, long groupId, long folderId, java.lang.String name,
386                    int status,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException,
389                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
390    
391            /**
392            * Finds all the d l file versions.
393            *
394            * @return the d l file versions
395            * @throws SystemException if a system exception occurred
396            */
397            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findAll()
398                    throws com.liferay.portal.kernel.exception.SystemException;
399    
400            /**
401            * Finds a range of all the d l file versions.
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.
405            * </p>
406            *
407            * @param start the lower bound of the range of d l file versions to return
408            * @param end the upper bound of the range of d l file versions to return (not inclusive)
409            * @return the range of d l file versions
410            * @throws SystemException if a system exception occurred
411            */
412            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findAll(
413                    int start, int end)
414                    throws com.liferay.portal.kernel.exception.SystemException;
415    
416            /**
417            * Finds an ordered range of all the d l file versions.
418            *
419            * <p>
420            * 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.
421            * </p>
422            *
423            * @param start the lower bound of the range of d l file versions to return
424            * @param end the upper bound of the range of d l file versions to return (not inclusive)
425            * @param orderByComparator the comparator to order the results by
426            * @return the ordered range of d l file versions
427            * @throws SystemException if a system exception occurred
428            */
429            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> findAll(
430                    int start, int end,
431                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
432                    throws com.liferay.portal.kernel.exception.SystemException;
433    
434            /**
435            * Removes all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; from the database.
436            *
437            * @param groupId the group id to search with
438            * @param folderId the folder id to search with
439            * @param name the name to search with
440            * @throws SystemException if a system exception occurred
441            */
442            public void removeByG_F_N(long groupId, long folderId, java.lang.String name)
443                    throws com.liferay.portal.kernel.exception.SystemException;
444    
445            /**
446            * Removes the d l file version where groupId = &#63; and folderId = &#63; and name = &#63; and version = &#63; from the database.
447            *
448            * @param groupId the group id to search with
449            * @param folderId the folder id to search with
450            * @param name the name to search with
451            * @param version the version to search with
452            * @throws SystemException if a system exception occurred
453            */
454            public void removeByG_F_N_V(long groupId, long folderId,
455                    java.lang.String name, java.lang.String version)
456                    throws com.liferay.portal.kernel.exception.SystemException,
457                            com.liferay.portlet.documentlibrary.NoSuchFileVersionException;
458    
459            /**
460            * Removes all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63; from the database.
461            *
462            * @param groupId the group id to search with
463            * @param folderId the folder id to search with
464            * @param name the name to search with
465            * @param status the status to search with
466            * @throws SystemException if a system exception occurred
467            */
468            public void removeByG_F_N_S(long groupId, long folderId,
469                    java.lang.String name, int status)
470                    throws com.liferay.portal.kernel.exception.SystemException;
471    
472            /**
473            * Removes all the d l file versions from the database.
474            *
475            * @throws SystemException if a system exception occurred
476            */
477            public void removeAll()
478                    throws com.liferay.portal.kernel.exception.SystemException;
479    
480            /**
481            * Counts all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63;.
482            *
483            * @param groupId the group id to search with
484            * @param folderId the folder id to search with
485            * @param name the name to search with
486            * @return the number of matching d l file versions
487            * @throws SystemException if a system exception occurred
488            */
489            public int countByG_F_N(long groupId, long folderId, java.lang.String name)
490                    throws com.liferay.portal.kernel.exception.SystemException;
491    
492            /**
493            * Counts all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; and version = &#63;.
494            *
495            * @param groupId the group id to search with
496            * @param folderId the folder id to search with
497            * @param name the name to search with
498            * @param version the version to search with
499            * @return the number of matching d l file versions
500            * @throws SystemException if a system exception occurred
501            */
502            public int countByG_F_N_V(long groupId, long folderId,
503                    java.lang.String name, java.lang.String version)
504                    throws com.liferay.portal.kernel.exception.SystemException;
505    
506            /**
507            * Counts all the d l file versions where groupId = &#63; and folderId = &#63; and name = &#63; and status = &#63;.
508            *
509            * @param groupId the group id to search with
510            * @param folderId the folder id to search with
511            * @param name the name to search with
512            * @param status the status to search with
513            * @return the number of matching d l file versions
514            * @throws SystemException if a system exception occurred
515            */
516            public int countByG_F_N_S(long groupId, long folderId,
517                    java.lang.String name, int status)
518                    throws com.liferay.portal.kernel.exception.SystemException;
519    
520            /**
521            * Counts all the d l file versions.
522            *
523            * @return the number of d l file versions
524            * @throws SystemException if a system exception occurred
525            */
526            public int countAll()
527                    throws com.liferay.portal.kernel.exception.SystemException;
528    }