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