001 /** 002 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.journal.model.JournalFeed; 020 021 /** 022 * The persistence interface for the journal feed 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 JournalFeedPersistenceImpl 030 * @see JournalFeedUtil 031 * @generated 032 */ 033 public interface JournalFeedPersistence extends BasePersistence<JournalFeed> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link JournalFeedUtil} to access the journal feed persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the journal feed in the entity cache if it is enabled. 042 * 043 * @param journalFeed the journal feed 044 */ 045 public void cacheResult( 046 com.liferay.portlet.journal.model.JournalFeed journalFeed); 047 048 /** 049 * Caches the journal feeds in the entity cache if it is enabled. 050 * 051 * @param journalFeeds the journal feeds 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds); 055 056 /** 057 * Creates a new journal feed with the primary key. Does not add the journal feed to the database. 058 * 059 * @param id the primary key for the new journal feed 060 * @return the new journal feed 061 */ 062 public com.liferay.portlet.journal.model.JournalFeed create(long id); 063 064 /** 065 * Removes the journal feed with the primary key from the database. Also notifies the appropriate model listeners. 066 * 067 * @param id the primary key of the journal feed 068 * @return the journal feed that was removed 069 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 070 * @throws SystemException if a system exception occurred 071 */ 072 public com.liferay.portlet.journal.model.JournalFeed remove(long id) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.journal.NoSuchFeedException; 075 076 public com.liferay.portlet.journal.model.JournalFeed updateImpl( 077 com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge) 078 throws com.liferay.portal.kernel.exception.SystemException; 079 080 /** 081 * Returns the journal feed with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 082 * 083 * @param id the primary key of the journal feed 084 * @return the journal feed 085 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 086 * @throws SystemException if a system exception occurred 087 */ 088 public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey( 089 long id) 090 throws com.liferay.portal.kernel.exception.SystemException, 091 com.liferay.portlet.journal.NoSuchFeedException; 092 093 /** 094 * Returns the journal feed with the primary key or returns <code>null</code> if it could not be found. 095 * 096 * @param id the primary key of the journal feed 097 * @return the journal feed, or <code>null</code> if a journal feed with the primary key could not be found 098 * @throws SystemException if a system exception occurred 099 */ 100 public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey( 101 long id) throws com.liferay.portal.kernel.exception.SystemException; 102 103 /** 104 * Returns all the journal feeds where uuid = ?. 105 * 106 * @param uuid the uuid 107 * @return the matching journal feeds 108 * @throws SystemException if a system exception occurred 109 */ 110 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 111 java.lang.String uuid) 112 throws com.liferay.portal.kernel.exception.SystemException; 113 114 /** 115 * Returns a range of all the journal feeds where uuid = ?. 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 uuid the uuid 122 * @param start the lower bound of the range of journal feeds 123 * @param end the upper bound of the range of journal feeds (not inclusive) 124 * @return the range of matching journal feeds 125 * @throws SystemException if a system exception occurred 126 */ 127 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 128 java.lang.String uuid, int start, int end) 129 throws com.liferay.portal.kernel.exception.SystemException; 130 131 /** 132 * Returns an ordered range of all the journal feeds where uuid = ?. 133 * 134 * <p> 135 * 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. 136 * </p> 137 * 138 * @param uuid the uuid 139 * @param start the lower bound of the range of journal feeds 140 * @param end the upper bound of the range of journal feeds (not inclusive) 141 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 142 * @return the ordered range of matching journal feeds 143 * @throws SystemException if a system exception occurred 144 */ 145 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 146 java.lang.String uuid, int start, int end, 147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 148 throws com.liferay.portal.kernel.exception.SystemException; 149 150 /** 151 * Returns the first journal feed in the ordered set where uuid = ?. 152 * 153 * <p> 154 * 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. 155 * </p> 156 * 157 * @param uuid the uuid 158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 159 * @return the first matching journal feed 160 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 161 * @throws SystemException if a system exception occurred 162 */ 163 public com.liferay.portlet.journal.model.JournalFeed findByUuid_First( 164 java.lang.String uuid, 165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 166 throws com.liferay.portal.kernel.exception.SystemException, 167 com.liferay.portlet.journal.NoSuchFeedException; 168 169 /** 170 * Returns the last journal feed in the ordered set where uuid = ?. 171 * 172 * <p> 173 * 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. 174 * </p> 175 * 176 * @param uuid the uuid 177 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 178 * @return the last matching journal feed 179 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 180 * @throws SystemException if a system exception occurred 181 */ 182 public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last( 183 java.lang.String uuid, 184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 185 throws com.liferay.portal.kernel.exception.SystemException, 186 com.liferay.portlet.journal.NoSuchFeedException; 187 188 /** 189 * Returns the journal feeds before and after the current journal feed in the ordered set where uuid = ?. 190 * 191 * <p> 192 * 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. 193 * </p> 194 * 195 * @param id the primary key of the current journal feed 196 * @param uuid the uuid 197 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 198 * @return the previous, current, and next journal feed 199 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 200 * @throws SystemException if a system exception occurred 201 */ 202 public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext( 203 long id, java.lang.String uuid, 204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 205 throws com.liferay.portal.kernel.exception.SystemException, 206 com.liferay.portlet.journal.NoSuchFeedException; 207 208 /** 209 * Returns the journal feed where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 210 * 211 * @param uuid the uuid 212 * @param groupId the group ID 213 * @return the matching journal feed 214 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 215 * @throws SystemException if a system exception occurred 216 */ 217 public com.liferay.portlet.journal.model.JournalFeed findByUUID_G( 218 java.lang.String uuid, long groupId) 219 throws com.liferay.portal.kernel.exception.SystemException, 220 com.liferay.portlet.journal.NoSuchFeedException; 221 222 /** 223 * Returns the journal feed where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 224 * 225 * @param uuid the uuid 226 * @param groupId the group ID 227 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 228 * @throws SystemException if a system exception occurred 229 */ 230 public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G( 231 java.lang.String uuid, long groupId) 232 throws com.liferay.portal.kernel.exception.SystemException; 233 234 /** 235 * Returns the journal feed where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 236 * 237 * @param uuid the uuid 238 * @param groupId the group ID 239 * @param retrieveFromCache whether to use the finder cache 240 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 241 * @throws SystemException if a system exception occurred 242 */ 243 public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G( 244 java.lang.String uuid, long groupId, boolean retrieveFromCache) 245 throws com.liferay.portal.kernel.exception.SystemException; 246 247 /** 248 * Returns all the journal feeds where groupId = ?. 249 * 250 * @param groupId the group ID 251 * @return the matching journal feeds 252 * @throws SystemException if a system exception occurred 253 */ 254 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId( 255 long groupId) 256 throws com.liferay.portal.kernel.exception.SystemException; 257 258 /** 259 * Returns a range of all the journal feeds where groupId = ?. 260 * 261 * <p> 262 * 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. 263 * </p> 264 * 265 * @param groupId the group ID 266 * @param start the lower bound of the range of journal feeds 267 * @param end the upper bound of the range of journal feeds (not inclusive) 268 * @return the range of matching journal feeds 269 * @throws SystemException if a system exception occurred 270 */ 271 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId( 272 long groupId, int start, int end) 273 throws com.liferay.portal.kernel.exception.SystemException; 274 275 /** 276 * Returns an ordered range of all the journal feeds where groupId = ?. 277 * 278 * <p> 279 * 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. 280 * </p> 281 * 282 * @param groupId the group ID 283 * @param start the lower bound of the range of journal feeds 284 * @param end the upper bound of the range of journal feeds (not inclusive) 285 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 286 * @return the ordered range of matching journal feeds 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId( 290 long groupId, int start, int end, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException; 293 294 /** 295 * Returns the first journal feed in the ordered set where groupId = ?. 296 * 297 * <p> 298 * 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. 299 * </p> 300 * 301 * @param groupId the group ID 302 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 303 * @return the first matching journal feed 304 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 305 * @throws SystemException if a system exception occurred 306 */ 307 public com.liferay.portlet.journal.model.JournalFeed findByGroupId_First( 308 long groupId, 309 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 310 throws com.liferay.portal.kernel.exception.SystemException, 311 com.liferay.portlet.journal.NoSuchFeedException; 312 313 /** 314 * Returns the last journal feed in the ordered set where groupId = ?. 315 * 316 * <p> 317 * 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. 318 * </p> 319 * 320 * @param groupId the group ID 321 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 322 * @return the last matching journal feed 323 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 324 * @throws SystemException if a system exception occurred 325 */ 326 public com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last( 327 long groupId, 328 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 329 throws com.liferay.portal.kernel.exception.SystemException, 330 com.liferay.portlet.journal.NoSuchFeedException; 331 332 /** 333 * Returns the journal feeds before and after the current journal feed in the ordered set where groupId = ?. 334 * 335 * <p> 336 * 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. 337 * </p> 338 * 339 * @param id the primary key of the current journal feed 340 * @param groupId the group ID 341 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 342 * @return the previous, current, and next journal feed 343 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 344 * @throws SystemException if a system exception occurred 345 */ 346 public com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext( 347 long id, long groupId, 348 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 349 throws com.liferay.portal.kernel.exception.SystemException, 350 com.liferay.portlet.journal.NoSuchFeedException; 351 352 /** 353 * Returns all the journal feeds that the user has permission to view where groupId = ?. 354 * 355 * @param groupId the group ID 356 * @return the matching journal feeds that the user has permission to view 357 * @throws SystemException if a system exception occurred 358 */ 359 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId( 360 long groupId) 361 throws com.liferay.portal.kernel.exception.SystemException; 362 363 /** 364 * Returns a range of all the journal feeds that the user has permission to view where groupId = ?. 365 * 366 * <p> 367 * 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. 368 * </p> 369 * 370 * @param groupId the group ID 371 * @param start the lower bound of the range of journal feeds 372 * @param end the upper bound of the range of journal feeds (not inclusive) 373 * @return the range of matching journal feeds that the user has permission to view 374 * @throws SystemException if a system exception occurred 375 */ 376 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId( 377 long groupId, int start, int end) 378 throws com.liferay.portal.kernel.exception.SystemException; 379 380 /** 381 * Returns an ordered range of all the journal feeds that the user has permissions to view where groupId = ?. 382 * 383 * <p> 384 * 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. 385 * </p> 386 * 387 * @param groupId the group ID 388 * @param start the lower bound of the range of journal feeds 389 * @param end the upper bound of the range of journal feeds (not inclusive) 390 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 391 * @return the ordered range of matching journal feeds that the user has permission to view 392 * @throws SystemException if a system exception occurred 393 */ 394 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId( 395 long groupId, int start, int end, 396 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 397 throws com.liferay.portal.kernel.exception.SystemException; 398 399 /** 400 * Returns the journal feeds before and after the current journal feed in the ordered set of journal feeds that the user has permission to view where groupId = ?. 401 * 402 * @param id the primary key of the current journal feed 403 * @param groupId the group ID 404 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 405 * @return the previous, current, and next journal feed 406 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 407 * @throws SystemException if a system exception occurred 408 */ 409 public com.liferay.portlet.journal.model.JournalFeed[] filterFindByGroupId_PrevAndNext( 410 long id, long groupId, 411 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 412 throws com.liferay.portal.kernel.exception.SystemException, 413 com.liferay.portlet.journal.NoSuchFeedException; 414 415 /** 416 * Returns the journal feed where groupId = ? and feedId = ? or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 417 * 418 * @param groupId the group ID 419 * @param feedId the feed ID 420 * @return the matching journal feed 421 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 422 * @throws SystemException if a system exception occurred 423 */ 424 public com.liferay.portlet.journal.model.JournalFeed findByG_F( 425 long groupId, java.lang.String feedId) 426 throws com.liferay.portal.kernel.exception.SystemException, 427 com.liferay.portlet.journal.NoSuchFeedException; 428 429 /** 430 * Returns the journal feed where groupId = ? and feedId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 431 * 432 * @param groupId the group ID 433 * @param feedId the feed ID 434 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 435 * @throws SystemException if a system exception occurred 436 */ 437 public com.liferay.portlet.journal.model.JournalFeed fetchByG_F( 438 long groupId, java.lang.String feedId) 439 throws com.liferay.portal.kernel.exception.SystemException; 440 441 /** 442 * Returns the journal feed where groupId = ? and feedId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 443 * 444 * @param groupId the group ID 445 * @param feedId the feed ID 446 * @param retrieveFromCache whether to use the finder cache 447 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 448 * @throws SystemException if a system exception occurred 449 */ 450 public com.liferay.portlet.journal.model.JournalFeed fetchByG_F( 451 long groupId, java.lang.String feedId, boolean retrieveFromCache) 452 throws com.liferay.portal.kernel.exception.SystemException; 453 454 /** 455 * Returns all the journal feeds. 456 * 457 * @return the journal feeds 458 * @throws SystemException if a system exception occurred 459 */ 460 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll() 461 throws com.liferay.portal.kernel.exception.SystemException; 462 463 /** 464 * Returns a range of all the journal feeds. 465 * 466 * <p> 467 * 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. 468 * </p> 469 * 470 * @param start the lower bound of the range of journal feeds 471 * @param end the upper bound of the range of journal feeds (not inclusive) 472 * @return the range of journal feeds 473 * @throws SystemException if a system exception occurred 474 */ 475 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll( 476 int start, int end) 477 throws com.liferay.portal.kernel.exception.SystemException; 478 479 /** 480 * Returns an ordered range of all the journal feeds. 481 * 482 * <p> 483 * 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. 484 * </p> 485 * 486 * @param start the lower bound of the range of journal feeds 487 * @param end the upper bound of the range of journal feeds (not inclusive) 488 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 489 * @return the ordered range of journal feeds 490 * @throws SystemException if a system exception occurred 491 */ 492 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll( 493 int start, int end, 494 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 495 throws com.liferay.portal.kernel.exception.SystemException; 496 497 /** 498 * Removes all the journal feeds where uuid = ? from the database. 499 * 500 * @param uuid the uuid 501 * @throws SystemException if a system exception occurred 502 */ 503 public void removeByUuid(java.lang.String uuid) 504 throws com.liferay.portal.kernel.exception.SystemException; 505 506 /** 507 * Removes the journal feed where uuid = ? and groupId = ? from the database. 508 * 509 * @param uuid the uuid 510 * @param groupId the group ID 511 * @throws SystemException if a system exception occurred 512 */ 513 public void removeByUUID_G(java.lang.String uuid, long groupId) 514 throws com.liferay.portal.kernel.exception.SystemException, 515 com.liferay.portlet.journal.NoSuchFeedException; 516 517 /** 518 * Removes all the journal feeds where groupId = ? from the database. 519 * 520 * @param groupId the group ID 521 * @throws SystemException if a system exception occurred 522 */ 523 public void removeByGroupId(long groupId) 524 throws com.liferay.portal.kernel.exception.SystemException; 525 526 /** 527 * Removes the journal feed where groupId = ? and feedId = ? from the database. 528 * 529 * @param groupId the group ID 530 * @param feedId the feed ID 531 * @throws SystemException if a system exception occurred 532 */ 533 public void removeByG_F(long groupId, java.lang.String feedId) 534 throws com.liferay.portal.kernel.exception.SystemException, 535 com.liferay.portlet.journal.NoSuchFeedException; 536 537 /** 538 * Removes all the journal feeds from the database. 539 * 540 * @throws SystemException if a system exception occurred 541 */ 542 public void removeAll() 543 throws com.liferay.portal.kernel.exception.SystemException; 544 545 /** 546 * Returns the number of journal feeds where uuid = ?. 547 * 548 * @param uuid the uuid 549 * @return the number of matching journal feeds 550 * @throws SystemException if a system exception occurred 551 */ 552 public int countByUuid(java.lang.String uuid) 553 throws com.liferay.portal.kernel.exception.SystemException; 554 555 /** 556 * Returns the number of journal feeds where uuid = ? and groupId = ?. 557 * 558 * @param uuid the uuid 559 * @param groupId the group ID 560 * @return the number of matching journal feeds 561 * @throws SystemException if a system exception occurred 562 */ 563 public int countByUUID_G(java.lang.String uuid, long groupId) 564 throws com.liferay.portal.kernel.exception.SystemException; 565 566 /** 567 * Returns the number of journal feeds where groupId = ?. 568 * 569 * @param groupId the group ID 570 * @return the number of matching journal feeds 571 * @throws SystemException if a system exception occurred 572 */ 573 public int countByGroupId(long groupId) 574 throws com.liferay.portal.kernel.exception.SystemException; 575 576 /** 577 * Returns the number of journal feeds that the user has permission to view where groupId = ?. 578 * 579 * @param groupId the group ID 580 * @return the number of matching journal feeds that the user has permission to view 581 * @throws SystemException if a system exception occurred 582 */ 583 public int filterCountByGroupId(long groupId) 584 throws com.liferay.portal.kernel.exception.SystemException; 585 586 /** 587 * Returns the number of journal feeds where groupId = ? and feedId = ?. 588 * 589 * @param groupId the group ID 590 * @param feedId the feed ID 591 * @return the number of matching journal feeds 592 * @throws SystemException if a system exception occurred 593 */ 594 public int countByG_F(long groupId, java.lang.String feedId) 595 throws com.liferay.portal.kernel.exception.SystemException; 596 597 /** 598 * Returns the number of journal feeds. 599 * 600 * @return the number of journal feeds 601 * @throws SystemException if a system exception occurred 602 */ 603 public int countAll() 604 throws com.liferay.portal.kernel.exception.SystemException; 605 }