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.journal.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.journal.model.JournalContentSearch; 020 021 /** 022 * The persistence interface for the journal content search 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 JournalContentSearchPersistenceImpl 030 * @see JournalContentSearchUtil 031 * @generated 032 */ 033 public interface JournalContentSearchPersistence extends BasePersistence<JournalContentSearch> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link JournalContentSearchUtil} to access the journal content search persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the journal content search in the entity cache if it is enabled. 042 * 043 * @param journalContentSearch the journal content search 044 */ 045 public void cacheResult( 046 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch); 047 048 /** 049 * Caches the journal content searchs in the entity cache if it is enabled. 050 * 051 * @param journalContentSearchs the journal content searchs 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> journalContentSearchs); 055 056 /** 057 * Creates a new journal content search with the primary key. Does not add the journal content search to the database. 058 * 059 * @param contentSearchId the primary key for the new journal content search 060 * @return the new journal content search 061 */ 062 public com.liferay.portlet.journal.model.JournalContentSearch create( 063 long contentSearchId); 064 065 /** 066 * Removes the journal content search with the primary key from the database. Also notifies the appropriate model listeners. 067 * 068 * @param contentSearchId the primary key of the journal content search 069 * @return the journal content search that was removed 070 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 071 * @throws SystemException if a system exception occurred 072 */ 073 public com.liferay.portlet.journal.model.JournalContentSearch remove( 074 long contentSearchId) 075 throws com.liferay.portal.kernel.exception.SystemException, 076 com.liferay.portlet.journal.NoSuchContentSearchException; 077 078 public com.liferay.portlet.journal.model.JournalContentSearch updateImpl( 079 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch, 080 boolean merge) 081 throws com.liferay.portal.kernel.exception.SystemException; 082 083 /** 084 * Returns the journal content search with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchContentSearchException} if it could not be found. 085 * 086 * @param contentSearchId the primary key of the journal content search 087 * @return the journal content search 088 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 089 * @throws SystemException if a system exception occurred 090 */ 091 public com.liferay.portlet.journal.model.JournalContentSearch findByPrimaryKey( 092 long contentSearchId) 093 throws com.liferay.portal.kernel.exception.SystemException, 094 com.liferay.portlet.journal.NoSuchContentSearchException; 095 096 /** 097 * Returns the journal content search with the primary key or returns <code>null</code> if it could not be found. 098 * 099 * @param contentSearchId the primary key of the journal content search 100 * @return the journal content search, or <code>null</code> if a journal content search with the primary key could not be found 101 * @throws SystemException if a system exception occurred 102 */ 103 public com.liferay.portlet.journal.model.JournalContentSearch fetchByPrimaryKey( 104 long contentSearchId) 105 throws com.liferay.portal.kernel.exception.SystemException; 106 107 /** 108 * Returns all the journal content searchs where articleId = ?. 109 * 110 * @param articleId the article ID 111 * @return the matching journal content searchs 112 * @throws SystemException if a system exception occurred 113 */ 114 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId( 115 java.lang.String articleId) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns a range of all the journal content searchs where articleId = ?. 120 * 121 * <p> 122 * 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. 123 * </p> 124 * 125 * @param articleId the article ID 126 * @param start the lower bound of the range of journal content searchs 127 * @param end the upper bound of the range of journal content searchs (not inclusive) 128 * @return the range of matching journal content searchs 129 * @throws SystemException if a system exception occurred 130 */ 131 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId( 132 java.lang.String articleId, int start, int end) 133 throws com.liferay.portal.kernel.exception.SystemException; 134 135 /** 136 * Returns an ordered range of all the journal content searchs where articleId = ?. 137 * 138 * <p> 139 * 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. 140 * </p> 141 * 142 * @param articleId the article ID 143 * @param start the lower bound of the range of journal content searchs 144 * @param end the upper bound of the range of journal content searchs (not inclusive) 145 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 146 * @return the ordered range of matching journal content searchs 147 * @throws SystemException if a system exception occurred 148 */ 149 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByArticleId( 150 java.lang.String articleId, int start, int end, 151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 152 throws com.liferay.portal.kernel.exception.SystemException; 153 154 /** 155 * Returns the first journal content search in the ordered set where articleId = ?. 156 * 157 * @param articleId the article ID 158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 159 * @return the first matching journal content search 160 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 161 * @throws SystemException if a system exception occurred 162 */ 163 public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_First( 164 java.lang.String articleId, 165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 166 throws com.liferay.portal.kernel.exception.SystemException, 167 com.liferay.portlet.journal.NoSuchContentSearchException; 168 169 /** 170 * Returns the first journal content search in the ordered set where articleId = ?. 171 * 172 * @param articleId the article ID 173 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 174 * @return the first matching journal content search, or <code>null</code> if a matching journal content search could not be found 175 * @throws SystemException if a system exception occurred 176 */ 177 public com.liferay.portlet.journal.model.JournalContentSearch fetchByArticleId_First( 178 java.lang.String articleId, 179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 180 throws com.liferay.portal.kernel.exception.SystemException; 181 182 /** 183 * Returns the last journal content search in the ordered set where articleId = ?. 184 * 185 * @param articleId the article ID 186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 187 * @return the last matching journal content search 188 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 189 * @throws SystemException if a system exception occurred 190 */ 191 public com.liferay.portlet.journal.model.JournalContentSearch findByArticleId_Last( 192 java.lang.String articleId, 193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 194 throws com.liferay.portal.kernel.exception.SystemException, 195 com.liferay.portlet.journal.NoSuchContentSearchException; 196 197 /** 198 * Returns the last journal content search in the ordered set where articleId = ?. 199 * 200 * @param articleId the article ID 201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 202 * @return the last matching journal content search, or <code>null</code> if a matching journal content search could not be found 203 * @throws SystemException if a system exception occurred 204 */ 205 public com.liferay.portlet.journal.model.JournalContentSearch fetchByArticleId_Last( 206 java.lang.String articleId, 207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 208 throws com.liferay.portal.kernel.exception.SystemException; 209 210 /** 211 * Returns the journal content searchs before and after the current journal content search in the ordered set where articleId = ?. 212 * 213 * @param contentSearchId the primary key of the current journal content search 214 * @param articleId the article ID 215 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 216 * @return the previous, current, and next journal content search 217 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 218 * @throws SystemException if a system exception occurred 219 */ 220 public com.liferay.portlet.journal.model.JournalContentSearch[] findByArticleId_PrevAndNext( 221 long contentSearchId, java.lang.String articleId, 222 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 223 throws com.liferay.portal.kernel.exception.SystemException, 224 com.liferay.portlet.journal.NoSuchContentSearchException; 225 226 /** 227 * Returns all the journal content searchs where groupId = ? and privateLayout = ?. 228 * 229 * @param groupId the group ID 230 * @param privateLayout the private layout 231 * @return the matching journal content searchs 232 * @throws SystemException if a system exception occurred 233 */ 234 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P( 235 long groupId, boolean privateLayout) 236 throws com.liferay.portal.kernel.exception.SystemException; 237 238 /** 239 * Returns a range of all the journal content searchs where groupId = ? and privateLayout = ?. 240 * 241 * <p> 242 * 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. 243 * </p> 244 * 245 * @param groupId the group ID 246 * @param privateLayout the private layout 247 * @param start the lower bound of the range of journal content searchs 248 * @param end the upper bound of the range of journal content searchs (not inclusive) 249 * @return the range of matching journal content searchs 250 * @throws SystemException if a system exception occurred 251 */ 252 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P( 253 long groupId, boolean privateLayout, int start, int end) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ?. 258 * 259 * <p> 260 * 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. 261 * </p> 262 * 263 * @param groupId the group ID 264 * @param privateLayout the private layout 265 * @param start the lower bound of the range of journal content searchs 266 * @param end the upper bound of the range of journal content searchs (not inclusive) 267 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 268 * @return the ordered range of matching journal content searchs 269 * @throws SystemException if a system exception occurred 270 */ 271 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P( 272 long groupId, boolean privateLayout, int start, int end, 273 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 274 throws com.liferay.portal.kernel.exception.SystemException; 275 276 /** 277 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?. 278 * 279 * @param groupId the group ID 280 * @param privateLayout the private layout 281 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 282 * @return the first matching journal content search 283 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 284 * @throws SystemException if a system exception occurred 285 */ 286 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_First( 287 long groupId, boolean privateLayout, 288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 289 throws com.liferay.portal.kernel.exception.SystemException, 290 com.liferay.portlet.journal.NoSuchContentSearchException; 291 292 /** 293 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ?. 294 * 295 * @param groupId the group ID 296 * @param privateLayout the private layout 297 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 298 * @return the first matching journal content search, or <code>null</code> if a matching journal content search could not be found 299 * @throws SystemException if a system exception occurred 300 */ 301 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_First( 302 long groupId, boolean privateLayout, 303 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 304 throws com.liferay.portal.kernel.exception.SystemException; 305 306 /** 307 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. 308 * 309 * @param groupId the group ID 310 * @param privateLayout the private layout 311 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 312 * @return the last matching journal content search 313 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 314 * @throws SystemException if a system exception occurred 315 */ 316 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_Last( 317 long groupId, boolean privateLayout, 318 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 319 throws com.liferay.portal.kernel.exception.SystemException, 320 com.liferay.portlet.journal.NoSuchContentSearchException; 321 322 /** 323 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ?. 324 * 325 * @param groupId the group ID 326 * @param privateLayout the private layout 327 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 328 * @return the last matching journal content search, or <code>null</code> if a matching journal content search could not be found 329 * @throws SystemException if a system exception occurred 330 */ 331 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_Last( 332 long groupId, boolean privateLayout, 333 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 334 throws com.liferay.portal.kernel.exception.SystemException; 335 336 /** 337 * Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ?. 338 * 339 * @param contentSearchId the primary key of the current journal content search 340 * @param groupId the group ID 341 * @param privateLayout the private layout 342 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 343 * @return the previous, current, and next journal content search 344 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 345 * @throws SystemException if a system exception occurred 346 */ 347 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_PrevAndNext( 348 long contentSearchId, long groupId, boolean privateLayout, 349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 350 throws com.liferay.portal.kernel.exception.SystemException, 351 com.liferay.portlet.journal.NoSuchContentSearchException; 352 353 /** 354 * Returns all the journal content searchs where groupId = ? and articleId = ?. 355 * 356 * @param groupId the group ID 357 * @param articleId the article ID 358 * @return the matching journal content searchs 359 * @throws SystemException if a system exception occurred 360 */ 361 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A( 362 long groupId, java.lang.String articleId) 363 throws com.liferay.portal.kernel.exception.SystemException; 364 365 /** 366 * Returns a range of all the journal content searchs where groupId = ? and articleId = ?. 367 * 368 * <p> 369 * 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. 370 * </p> 371 * 372 * @param groupId the group ID 373 * @param articleId the article ID 374 * @param start the lower bound of the range of journal content searchs 375 * @param end the upper bound of the range of journal content searchs (not inclusive) 376 * @return the range of matching journal content searchs 377 * @throws SystemException if a system exception occurred 378 */ 379 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A( 380 long groupId, java.lang.String articleId, int start, int end) 381 throws com.liferay.portal.kernel.exception.SystemException; 382 383 /** 384 * Returns an ordered range of all the journal content searchs where groupId = ? and articleId = ?. 385 * 386 * <p> 387 * 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. 388 * </p> 389 * 390 * @param groupId the group ID 391 * @param articleId the article ID 392 * @param start the lower bound of the range of journal content searchs 393 * @param end the upper bound of the range of journal content searchs (not inclusive) 394 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 395 * @return the ordered range of matching journal content searchs 396 * @throws SystemException if a system exception occurred 397 */ 398 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_A( 399 long groupId, java.lang.String articleId, int start, int end, 400 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. 405 * 406 * @param groupId the group ID 407 * @param articleId the article ID 408 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 409 * @return the first matching journal content search 410 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 411 * @throws SystemException if a system exception occurred 412 */ 413 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_First( 414 long groupId, java.lang.String articleId, 415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 416 throws com.liferay.portal.kernel.exception.SystemException, 417 com.liferay.portlet.journal.NoSuchContentSearchException; 418 419 /** 420 * Returns the first journal content search in the ordered set where groupId = ? and articleId = ?. 421 * 422 * @param groupId the group ID 423 * @param articleId the article ID 424 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 425 * @return the first matching journal content search, or <code>null</code> if a matching journal content search could not be found 426 * @throws SystemException if a system exception occurred 427 */ 428 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_A_First( 429 long groupId, java.lang.String articleId, 430 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 431 throws com.liferay.portal.kernel.exception.SystemException; 432 433 /** 434 * Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. 435 * 436 * @param groupId the group ID 437 * @param articleId the article ID 438 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 439 * @return the last matching journal content search 440 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 441 * @throws SystemException if a system exception occurred 442 */ 443 public com.liferay.portlet.journal.model.JournalContentSearch findByG_A_Last( 444 long groupId, java.lang.String articleId, 445 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 446 throws com.liferay.portal.kernel.exception.SystemException, 447 com.liferay.portlet.journal.NoSuchContentSearchException; 448 449 /** 450 * Returns the last journal content search in the ordered set where groupId = ? and articleId = ?. 451 * 452 * @param groupId the group ID 453 * @param articleId the article ID 454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 455 * @return the last matching journal content search, or <code>null</code> if a matching journal content search could not be found 456 * @throws SystemException if a system exception occurred 457 */ 458 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_A_Last( 459 long groupId, java.lang.String articleId, 460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 461 throws com.liferay.portal.kernel.exception.SystemException; 462 463 /** 464 * Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and articleId = ?. 465 * 466 * @param contentSearchId the primary key of the current journal content search 467 * @param groupId the group ID 468 * @param articleId the article ID 469 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 470 * @return the previous, current, and next journal content search 471 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 472 * @throws SystemException if a system exception occurred 473 */ 474 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_A_PrevAndNext( 475 long contentSearchId, long groupId, java.lang.String articleId, 476 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 477 throws com.liferay.portal.kernel.exception.SystemException, 478 com.liferay.portlet.journal.NoSuchContentSearchException; 479 480 /** 481 * Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. 482 * 483 * @param groupId the group ID 484 * @param privateLayout the private layout 485 * @param layoutId the layout ID 486 * @return the matching journal content searchs 487 * @throws SystemException if a system exception occurred 488 */ 489 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L( 490 long groupId, boolean privateLayout, long layoutId) 491 throws com.liferay.portal.kernel.exception.SystemException; 492 493 /** 494 * Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. 495 * 496 * <p> 497 * 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. 498 * </p> 499 * 500 * @param groupId the group ID 501 * @param privateLayout the private layout 502 * @param layoutId the layout ID 503 * @param start the lower bound of the range of journal content searchs 504 * @param end the upper bound of the range of journal content searchs (not inclusive) 505 * @return the range of matching journal content searchs 506 * @throws SystemException if a system exception occurred 507 */ 508 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L( 509 long groupId, boolean privateLayout, long layoutId, int start, int end) 510 throws com.liferay.portal.kernel.exception.SystemException; 511 512 /** 513 * Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. 514 * 515 * <p> 516 * 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. 517 * </p> 518 * 519 * @param groupId the group ID 520 * @param privateLayout the private layout 521 * @param layoutId the layout ID 522 * @param start the lower bound of the range of journal content searchs 523 * @param end the upper bound of the range of journal content searchs (not inclusive) 524 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 525 * @return the ordered range of matching journal content searchs 526 * @throws SystemException if a system exception occurred 527 */ 528 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L( 529 long groupId, boolean privateLayout, long layoutId, int start, int end, 530 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 531 throws com.liferay.portal.kernel.exception.SystemException; 532 533 /** 534 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. 535 * 536 * @param groupId the group ID 537 * @param privateLayout the private layout 538 * @param layoutId the layout ID 539 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 540 * @return the first matching journal content search 541 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 542 * @throws SystemException if a system exception occurred 543 */ 544 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_First( 545 long groupId, boolean privateLayout, long layoutId, 546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 547 throws com.liferay.portal.kernel.exception.SystemException, 548 com.liferay.portlet.journal.NoSuchContentSearchException; 549 550 /** 551 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. 552 * 553 * @param groupId the group ID 554 * @param privateLayout the private layout 555 * @param layoutId the layout ID 556 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 557 * @return the first matching journal content search, or <code>null</code> if a matching journal content search could not be found 558 * @throws SystemException if a system exception occurred 559 */ 560 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_First( 561 long groupId, boolean privateLayout, long layoutId, 562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 563 throws com.liferay.portal.kernel.exception.SystemException; 564 565 /** 566 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. 567 * 568 * @param groupId the group ID 569 * @param privateLayout the private layout 570 * @param layoutId the layout ID 571 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 572 * @return the last matching journal content search 573 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 574 * @throws SystemException if a system exception occurred 575 */ 576 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_Last( 577 long groupId, boolean privateLayout, long layoutId, 578 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 579 throws com.liferay.portal.kernel.exception.SystemException, 580 com.liferay.portlet.journal.NoSuchContentSearchException; 581 582 /** 583 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. 584 * 585 * @param groupId the group ID 586 * @param privateLayout the private layout 587 * @param layoutId the layout ID 588 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 589 * @return the last matching journal content search, or <code>null</code> if a matching journal content search could not be found 590 * @throws SystemException if a system exception occurred 591 */ 592 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_Last( 593 long groupId, boolean privateLayout, long layoutId, 594 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 595 throws com.liferay.portal.kernel.exception.SystemException; 596 597 /** 598 * Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ?. 599 * 600 * @param contentSearchId the primary key of the current journal content search 601 * @param groupId the group ID 602 * @param privateLayout the private layout 603 * @param layoutId the layout ID 604 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 605 * @return the previous, current, and next journal content search 606 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 607 * @throws SystemException if a system exception occurred 608 */ 609 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_PrevAndNext( 610 long contentSearchId, long groupId, boolean privateLayout, 611 long layoutId, 612 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 613 throws com.liferay.portal.kernel.exception.SystemException, 614 com.liferay.portlet.journal.NoSuchContentSearchException; 615 616 /** 617 * Returns all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. 618 * 619 * @param groupId the group ID 620 * @param privateLayout the private layout 621 * @param articleId the article ID 622 * @return the matching journal content searchs 623 * @throws SystemException if a system exception occurred 624 */ 625 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A( 626 long groupId, boolean privateLayout, java.lang.String articleId) 627 throws com.liferay.portal.kernel.exception.SystemException; 628 629 /** 630 * Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. 631 * 632 * <p> 633 * 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. 634 * </p> 635 * 636 * @param groupId the group ID 637 * @param privateLayout the private layout 638 * @param articleId the article ID 639 * @param start the lower bound of the range of journal content searchs 640 * @param end the upper bound of the range of journal content searchs (not inclusive) 641 * @return the range of matching journal content searchs 642 * @throws SystemException if a system exception occurred 643 */ 644 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A( 645 long groupId, boolean privateLayout, java.lang.String articleId, 646 int start, int end) 647 throws com.liferay.portal.kernel.exception.SystemException; 648 649 /** 650 * Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. 651 * 652 * <p> 653 * 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. 654 * </p> 655 * 656 * @param groupId the group ID 657 * @param privateLayout the private layout 658 * @param articleId the article ID 659 * @param start the lower bound of the range of journal content searchs 660 * @param end the upper bound of the range of journal content searchs (not inclusive) 661 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 662 * @return the ordered range of matching journal content searchs 663 * @throws SystemException if a system exception occurred 664 */ 665 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_A( 666 long groupId, boolean privateLayout, java.lang.String articleId, 667 int start, int end, 668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 669 throws com.liferay.portal.kernel.exception.SystemException; 670 671 /** 672 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. 673 * 674 * @param groupId the group ID 675 * @param privateLayout the private layout 676 * @param articleId the article ID 677 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 678 * @return the first matching journal content search 679 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 680 * @throws SystemException if a system exception occurred 681 */ 682 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_First( 683 long groupId, boolean privateLayout, java.lang.String articleId, 684 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 685 throws com.liferay.portal.kernel.exception.SystemException, 686 com.liferay.portlet.journal.NoSuchContentSearchException; 687 688 /** 689 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. 690 * 691 * @param groupId the group ID 692 * @param privateLayout the private layout 693 * @param articleId the article ID 694 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 695 * @return the first matching journal content search, or <code>null</code> if a matching journal content search could not be found 696 * @throws SystemException if a system exception occurred 697 */ 698 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_A_First( 699 long groupId, boolean privateLayout, java.lang.String articleId, 700 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 701 throws com.liferay.portal.kernel.exception.SystemException; 702 703 /** 704 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. 705 * 706 * @param groupId the group ID 707 * @param privateLayout the private layout 708 * @param articleId the article ID 709 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 710 * @return the last matching journal content search 711 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 712 * @throws SystemException if a system exception occurred 713 */ 714 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_A_Last( 715 long groupId, boolean privateLayout, java.lang.String articleId, 716 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 717 throws com.liferay.portal.kernel.exception.SystemException, 718 com.liferay.portlet.journal.NoSuchContentSearchException; 719 720 /** 721 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. 722 * 723 * @param groupId the group ID 724 * @param privateLayout the private layout 725 * @param articleId the article ID 726 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 727 * @return the last matching journal content search, or <code>null</code> if a matching journal content search could not be found 728 * @throws SystemException if a system exception occurred 729 */ 730 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_A_Last( 731 long groupId, boolean privateLayout, java.lang.String articleId, 732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 733 throws com.liferay.portal.kernel.exception.SystemException; 734 735 /** 736 * Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and articleId = ?. 737 * 738 * @param contentSearchId the primary key of the current journal content search 739 * @param groupId the group ID 740 * @param privateLayout the private layout 741 * @param articleId the article ID 742 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 743 * @return the previous, current, and next journal content search 744 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 745 * @throws SystemException if a system exception occurred 746 */ 747 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_A_PrevAndNext( 748 long contentSearchId, long groupId, boolean privateLayout, 749 java.lang.String articleId, 750 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 751 throws com.liferay.portal.kernel.exception.SystemException, 752 com.liferay.portlet.journal.NoSuchContentSearchException; 753 754 /** 755 * Returns all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 756 * 757 * @param groupId the group ID 758 * @param privateLayout the private layout 759 * @param layoutId the layout ID 760 * @param portletId the portlet ID 761 * @return the matching journal content searchs 762 * @throws SystemException if a system exception occurred 763 */ 764 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P( 765 long groupId, boolean privateLayout, long layoutId, 766 java.lang.String portletId) 767 throws com.liferay.portal.kernel.exception.SystemException; 768 769 /** 770 * Returns a range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 771 * 772 * <p> 773 * 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. 774 * </p> 775 * 776 * @param groupId the group ID 777 * @param privateLayout the private layout 778 * @param layoutId the layout ID 779 * @param portletId the portlet ID 780 * @param start the lower bound of the range of journal content searchs 781 * @param end the upper bound of the range of journal content searchs (not inclusive) 782 * @return the range of matching journal content searchs 783 * @throws SystemException if a system exception occurred 784 */ 785 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P( 786 long groupId, boolean privateLayout, long layoutId, 787 java.lang.String portletId, int start, int end) 788 throws com.liferay.portal.kernel.exception.SystemException; 789 790 /** 791 * Returns an ordered range of all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 792 * 793 * <p> 794 * 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. 795 * </p> 796 * 797 * @param groupId the group ID 798 * @param privateLayout the private layout 799 * @param layoutId the layout ID 800 * @param portletId the portlet ID 801 * @param start the lower bound of the range of journal content searchs 802 * @param end the upper bound of the range of journal content searchs (not inclusive) 803 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 804 * @return the ordered range of matching journal content searchs 805 * @throws SystemException if a system exception occurred 806 */ 807 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findByG_P_L_P( 808 long groupId, boolean privateLayout, long layoutId, 809 java.lang.String portletId, int start, int end, 810 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 811 throws com.liferay.portal.kernel.exception.SystemException; 812 813 /** 814 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 815 * 816 * @param groupId the group ID 817 * @param privateLayout the private layout 818 * @param layoutId the layout ID 819 * @param portletId the portlet ID 820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 821 * @return the first matching journal content search 822 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_First( 826 long groupId, boolean privateLayout, long layoutId, 827 java.lang.String portletId, 828 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 829 throws com.liferay.portal.kernel.exception.SystemException, 830 com.liferay.portlet.journal.NoSuchContentSearchException; 831 832 /** 833 * Returns the first journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 834 * 835 * @param groupId the group ID 836 * @param privateLayout the private layout 837 * @param layoutId the layout ID 838 * @param portletId the portlet ID 839 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 840 * @return the first matching journal content search, or <code>null</code> if a matching journal content search could not be found 841 * @throws SystemException if a system exception occurred 842 */ 843 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_First( 844 long groupId, boolean privateLayout, long layoutId, 845 java.lang.String portletId, 846 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 847 throws com.liferay.portal.kernel.exception.SystemException; 848 849 /** 850 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 851 * 852 * @param groupId the group ID 853 * @param privateLayout the private layout 854 * @param layoutId the layout ID 855 * @param portletId the portlet ID 856 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 857 * @return the last matching journal content search 858 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 859 * @throws SystemException if a system exception occurred 860 */ 861 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_Last( 862 long groupId, boolean privateLayout, long layoutId, 863 java.lang.String portletId, 864 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 865 throws com.liferay.portal.kernel.exception.SystemException, 866 com.liferay.portlet.journal.NoSuchContentSearchException; 867 868 /** 869 * Returns the last journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 870 * 871 * @param groupId the group ID 872 * @param privateLayout the private layout 873 * @param layoutId the layout ID 874 * @param portletId the portlet ID 875 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 876 * @return the last matching journal content search, or <code>null</code> if a matching journal content search could not be found 877 * @throws SystemException if a system exception occurred 878 */ 879 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_Last( 880 long groupId, boolean privateLayout, long layoutId, 881 java.lang.String portletId, 882 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 883 throws com.liferay.portal.kernel.exception.SystemException; 884 885 /** 886 * Returns the journal content searchs before and after the current journal content search in the ordered set where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 887 * 888 * @param contentSearchId the primary key of the current journal content search 889 * @param groupId the group ID 890 * @param privateLayout the private layout 891 * @param layoutId the layout ID 892 * @param portletId the portlet ID 893 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 894 * @return the previous, current, and next journal content search 895 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a journal content search with the primary key could not be found 896 * @throws SystemException if a system exception occurred 897 */ 898 public com.liferay.portlet.journal.model.JournalContentSearch[] findByG_P_L_P_PrevAndNext( 899 long contentSearchId, long groupId, boolean privateLayout, 900 long layoutId, java.lang.String portletId, 901 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 902 throws com.liferay.portal.kernel.exception.SystemException, 903 com.liferay.portlet.journal.NoSuchContentSearchException; 904 905 /** 906 * Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or throws a {@link com.liferay.portlet.journal.NoSuchContentSearchException} if it could not be found. 907 * 908 * @param groupId the group ID 909 * @param privateLayout the private layout 910 * @param layoutId the layout ID 911 * @param portletId the portlet ID 912 * @param articleId the article ID 913 * @return the matching journal content search 914 * @throws com.liferay.portlet.journal.NoSuchContentSearchException if a matching journal content search could not be found 915 * @throws SystemException if a system exception occurred 916 */ 917 public com.liferay.portlet.journal.model.JournalContentSearch findByG_P_L_P_A( 918 long groupId, boolean privateLayout, long layoutId, 919 java.lang.String portletId, java.lang.String articleId) 920 throws com.liferay.portal.kernel.exception.SystemException, 921 com.liferay.portlet.journal.NoSuchContentSearchException; 922 923 /** 924 * Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 925 * 926 * @param groupId the group ID 927 * @param privateLayout the private layout 928 * @param layoutId the layout ID 929 * @param portletId the portlet ID 930 * @param articleId the article ID 931 * @return the matching journal content search, or <code>null</code> if a matching journal content search could not be found 932 * @throws SystemException if a system exception occurred 933 */ 934 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A( 935 long groupId, boolean privateLayout, long layoutId, 936 java.lang.String portletId, java.lang.String articleId) 937 throws com.liferay.portal.kernel.exception.SystemException; 938 939 /** 940 * Returns the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 941 * 942 * @param groupId the group ID 943 * @param privateLayout the private layout 944 * @param layoutId the layout ID 945 * @param portletId the portlet ID 946 * @param articleId the article ID 947 * @param retrieveFromCache whether to use the finder cache 948 * @return the matching journal content search, or <code>null</code> if a matching journal content search could not be found 949 * @throws SystemException if a system exception occurred 950 */ 951 public com.liferay.portlet.journal.model.JournalContentSearch fetchByG_P_L_P_A( 952 long groupId, boolean privateLayout, long layoutId, 953 java.lang.String portletId, java.lang.String articleId, 954 boolean retrieveFromCache) 955 throws com.liferay.portal.kernel.exception.SystemException; 956 957 /** 958 * Returns all the journal content searchs. 959 * 960 * @return the journal content searchs 961 * @throws SystemException if a system exception occurred 962 */ 963 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll() 964 throws com.liferay.portal.kernel.exception.SystemException; 965 966 /** 967 * Returns a range of all the journal content searchs. 968 * 969 * <p> 970 * 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. 971 * </p> 972 * 973 * @param start the lower bound of the range of journal content searchs 974 * @param end the upper bound of the range of journal content searchs (not inclusive) 975 * @return the range of journal content searchs 976 * @throws SystemException if a system exception occurred 977 */ 978 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll( 979 int start, int end) 980 throws com.liferay.portal.kernel.exception.SystemException; 981 982 /** 983 * Returns an ordered range of all the journal content searchs. 984 * 985 * <p> 986 * 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. 987 * </p> 988 * 989 * @param start the lower bound of the range of journal content searchs 990 * @param end the upper bound of the range of journal content searchs (not inclusive) 991 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 992 * @return the ordered range of journal content searchs 993 * @throws SystemException if a system exception occurred 994 */ 995 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> findAll( 996 int start, int end, 997 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 998 throws com.liferay.portal.kernel.exception.SystemException; 999 1000 /** 1001 * Removes all the journal content searchs where articleId = ? from the database. 1002 * 1003 * @param articleId the article ID 1004 * @throws SystemException if a system exception occurred 1005 */ 1006 public void removeByArticleId(java.lang.String articleId) 1007 throws com.liferay.portal.kernel.exception.SystemException; 1008 1009 /** 1010 * Removes all the journal content searchs where groupId = ? and privateLayout = ? from the database. 1011 * 1012 * @param groupId the group ID 1013 * @param privateLayout the private layout 1014 * @throws SystemException if a system exception occurred 1015 */ 1016 public void removeByG_P(long groupId, boolean privateLayout) 1017 throws com.liferay.portal.kernel.exception.SystemException; 1018 1019 /** 1020 * Removes all the journal content searchs where groupId = ? and articleId = ? from the database. 1021 * 1022 * @param groupId the group ID 1023 * @param articleId the article ID 1024 * @throws SystemException if a system exception occurred 1025 */ 1026 public void removeByG_A(long groupId, java.lang.String articleId) 1027 throws com.liferay.portal.kernel.exception.SystemException; 1028 1029 /** 1030 * Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? from the database. 1031 * 1032 * @param groupId the group ID 1033 * @param privateLayout the private layout 1034 * @param layoutId the layout ID 1035 * @throws SystemException if a system exception occurred 1036 */ 1037 public void removeByG_P_L(long groupId, boolean privateLayout, long layoutId) 1038 throws com.liferay.portal.kernel.exception.SystemException; 1039 1040 /** 1041 * Removes all the journal content searchs where groupId = ? and privateLayout = ? and articleId = ? from the database. 1042 * 1043 * @param groupId the group ID 1044 * @param privateLayout the private layout 1045 * @param articleId the article ID 1046 * @throws SystemException if a system exception occurred 1047 */ 1048 public void removeByG_P_A(long groupId, boolean privateLayout, 1049 java.lang.String articleId) 1050 throws com.liferay.portal.kernel.exception.SystemException; 1051 1052 /** 1053 * Removes all the journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? from the database. 1054 * 1055 * @param groupId the group ID 1056 * @param privateLayout the private layout 1057 * @param layoutId the layout ID 1058 * @param portletId the portlet ID 1059 * @throws SystemException if a system exception occurred 1060 */ 1061 public void removeByG_P_L_P(long groupId, boolean privateLayout, 1062 long layoutId, java.lang.String portletId) 1063 throws com.liferay.portal.kernel.exception.SystemException; 1064 1065 /** 1066 * Removes the journal content search where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ? from the database. 1067 * 1068 * @param groupId the group ID 1069 * @param privateLayout the private layout 1070 * @param layoutId the layout ID 1071 * @param portletId the portlet ID 1072 * @param articleId the article ID 1073 * @return the journal content search that was removed 1074 * @throws SystemException if a system exception occurred 1075 */ 1076 public com.liferay.portlet.journal.model.JournalContentSearch removeByG_P_L_P_A( 1077 long groupId, boolean privateLayout, long layoutId, 1078 java.lang.String portletId, java.lang.String articleId) 1079 throws com.liferay.portal.kernel.exception.SystemException, 1080 com.liferay.portlet.journal.NoSuchContentSearchException; 1081 1082 /** 1083 * Removes all the journal content searchs from the database. 1084 * 1085 * @throws SystemException if a system exception occurred 1086 */ 1087 public void removeAll() 1088 throws com.liferay.portal.kernel.exception.SystemException; 1089 1090 /** 1091 * Returns the number of journal content searchs where articleId = ?. 1092 * 1093 * @param articleId the article ID 1094 * @return the number of matching journal content searchs 1095 * @throws SystemException if a system exception occurred 1096 */ 1097 public int countByArticleId(java.lang.String articleId) 1098 throws com.liferay.portal.kernel.exception.SystemException; 1099 1100 /** 1101 * Returns the number of journal content searchs where groupId = ? and privateLayout = ?. 1102 * 1103 * @param groupId the group ID 1104 * @param privateLayout the private layout 1105 * @return the number of matching journal content searchs 1106 * @throws SystemException if a system exception occurred 1107 */ 1108 public int countByG_P(long groupId, boolean privateLayout) 1109 throws com.liferay.portal.kernel.exception.SystemException; 1110 1111 /** 1112 * Returns the number of journal content searchs where groupId = ? and articleId = ?. 1113 * 1114 * @param groupId the group ID 1115 * @param articleId the article ID 1116 * @return the number of matching journal content searchs 1117 * @throws SystemException if a system exception occurred 1118 */ 1119 public int countByG_A(long groupId, java.lang.String articleId) 1120 throws com.liferay.portal.kernel.exception.SystemException; 1121 1122 /** 1123 * Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ?. 1124 * 1125 * @param groupId the group ID 1126 * @param privateLayout the private layout 1127 * @param layoutId the layout ID 1128 * @return the number of matching journal content searchs 1129 * @throws SystemException if a system exception occurred 1130 */ 1131 public int countByG_P_L(long groupId, boolean privateLayout, long layoutId) 1132 throws com.liferay.portal.kernel.exception.SystemException; 1133 1134 /** 1135 * Returns the number of journal content searchs where groupId = ? and privateLayout = ? and articleId = ?. 1136 * 1137 * @param groupId the group ID 1138 * @param privateLayout the private layout 1139 * @param articleId the article ID 1140 * @return the number of matching journal content searchs 1141 * @throws SystemException if a system exception occurred 1142 */ 1143 public int countByG_P_A(long groupId, boolean privateLayout, 1144 java.lang.String articleId) 1145 throws com.liferay.portal.kernel.exception.SystemException; 1146 1147 /** 1148 * Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ?. 1149 * 1150 * @param groupId the group ID 1151 * @param privateLayout the private layout 1152 * @param layoutId the layout ID 1153 * @param portletId the portlet ID 1154 * @return the number of matching journal content searchs 1155 * @throws SystemException if a system exception occurred 1156 */ 1157 public int countByG_P_L_P(long groupId, boolean privateLayout, 1158 long layoutId, java.lang.String portletId) 1159 throws com.liferay.portal.kernel.exception.SystemException; 1160 1161 /** 1162 * Returns the number of journal content searchs where groupId = ? and privateLayout = ? and layoutId = ? and portletId = ? and articleId = ?. 1163 * 1164 * @param groupId the group ID 1165 * @param privateLayout the private layout 1166 * @param layoutId the layout ID 1167 * @param portletId the portlet ID 1168 * @param articleId the article ID 1169 * @return the number of matching journal content searchs 1170 * @throws SystemException if a system exception occurred 1171 */ 1172 public int countByG_P_L_P_A(long groupId, boolean privateLayout, 1173 long layoutId, java.lang.String portletId, java.lang.String articleId) 1174 throws com.liferay.portal.kernel.exception.SystemException; 1175 1176 /** 1177 * Returns the number of journal content searchs. 1178 * 1179 * @return the number of journal content searchs 1180 * @throws SystemException if a system exception occurred 1181 */ 1182 public int countAll() 1183 throws com.liferay.portal.kernel.exception.SystemException; 1184 }