001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import com.liferay.portal.kernel.exception.SystemException; 018 import com.liferay.portal.service.persistence.BasePersistence; 019 020 import com.liferay.portlet.journal.model.JournalFeed; 021 022 /** 023 * The persistence interface for the journal feed service. 024 * 025 * <p> 026 * Caching information and settings can be found in <code>portal.properties</code> 027 * </p> 028 * 029 * @author Brian Wing Shun Chan 030 * @see JournalFeedPersistenceImpl 031 * @see JournalFeedUtil 032 * @generated 033 */ 034 public interface JournalFeedPersistence extends BasePersistence<JournalFeed> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * 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. 039 */ 040 041 /** 042 * Caches the journal feed in the entity cache if it is enabled. 043 * 044 * @param journalFeed the journal feed to cache 045 */ 046 public void cacheResult( 047 com.liferay.portlet.journal.model.JournalFeed journalFeed); 048 049 /** 050 * Caches the journal feeds in the entity cache if it is enabled. 051 * 052 * @param journalFeeds the journal feeds to cache 053 */ 054 public void cacheResult( 055 java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds); 056 057 /** 058 * Creates a new journal feed with the primary key. Does not add the journal feed to the database. 059 * 060 * @param id the primary key for the new journal feed 061 * @return the new journal feed 062 */ 063 public com.liferay.portlet.journal.model.JournalFeed create(long id); 064 065 /** 066 * Removes the journal feed with the primary key from the database. Also notifies the appropriate model listeners. 067 * 068 * @param id the primary key of the journal feed to remove 069 * @return the journal feed that was removed 070 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 071 * @throws SystemException if a system exception occurred 072 */ 073 public com.liferay.portlet.journal.model.JournalFeed remove(long id) 074 throws com.liferay.portal.kernel.exception.SystemException, 075 com.liferay.portlet.journal.NoSuchFeedException; 076 077 public com.liferay.portlet.journal.model.JournalFeed updateImpl( 078 com.liferay.portlet.journal.model.JournalFeed journalFeed, boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Finds the journal feed with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 083 * 084 * @param id the primary key of the journal feed to find 085 * @return the journal feed 086 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey( 090 long id) 091 throws com.liferay.portal.kernel.exception.SystemException, 092 com.liferay.portlet.journal.NoSuchFeedException; 093 094 /** 095 * Finds the journal feed with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param id the primary key of the journal feed to find 098 * @return the journal feed, or <code>null</code> if a journal feed with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey( 102 long id) throws com.liferay.portal.kernel.exception.SystemException; 103 104 /** 105 * Finds all the journal feeds where uuid = ?. 106 * 107 * @param uuid the uuid to search with 108 * @return the matching journal feeds 109 * @throws SystemException if a system exception occurred 110 */ 111 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 112 java.lang.String uuid) 113 throws com.liferay.portal.kernel.exception.SystemException; 114 115 /** 116 * Finds a range of all the journal feeds where uuid = ?. 117 * 118 * <p> 119 * 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. 120 * </p> 121 * 122 * @param uuid the uuid to search with 123 * @param start the lower bound of the range of journal feeds to return 124 * @param end the upper bound of the range of journal feeds to return (not inclusive) 125 * @return the range of matching journal feeds 126 * @throws SystemException if a system exception occurred 127 */ 128 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 129 java.lang.String uuid, int start, int end) 130 throws com.liferay.portal.kernel.exception.SystemException; 131 132 /** 133 * Finds an ordered range of all the journal feeds where uuid = ?. 134 * 135 * <p> 136 * 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. 137 * </p> 138 * 139 * @param uuid the uuid to search with 140 * @param start the lower bound of the range of journal feeds to return 141 * @param end the upper bound of the range of journal feeds to return (not inclusive) 142 * @param orderByComparator the comparator to order the results by 143 * @return the ordered range of matching journal feeds 144 * @throws SystemException if a system exception occurred 145 */ 146 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 147 java.lang.String uuid, int start, int end, 148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 149 throws com.liferay.portal.kernel.exception.SystemException; 150 151 /** 152 * Finds the first journal feed in the ordered set where uuid = ?. 153 * 154 * <p> 155 * 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. 156 * </p> 157 * 158 * @param uuid the uuid to search with 159 * @param orderByComparator the comparator to order the set by 160 * @return the first matching journal feed 161 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 162 * @throws SystemException if a system exception occurred 163 */ 164 public com.liferay.portlet.journal.model.JournalFeed findByUuid_First( 165 java.lang.String uuid, 166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 167 throws com.liferay.portal.kernel.exception.SystemException, 168 com.liferay.portlet.journal.NoSuchFeedException; 169 170 /** 171 * Finds the last journal feed in the ordered set where uuid = ?. 172 * 173 * <p> 174 * 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. 175 * </p> 176 * 177 * @param uuid the uuid to search with 178 * @param orderByComparator the comparator to order the set by 179 * @return the last matching journal feed 180 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 181 * @throws SystemException if a system exception occurred 182 */ 183 public com.liferay.portlet.journal.model.JournalFeed findByUuid_Last( 184 java.lang.String uuid, 185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 186 throws com.liferay.portal.kernel.exception.SystemException, 187 com.liferay.portlet.journal.NoSuchFeedException; 188 189 /** 190 * Finds the journal feeds before and after the current journal feed in the ordered set where uuid = ?. 191 * 192 * <p> 193 * 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. 194 * </p> 195 * 196 * @param id the primary key of the current journal feed 197 * @param uuid the uuid to search with 198 * @param orderByComparator the comparator to order the set by 199 * @return the previous, current, and next journal feed 200 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext( 204 long id, java.lang.String uuid, 205 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 206 throws com.liferay.portal.kernel.exception.SystemException, 207 com.liferay.portlet.journal.NoSuchFeedException; 208 209 /** 210 * Finds the journal feed where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 211 * 212 * @param uuid the uuid to search with 213 * @param groupId the group ID to search with 214 * @return the matching journal feed 215 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 216 * @throws SystemException if a system exception occurred 217 */ 218 public com.liferay.portlet.journal.model.JournalFeed findByUUID_G( 219 java.lang.String uuid, long groupId) 220 throws com.liferay.portal.kernel.exception.SystemException, 221 com.liferay.portlet.journal.NoSuchFeedException; 222 223 /** 224 * Finds the journal feed where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 225 * 226 * @param uuid the uuid to search with 227 * @param groupId the group ID to search with 228 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 229 * @throws SystemException if a system exception occurred 230 */ 231 public com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G( 232 java.lang.String uuid, long groupId) 233 throws com.liferay.portal.kernel.exception.SystemException; 234 235 /** 236 * Finds the journal feed where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 237 * 238 * @param uuid the uuid to search with 239 * @param groupId the group ID to search with 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 * Finds all the journal feeds where groupId = ?. 249 * 250 * @param groupId the group ID to search with 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 * Finds 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 to search with 266 * @param start the lower bound of the range of journal feeds to return 267 * @param end the upper bound of the range of journal feeds to return (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 * Finds 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 to search with 283 * @param start the lower bound of the range of journal feeds to return 284 * @param end the upper bound of the range of journal feeds to return (not inclusive) 285 * @param orderByComparator the comparator to order the results by 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 * Finds 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 to search with 302 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 321 * @param orderByComparator the comparator to order the set by 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 * Finds 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 to search with 341 * @param orderByComparator the comparator to order the set by 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 * Filters by the user's permissions and finds all the journal feeds where groupId = ?. 354 * 355 * @param groupId the group ID to search with 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 * Filters by the user's permissions and finds a range of all the journal feeds 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 to search with 371 * @param start the lower bound of the range of journal feeds to return 372 * @param end the upper bound of the range of journal feeds to return (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 * Filters by the user's permissions and finds an ordered range of all the journal feeds 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 to search with 388 * @param start the lower bound of the range of journal feeds to return 389 * @param end the upper bound of the range of journal feeds to return (not inclusive) 390 * @param orderByComparator the comparator to order the results by 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 * Filters the journal feeds before and after the current journal feed in the ordered set where groupId = ?. 401 * 402 * <p> 403 * 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. 404 * </p> 405 * 406 * @param id the primary key of the current journal feed 407 * @param groupId the group ID to search with 408 * @param orderByComparator the comparator to order the set by 409 * @return the previous, current, and next journal feed 410 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 411 * @throws SystemException if a system exception occurred 412 */ 413 public com.liferay.portlet.journal.model.JournalFeed[] filterFindByGroupId_PrevAndNext( 414 long id, long groupId, 415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 416 throws com.liferay.portal.kernel.exception.SystemException, 417 com.liferay.portlet.journal.NoSuchFeedException; 418 419 /** 420 * Finds the journal feed where groupId = ? and feedId = ? or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 421 * 422 * @param groupId the group ID to search with 423 * @param feedId the feed ID to search with 424 * @return the matching journal feed 425 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 426 * @throws SystemException if a system exception occurred 427 */ 428 public com.liferay.portlet.journal.model.JournalFeed findByG_F( 429 long groupId, java.lang.String feedId) 430 throws com.liferay.portal.kernel.exception.SystemException, 431 com.liferay.portlet.journal.NoSuchFeedException; 432 433 /** 434 * Finds the journal feed where groupId = ? and feedId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 435 * 436 * @param groupId the group ID to search with 437 * @param feedId the feed ID to search with 438 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 439 * @throws SystemException if a system exception occurred 440 */ 441 public com.liferay.portlet.journal.model.JournalFeed fetchByG_F( 442 long groupId, java.lang.String feedId) 443 throws com.liferay.portal.kernel.exception.SystemException; 444 445 /** 446 * Finds the journal feed where groupId = ? and feedId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 447 * 448 * @param groupId the group ID to search with 449 * @param feedId the feed ID to search with 450 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 451 * @throws SystemException if a system exception occurred 452 */ 453 public com.liferay.portlet.journal.model.JournalFeed fetchByG_F( 454 long groupId, java.lang.String feedId, boolean retrieveFromCache) 455 throws com.liferay.portal.kernel.exception.SystemException; 456 457 /** 458 * Finds all the journal feeds. 459 * 460 * @return the journal feeds 461 * @throws SystemException if a system exception occurred 462 */ 463 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll() 464 throws com.liferay.portal.kernel.exception.SystemException; 465 466 /** 467 * Finds a range of all the journal feeds. 468 * 469 * <p> 470 * 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. 471 * </p> 472 * 473 * @param start the lower bound of the range of journal feeds to return 474 * @param end the upper bound of the range of journal feeds to return (not inclusive) 475 * @return the range of journal feeds 476 * @throws SystemException if a system exception occurred 477 */ 478 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll( 479 int start, int end) 480 throws com.liferay.portal.kernel.exception.SystemException; 481 482 /** 483 * Finds an ordered range of all the journal feeds. 484 * 485 * <p> 486 * 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. 487 * </p> 488 * 489 * @param start the lower bound of the range of journal feeds to return 490 * @param end the upper bound of the range of journal feeds to return (not inclusive) 491 * @param orderByComparator the comparator to order the results by 492 * @return the ordered range of journal feeds 493 * @throws SystemException if a system exception occurred 494 */ 495 public java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll( 496 int start, int end, 497 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 498 throws com.liferay.portal.kernel.exception.SystemException; 499 500 /** 501 * Removes all the journal feeds where uuid = ? from the database. 502 * 503 * @param uuid the uuid to search with 504 * @throws SystemException if a system exception occurred 505 */ 506 public void removeByUuid(java.lang.String uuid) 507 throws com.liferay.portal.kernel.exception.SystemException; 508 509 /** 510 * Removes the journal feed where uuid = ? and groupId = ? from the database. 511 * 512 * @param uuid the uuid to search with 513 * @param groupId the group ID to search with 514 * @throws SystemException if a system exception occurred 515 */ 516 public void removeByUUID_G(java.lang.String uuid, long groupId) 517 throws com.liferay.portal.kernel.exception.SystemException, 518 com.liferay.portlet.journal.NoSuchFeedException; 519 520 /** 521 * Removes all the journal feeds where groupId = ? from the database. 522 * 523 * @param groupId the group ID to search with 524 * @throws SystemException if a system exception occurred 525 */ 526 public void removeByGroupId(long groupId) 527 throws com.liferay.portal.kernel.exception.SystemException; 528 529 /** 530 * Removes the journal feed where groupId = ? and feedId = ? from the database. 531 * 532 * @param groupId the group ID to search with 533 * @param feedId the feed ID to search with 534 * @throws SystemException if a system exception occurred 535 */ 536 public void removeByG_F(long groupId, java.lang.String feedId) 537 throws com.liferay.portal.kernel.exception.SystemException, 538 com.liferay.portlet.journal.NoSuchFeedException; 539 540 /** 541 * Removes all the journal feeds from the database. 542 * 543 * @throws SystemException if a system exception occurred 544 */ 545 public void removeAll() 546 throws com.liferay.portal.kernel.exception.SystemException; 547 548 /** 549 * Counts all the journal feeds where uuid = ?. 550 * 551 * @param uuid the uuid to search with 552 * @return the number of matching journal feeds 553 * @throws SystemException if a system exception occurred 554 */ 555 public int countByUuid(java.lang.String uuid) 556 throws com.liferay.portal.kernel.exception.SystemException; 557 558 /** 559 * Counts all the journal feeds where uuid = ? and groupId = ?. 560 * 561 * @param uuid the uuid to search with 562 * @param groupId the group ID to search with 563 * @return the number of matching journal feeds 564 * @throws SystemException if a system exception occurred 565 */ 566 public int countByUUID_G(java.lang.String uuid, long groupId) 567 throws com.liferay.portal.kernel.exception.SystemException; 568 569 /** 570 * Counts all the journal feeds where groupId = ?. 571 * 572 * @param groupId the group ID to search with 573 * @return the number of matching journal feeds 574 * @throws SystemException if a system exception occurred 575 */ 576 public int countByGroupId(long groupId) 577 throws com.liferay.portal.kernel.exception.SystemException; 578 579 /** 580 * Filters by the user's permissions and counts all the journal feeds where groupId = ?. 581 * 582 * @param groupId the group ID to search with 583 * @return the number of matching journal feeds that the user has permission to view 584 * @throws SystemException if a system exception occurred 585 */ 586 public int filterCountByGroupId(long groupId) 587 throws com.liferay.portal.kernel.exception.SystemException; 588 589 /** 590 * Counts all the journal feeds where groupId = ? and feedId = ?. 591 * 592 * @param groupId the group ID to search with 593 * @param feedId the feed ID to search with 594 * @return the number of matching journal feeds 595 * @throws SystemException if a system exception occurred 596 */ 597 public int countByG_F(long groupId, java.lang.String feedId) 598 throws com.liferay.portal.kernel.exception.SystemException; 599 600 /** 601 * Counts all the journal feeds. 602 * 603 * @return the number of journal feeds 604 * @throws SystemException if a system exception occurred 605 */ 606 public int countAll() 607 throws com.liferay.portal.kernel.exception.SystemException; 608 609 public JournalFeed remove(JournalFeed journalFeed) 610 throws SystemException; 611 }