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