001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.softwarecatalog.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.softwarecatalog.model.SCProductScreenshot;
020    
021    /**
022     * The persistence interface for the s c product screenshot service.
023     *
024     * <p>
025     * Caching information and settings can be found in <code>portal.properties</code>
026     * </p>
027     *
028     * @author Brian Wing Shun Chan
029     * @see SCProductScreenshotPersistenceImpl
030     * @see SCProductScreenshotUtil
031     * @generated
032     */
033    public interface SCProductScreenshotPersistence extends BasePersistence<SCProductScreenshot> {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify or reference this interface directly. Always use {@link SCProductScreenshotUtil} to access the s c product screenshot persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
038             */
039    
040            /**
041            * Returns all the s c product screenshots where productEntryId = &#63;.
042            *
043            * @param productEntryId the product entry ID
044            * @return the matching s c product screenshots
045            * @throws SystemException if a system exception occurred
046            */
047            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
048                    long productEntryId)
049                    throws com.liferay.portal.kernel.exception.SystemException;
050    
051            /**
052            * Returns a range of all the s c product screenshots where productEntryId = &#63;.
053            *
054            * <p>
055            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. 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 productEntryId the product entry ID
059            * @param start the lower bound of the range of s c product screenshots
060            * @param end the upper bound of the range of s c product screenshots (not inclusive)
061            * @return the range of matching s c product screenshots
062            * @throws SystemException if a system exception occurred
063            */
064            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
065                    long productEntryId, int start, int end)
066                    throws com.liferay.portal.kernel.exception.SystemException;
067    
068            /**
069            * Returns an ordered range of all the s c product screenshots where productEntryId = &#63;.
070            *
071            * <p>
072            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
073            * </p>
074            *
075            * @param productEntryId the product entry ID
076            * @param start the lower bound of the range of s c product screenshots
077            * @param end the upper bound of the range of s c product screenshots (not inclusive)
078            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
079            * @return the ordered range of matching s c product screenshots
080            * @throws SystemException if a system exception occurred
081            */
082            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findByProductEntryId(
083                    long productEntryId, int start, int end,
084                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
085                    throws com.liferay.portal.kernel.exception.SystemException;
086    
087            /**
088            * Returns the first s c product screenshot in the ordered set where productEntryId = &#63;.
089            *
090            * @param productEntryId the product entry ID
091            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
092            * @return the first matching s c product screenshot
093            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a matching s c product screenshot could not be found
094            * @throws SystemException if a system exception occurred
095            */
096            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_First(
097                    long productEntryId,
098                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
099                    throws com.liferay.portal.kernel.exception.SystemException,
100                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
101    
102            /**
103            * Returns the first s c product screenshot in the ordered set where productEntryId = &#63;.
104            *
105            * @param productEntryId the product entry ID
106            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
107            * @return the first matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
108            * @throws SystemException if a system exception occurred
109            */
110            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByProductEntryId_First(
111                    long productEntryId,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException;
114    
115            /**
116            * Returns the last s c product screenshot in the ordered set where productEntryId = &#63;.
117            *
118            * @param productEntryId the product entry ID
119            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
120            * @return the last matching s c product screenshot
121            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a matching s c product screenshot could not be found
122            * @throws SystemException if a system exception occurred
123            */
124            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByProductEntryId_Last(
125                    long productEntryId,
126                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
127                    throws com.liferay.portal.kernel.exception.SystemException,
128                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
129    
130            /**
131            * Returns the last s c product screenshot in the ordered set where productEntryId = &#63;.
132            *
133            * @param productEntryId the product entry ID
134            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
135            * @return the last matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
136            * @throws SystemException if a system exception occurred
137            */
138            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByProductEntryId_Last(
139                    long productEntryId,
140                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            /**
144            * Returns the s c product screenshots before and after the current s c product screenshot in the ordered set where productEntryId = &#63;.
145            *
146            * @param productScreenshotId the primary key of the current s c product screenshot
147            * @param productEntryId the product entry ID
148            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
149            * @return the previous, current, and next s c product screenshot
150            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a s c product screenshot with the primary key could not be found
151            * @throws SystemException if a system exception occurred
152            */
153            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot[] findByProductEntryId_PrevAndNext(
154                    long productScreenshotId, long productEntryId,
155                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156                    throws com.liferay.portal.kernel.exception.SystemException,
157                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
158    
159            /**
160            * Removes all the s c product screenshots where productEntryId = &#63; from the database.
161            *
162            * @param productEntryId the product entry ID
163            * @throws SystemException if a system exception occurred
164            */
165            public void removeByProductEntryId(long productEntryId)
166                    throws com.liferay.portal.kernel.exception.SystemException;
167    
168            /**
169            * Returns the number of s c product screenshots where productEntryId = &#63;.
170            *
171            * @param productEntryId the product entry ID
172            * @return the number of matching s c product screenshots
173            * @throws SystemException if a system exception occurred
174            */
175            public int countByProductEntryId(long productEntryId)
176                    throws com.liferay.portal.kernel.exception.SystemException;
177    
178            /**
179            * Returns the s c product screenshot where thumbnailId = &#63; or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException} if it could not be found.
180            *
181            * @param thumbnailId the thumbnail ID
182            * @return the matching s c product screenshot
183            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a matching s c product screenshot could not be found
184            * @throws SystemException if a system exception occurred
185            */
186            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByThumbnailId(
187                    long thumbnailId)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
190    
191            /**
192            * Returns the s c product screenshot where thumbnailId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
193            *
194            * @param thumbnailId the thumbnail ID
195            * @return the matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
196            * @throws SystemException if a system exception occurred
197            */
198            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
199                    long thumbnailId)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            /**
203            * Returns the s c product screenshot where thumbnailId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
204            *
205            * @param thumbnailId the thumbnail ID
206            * @param retrieveFromCache whether to use the finder cache
207            * @return the matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
208            * @throws SystemException if a system exception occurred
209            */
210            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByThumbnailId(
211                    long thumbnailId, boolean retrieveFromCache)
212                    throws com.liferay.portal.kernel.exception.SystemException;
213    
214            /**
215            * Removes the s c product screenshot where thumbnailId = &#63; from the database.
216            *
217            * @param thumbnailId the thumbnail ID
218            * @return the s c product screenshot that was removed
219            * @throws SystemException if a system exception occurred
220            */
221            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeByThumbnailId(
222                    long thumbnailId)
223                    throws com.liferay.portal.kernel.exception.SystemException,
224                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
225    
226            /**
227            * Returns the number of s c product screenshots where thumbnailId = &#63;.
228            *
229            * @param thumbnailId the thumbnail ID
230            * @return the number of matching s c product screenshots
231            * @throws SystemException if a system exception occurred
232            */
233            public int countByThumbnailId(long thumbnailId)
234                    throws com.liferay.portal.kernel.exception.SystemException;
235    
236            /**
237            * Returns the s c product screenshot where fullImageId = &#63; or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException} if it could not be found.
238            *
239            * @param fullImageId the full image ID
240            * @return the matching s c product screenshot
241            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a matching s c product screenshot could not be found
242            * @throws SystemException if a system exception occurred
243            */
244            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByFullImageId(
245                    long fullImageId)
246                    throws com.liferay.portal.kernel.exception.SystemException,
247                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
248    
249            /**
250            * Returns the s c product screenshot where fullImageId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
251            *
252            * @param fullImageId the full image ID
253            * @return the matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
254            * @throws SystemException if a system exception occurred
255            */
256            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
257                    long fullImageId)
258                    throws com.liferay.portal.kernel.exception.SystemException;
259    
260            /**
261            * Returns the s c product screenshot where fullImageId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
262            *
263            * @param fullImageId the full image ID
264            * @param retrieveFromCache whether to use the finder cache
265            * @return the matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
266            * @throws SystemException if a system exception occurred
267            */
268            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByFullImageId(
269                    long fullImageId, boolean retrieveFromCache)
270                    throws com.liferay.portal.kernel.exception.SystemException;
271    
272            /**
273            * Removes the s c product screenshot where fullImageId = &#63; from the database.
274            *
275            * @param fullImageId the full image ID
276            * @return the s c product screenshot that was removed
277            * @throws SystemException if a system exception occurred
278            */
279            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeByFullImageId(
280                    long fullImageId)
281                    throws com.liferay.portal.kernel.exception.SystemException,
282                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
283    
284            /**
285            * Returns the number of s c product screenshots where fullImageId = &#63;.
286            *
287            * @param fullImageId the full image ID
288            * @return the number of matching s c product screenshots
289            * @throws SystemException if a system exception occurred
290            */
291            public int countByFullImageId(long fullImageId)
292                    throws com.liferay.portal.kernel.exception.SystemException;
293    
294            /**
295            * Returns the s c product screenshot where productEntryId = &#63; and priority = &#63; or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException} if it could not be found.
296            *
297            * @param productEntryId the product entry ID
298            * @param priority the priority
299            * @return the matching s c product screenshot
300            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a matching s c product screenshot could not be found
301            * @throws SystemException if a system exception occurred
302            */
303            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByP_P(
304                    long productEntryId, int priority)
305                    throws com.liferay.portal.kernel.exception.SystemException,
306                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
307    
308            /**
309            * Returns the s c product screenshot where productEntryId = &#63; and priority = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
310            *
311            * @param productEntryId the product entry ID
312            * @param priority the priority
313            * @return the matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
314            * @throws SystemException if a system exception occurred
315            */
316            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
317                    long productEntryId, int priority)
318                    throws com.liferay.portal.kernel.exception.SystemException;
319    
320            /**
321            * Returns the s c product screenshot where productEntryId = &#63; and priority = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
322            *
323            * @param productEntryId the product entry ID
324            * @param priority the priority
325            * @param retrieveFromCache whether to use the finder cache
326            * @return the matching s c product screenshot, or <code>null</code> if a matching s c product screenshot could not be found
327            * @throws SystemException if a system exception occurred
328            */
329            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByP_P(
330                    long productEntryId, int priority, boolean retrieveFromCache)
331                    throws com.liferay.portal.kernel.exception.SystemException;
332    
333            /**
334            * Removes the s c product screenshot where productEntryId = &#63; and priority = &#63; from the database.
335            *
336            * @param productEntryId the product entry ID
337            * @param priority the priority
338            * @return the s c product screenshot that was removed
339            * @throws SystemException if a system exception occurred
340            */
341            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot removeByP_P(
342                    long productEntryId, int priority)
343                    throws com.liferay.portal.kernel.exception.SystemException,
344                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
345    
346            /**
347            * Returns the number of s c product screenshots where productEntryId = &#63; and priority = &#63;.
348            *
349            * @param productEntryId the product entry ID
350            * @param priority the priority
351            * @return the number of matching s c product screenshots
352            * @throws SystemException if a system exception occurred
353            */
354            public int countByP_P(long productEntryId, int priority)
355                    throws com.liferay.portal.kernel.exception.SystemException;
356    
357            /**
358            * Caches the s c product screenshot in the entity cache if it is enabled.
359            *
360            * @param scProductScreenshot the s c product screenshot
361            */
362            public void cacheResult(
363                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot);
364    
365            /**
366            * Caches the s c product screenshots in the entity cache if it is enabled.
367            *
368            * @param scProductScreenshots the s c product screenshots
369            */
370            public void cacheResult(
371                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> scProductScreenshots);
372    
373            /**
374            * Creates a new s c product screenshot with the primary key. Does not add the s c product screenshot to the database.
375            *
376            * @param productScreenshotId the primary key for the new s c product screenshot
377            * @return the new s c product screenshot
378            */
379            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot create(
380                    long productScreenshotId);
381    
382            /**
383            * Removes the s c product screenshot with the primary key from the database. Also notifies the appropriate model listeners.
384            *
385            * @param productScreenshotId the primary key of the s c product screenshot
386            * @return the s c product screenshot that was removed
387            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a s c product screenshot with the primary key could not be found
388            * @throws SystemException if a system exception occurred
389            */
390            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot remove(
391                    long productScreenshotId)
392                    throws com.liferay.portal.kernel.exception.SystemException,
393                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
394    
395            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot updateImpl(
396                    com.liferay.portlet.softwarecatalog.model.SCProductScreenshot scProductScreenshot)
397                    throws com.liferay.portal.kernel.exception.SystemException;
398    
399            /**
400            * Returns the s c product screenshot with the primary key or throws a {@link com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException} if it could not be found.
401            *
402            * @param productScreenshotId the primary key of the s c product screenshot
403            * @return the s c product screenshot
404            * @throws com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException if a s c product screenshot with the primary key could not be found
405            * @throws SystemException if a system exception occurred
406            */
407            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot findByPrimaryKey(
408                    long productScreenshotId)
409                    throws com.liferay.portal.kernel.exception.SystemException,
410                            com.liferay.portlet.softwarecatalog.NoSuchProductScreenshotException;
411    
412            /**
413            * Returns the s c product screenshot with the primary key or returns <code>null</code> if it could not be found.
414            *
415            * @param productScreenshotId the primary key of the s c product screenshot
416            * @return the s c product screenshot, or <code>null</code> if a s c product screenshot with the primary key could not be found
417            * @throws SystemException if a system exception occurred
418            */
419            public com.liferay.portlet.softwarecatalog.model.SCProductScreenshot fetchByPrimaryKey(
420                    long productScreenshotId)
421                    throws com.liferay.portal.kernel.exception.SystemException;
422    
423            /**
424            * Returns all the s c product screenshots.
425            *
426            * @return the s c product screenshots
427            * @throws SystemException if a system exception occurred
428            */
429            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll()
430                    throws com.liferay.portal.kernel.exception.SystemException;
431    
432            /**
433            * Returns a range of all the s c product screenshots.
434            *
435            * <p>
436            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. 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.
437            * </p>
438            *
439            * @param start the lower bound of the range of s c product screenshots
440            * @param end the upper bound of the range of s c product screenshots (not inclusive)
441            * @return the range of s c product screenshots
442            * @throws SystemException if a system exception occurred
443            */
444            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
445                    int start, int end)
446                    throws com.liferay.portal.kernel.exception.SystemException;
447    
448            /**
449            * Returns an ordered range of all the s c product screenshots.
450            *
451            * <p>
452            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.softwarecatalog.model.impl.SCProductScreenshotModelImpl}. 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.
453            * </p>
454            *
455            * @param start the lower bound of the range of s c product screenshots
456            * @param end the upper bound of the range of s c product screenshots (not inclusive)
457            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
458            * @return the ordered range of s c product screenshots
459            * @throws SystemException if a system exception occurred
460            */
461            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductScreenshot> findAll(
462                    int start, int end,
463                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
464                    throws com.liferay.portal.kernel.exception.SystemException;
465    
466            /**
467            * Removes all the s c product screenshots from the database.
468            *
469            * @throws SystemException if a system exception occurred
470            */
471            public void removeAll()
472                    throws com.liferay.portal.kernel.exception.SystemException;
473    
474            /**
475            * Returns the number of s c product screenshots.
476            *
477            * @return the number of s c product screenshots
478            * @throws SystemException if a system exception occurred
479            */
480            public int countAll()
481                    throws com.liferay.portal.kernel.exception.SystemException;
482    }