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