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.JournalArticle; 020 021 /** 022 * The persistence interface for the journal article 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 JournalArticlePersistenceImpl 030 * @see JournalArticleUtil 031 * @generated 032 */ 033 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the journal article in the entity cache if it is enabled. 042 * 043 * @param journalArticle the journal article 044 */ 045 public void cacheResult( 046 com.liferay.portlet.journal.model.JournalArticle journalArticle); 047 048 /** 049 * Caches the journal articles in the entity cache if it is enabled. 050 * 051 * @param journalArticles the journal articles 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 055 056 /** 057 * Creates a new journal article with the primary key. Does not add the journal article to the database. 058 * 059 * @param id the primary key for the new journal article 060 * @return the new journal article 061 */ 062 public com.liferay.portlet.journal.model.JournalArticle create(long id); 063 064 /** 065 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 066 * 067 * @param id the primary key of the journal article 068 * @return the journal article that was removed 069 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 070 * @throws SystemException if a system exception occurred 071 */ 072 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.journal.NoSuchArticleException; 075 076 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 077 com.liferay.portlet.journal.model.JournalArticle journalArticle) 078 throws com.liferay.portal.kernel.exception.SystemException; 079 080 /** 081 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 082 * 083 * @param id the primary key of the journal article 084 * @return the journal article 085 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 086 * @throws SystemException if a system exception occurred 087 */ 088 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 089 long id) 090 throws com.liferay.portal.kernel.exception.SystemException, 091 com.liferay.portlet.journal.NoSuchArticleException; 092 093 /** 094 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 095 * 096 * @param id the primary key of the journal article 097 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 098 * @throws SystemException if a system exception occurred 099 */ 100 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 101 long id) throws com.liferay.portal.kernel.exception.SystemException; 102 103 /** 104 * Returns all the journal articles where uuid = ?. 105 * 106 * @param uuid the uuid 107 * @return the matching journal articles 108 * @throws SystemException if a system exception occurred 109 */ 110 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 111 java.lang.String uuid) 112 throws com.liferay.portal.kernel.exception.SystemException; 113 114 /** 115 * Returns a range of all the journal articles where uuid = ?. 116 * 117 * <p> 118 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 119 * </p> 120 * 121 * @param uuid the uuid 122 * @param start the lower bound of the range of journal articles 123 * @param end the upper bound of the range of journal articles (not inclusive) 124 * @return the range of matching journal articles 125 * @throws SystemException if a system exception occurred 126 */ 127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 128 java.lang.String uuid, int start, int end) 129 throws com.liferay.portal.kernel.exception.SystemException; 130 131 /** 132 * Returns an ordered range of all the journal articles where uuid = ?. 133 * 134 * <p> 135 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 136 * </p> 137 * 138 * @param uuid the uuid 139 * @param start the lower bound of the range of journal articles 140 * @param end the upper bound of the range of journal articles (not inclusive) 141 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 142 * @return the ordered range of matching journal articles 143 * @throws SystemException if a system exception occurred 144 */ 145 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 146 java.lang.String uuid, int start, int end, 147 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 148 throws com.liferay.portal.kernel.exception.SystemException; 149 150 /** 151 * Returns the first journal article in the ordered set where uuid = ?. 152 * 153 * @param uuid the uuid 154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 155 * @return the first matching journal article 156 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 157 * @throws SystemException if a system exception occurred 158 */ 159 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 160 java.lang.String uuid, 161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 162 throws com.liferay.portal.kernel.exception.SystemException, 163 com.liferay.portlet.journal.NoSuchArticleException; 164 165 /** 166 * Returns the first journal article in the ordered set where uuid = ?. 167 * 168 * @param uuid the uuid 169 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 170 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 171 * @throws SystemException if a system exception occurred 172 */ 173 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First( 174 java.lang.String uuid, 175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 176 throws com.liferay.portal.kernel.exception.SystemException; 177 178 /** 179 * Returns the last journal article in the ordered set where uuid = ?. 180 * 181 * @param uuid the uuid 182 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 183 * @return the last matching journal article 184 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 185 * @throws SystemException if a system exception occurred 186 */ 187 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 188 java.lang.String uuid, 189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 190 throws com.liferay.portal.kernel.exception.SystemException, 191 com.liferay.portlet.journal.NoSuchArticleException; 192 193 /** 194 * Returns the last journal article in the ordered set where uuid = ?. 195 * 196 * @param uuid the uuid 197 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 198 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 199 * @throws SystemException if a system exception occurred 200 */ 201 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last( 202 java.lang.String uuid, 203 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 204 throws com.liferay.portal.kernel.exception.SystemException; 205 206 /** 207 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 208 * 209 * @param id the primary key of the current journal article 210 * @param uuid the uuid 211 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 212 * @return the previous, current, and next journal article 213 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 214 * @throws SystemException if a system exception occurred 215 */ 216 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 217 long id, java.lang.String uuid, 218 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 219 throws com.liferay.portal.kernel.exception.SystemException, 220 com.liferay.portlet.journal.NoSuchArticleException; 221 222 /** 223 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 224 * 225 * @param uuid the uuid 226 * @param groupId the group ID 227 * @return the matching journal article 228 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 229 * @throws SystemException if a system exception occurred 230 */ 231 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 232 java.lang.String uuid, long groupId) 233 throws com.liferay.portal.kernel.exception.SystemException, 234 com.liferay.portlet.journal.NoSuchArticleException; 235 236 /** 237 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 238 * 239 * @param uuid the uuid 240 * @param groupId the group ID 241 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 242 * @throws SystemException if a system exception occurred 243 */ 244 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 245 java.lang.String uuid, long groupId) 246 throws com.liferay.portal.kernel.exception.SystemException; 247 248 /** 249 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 250 * 251 * @param uuid the uuid 252 * @param groupId the group ID 253 * @param retrieveFromCache whether to use the finder cache 254 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 255 * @throws SystemException if a system exception occurred 256 */ 257 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 258 java.lang.String uuid, long groupId, boolean retrieveFromCache) 259 throws com.liferay.portal.kernel.exception.SystemException; 260 261 /** 262 * Returns all the journal articles where uuid = ? and companyId = ?. 263 * 264 * @param uuid the uuid 265 * @param companyId the company ID 266 * @return the matching journal articles 267 * @throws SystemException if a system exception occurred 268 */ 269 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 270 java.lang.String uuid, long companyId) 271 throws com.liferay.portal.kernel.exception.SystemException; 272 273 /** 274 * Returns a range of all the journal articles where uuid = ? and companyId = ?. 275 * 276 * <p> 277 * 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. 278 * </p> 279 * 280 * @param uuid the uuid 281 * @param companyId the company ID 282 * @param start the lower bound of the range of journal articles 283 * @param end the upper bound of the range of journal articles (not inclusive) 284 * @return the range of matching journal articles 285 * @throws SystemException if a system exception occurred 286 */ 287 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 288 java.lang.String uuid, long companyId, int start, int end) 289 throws com.liferay.portal.kernel.exception.SystemException; 290 291 /** 292 * Returns an ordered range of all the journal articles where uuid = ? and companyId = ?. 293 * 294 * <p> 295 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 296 * </p> 297 * 298 * @param uuid the uuid 299 * @param companyId the company ID 300 * @param start the lower bound of the range of journal articles 301 * @param end the upper bound of the range of journal articles (not inclusive) 302 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 303 * @return the ordered range of matching journal articles 304 * @throws SystemException if a system exception occurred 305 */ 306 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 307 java.lang.String uuid, long companyId, int start, int end, 308 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 309 throws com.liferay.portal.kernel.exception.SystemException; 310 311 /** 312 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 313 * 314 * @param uuid the uuid 315 * @param companyId the company ID 316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 317 * @return the first matching journal article 318 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 319 * @throws SystemException if a system exception occurred 320 */ 321 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First( 322 java.lang.String uuid, long companyId, 323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 324 throws com.liferay.portal.kernel.exception.SystemException, 325 com.liferay.portlet.journal.NoSuchArticleException; 326 327 /** 328 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 329 * 330 * @param uuid the uuid 331 * @param companyId the company ID 332 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 333 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 334 * @throws SystemException if a system exception occurred 335 */ 336 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First( 337 java.lang.String uuid, long companyId, 338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 339 throws com.liferay.portal.kernel.exception.SystemException; 340 341 /** 342 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 343 * 344 * @param uuid the uuid 345 * @param companyId the company ID 346 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 347 * @return the last matching journal article 348 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 349 * @throws SystemException if a system exception occurred 350 */ 351 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last( 352 java.lang.String uuid, long companyId, 353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 354 throws com.liferay.portal.kernel.exception.SystemException, 355 com.liferay.portlet.journal.NoSuchArticleException; 356 357 /** 358 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 359 * 360 * @param uuid the uuid 361 * @param companyId the company ID 362 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 363 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 364 * @throws SystemException if a system exception occurred 365 */ 366 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last( 367 java.lang.String uuid, long companyId, 368 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 369 throws com.liferay.portal.kernel.exception.SystemException; 370 371 /** 372 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?. 373 * 374 * @param id the primary key of the current journal article 375 * @param uuid the uuid 376 * @param companyId the company ID 377 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 378 * @return the previous, current, and next journal article 379 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 380 * @throws SystemException if a system exception occurred 381 */ 382 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext( 383 long id, java.lang.String uuid, long companyId, 384 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 385 throws com.liferay.portal.kernel.exception.SystemException, 386 com.liferay.portlet.journal.NoSuchArticleException; 387 388 /** 389 * Returns all the journal articles where resourcePrimKey = ?. 390 * 391 * @param resourcePrimKey the resource prim key 392 * @return the matching journal articles 393 * @throws SystemException if a system exception occurred 394 */ 395 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 396 long resourcePrimKey) 397 throws com.liferay.portal.kernel.exception.SystemException; 398 399 /** 400 * Returns a range of all the journal articles where resourcePrimKey = ?. 401 * 402 * <p> 403 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 404 * </p> 405 * 406 * @param resourcePrimKey the resource prim key 407 * @param start the lower bound of the range of journal articles 408 * @param end the upper bound of the range of journal articles (not inclusive) 409 * @return the range of matching journal articles 410 * @throws SystemException if a system exception occurred 411 */ 412 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 413 long resourcePrimKey, int start, int end) 414 throws com.liferay.portal.kernel.exception.SystemException; 415 416 /** 417 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 418 * 419 * <p> 420 * 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. 421 * </p> 422 * 423 * @param resourcePrimKey the resource prim key 424 * @param start the lower bound of the range of journal articles 425 * @param end the upper bound of the range of journal articles (not inclusive) 426 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 427 * @return the ordered range of matching journal articles 428 * @throws SystemException if a system exception occurred 429 */ 430 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 431 long resourcePrimKey, int start, int end, 432 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 433 throws com.liferay.portal.kernel.exception.SystemException; 434 435 /** 436 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 437 * 438 * @param resourcePrimKey the resource prim key 439 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 440 * @return the first matching journal article 441 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 442 * @throws SystemException if a system exception occurred 443 */ 444 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 445 long resourcePrimKey, 446 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 447 throws com.liferay.portal.kernel.exception.SystemException, 448 com.liferay.portlet.journal.NoSuchArticleException; 449 450 /** 451 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 452 * 453 * @param resourcePrimKey the resource prim key 454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 455 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 456 * @throws SystemException if a system exception occurred 457 */ 458 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First( 459 long resourcePrimKey, 460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 461 throws com.liferay.portal.kernel.exception.SystemException; 462 463 /** 464 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 465 * 466 * @param resourcePrimKey the resource prim key 467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 468 * @return the last matching journal article 469 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 470 * @throws SystemException if a system exception occurred 471 */ 472 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 473 long resourcePrimKey, 474 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 475 throws com.liferay.portal.kernel.exception.SystemException, 476 com.liferay.portlet.journal.NoSuchArticleException; 477 478 /** 479 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 480 * 481 * @param resourcePrimKey the resource prim key 482 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 483 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 484 * @throws SystemException if a system exception occurred 485 */ 486 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last( 487 long resourcePrimKey, 488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 489 throws com.liferay.portal.kernel.exception.SystemException; 490 491 /** 492 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 493 * 494 * @param id the primary key of the current journal article 495 * @param resourcePrimKey the resource prim key 496 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 497 * @return the previous, current, and next journal article 498 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 499 * @throws SystemException if a system exception occurred 500 */ 501 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 502 long id, long resourcePrimKey, 503 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 504 throws com.liferay.portal.kernel.exception.SystemException, 505 com.liferay.portlet.journal.NoSuchArticleException; 506 507 /** 508 * Returns all the journal articles where groupId = ?. 509 * 510 * @param groupId the group ID 511 * @return the matching journal articles 512 * @throws SystemException if a system exception occurred 513 */ 514 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 515 long groupId) 516 throws com.liferay.portal.kernel.exception.SystemException; 517 518 /** 519 * Returns a range of all the journal articles where groupId = ?. 520 * 521 * <p> 522 * 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. 523 * </p> 524 * 525 * @param groupId the group ID 526 * @param start the lower bound of the range of journal articles 527 * @param end the upper bound of the range of journal articles (not inclusive) 528 * @return the range of matching journal articles 529 * @throws SystemException if a system exception occurred 530 */ 531 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 532 long groupId, int start, int end) 533 throws com.liferay.portal.kernel.exception.SystemException; 534 535 /** 536 * Returns an ordered range of all the journal articles where groupId = ?. 537 * 538 * <p> 539 * 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. 540 * </p> 541 * 542 * @param groupId the group ID 543 * @param start the lower bound of the range of journal articles 544 * @param end the upper bound of the range of journal articles (not inclusive) 545 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 546 * @return the ordered range of matching journal articles 547 * @throws SystemException if a system exception occurred 548 */ 549 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 550 long groupId, int start, int end, 551 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 552 throws com.liferay.portal.kernel.exception.SystemException; 553 554 /** 555 * Returns the first journal article in the ordered set where groupId = ?. 556 * 557 * @param groupId the group ID 558 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 559 * @return the first matching journal article 560 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 561 * @throws SystemException if a system exception occurred 562 */ 563 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 564 long groupId, 565 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 566 throws com.liferay.portal.kernel.exception.SystemException, 567 com.liferay.portlet.journal.NoSuchArticleException; 568 569 /** 570 * Returns the first journal article in the ordered set where groupId = ?. 571 * 572 * @param groupId the group ID 573 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 574 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 575 * @throws SystemException if a system exception occurred 576 */ 577 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First( 578 long groupId, 579 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 580 throws com.liferay.portal.kernel.exception.SystemException; 581 582 /** 583 * Returns the last journal article in the ordered set where groupId = ?. 584 * 585 * @param groupId the group ID 586 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 587 * @return the last matching journal article 588 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 589 * @throws SystemException if a system exception occurred 590 */ 591 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 592 long groupId, 593 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 594 throws com.liferay.portal.kernel.exception.SystemException, 595 com.liferay.portlet.journal.NoSuchArticleException; 596 597 /** 598 * Returns the last journal article in the ordered set where groupId = ?. 599 * 600 * @param groupId the group ID 601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 602 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 603 * @throws SystemException if a system exception occurred 604 */ 605 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last( 606 long groupId, 607 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 608 throws com.liferay.portal.kernel.exception.SystemException; 609 610 /** 611 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 612 * 613 * @param id the primary key of the current journal article 614 * @param groupId the group ID 615 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 616 * @return the previous, current, and next journal article 617 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 618 * @throws SystemException if a system exception occurred 619 */ 620 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 621 long id, long groupId, 622 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 623 throws com.liferay.portal.kernel.exception.SystemException, 624 com.liferay.portlet.journal.NoSuchArticleException; 625 626 /** 627 * Returns all the journal articles that the user has permission to view where groupId = ?. 628 * 629 * @param groupId the group ID 630 * @return the matching journal articles that the user has permission to view 631 * @throws SystemException if a system exception occurred 632 */ 633 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 634 long groupId) 635 throws com.liferay.portal.kernel.exception.SystemException; 636 637 /** 638 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 639 * 640 * <p> 641 * 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. 642 * </p> 643 * 644 * @param groupId the group ID 645 * @param start the lower bound of the range of journal articles 646 * @param end the upper bound of the range of journal articles (not inclusive) 647 * @return the range of matching journal articles that the user has permission to view 648 * @throws SystemException if a system exception occurred 649 */ 650 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 651 long groupId, int start, int end) 652 throws com.liferay.portal.kernel.exception.SystemException; 653 654 /** 655 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 656 * 657 * <p> 658 * 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. 659 * </p> 660 * 661 * @param groupId the group ID 662 * @param start the lower bound of the range of journal articles 663 * @param end the upper bound of the range of journal articles (not inclusive) 664 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 665 * @return the ordered range of matching journal articles that the user has permission to view 666 * @throws SystemException if a system exception occurred 667 */ 668 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 669 long groupId, int start, int end, 670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 671 throws com.liferay.portal.kernel.exception.SystemException; 672 673 /** 674 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?. 675 * 676 * @param id the primary key of the current journal article 677 * @param groupId the group ID 678 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 679 * @return the previous, current, and next journal article 680 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 681 * @throws SystemException if a system exception occurred 682 */ 683 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 684 long id, long groupId, 685 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 686 throws com.liferay.portal.kernel.exception.SystemException, 687 com.liferay.portlet.journal.NoSuchArticleException; 688 689 /** 690 * Returns all the journal articles where companyId = ?. 691 * 692 * @param companyId the company ID 693 * @return the matching journal articles 694 * @throws SystemException if a system exception occurred 695 */ 696 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 697 long companyId) 698 throws com.liferay.portal.kernel.exception.SystemException; 699 700 /** 701 * Returns a range of all the journal articles where companyId = ?. 702 * 703 * <p> 704 * 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. 705 * </p> 706 * 707 * @param companyId the company ID 708 * @param start the lower bound of the range of journal articles 709 * @param end the upper bound of the range of journal articles (not inclusive) 710 * @return the range of matching journal articles 711 * @throws SystemException if a system exception occurred 712 */ 713 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 714 long companyId, int start, int end) 715 throws com.liferay.portal.kernel.exception.SystemException; 716 717 /** 718 * Returns an ordered range of all the journal articles where companyId = ?. 719 * 720 * <p> 721 * 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. 722 * </p> 723 * 724 * @param companyId the company ID 725 * @param start the lower bound of the range of journal articles 726 * @param end the upper bound of the range of journal articles (not inclusive) 727 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 728 * @return the ordered range of matching journal articles 729 * @throws SystemException if a system exception occurred 730 */ 731 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 732 long companyId, int start, int end, 733 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 734 throws com.liferay.portal.kernel.exception.SystemException; 735 736 /** 737 * Returns the first journal article in the ordered set where companyId = ?. 738 * 739 * @param companyId the company ID 740 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 741 * @return the first matching journal article 742 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 743 * @throws SystemException if a system exception occurred 744 */ 745 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 746 long companyId, 747 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 748 throws com.liferay.portal.kernel.exception.SystemException, 749 com.liferay.portlet.journal.NoSuchArticleException; 750 751 /** 752 * Returns the first journal article in the ordered set where companyId = ?. 753 * 754 * @param companyId the company ID 755 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 756 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 757 * @throws SystemException if a system exception occurred 758 */ 759 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First( 760 long companyId, 761 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 762 throws com.liferay.portal.kernel.exception.SystemException; 763 764 /** 765 * Returns the last journal article in the ordered set where companyId = ?. 766 * 767 * @param companyId the company ID 768 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 769 * @return the last matching journal article 770 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 771 * @throws SystemException if a system exception occurred 772 */ 773 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 774 long companyId, 775 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 776 throws com.liferay.portal.kernel.exception.SystemException, 777 com.liferay.portlet.journal.NoSuchArticleException; 778 779 /** 780 * Returns the last journal article in the ordered set where companyId = ?. 781 * 782 * @param companyId the company ID 783 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 784 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 785 * @throws SystemException if a system exception occurred 786 */ 787 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last( 788 long companyId, 789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 790 throws com.liferay.portal.kernel.exception.SystemException; 791 792 /** 793 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 794 * 795 * @param id the primary key of the current journal article 796 * @param companyId the company ID 797 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 798 * @return the previous, current, and next journal article 799 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 800 * @throws SystemException if a system exception occurred 801 */ 802 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 803 long id, long companyId, 804 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 805 throws com.liferay.portal.kernel.exception.SystemException, 806 com.liferay.portlet.journal.NoSuchArticleException; 807 808 /** 809 * Returns all the journal articles where structureId = ?. 810 * 811 * @param structureId the structure ID 812 * @return the matching journal articles 813 * @throws SystemException if a system exception occurred 814 */ 815 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 816 java.lang.String structureId) 817 throws com.liferay.portal.kernel.exception.SystemException; 818 819 /** 820 * Returns a range of all the journal articles where structureId = ?. 821 * 822 * <p> 823 * 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. 824 * </p> 825 * 826 * @param structureId the structure ID 827 * @param start the lower bound of the range of journal articles 828 * @param end the upper bound of the range of journal articles (not inclusive) 829 * @return the range of matching journal articles 830 * @throws SystemException if a system exception occurred 831 */ 832 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 833 java.lang.String structureId, int start, int end) 834 throws com.liferay.portal.kernel.exception.SystemException; 835 836 /** 837 * Returns an ordered range of all the journal articles where structureId = ?. 838 * 839 * <p> 840 * 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. 841 * </p> 842 * 843 * @param structureId the structure ID 844 * @param start the lower bound of the range of journal articles 845 * @param end the upper bound of the range of journal articles (not inclusive) 846 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 847 * @return the ordered range of matching journal articles 848 * @throws SystemException if a system exception occurred 849 */ 850 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 851 java.lang.String structureId, int start, int end, 852 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 853 throws com.liferay.portal.kernel.exception.SystemException; 854 855 /** 856 * Returns the first journal article in the ordered set where structureId = ?. 857 * 858 * @param structureId the structure ID 859 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 860 * @return the first matching journal article 861 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 862 * @throws SystemException if a system exception occurred 863 */ 864 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First( 865 java.lang.String structureId, 866 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 867 throws com.liferay.portal.kernel.exception.SystemException, 868 com.liferay.portlet.journal.NoSuchArticleException; 869 870 /** 871 * Returns the first journal article in the ordered set where structureId = ?. 872 * 873 * @param structureId the structure ID 874 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 875 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 876 * @throws SystemException if a system exception occurred 877 */ 878 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First( 879 java.lang.String structureId, 880 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 881 throws com.liferay.portal.kernel.exception.SystemException; 882 883 /** 884 * Returns the last journal article in the ordered set where structureId = ?. 885 * 886 * @param structureId the structure ID 887 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 888 * @return the last matching journal article 889 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 890 * @throws SystemException if a system exception occurred 891 */ 892 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last( 893 java.lang.String structureId, 894 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 895 throws com.liferay.portal.kernel.exception.SystemException, 896 com.liferay.portlet.journal.NoSuchArticleException; 897 898 /** 899 * Returns the last journal article in the ordered set where structureId = ?. 900 * 901 * @param structureId the structure ID 902 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 903 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 904 * @throws SystemException if a system exception occurred 905 */ 906 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last( 907 java.lang.String structureId, 908 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 909 throws com.liferay.portal.kernel.exception.SystemException; 910 911 /** 912 * Returns the journal articles before and after the current journal article in the ordered set where structureId = ?. 913 * 914 * @param id the primary key of the current journal article 915 * @param structureId the structure ID 916 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 917 * @return the previous, current, and next journal article 918 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 919 * @throws SystemException if a system exception occurred 920 */ 921 public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext( 922 long id, java.lang.String structureId, 923 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 924 throws com.liferay.portal.kernel.exception.SystemException, 925 com.liferay.portlet.journal.NoSuchArticleException; 926 927 /** 928 * Returns all the journal articles where templateId = ?. 929 * 930 * @param templateId the template ID 931 * @return the matching journal articles 932 * @throws SystemException if a system exception occurred 933 */ 934 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 935 java.lang.String templateId) 936 throws com.liferay.portal.kernel.exception.SystemException; 937 938 /** 939 * Returns a range of all the journal articles where templateId = ?. 940 * 941 * <p> 942 * 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. 943 * </p> 944 * 945 * @param templateId the template ID 946 * @param start the lower bound of the range of journal articles 947 * @param end the upper bound of the range of journal articles (not inclusive) 948 * @return the range of matching journal articles 949 * @throws SystemException if a system exception occurred 950 */ 951 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 952 java.lang.String templateId, int start, int end) 953 throws com.liferay.portal.kernel.exception.SystemException; 954 955 /** 956 * Returns an ordered range of all the journal articles where templateId = ?. 957 * 958 * <p> 959 * 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. 960 * </p> 961 * 962 * @param templateId the template ID 963 * @param start the lower bound of the range of journal articles 964 * @param end the upper bound of the range of journal articles (not inclusive) 965 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 966 * @return the ordered range of matching journal articles 967 * @throws SystemException if a system exception occurred 968 */ 969 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 970 java.lang.String templateId, int start, int end, 971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 972 throws com.liferay.portal.kernel.exception.SystemException; 973 974 /** 975 * Returns the first journal article in the ordered set where templateId = ?. 976 * 977 * @param templateId the template ID 978 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 979 * @return the first matching journal article 980 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 981 * @throws SystemException if a system exception occurred 982 */ 983 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 984 java.lang.String templateId, 985 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 986 throws com.liferay.portal.kernel.exception.SystemException, 987 com.liferay.portlet.journal.NoSuchArticleException; 988 989 /** 990 * Returns the first journal article in the ordered set where templateId = ?. 991 * 992 * @param templateId the template ID 993 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 994 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 995 * @throws SystemException if a system exception occurred 996 */ 997 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First( 998 java.lang.String templateId, 999 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1000 throws com.liferay.portal.kernel.exception.SystemException; 1001 1002 /** 1003 * Returns the last journal article in the ordered set where templateId = ?. 1004 * 1005 * @param templateId the template ID 1006 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1007 * @return the last matching journal article 1008 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1009 * @throws SystemException if a system exception occurred 1010 */ 1011 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 1012 java.lang.String templateId, 1013 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1014 throws com.liferay.portal.kernel.exception.SystemException, 1015 com.liferay.portlet.journal.NoSuchArticleException; 1016 1017 /** 1018 * Returns the last journal article in the ordered set where templateId = ?. 1019 * 1020 * @param templateId the template ID 1021 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1022 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1023 * @throws SystemException if a system exception occurred 1024 */ 1025 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last( 1026 java.lang.String templateId, 1027 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1028 throws com.liferay.portal.kernel.exception.SystemException; 1029 1030 /** 1031 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 1032 * 1033 * @param id the primary key of the current journal article 1034 * @param templateId the template ID 1035 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1036 * @return the previous, current, and next journal article 1037 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1038 * @throws SystemException if a system exception occurred 1039 */ 1040 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 1041 long id, java.lang.String templateId, 1042 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1043 throws com.liferay.portal.kernel.exception.SystemException, 1044 com.liferay.portlet.journal.NoSuchArticleException; 1045 1046 /** 1047 * Returns all the journal articles where layoutUuid = ?. 1048 * 1049 * @param layoutUuid the layout uuid 1050 * @return the matching journal articles 1051 * @throws SystemException if a system exception occurred 1052 */ 1053 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1054 java.lang.String layoutUuid) 1055 throws com.liferay.portal.kernel.exception.SystemException; 1056 1057 /** 1058 * Returns a range of all the journal articles where layoutUuid = ?. 1059 * 1060 * <p> 1061 * 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. 1062 * </p> 1063 * 1064 * @param layoutUuid the layout uuid 1065 * @param start the lower bound of the range of journal articles 1066 * @param end the upper bound of the range of journal articles (not inclusive) 1067 * @return the range of matching journal articles 1068 * @throws SystemException if a system exception occurred 1069 */ 1070 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1071 java.lang.String layoutUuid, int start, int end) 1072 throws com.liferay.portal.kernel.exception.SystemException; 1073 1074 /** 1075 * Returns an ordered range of all the journal articles where layoutUuid = ?. 1076 * 1077 * <p> 1078 * 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. 1079 * </p> 1080 * 1081 * @param layoutUuid the layout uuid 1082 * @param start the lower bound of the range of journal articles 1083 * @param end the upper bound of the range of journal articles (not inclusive) 1084 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1085 * @return the ordered range of matching journal articles 1086 * @throws SystemException if a system exception occurred 1087 */ 1088 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1089 java.lang.String layoutUuid, int start, int end, 1090 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1091 throws com.liferay.portal.kernel.exception.SystemException; 1092 1093 /** 1094 * Returns the first journal article in the ordered set where layoutUuid = ?. 1095 * 1096 * @param layoutUuid the layout uuid 1097 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1098 * @return the first matching journal article 1099 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1100 * @throws SystemException if a system exception occurred 1101 */ 1102 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First( 1103 java.lang.String layoutUuid, 1104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1105 throws com.liferay.portal.kernel.exception.SystemException, 1106 com.liferay.portlet.journal.NoSuchArticleException; 1107 1108 /** 1109 * Returns the first journal article in the ordered set where layoutUuid = ?. 1110 * 1111 * @param layoutUuid the layout uuid 1112 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1113 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1114 * @throws SystemException if a system exception occurred 1115 */ 1116 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First( 1117 java.lang.String layoutUuid, 1118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1119 throws com.liferay.portal.kernel.exception.SystemException; 1120 1121 /** 1122 * Returns the last journal article in the ordered set where layoutUuid = ?. 1123 * 1124 * @param layoutUuid the layout uuid 1125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1126 * @return the last matching journal article 1127 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1128 * @throws SystemException if a system exception occurred 1129 */ 1130 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last( 1131 java.lang.String layoutUuid, 1132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1133 throws com.liferay.portal.kernel.exception.SystemException, 1134 com.liferay.portlet.journal.NoSuchArticleException; 1135 1136 /** 1137 * Returns the last journal article in the ordered set where layoutUuid = ?. 1138 * 1139 * @param layoutUuid the layout uuid 1140 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1141 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1142 * @throws SystemException if a system exception occurred 1143 */ 1144 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last( 1145 java.lang.String layoutUuid, 1146 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1147 throws com.liferay.portal.kernel.exception.SystemException; 1148 1149 /** 1150 * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?. 1151 * 1152 * @param id the primary key of the current journal article 1153 * @param layoutUuid the layout uuid 1154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1155 * @return the previous, current, and next journal article 1156 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1157 * @throws SystemException if a system exception occurred 1158 */ 1159 public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext( 1160 long id, java.lang.String layoutUuid, 1161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1162 throws com.liferay.portal.kernel.exception.SystemException, 1163 com.liferay.portlet.journal.NoSuchArticleException; 1164 1165 /** 1166 * Returns all the journal articles where smallImageId = ?. 1167 * 1168 * @param smallImageId the small image ID 1169 * @return the matching journal articles 1170 * @throws SystemException if a system exception occurred 1171 */ 1172 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1173 long smallImageId) 1174 throws com.liferay.portal.kernel.exception.SystemException; 1175 1176 /** 1177 * Returns a range of all the journal articles where smallImageId = ?. 1178 * 1179 * <p> 1180 * 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. 1181 * </p> 1182 * 1183 * @param smallImageId the small image ID 1184 * @param start the lower bound of the range of journal articles 1185 * @param end the upper bound of the range of journal articles (not inclusive) 1186 * @return the range of matching journal articles 1187 * @throws SystemException if a system exception occurred 1188 */ 1189 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1190 long smallImageId, int start, int end) 1191 throws com.liferay.portal.kernel.exception.SystemException; 1192 1193 /** 1194 * Returns an ordered range of all the journal articles where smallImageId = ?. 1195 * 1196 * <p> 1197 * 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. 1198 * </p> 1199 * 1200 * @param smallImageId the small image ID 1201 * @param start the lower bound of the range of journal articles 1202 * @param end the upper bound of the range of journal articles (not inclusive) 1203 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1204 * @return the ordered range of matching journal articles 1205 * @throws SystemException if a system exception occurred 1206 */ 1207 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1208 long smallImageId, int start, int end, 1209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1210 throws com.liferay.portal.kernel.exception.SystemException; 1211 1212 /** 1213 * Returns the first journal article in the ordered set where smallImageId = ?. 1214 * 1215 * @param smallImageId the small image ID 1216 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1217 * @return the first matching journal article 1218 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1219 * @throws SystemException if a system exception occurred 1220 */ 1221 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 1222 long smallImageId, 1223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1224 throws com.liferay.portal.kernel.exception.SystemException, 1225 com.liferay.portlet.journal.NoSuchArticleException; 1226 1227 /** 1228 * Returns the first journal article in the ordered set where smallImageId = ?. 1229 * 1230 * @param smallImageId the small image ID 1231 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1232 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1233 * @throws SystemException if a system exception occurred 1234 */ 1235 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 1236 long smallImageId, 1237 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1238 throws com.liferay.portal.kernel.exception.SystemException; 1239 1240 /** 1241 * Returns the last journal article in the ordered set where smallImageId = ?. 1242 * 1243 * @param smallImageId the small image ID 1244 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1245 * @return the last matching journal article 1246 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1247 * @throws SystemException if a system exception occurred 1248 */ 1249 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1250 long smallImageId, 1251 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1252 throws com.liferay.portal.kernel.exception.SystemException, 1253 com.liferay.portlet.journal.NoSuchArticleException; 1254 1255 /** 1256 * Returns the last journal article in the ordered set where smallImageId = ?. 1257 * 1258 * @param smallImageId the small image ID 1259 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1260 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1261 * @throws SystemException if a system exception occurred 1262 */ 1263 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1264 long smallImageId, 1265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1266 throws com.liferay.portal.kernel.exception.SystemException; 1267 1268 /** 1269 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1270 * 1271 * @param id the primary key of the current journal article 1272 * @param smallImageId the small image ID 1273 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1274 * @return the previous, current, and next journal article 1275 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1276 * @throws SystemException if a system exception occurred 1277 */ 1278 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1279 long id, long smallImageId, 1280 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1281 throws com.liferay.portal.kernel.exception.SystemException, 1282 com.liferay.portlet.journal.NoSuchArticleException; 1283 1284 /** 1285 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1286 * 1287 * @param resourcePrimKey the resource prim key 1288 * @param status the status 1289 * @return the matching journal articles 1290 * @throws SystemException if a system exception occurred 1291 */ 1292 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1293 long resourcePrimKey, int status) 1294 throws com.liferay.portal.kernel.exception.SystemException; 1295 1296 /** 1297 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1298 * 1299 * <p> 1300 * 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. 1301 * </p> 1302 * 1303 * @param resourcePrimKey the resource prim key 1304 * @param status the status 1305 * @param start the lower bound of the range of journal articles 1306 * @param end the upper bound of the range of journal articles (not inclusive) 1307 * @return the range of matching journal articles 1308 * @throws SystemException if a system exception occurred 1309 */ 1310 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1311 long resourcePrimKey, int status, int start, int end) 1312 throws com.liferay.portal.kernel.exception.SystemException; 1313 1314 /** 1315 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1316 * 1317 * <p> 1318 * 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. 1319 * </p> 1320 * 1321 * @param resourcePrimKey the resource prim key 1322 * @param status the status 1323 * @param start the lower bound of the range of journal articles 1324 * @param end the upper bound of the range of journal articles (not inclusive) 1325 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1326 * @return the ordered range of matching journal articles 1327 * @throws SystemException if a system exception occurred 1328 */ 1329 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1330 long resourcePrimKey, int status, int start, int end, 1331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1332 throws com.liferay.portal.kernel.exception.SystemException; 1333 1334 /** 1335 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1336 * 1337 * @param resourcePrimKey the resource prim key 1338 * @param status the status 1339 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1340 * @return the first matching journal article 1341 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1342 * @throws SystemException if a system exception occurred 1343 */ 1344 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1345 long resourcePrimKey, int status, 1346 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1347 throws com.liferay.portal.kernel.exception.SystemException, 1348 com.liferay.portlet.journal.NoSuchArticleException; 1349 1350 /** 1351 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1352 * 1353 * @param resourcePrimKey the resource prim key 1354 * @param status the status 1355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1356 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1357 * @throws SystemException if a system exception occurred 1358 */ 1359 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1360 long resourcePrimKey, int status, 1361 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1362 throws com.liferay.portal.kernel.exception.SystemException; 1363 1364 /** 1365 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1366 * 1367 * @param resourcePrimKey the resource prim key 1368 * @param status the status 1369 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1370 * @return the last matching journal article 1371 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1372 * @throws SystemException if a system exception occurred 1373 */ 1374 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1375 long resourcePrimKey, int status, 1376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1377 throws com.liferay.portal.kernel.exception.SystemException, 1378 com.liferay.portlet.journal.NoSuchArticleException; 1379 1380 /** 1381 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1382 * 1383 * @param resourcePrimKey the resource prim key 1384 * @param status the status 1385 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1386 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1387 * @throws SystemException if a system exception occurred 1388 */ 1389 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1390 long resourcePrimKey, int status, 1391 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1392 throws com.liferay.portal.kernel.exception.SystemException; 1393 1394 /** 1395 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1396 * 1397 * @param id the primary key of the current journal article 1398 * @param resourcePrimKey the resource prim key 1399 * @param status the status 1400 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1401 * @return the previous, current, and next journal article 1402 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1403 * @throws SystemException if a system exception occurred 1404 */ 1405 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1406 long id, long resourcePrimKey, int status, 1407 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1408 throws com.liferay.portal.kernel.exception.SystemException, 1409 com.liferay.portlet.journal.NoSuchArticleException; 1410 1411 /** 1412 * Returns all the journal articles where groupId = ? and userId = ?. 1413 * 1414 * @param groupId the group ID 1415 * @param userId the user ID 1416 * @return the matching journal articles 1417 * @throws SystemException if a system exception occurred 1418 */ 1419 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1420 long groupId, long userId) 1421 throws com.liferay.portal.kernel.exception.SystemException; 1422 1423 /** 1424 * Returns a range of all the journal articles where groupId = ? and userId = ?. 1425 * 1426 * <p> 1427 * 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. 1428 * </p> 1429 * 1430 * @param groupId the group ID 1431 * @param userId the user ID 1432 * @param start the lower bound of the range of journal articles 1433 * @param end the upper bound of the range of journal articles (not inclusive) 1434 * @return the range of matching journal articles 1435 * @throws SystemException if a system exception occurred 1436 */ 1437 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1438 long groupId, long userId, int start, int end) 1439 throws com.liferay.portal.kernel.exception.SystemException; 1440 1441 /** 1442 * Returns an ordered range of all the journal articles where groupId = ? and userId = ?. 1443 * 1444 * <p> 1445 * 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. 1446 * </p> 1447 * 1448 * @param groupId the group ID 1449 * @param userId the user ID 1450 * @param start the lower bound of the range of journal articles 1451 * @param end the upper bound of the range of journal articles (not inclusive) 1452 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1453 * @return the ordered range of matching journal articles 1454 * @throws SystemException if a system exception occurred 1455 */ 1456 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1457 long groupId, long userId, int start, int end, 1458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1459 throws com.liferay.portal.kernel.exception.SystemException; 1460 1461 /** 1462 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1463 * 1464 * @param groupId the group ID 1465 * @param userId the user ID 1466 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1467 * @return the first matching journal article 1468 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1469 * @throws SystemException if a system exception occurred 1470 */ 1471 public com.liferay.portlet.journal.model.JournalArticle findByG_U_First( 1472 long groupId, long userId, 1473 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1474 throws com.liferay.portal.kernel.exception.SystemException, 1475 com.liferay.portlet.journal.NoSuchArticleException; 1476 1477 /** 1478 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1479 * 1480 * @param groupId the group ID 1481 * @param userId the user ID 1482 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1483 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1484 * @throws SystemException if a system exception occurred 1485 */ 1486 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First( 1487 long groupId, long userId, 1488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1489 throws com.liferay.portal.kernel.exception.SystemException; 1490 1491 /** 1492 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1493 * 1494 * @param groupId the group ID 1495 * @param userId the user ID 1496 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1497 * @return the last matching journal article 1498 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1499 * @throws SystemException if a system exception occurred 1500 */ 1501 public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last( 1502 long groupId, long userId, 1503 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1504 throws com.liferay.portal.kernel.exception.SystemException, 1505 com.liferay.portlet.journal.NoSuchArticleException; 1506 1507 /** 1508 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1509 * 1510 * @param groupId the group ID 1511 * @param userId the user ID 1512 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1513 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1514 * @throws SystemException if a system exception occurred 1515 */ 1516 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last( 1517 long groupId, long userId, 1518 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1519 throws com.liferay.portal.kernel.exception.SystemException; 1520 1521 /** 1522 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?. 1523 * 1524 * @param id the primary key of the current journal article 1525 * @param groupId the group ID 1526 * @param userId the user ID 1527 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1528 * @return the previous, current, and next journal article 1529 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1530 * @throws SystemException if a system exception occurred 1531 */ 1532 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext( 1533 long id, long groupId, long userId, 1534 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1535 throws com.liferay.portal.kernel.exception.SystemException, 1536 com.liferay.portlet.journal.NoSuchArticleException; 1537 1538 /** 1539 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1540 * 1541 * @param groupId the group ID 1542 * @param userId the user ID 1543 * @return the matching journal articles that the user has permission to view 1544 * @throws SystemException if a system exception occurred 1545 */ 1546 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1547 long groupId, long userId) 1548 throws com.liferay.portal.kernel.exception.SystemException; 1549 1550 /** 1551 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1552 * 1553 * <p> 1554 * 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. 1555 * </p> 1556 * 1557 * @param groupId the group ID 1558 * @param userId the user ID 1559 * @param start the lower bound of the range of journal articles 1560 * @param end the upper bound of the range of journal articles (not inclusive) 1561 * @return the range of matching journal articles that the user has permission to view 1562 * @throws SystemException if a system exception occurred 1563 */ 1564 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1565 long groupId, long userId, int start, int end) 1566 throws com.liferay.portal.kernel.exception.SystemException; 1567 1568 /** 1569 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?. 1570 * 1571 * <p> 1572 * 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. 1573 * </p> 1574 * 1575 * @param groupId the group ID 1576 * @param userId the user ID 1577 * @param start the lower bound of the range of journal articles 1578 * @param end the upper bound of the range of journal articles (not inclusive) 1579 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1580 * @return the ordered range of matching journal articles that the user has permission to view 1581 * @throws SystemException if a system exception occurred 1582 */ 1583 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1584 long groupId, long userId, int start, int end, 1585 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1586 throws com.liferay.portal.kernel.exception.SystemException; 1587 1588 /** 1589 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ?. 1590 * 1591 * @param id the primary key of the current journal article 1592 * @param groupId the group ID 1593 * @param userId the user ID 1594 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1595 * @return the previous, current, and next journal article 1596 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1597 * @throws SystemException if a system exception occurred 1598 */ 1599 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext( 1600 long id, long groupId, long userId, 1601 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1602 throws com.liferay.portal.kernel.exception.SystemException, 1603 com.liferay.portlet.journal.NoSuchArticleException; 1604 1605 /** 1606 * Returns all the journal articles where groupId = ? and folderId = ?. 1607 * 1608 * @param groupId the group ID 1609 * @param folderId the folder ID 1610 * @return the matching journal articles 1611 * @throws SystemException if a system exception occurred 1612 */ 1613 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1614 long groupId, long folderId) 1615 throws com.liferay.portal.kernel.exception.SystemException; 1616 1617 /** 1618 * Returns a range of all the journal articles where groupId = ? and folderId = ?. 1619 * 1620 * <p> 1621 * 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. 1622 * </p> 1623 * 1624 * @param groupId the group ID 1625 * @param folderId the folder ID 1626 * @param start the lower bound of the range of journal articles 1627 * @param end the upper bound of the range of journal articles (not inclusive) 1628 * @return the range of matching journal articles 1629 * @throws SystemException if a system exception occurred 1630 */ 1631 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1632 long groupId, long folderId, int start, int end) 1633 throws com.liferay.portal.kernel.exception.SystemException; 1634 1635 /** 1636 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ?. 1637 * 1638 * <p> 1639 * 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. 1640 * </p> 1641 * 1642 * @param groupId the group ID 1643 * @param folderId the folder ID 1644 * @param start the lower bound of the range of journal articles 1645 * @param end the upper bound of the range of journal articles (not inclusive) 1646 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1647 * @return the ordered range of matching journal articles 1648 * @throws SystemException if a system exception occurred 1649 */ 1650 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1651 long groupId, long folderId, int start, int end, 1652 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1653 throws com.liferay.portal.kernel.exception.SystemException; 1654 1655 /** 1656 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 1657 * 1658 * @param groupId the group ID 1659 * @param folderId the folder ID 1660 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1661 * @return the first matching journal article 1662 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1663 * @throws SystemException if a system exception occurred 1664 */ 1665 public com.liferay.portlet.journal.model.JournalArticle findByG_F_First( 1666 long groupId, long folderId, 1667 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1668 throws com.liferay.portal.kernel.exception.SystemException, 1669 com.liferay.portlet.journal.NoSuchArticleException; 1670 1671 /** 1672 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 1673 * 1674 * @param groupId the group ID 1675 * @param folderId the folder ID 1676 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1677 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1678 * @throws SystemException if a system exception occurred 1679 */ 1680 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First( 1681 long groupId, long folderId, 1682 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1683 throws com.liferay.portal.kernel.exception.SystemException; 1684 1685 /** 1686 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 1687 * 1688 * @param groupId the group ID 1689 * @param folderId the folder ID 1690 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1691 * @return the last matching journal article 1692 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1693 * @throws SystemException if a system exception occurred 1694 */ 1695 public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last( 1696 long groupId, long folderId, 1697 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1698 throws com.liferay.portal.kernel.exception.SystemException, 1699 com.liferay.portlet.journal.NoSuchArticleException; 1700 1701 /** 1702 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 1703 * 1704 * @param groupId the group ID 1705 * @param folderId the folder ID 1706 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1707 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1708 * @throws SystemException if a system exception occurred 1709 */ 1710 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last( 1711 long groupId, long folderId, 1712 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1713 throws com.liferay.portal.kernel.exception.SystemException; 1714 1715 /** 1716 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?. 1717 * 1718 * @param id the primary key of the current journal article 1719 * @param groupId the group ID 1720 * @param folderId the folder ID 1721 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1722 * @return the previous, current, and next journal article 1723 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1724 * @throws SystemException if a system exception occurred 1725 */ 1726 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext( 1727 long id, long groupId, long folderId, 1728 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1729 throws com.liferay.portal.kernel.exception.SystemException, 1730 com.liferay.portlet.journal.NoSuchArticleException; 1731 1732 /** 1733 * Returns all the journal articles where groupId = ? and folderId = any ?. 1734 * 1735 * <p> 1736 * 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. 1737 * </p> 1738 * 1739 * @param groupId the group ID 1740 * @param folderIds the folder IDs 1741 * @return the matching journal articles 1742 * @throws SystemException if a system exception occurred 1743 */ 1744 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1745 long groupId, long[] folderIds) 1746 throws com.liferay.portal.kernel.exception.SystemException; 1747 1748 /** 1749 * Returns a range of all the journal articles where groupId = ? and folderId = any ?. 1750 * 1751 * <p> 1752 * 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. 1753 * </p> 1754 * 1755 * @param groupId the group ID 1756 * @param folderIds the folder IDs 1757 * @param start the lower bound of the range of journal articles 1758 * @param end the upper bound of the range of journal articles (not inclusive) 1759 * @return the range of matching journal articles 1760 * @throws SystemException if a system exception occurred 1761 */ 1762 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1763 long groupId, long[] folderIds, int start, int end) 1764 throws com.liferay.portal.kernel.exception.SystemException; 1765 1766 /** 1767 * Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?. 1768 * 1769 * <p> 1770 * 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. 1771 * </p> 1772 * 1773 * @param groupId the group ID 1774 * @param folderIds the folder IDs 1775 * @param start the lower bound of the range of journal articles 1776 * @param end the upper bound of the range of journal articles (not inclusive) 1777 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1778 * @return the ordered range of matching journal articles 1779 * @throws SystemException if a system exception occurred 1780 */ 1781 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1782 long groupId, long[] folderIds, int start, int end, 1783 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1784 throws com.liferay.portal.kernel.exception.SystemException; 1785 1786 /** 1787 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 1788 * 1789 * @param groupId the group ID 1790 * @param folderId the folder ID 1791 * @return the matching journal articles that the user has permission to view 1792 * @throws SystemException if a system exception occurred 1793 */ 1794 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1795 long groupId, long folderId) 1796 throws com.liferay.portal.kernel.exception.SystemException; 1797 1798 /** 1799 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 1800 * 1801 * <p> 1802 * 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. 1803 * </p> 1804 * 1805 * @param groupId the group ID 1806 * @param folderId the folder ID 1807 * @param start the lower bound of the range of journal articles 1808 * @param end the upper bound of the range of journal articles (not inclusive) 1809 * @return the range of matching journal articles that the user has permission to view 1810 * @throws SystemException if a system exception occurred 1811 */ 1812 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1813 long groupId, long folderId, int start, int end) 1814 throws com.liferay.portal.kernel.exception.SystemException; 1815 1816 /** 1817 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?. 1818 * 1819 * <p> 1820 * 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. 1821 * </p> 1822 * 1823 * @param groupId the group ID 1824 * @param folderId the folder ID 1825 * @param start the lower bound of the range of journal articles 1826 * @param end the upper bound of the range of journal articles (not inclusive) 1827 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1828 * @return the ordered range of matching journal articles that the user has permission to view 1829 * @throws SystemException if a system exception occurred 1830 */ 1831 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1832 long groupId, long folderId, int start, int end, 1833 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1834 throws com.liferay.portal.kernel.exception.SystemException; 1835 1836 /** 1837 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ?. 1838 * 1839 * @param id the primary key of the current journal article 1840 * @param groupId the group ID 1841 * @param folderId the folder ID 1842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1843 * @return the previous, current, and next journal article 1844 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1845 * @throws SystemException if a system exception occurred 1846 */ 1847 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext( 1848 long id, long groupId, long folderId, 1849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1850 throws com.liferay.portal.kernel.exception.SystemException, 1851 com.liferay.portlet.journal.NoSuchArticleException; 1852 1853 /** 1854 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1855 * 1856 * @param groupId the group ID 1857 * @param folderIds the folder IDs 1858 * @return the matching journal articles that the user has permission to view 1859 * @throws SystemException if a system exception occurred 1860 */ 1861 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1862 long groupId, long[] folderIds) 1863 throws com.liferay.portal.kernel.exception.SystemException; 1864 1865 /** 1866 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1867 * 1868 * <p> 1869 * 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. 1870 * </p> 1871 * 1872 * @param groupId the group ID 1873 * @param folderIds the folder IDs 1874 * @param start the lower bound of the range of journal articles 1875 * @param end the upper bound of the range of journal articles (not inclusive) 1876 * @return the range of matching journal articles that the user has permission to view 1877 * @throws SystemException if a system exception occurred 1878 */ 1879 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1880 long groupId, long[] folderIds, int start, int end) 1881 throws com.liferay.portal.kernel.exception.SystemException; 1882 1883 /** 1884 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1885 * 1886 * <p> 1887 * 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. 1888 * </p> 1889 * 1890 * @param groupId the group ID 1891 * @param folderIds the folder IDs 1892 * @param start the lower bound of the range of journal articles 1893 * @param end the upper bound of the range of journal articles (not inclusive) 1894 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1895 * @return the ordered range of matching journal articles that the user has permission to view 1896 * @throws SystemException if a system exception occurred 1897 */ 1898 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1899 long groupId, long[] folderIds, int start, int end, 1900 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1901 throws com.liferay.portal.kernel.exception.SystemException; 1902 1903 /** 1904 * Returns all the journal articles where groupId = ? and articleId = ?. 1905 * 1906 * @param groupId the group ID 1907 * @param articleId the article ID 1908 * @return the matching journal articles 1909 * @throws SystemException if a system exception occurred 1910 */ 1911 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1912 long groupId, java.lang.String articleId) 1913 throws com.liferay.portal.kernel.exception.SystemException; 1914 1915 /** 1916 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 1917 * 1918 * <p> 1919 * 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. 1920 * </p> 1921 * 1922 * @param groupId the group ID 1923 * @param articleId the article ID 1924 * @param start the lower bound of the range of journal articles 1925 * @param end the upper bound of the range of journal articles (not inclusive) 1926 * @return the range of matching journal articles 1927 * @throws SystemException if a system exception occurred 1928 */ 1929 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1930 long groupId, java.lang.String articleId, int start, int end) 1931 throws com.liferay.portal.kernel.exception.SystemException; 1932 1933 /** 1934 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 1935 * 1936 * <p> 1937 * 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. 1938 * </p> 1939 * 1940 * @param groupId the group ID 1941 * @param articleId the article ID 1942 * @param start the lower bound of the range of journal articles 1943 * @param end the upper bound of the range of journal articles (not inclusive) 1944 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1945 * @return the ordered range of matching journal articles 1946 * @throws SystemException if a system exception occurred 1947 */ 1948 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1949 long groupId, java.lang.String articleId, int start, int end, 1950 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1951 throws com.liferay.portal.kernel.exception.SystemException; 1952 1953 /** 1954 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 1955 * 1956 * @param groupId the group ID 1957 * @param articleId the article ID 1958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1959 * @return the first matching journal article 1960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1961 * @throws SystemException if a system exception occurred 1962 */ 1963 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 1964 long groupId, java.lang.String articleId, 1965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1966 throws com.liferay.portal.kernel.exception.SystemException, 1967 com.liferay.portlet.journal.NoSuchArticleException; 1968 1969 /** 1970 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 1971 * 1972 * @param groupId the group ID 1973 * @param articleId the article ID 1974 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1975 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1976 * @throws SystemException if a system exception occurred 1977 */ 1978 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 1979 long groupId, java.lang.String articleId, 1980 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1981 throws com.liferay.portal.kernel.exception.SystemException; 1982 1983 /** 1984 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 1985 * 1986 * @param groupId the group ID 1987 * @param articleId the article ID 1988 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1989 * @return the last matching journal article 1990 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1991 * @throws SystemException if a system exception occurred 1992 */ 1993 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 1994 long groupId, java.lang.String articleId, 1995 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1996 throws com.liferay.portal.kernel.exception.SystemException, 1997 com.liferay.portlet.journal.NoSuchArticleException; 1998 1999 /** 2000 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2001 * 2002 * @param groupId the group ID 2003 * @param articleId the article ID 2004 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2005 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2006 * @throws SystemException if a system exception occurred 2007 */ 2008 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 2009 long groupId, java.lang.String articleId, 2010 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2011 throws com.liferay.portal.kernel.exception.SystemException; 2012 2013 /** 2014 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 2015 * 2016 * @param id the primary key of the current journal article 2017 * @param groupId the group ID 2018 * @param articleId the article ID 2019 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2020 * @return the previous, current, and next journal article 2021 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2022 * @throws SystemException if a system exception occurred 2023 */ 2024 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 2025 long id, long groupId, java.lang.String articleId, 2026 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2027 throws com.liferay.portal.kernel.exception.SystemException, 2028 com.liferay.portlet.journal.NoSuchArticleException; 2029 2030 /** 2031 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2032 * 2033 * @param groupId the group ID 2034 * @param articleId the article ID 2035 * @return the matching journal articles that the user has permission to view 2036 * @throws SystemException if a system exception occurred 2037 */ 2038 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2039 long groupId, java.lang.String articleId) 2040 throws com.liferay.portal.kernel.exception.SystemException; 2041 2042 /** 2043 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2044 * 2045 * <p> 2046 * 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. 2047 * </p> 2048 * 2049 * @param groupId the group ID 2050 * @param articleId the article ID 2051 * @param start the lower bound of the range of journal articles 2052 * @param end the upper bound of the range of journal articles (not inclusive) 2053 * @return the range of matching journal articles that the user has permission to view 2054 * @throws SystemException if a system exception occurred 2055 */ 2056 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2057 long groupId, java.lang.String articleId, int start, int end) 2058 throws com.liferay.portal.kernel.exception.SystemException; 2059 2060 /** 2061 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 2062 * 2063 * <p> 2064 * 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. 2065 * </p> 2066 * 2067 * @param groupId the group ID 2068 * @param articleId the article ID 2069 * @param start the lower bound of the range of journal articles 2070 * @param end the upper bound of the range of journal articles (not inclusive) 2071 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2072 * @return the ordered range of matching journal articles that the user has permission to view 2073 * @throws SystemException if a system exception occurred 2074 */ 2075 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2076 long groupId, java.lang.String articleId, int start, int end, 2077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2078 throws com.liferay.portal.kernel.exception.SystemException; 2079 2080 /** 2081 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2082 * 2083 * @param id the primary key of the current journal article 2084 * @param groupId the group ID 2085 * @param articleId the article ID 2086 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2087 * @return the previous, current, and next journal article 2088 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2089 * @throws SystemException if a system exception occurred 2090 */ 2091 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 2092 long id, long groupId, java.lang.String articleId, 2093 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2094 throws com.liferay.portal.kernel.exception.SystemException, 2095 com.liferay.portlet.journal.NoSuchArticleException; 2096 2097 /** 2098 * Returns all the journal articles where groupId = ? and urlTitle = ?. 2099 * 2100 * @param groupId the group ID 2101 * @param urlTitle the url title 2102 * @return the matching journal articles 2103 * @throws SystemException if a system exception occurred 2104 */ 2105 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2106 long groupId, java.lang.String urlTitle) 2107 throws com.liferay.portal.kernel.exception.SystemException; 2108 2109 /** 2110 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 2111 * 2112 * <p> 2113 * 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. 2114 * </p> 2115 * 2116 * @param groupId the group ID 2117 * @param urlTitle the url title 2118 * @param start the lower bound of the range of journal articles 2119 * @param end the upper bound of the range of journal articles (not inclusive) 2120 * @return the range of matching journal articles 2121 * @throws SystemException if a system exception occurred 2122 */ 2123 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2124 long groupId, java.lang.String urlTitle, int start, int end) 2125 throws com.liferay.portal.kernel.exception.SystemException; 2126 2127 /** 2128 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 2129 * 2130 * <p> 2131 * 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. 2132 * </p> 2133 * 2134 * @param groupId the group ID 2135 * @param urlTitle the url title 2136 * @param start the lower bound of the range of journal articles 2137 * @param end the upper bound of the range of journal articles (not inclusive) 2138 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2139 * @return the ordered range of matching journal articles 2140 * @throws SystemException if a system exception occurred 2141 */ 2142 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2143 long groupId, java.lang.String urlTitle, int start, int end, 2144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2145 throws com.liferay.portal.kernel.exception.SystemException; 2146 2147 /** 2148 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2149 * 2150 * @param groupId the group ID 2151 * @param urlTitle the url title 2152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2153 * @return the first matching journal article 2154 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2155 * @throws SystemException if a system exception occurred 2156 */ 2157 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 2158 long groupId, java.lang.String urlTitle, 2159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2160 throws com.liferay.portal.kernel.exception.SystemException, 2161 com.liferay.portlet.journal.NoSuchArticleException; 2162 2163 /** 2164 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2165 * 2166 * @param groupId the group ID 2167 * @param urlTitle the url title 2168 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2169 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2170 * @throws SystemException if a system exception occurred 2171 */ 2172 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 2173 long groupId, java.lang.String urlTitle, 2174 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2175 throws com.liferay.portal.kernel.exception.SystemException; 2176 2177 /** 2178 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2179 * 2180 * @param groupId the group ID 2181 * @param urlTitle the url title 2182 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2183 * @return the last matching journal article 2184 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2185 * @throws SystemException if a system exception occurred 2186 */ 2187 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 2188 long groupId, java.lang.String urlTitle, 2189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2190 throws com.liferay.portal.kernel.exception.SystemException, 2191 com.liferay.portlet.journal.NoSuchArticleException; 2192 2193 /** 2194 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2195 * 2196 * @param groupId the group ID 2197 * @param urlTitle the url title 2198 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2199 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2200 * @throws SystemException if a system exception occurred 2201 */ 2202 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 2203 long groupId, java.lang.String urlTitle, 2204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2205 throws com.liferay.portal.kernel.exception.SystemException; 2206 2207 /** 2208 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 2209 * 2210 * @param id the primary key of the current journal article 2211 * @param groupId the group ID 2212 * @param urlTitle the url title 2213 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2214 * @return the previous, current, and next journal article 2215 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2216 * @throws SystemException if a system exception occurred 2217 */ 2218 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 2219 long id, long groupId, java.lang.String urlTitle, 2220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2221 throws com.liferay.portal.kernel.exception.SystemException, 2222 com.liferay.portlet.journal.NoSuchArticleException; 2223 2224 /** 2225 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2226 * 2227 * @param groupId the group ID 2228 * @param urlTitle the url title 2229 * @return the matching journal articles that the user has permission to view 2230 * @throws SystemException if a system exception occurred 2231 */ 2232 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2233 long groupId, java.lang.String urlTitle) 2234 throws com.liferay.portal.kernel.exception.SystemException; 2235 2236 /** 2237 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2238 * 2239 * <p> 2240 * 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. 2241 * </p> 2242 * 2243 * @param groupId the group ID 2244 * @param urlTitle the url title 2245 * @param start the lower bound of the range of journal articles 2246 * @param end the upper bound of the range of journal articles (not inclusive) 2247 * @return the range of matching journal articles that the user has permission to view 2248 * @throws SystemException if a system exception occurred 2249 */ 2250 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2251 long groupId, java.lang.String urlTitle, int start, int end) 2252 throws com.liferay.portal.kernel.exception.SystemException; 2253 2254 /** 2255 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 2256 * 2257 * <p> 2258 * 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. 2259 * </p> 2260 * 2261 * @param groupId the group ID 2262 * @param urlTitle the url title 2263 * @param start the lower bound of the range of journal articles 2264 * @param end the upper bound of the range of journal articles (not inclusive) 2265 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2266 * @return the ordered range of matching journal articles that the user has permission to view 2267 * @throws SystemException if a system exception occurred 2268 */ 2269 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2270 long groupId, java.lang.String urlTitle, int start, int end, 2271 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2272 throws com.liferay.portal.kernel.exception.SystemException; 2273 2274 /** 2275 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2276 * 2277 * @param id the primary key of the current journal article 2278 * @param groupId the group ID 2279 * @param urlTitle the url title 2280 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2281 * @return the previous, current, and next journal article 2282 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2283 * @throws SystemException if a system exception occurred 2284 */ 2285 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 2286 long id, long groupId, java.lang.String urlTitle, 2287 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2288 throws com.liferay.portal.kernel.exception.SystemException, 2289 com.liferay.portlet.journal.NoSuchArticleException; 2290 2291 /** 2292 * Returns all the journal articles where groupId = ? and structureId = ?. 2293 * 2294 * @param groupId the group ID 2295 * @param structureId the structure ID 2296 * @return the matching journal articles 2297 * @throws SystemException if a system exception occurred 2298 */ 2299 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2300 long groupId, java.lang.String structureId) 2301 throws com.liferay.portal.kernel.exception.SystemException; 2302 2303 /** 2304 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 2305 * 2306 * <p> 2307 * 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. 2308 * </p> 2309 * 2310 * @param groupId the group ID 2311 * @param structureId the structure ID 2312 * @param start the lower bound of the range of journal articles 2313 * @param end the upper bound of the range of journal articles (not inclusive) 2314 * @return the range of matching journal articles 2315 * @throws SystemException if a system exception occurred 2316 */ 2317 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2318 long groupId, java.lang.String structureId, int start, int end) 2319 throws com.liferay.portal.kernel.exception.SystemException; 2320 2321 /** 2322 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 2323 * 2324 * <p> 2325 * 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. 2326 * </p> 2327 * 2328 * @param groupId the group ID 2329 * @param structureId the structure ID 2330 * @param start the lower bound of the range of journal articles 2331 * @param end the upper bound of the range of journal articles (not inclusive) 2332 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2333 * @return the ordered range of matching journal articles 2334 * @throws SystemException if a system exception occurred 2335 */ 2336 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2337 long groupId, java.lang.String structureId, int start, int end, 2338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2339 throws com.liferay.portal.kernel.exception.SystemException; 2340 2341 /** 2342 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2343 * 2344 * @param groupId the group ID 2345 * @param structureId the structure ID 2346 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2347 * @return the first matching journal article 2348 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2349 * @throws SystemException if a system exception occurred 2350 */ 2351 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 2352 long groupId, java.lang.String structureId, 2353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2354 throws com.liferay.portal.kernel.exception.SystemException, 2355 com.liferay.portlet.journal.NoSuchArticleException; 2356 2357 /** 2358 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2359 * 2360 * @param groupId the group ID 2361 * @param structureId the structure ID 2362 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2363 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2364 * @throws SystemException if a system exception occurred 2365 */ 2366 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First( 2367 long groupId, java.lang.String structureId, 2368 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2369 throws com.liferay.portal.kernel.exception.SystemException; 2370 2371 /** 2372 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2373 * 2374 * @param groupId the group ID 2375 * @param structureId the structure ID 2376 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2377 * @return the last matching journal article 2378 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2379 * @throws SystemException if a system exception occurred 2380 */ 2381 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 2382 long groupId, java.lang.String structureId, 2383 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2384 throws com.liferay.portal.kernel.exception.SystemException, 2385 com.liferay.portlet.journal.NoSuchArticleException; 2386 2387 /** 2388 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2389 * 2390 * @param groupId the group ID 2391 * @param structureId the structure ID 2392 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2393 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2394 * @throws SystemException if a system exception occurred 2395 */ 2396 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last( 2397 long groupId, java.lang.String structureId, 2398 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2399 throws com.liferay.portal.kernel.exception.SystemException; 2400 2401 /** 2402 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 2403 * 2404 * @param id the primary key of the current journal article 2405 * @param groupId the group ID 2406 * @param structureId the structure ID 2407 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2408 * @return the previous, current, and next journal article 2409 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2410 * @throws SystemException if a system exception occurred 2411 */ 2412 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 2413 long id, long groupId, java.lang.String structureId, 2414 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2415 throws com.liferay.portal.kernel.exception.SystemException, 2416 com.liferay.portlet.journal.NoSuchArticleException; 2417 2418 /** 2419 * Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2420 * 2421 * @param groupId the group ID 2422 * @param structureId the structure ID 2423 * @return the matching journal articles that the user has permission to view 2424 * @throws SystemException if a system exception occurred 2425 */ 2426 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2427 long groupId, java.lang.String structureId) 2428 throws com.liferay.portal.kernel.exception.SystemException; 2429 2430 /** 2431 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2432 * 2433 * <p> 2434 * 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. 2435 * </p> 2436 * 2437 * @param groupId the group ID 2438 * @param structureId the structure ID 2439 * @param start the lower bound of the range of journal articles 2440 * @param end the upper bound of the range of journal articles (not inclusive) 2441 * @return the range of matching journal articles that the user has permission to view 2442 * @throws SystemException if a system exception occurred 2443 */ 2444 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2445 long groupId, java.lang.String structureId, int start, int end) 2446 throws com.liferay.portal.kernel.exception.SystemException; 2447 2448 /** 2449 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 2450 * 2451 * <p> 2452 * 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. 2453 * </p> 2454 * 2455 * @param groupId the group ID 2456 * @param structureId the structure ID 2457 * @param start the lower bound of the range of journal articles 2458 * @param end the upper bound of the range of journal articles (not inclusive) 2459 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2460 * @return the ordered range of matching journal articles that the user has permission to view 2461 * @throws SystemException if a system exception occurred 2462 */ 2463 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2464 long groupId, java.lang.String structureId, int start, int end, 2465 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2466 throws com.liferay.portal.kernel.exception.SystemException; 2467 2468 /** 2469 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and structureId = ?. 2470 * 2471 * @param id the primary key of the current journal article 2472 * @param groupId the group ID 2473 * @param structureId the structure ID 2474 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2475 * @return the previous, current, and next journal article 2476 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2477 * @throws SystemException if a system exception occurred 2478 */ 2479 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 2480 long id, long groupId, java.lang.String structureId, 2481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2482 throws com.liferay.portal.kernel.exception.SystemException, 2483 com.liferay.portlet.journal.NoSuchArticleException; 2484 2485 /** 2486 * Returns all the journal articles where groupId = ? and templateId = ?. 2487 * 2488 * @param groupId the group ID 2489 * @param templateId the template ID 2490 * @return the matching journal articles 2491 * @throws SystemException if a system exception occurred 2492 */ 2493 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2494 long groupId, java.lang.String templateId) 2495 throws com.liferay.portal.kernel.exception.SystemException; 2496 2497 /** 2498 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 2499 * 2500 * <p> 2501 * 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. 2502 * </p> 2503 * 2504 * @param groupId the group ID 2505 * @param templateId the template ID 2506 * @param start the lower bound of the range of journal articles 2507 * @param end the upper bound of the range of journal articles (not inclusive) 2508 * @return the range of matching journal articles 2509 * @throws SystemException if a system exception occurred 2510 */ 2511 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2512 long groupId, java.lang.String templateId, int start, int end) 2513 throws com.liferay.portal.kernel.exception.SystemException; 2514 2515 /** 2516 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 2517 * 2518 * <p> 2519 * 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. 2520 * </p> 2521 * 2522 * @param groupId the group ID 2523 * @param templateId the template ID 2524 * @param start the lower bound of the range of journal articles 2525 * @param end the upper bound of the range of journal articles (not inclusive) 2526 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2527 * @return the ordered range of matching journal articles 2528 * @throws SystemException if a system exception occurred 2529 */ 2530 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2531 long groupId, java.lang.String templateId, int start, int end, 2532 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2533 throws com.liferay.portal.kernel.exception.SystemException; 2534 2535 /** 2536 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 2537 * 2538 * @param groupId the group ID 2539 * @param templateId the template ID 2540 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2541 * @return the first matching journal article 2542 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2543 * @throws SystemException if a system exception occurred 2544 */ 2545 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 2546 long groupId, java.lang.String templateId, 2547 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2548 throws com.liferay.portal.kernel.exception.SystemException, 2549 com.liferay.portlet.journal.NoSuchArticleException; 2550 2551 /** 2552 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 2553 * 2554 * @param groupId the group ID 2555 * @param templateId the template ID 2556 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2557 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2558 * @throws SystemException if a system exception occurred 2559 */ 2560 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First( 2561 long groupId, java.lang.String templateId, 2562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2563 throws com.liferay.portal.kernel.exception.SystemException; 2564 2565 /** 2566 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 2567 * 2568 * @param groupId the group ID 2569 * @param templateId the template ID 2570 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2571 * @return the last matching journal article 2572 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2573 * @throws SystemException if a system exception occurred 2574 */ 2575 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 2576 long groupId, java.lang.String templateId, 2577 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2578 throws com.liferay.portal.kernel.exception.SystemException, 2579 com.liferay.portlet.journal.NoSuchArticleException; 2580 2581 /** 2582 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 2583 * 2584 * @param groupId the group ID 2585 * @param templateId the template ID 2586 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2587 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2588 * @throws SystemException if a system exception occurred 2589 */ 2590 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last( 2591 long groupId, java.lang.String templateId, 2592 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2593 throws com.liferay.portal.kernel.exception.SystemException; 2594 2595 /** 2596 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 2597 * 2598 * @param id the primary key of the current journal article 2599 * @param groupId the group ID 2600 * @param templateId the template ID 2601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2602 * @return the previous, current, and next journal article 2603 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2604 * @throws SystemException if a system exception occurred 2605 */ 2606 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 2607 long id, long groupId, java.lang.String templateId, 2608 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2609 throws com.liferay.portal.kernel.exception.SystemException, 2610 com.liferay.portlet.journal.NoSuchArticleException; 2611 2612 /** 2613 * Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 2614 * 2615 * @param groupId the group ID 2616 * @param templateId the template ID 2617 * @return the matching journal articles that the user has permission to view 2618 * @throws SystemException if a system exception occurred 2619 */ 2620 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2621 long groupId, java.lang.String templateId) 2622 throws com.liferay.portal.kernel.exception.SystemException; 2623 2624 /** 2625 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 2626 * 2627 * <p> 2628 * 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. 2629 * </p> 2630 * 2631 * @param groupId the group ID 2632 * @param templateId the template ID 2633 * @param start the lower bound of the range of journal articles 2634 * @param end the upper bound of the range of journal articles (not inclusive) 2635 * @return the range of matching journal articles that the user has permission to view 2636 * @throws SystemException if a system exception occurred 2637 */ 2638 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2639 long groupId, java.lang.String templateId, int start, int end) 2640 throws com.liferay.portal.kernel.exception.SystemException; 2641 2642 /** 2643 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 2644 * 2645 * <p> 2646 * 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. 2647 * </p> 2648 * 2649 * @param groupId the group ID 2650 * @param templateId the template ID 2651 * @param start the lower bound of the range of journal articles 2652 * @param end the upper bound of the range of journal articles (not inclusive) 2653 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2654 * @return the ordered range of matching journal articles that the user has permission to view 2655 * @throws SystemException if a system exception occurred 2656 */ 2657 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2658 long groupId, java.lang.String templateId, int start, int end, 2659 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2660 throws com.liferay.portal.kernel.exception.SystemException; 2661 2662 /** 2663 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and templateId = ?. 2664 * 2665 * @param id the primary key of the current journal article 2666 * @param groupId the group ID 2667 * @param templateId the template ID 2668 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2669 * @return the previous, current, and next journal article 2670 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2671 * @throws SystemException if a system exception occurred 2672 */ 2673 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 2674 long id, long groupId, java.lang.String templateId, 2675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2676 throws com.liferay.portal.kernel.exception.SystemException, 2677 com.liferay.portlet.journal.NoSuchArticleException; 2678 2679 /** 2680 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 2681 * 2682 * @param groupId the group ID 2683 * @param layoutUuid the layout uuid 2684 * @return the matching journal articles 2685 * @throws SystemException if a system exception occurred 2686 */ 2687 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2688 long groupId, java.lang.String layoutUuid) 2689 throws com.liferay.portal.kernel.exception.SystemException; 2690 2691 /** 2692 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 2693 * 2694 * <p> 2695 * 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. 2696 * </p> 2697 * 2698 * @param groupId the group ID 2699 * @param layoutUuid the layout uuid 2700 * @param start the lower bound of the range of journal articles 2701 * @param end the upper bound of the range of journal articles (not inclusive) 2702 * @return the range of matching journal articles 2703 * @throws SystemException if a system exception occurred 2704 */ 2705 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2706 long groupId, java.lang.String layoutUuid, int start, int end) 2707 throws com.liferay.portal.kernel.exception.SystemException; 2708 2709 /** 2710 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 2711 * 2712 * <p> 2713 * 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. 2714 * </p> 2715 * 2716 * @param groupId the group ID 2717 * @param layoutUuid the layout uuid 2718 * @param start the lower bound of the range of journal articles 2719 * @param end the upper bound of the range of journal articles (not inclusive) 2720 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2721 * @return the ordered range of matching journal articles 2722 * @throws SystemException if a system exception occurred 2723 */ 2724 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2725 long groupId, java.lang.String layoutUuid, int start, int end, 2726 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2727 throws com.liferay.portal.kernel.exception.SystemException; 2728 2729 /** 2730 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2731 * 2732 * @param groupId the group ID 2733 * @param layoutUuid the layout uuid 2734 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2735 * @return the first matching journal article 2736 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2737 * @throws SystemException if a system exception occurred 2738 */ 2739 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 2740 long groupId, java.lang.String layoutUuid, 2741 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2742 throws com.liferay.portal.kernel.exception.SystemException, 2743 com.liferay.portlet.journal.NoSuchArticleException; 2744 2745 /** 2746 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2747 * 2748 * @param groupId the group ID 2749 * @param layoutUuid the layout uuid 2750 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2751 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2752 * @throws SystemException if a system exception occurred 2753 */ 2754 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 2755 long groupId, java.lang.String layoutUuid, 2756 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2757 throws com.liferay.portal.kernel.exception.SystemException; 2758 2759 /** 2760 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2761 * 2762 * @param groupId the group ID 2763 * @param layoutUuid the layout uuid 2764 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2765 * @return the last matching journal article 2766 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2767 * @throws SystemException if a system exception occurred 2768 */ 2769 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 2770 long groupId, java.lang.String layoutUuid, 2771 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2772 throws com.liferay.portal.kernel.exception.SystemException, 2773 com.liferay.portlet.journal.NoSuchArticleException; 2774 2775 /** 2776 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2777 * 2778 * @param groupId the group ID 2779 * @param layoutUuid the layout uuid 2780 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2781 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2782 * @throws SystemException if a system exception occurred 2783 */ 2784 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 2785 long groupId, java.lang.String layoutUuid, 2786 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2787 throws com.liferay.portal.kernel.exception.SystemException; 2788 2789 /** 2790 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 2791 * 2792 * @param id the primary key of the current journal article 2793 * @param groupId the group ID 2794 * @param layoutUuid the layout uuid 2795 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2796 * @return the previous, current, and next journal article 2797 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2798 * @throws SystemException if a system exception occurred 2799 */ 2800 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 2801 long id, long groupId, java.lang.String layoutUuid, 2802 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2803 throws com.liferay.portal.kernel.exception.SystemException, 2804 com.liferay.portlet.journal.NoSuchArticleException; 2805 2806 /** 2807 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2808 * 2809 * @param groupId the group ID 2810 * @param layoutUuid the layout uuid 2811 * @return the matching journal articles that the user has permission to view 2812 * @throws SystemException if a system exception occurred 2813 */ 2814 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 2815 long groupId, java.lang.String layoutUuid) 2816 throws com.liferay.portal.kernel.exception.SystemException; 2817 2818 /** 2819 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2820 * 2821 * <p> 2822 * 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. 2823 * </p> 2824 * 2825 * @param groupId the group ID 2826 * @param layoutUuid the layout uuid 2827 * @param start the lower bound of the range of journal articles 2828 * @param end the upper bound of the range of journal articles (not inclusive) 2829 * @return the range of matching journal articles that the user has permission to view 2830 * @throws SystemException if a system exception occurred 2831 */ 2832 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 2833 long groupId, java.lang.String layoutUuid, int start, int end) 2834 throws com.liferay.portal.kernel.exception.SystemException; 2835 2836 /** 2837 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 2838 * 2839 * <p> 2840 * 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. 2841 * </p> 2842 * 2843 * @param groupId the group ID 2844 * @param layoutUuid the layout uuid 2845 * @param start the lower bound of the range of journal articles 2846 * @param end the upper bound of the range of journal articles (not inclusive) 2847 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2848 * @return the ordered range of matching journal articles that the user has permission to view 2849 * @throws SystemException if a system exception occurred 2850 */ 2851 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 2852 long groupId, java.lang.String layoutUuid, int start, int end, 2853 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2854 throws com.liferay.portal.kernel.exception.SystemException; 2855 2856 /** 2857 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2858 * 2859 * @param id the primary key of the current journal article 2860 * @param groupId the group ID 2861 * @param layoutUuid the layout uuid 2862 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2863 * @return the previous, current, and next journal article 2864 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2865 * @throws SystemException if a system exception occurred 2866 */ 2867 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 2868 long id, long groupId, java.lang.String layoutUuid, 2869 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2870 throws com.liferay.portal.kernel.exception.SystemException, 2871 com.liferay.portlet.journal.NoSuchArticleException; 2872 2873 /** 2874 * Returns all the journal articles where groupId = ? and status = ?. 2875 * 2876 * @param groupId the group ID 2877 * @param status the status 2878 * @return the matching journal articles 2879 * @throws SystemException if a system exception occurred 2880 */ 2881 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 2882 long groupId, int status) 2883 throws com.liferay.portal.kernel.exception.SystemException; 2884 2885 /** 2886 * Returns a range of all the journal articles where groupId = ? and status = ?. 2887 * 2888 * <p> 2889 * 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. 2890 * </p> 2891 * 2892 * @param groupId the group ID 2893 * @param status the status 2894 * @param start the lower bound of the range of journal articles 2895 * @param end the upper bound of the range of journal articles (not inclusive) 2896 * @return the range of matching journal articles 2897 * @throws SystemException if a system exception occurred 2898 */ 2899 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 2900 long groupId, int status, int start, int end) 2901 throws com.liferay.portal.kernel.exception.SystemException; 2902 2903 /** 2904 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 2905 * 2906 * <p> 2907 * 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. 2908 * </p> 2909 * 2910 * @param groupId the group ID 2911 * @param status the status 2912 * @param start the lower bound of the range of journal articles 2913 * @param end the upper bound of the range of journal articles (not inclusive) 2914 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2915 * @return the ordered range of matching journal articles 2916 * @throws SystemException if a system exception occurred 2917 */ 2918 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 2919 long groupId, int status, int start, int end, 2920 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2921 throws com.liferay.portal.kernel.exception.SystemException; 2922 2923 /** 2924 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 2925 * 2926 * @param groupId the group ID 2927 * @param status the status 2928 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2929 * @return the first matching journal article 2930 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2931 * @throws SystemException if a system exception occurred 2932 */ 2933 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 2934 long groupId, int status, 2935 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2936 throws com.liferay.portal.kernel.exception.SystemException, 2937 com.liferay.portlet.journal.NoSuchArticleException; 2938 2939 /** 2940 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 2941 * 2942 * @param groupId the group ID 2943 * @param status the status 2944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2945 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2946 * @throws SystemException if a system exception occurred 2947 */ 2948 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 2949 long groupId, int status, 2950 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2951 throws com.liferay.portal.kernel.exception.SystemException; 2952 2953 /** 2954 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 2955 * 2956 * @param groupId the group ID 2957 * @param status the status 2958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2959 * @return the last matching journal article 2960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2961 * @throws SystemException if a system exception occurred 2962 */ 2963 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 2964 long groupId, int status, 2965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2966 throws com.liferay.portal.kernel.exception.SystemException, 2967 com.liferay.portlet.journal.NoSuchArticleException; 2968 2969 /** 2970 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 2971 * 2972 * @param groupId the group ID 2973 * @param status the status 2974 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2975 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2976 * @throws SystemException if a system exception occurred 2977 */ 2978 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 2979 long groupId, int status, 2980 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2981 throws com.liferay.portal.kernel.exception.SystemException; 2982 2983 /** 2984 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 2985 * 2986 * @param id the primary key of the current journal article 2987 * @param groupId the group ID 2988 * @param status the status 2989 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2990 * @return the previous, current, and next journal article 2991 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2992 * @throws SystemException if a system exception occurred 2993 */ 2994 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 2995 long id, long groupId, int status, 2996 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2997 throws com.liferay.portal.kernel.exception.SystemException, 2998 com.liferay.portlet.journal.NoSuchArticleException; 2999 3000 /** 3001 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 3002 * 3003 * @param groupId the group ID 3004 * @param status the status 3005 * @return the matching journal articles that the user has permission to view 3006 * @throws SystemException if a system exception occurred 3007 */ 3008 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3009 long groupId, int status) 3010 throws com.liferay.portal.kernel.exception.SystemException; 3011 3012 /** 3013 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3014 * 3015 * <p> 3016 * 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. 3017 * </p> 3018 * 3019 * @param groupId the group ID 3020 * @param status the status 3021 * @param start the lower bound of the range of journal articles 3022 * @param end the upper bound of the range of journal articles (not inclusive) 3023 * @return the range of matching journal articles that the user has permission to view 3024 * @throws SystemException if a system exception occurred 3025 */ 3026 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3027 long groupId, int status, int start, int end) 3028 throws com.liferay.portal.kernel.exception.SystemException; 3029 3030 /** 3031 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3032 * 3033 * <p> 3034 * 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. 3035 * </p> 3036 * 3037 * @param groupId the group ID 3038 * @param status the status 3039 * @param start the lower bound of the range of journal articles 3040 * @param end the upper bound of the range of journal articles (not inclusive) 3041 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3042 * @return the ordered range of matching journal articles that the user has permission to view 3043 * @throws SystemException if a system exception occurred 3044 */ 3045 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3046 long groupId, int status, int start, int end, 3047 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3048 throws com.liferay.portal.kernel.exception.SystemException; 3049 3050 /** 3051 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and status = ?. 3052 * 3053 * @param id the primary key of the current journal article 3054 * @param groupId the group ID 3055 * @param status the status 3056 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3057 * @return the previous, current, and next journal article 3058 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3059 * @throws SystemException if a system exception occurred 3060 */ 3061 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 3062 long id, long groupId, int status, 3063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3064 throws com.liferay.portal.kernel.exception.SystemException, 3065 com.liferay.portlet.journal.NoSuchArticleException; 3066 3067 /** 3068 * Returns all the journal articles where companyId = ? and version = ?. 3069 * 3070 * @param companyId the company ID 3071 * @param version the version 3072 * @return the matching journal articles 3073 * @throws SystemException if a system exception occurred 3074 */ 3075 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3076 long companyId, double version) 3077 throws com.liferay.portal.kernel.exception.SystemException; 3078 3079 /** 3080 * Returns a range of all the journal articles where companyId = ? and version = ?. 3081 * 3082 * <p> 3083 * 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. 3084 * </p> 3085 * 3086 * @param companyId the company ID 3087 * @param version the version 3088 * @param start the lower bound of the range of journal articles 3089 * @param end the upper bound of the range of journal articles (not inclusive) 3090 * @return the range of matching journal articles 3091 * @throws SystemException if a system exception occurred 3092 */ 3093 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3094 long companyId, double version, int start, int end) 3095 throws com.liferay.portal.kernel.exception.SystemException; 3096 3097 /** 3098 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 3099 * 3100 * <p> 3101 * 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. 3102 * </p> 3103 * 3104 * @param companyId the company ID 3105 * @param version the version 3106 * @param start the lower bound of the range of journal articles 3107 * @param end the upper bound of the range of journal articles (not inclusive) 3108 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3109 * @return the ordered range of matching journal articles 3110 * @throws SystemException if a system exception occurred 3111 */ 3112 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3113 long companyId, double version, int start, int end, 3114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3115 throws com.liferay.portal.kernel.exception.SystemException; 3116 3117 /** 3118 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3119 * 3120 * @param companyId the company ID 3121 * @param version the version 3122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3123 * @return the first matching journal article 3124 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3125 * @throws SystemException if a system exception occurred 3126 */ 3127 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 3128 long companyId, double version, 3129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3130 throws com.liferay.portal.kernel.exception.SystemException, 3131 com.liferay.portlet.journal.NoSuchArticleException; 3132 3133 /** 3134 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3135 * 3136 * @param companyId the company ID 3137 * @param version the version 3138 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3139 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3140 * @throws SystemException if a system exception occurred 3141 */ 3142 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 3143 long companyId, double version, 3144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3145 throws com.liferay.portal.kernel.exception.SystemException; 3146 3147 /** 3148 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3149 * 3150 * @param companyId the company ID 3151 * @param version the version 3152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3153 * @return the last matching journal article 3154 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3155 * @throws SystemException if a system exception occurred 3156 */ 3157 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 3158 long companyId, double version, 3159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3160 throws com.liferay.portal.kernel.exception.SystemException, 3161 com.liferay.portlet.journal.NoSuchArticleException; 3162 3163 /** 3164 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3165 * 3166 * @param companyId the company ID 3167 * @param version the version 3168 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3169 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3170 * @throws SystemException if a system exception occurred 3171 */ 3172 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 3173 long companyId, double version, 3174 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3175 throws com.liferay.portal.kernel.exception.SystemException; 3176 3177 /** 3178 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 3179 * 3180 * @param id the primary key of the current journal article 3181 * @param companyId the company ID 3182 * @param version the version 3183 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3184 * @return the previous, current, and next journal article 3185 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3186 * @throws SystemException if a system exception occurred 3187 */ 3188 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 3189 long id, long companyId, double version, 3190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3191 throws com.liferay.portal.kernel.exception.SystemException, 3192 com.liferay.portlet.journal.NoSuchArticleException; 3193 3194 /** 3195 * Returns all the journal articles where companyId = ? and status = ?. 3196 * 3197 * @param companyId the company ID 3198 * @param status the status 3199 * @return the matching journal articles 3200 * @throws SystemException if a system exception occurred 3201 */ 3202 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3203 long companyId, int status) 3204 throws com.liferay.portal.kernel.exception.SystemException; 3205 3206 /** 3207 * Returns a range of all the journal articles where companyId = ? and status = ?. 3208 * 3209 * <p> 3210 * 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. 3211 * </p> 3212 * 3213 * @param companyId the company ID 3214 * @param status the status 3215 * @param start the lower bound of the range of journal articles 3216 * @param end the upper bound of the range of journal articles (not inclusive) 3217 * @return the range of matching journal articles 3218 * @throws SystemException if a system exception occurred 3219 */ 3220 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3221 long companyId, int status, int start, int end) 3222 throws com.liferay.portal.kernel.exception.SystemException; 3223 3224 /** 3225 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 3226 * 3227 * <p> 3228 * 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. 3229 * </p> 3230 * 3231 * @param companyId the company ID 3232 * @param status the status 3233 * @param start the lower bound of the range of journal articles 3234 * @param end the upper bound of the range of journal articles (not inclusive) 3235 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3236 * @return the ordered range of matching journal articles 3237 * @throws SystemException if a system exception occurred 3238 */ 3239 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3240 long companyId, int status, int start, int end, 3241 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3242 throws com.liferay.portal.kernel.exception.SystemException; 3243 3244 /** 3245 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3246 * 3247 * @param companyId the company ID 3248 * @param status the status 3249 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3250 * @return the first matching journal article 3251 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3252 * @throws SystemException if a system exception occurred 3253 */ 3254 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 3255 long companyId, int status, 3256 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3257 throws com.liferay.portal.kernel.exception.SystemException, 3258 com.liferay.portlet.journal.NoSuchArticleException; 3259 3260 /** 3261 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3262 * 3263 * @param companyId the company ID 3264 * @param status the status 3265 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3266 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3267 * @throws SystemException if a system exception occurred 3268 */ 3269 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 3270 long companyId, int status, 3271 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3272 throws com.liferay.portal.kernel.exception.SystemException; 3273 3274 /** 3275 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3276 * 3277 * @param companyId the company ID 3278 * @param status the status 3279 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3280 * @return the last matching journal article 3281 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3282 * @throws SystemException if a system exception occurred 3283 */ 3284 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 3285 long companyId, int status, 3286 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3287 throws com.liferay.portal.kernel.exception.SystemException, 3288 com.liferay.portlet.journal.NoSuchArticleException; 3289 3290 /** 3291 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3292 * 3293 * @param companyId the company ID 3294 * @param status the status 3295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3296 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3297 * @throws SystemException if a system exception occurred 3298 */ 3299 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 3300 long companyId, int status, 3301 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3302 throws com.liferay.portal.kernel.exception.SystemException; 3303 3304 /** 3305 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 3306 * 3307 * @param id the primary key of the current journal article 3308 * @param companyId the company ID 3309 * @param status the status 3310 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3311 * @return the previous, current, and next journal article 3312 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3313 * @throws SystemException if a system exception occurred 3314 */ 3315 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 3316 long id, long companyId, int status, 3317 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3318 throws com.liferay.portal.kernel.exception.SystemException, 3319 com.liferay.portlet.journal.NoSuchArticleException; 3320 3321 /** 3322 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 3323 * 3324 * @param groupId the group ID 3325 * @param folderId the folder ID 3326 * @param status the status 3327 * @return the matching journal articles 3328 * @throws SystemException if a system exception occurred 3329 */ 3330 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3331 long groupId, long folderId, int status) 3332 throws com.liferay.portal.kernel.exception.SystemException; 3333 3334 /** 3335 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 3336 * 3337 * <p> 3338 * 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. 3339 * </p> 3340 * 3341 * @param groupId the group ID 3342 * @param folderId the folder ID 3343 * @param status the status 3344 * @param start the lower bound of the range of journal articles 3345 * @param end the upper bound of the range of journal articles (not inclusive) 3346 * @return the range of matching journal articles 3347 * @throws SystemException if a system exception occurred 3348 */ 3349 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3350 long groupId, long folderId, int status, int start, int end) 3351 throws com.liferay.portal.kernel.exception.SystemException; 3352 3353 /** 3354 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 3355 * 3356 * <p> 3357 * 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. 3358 * </p> 3359 * 3360 * @param groupId the group ID 3361 * @param folderId the folder ID 3362 * @param status the status 3363 * @param start the lower bound of the range of journal articles 3364 * @param end the upper bound of the range of journal articles (not inclusive) 3365 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3366 * @return the ordered range of matching journal articles 3367 * @throws SystemException if a system exception occurred 3368 */ 3369 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3370 long groupId, long folderId, int status, int start, int end, 3371 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3372 throws com.liferay.portal.kernel.exception.SystemException; 3373 3374 /** 3375 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3376 * 3377 * @param groupId the group ID 3378 * @param folderId the folder ID 3379 * @param status the status 3380 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3381 * @return the first matching journal article 3382 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3383 * @throws SystemException if a system exception occurred 3384 */ 3385 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 3386 long groupId, long folderId, int status, 3387 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3388 throws com.liferay.portal.kernel.exception.SystemException, 3389 com.liferay.portlet.journal.NoSuchArticleException; 3390 3391 /** 3392 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3393 * 3394 * @param groupId the group ID 3395 * @param folderId the folder ID 3396 * @param status the status 3397 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3398 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3399 * @throws SystemException if a system exception occurred 3400 */ 3401 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 3402 long groupId, long folderId, int status, 3403 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3404 throws com.liferay.portal.kernel.exception.SystemException; 3405 3406 /** 3407 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3408 * 3409 * @param groupId the group ID 3410 * @param folderId the folder ID 3411 * @param status the status 3412 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3413 * @return the last matching journal article 3414 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3415 * @throws SystemException if a system exception occurred 3416 */ 3417 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 3418 long groupId, long folderId, int status, 3419 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3420 throws com.liferay.portal.kernel.exception.SystemException, 3421 com.liferay.portlet.journal.NoSuchArticleException; 3422 3423 /** 3424 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3425 * 3426 * @param groupId the group ID 3427 * @param folderId the folder ID 3428 * @param status the status 3429 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3430 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3431 * @throws SystemException if a system exception occurred 3432 */ 3433 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 3434 long groupId, long folderId, int status, 3435 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3436 throws com.liferay.portal.kernel.exception.SystemException; 3437 3438 /** 3439 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3440 * 3441 * @param id the primary key of the current journal article 3442 * @param groupId the group ID 3443 * @param folderId the folder ID 3444 * @param status the status 3445 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3446 * @return the previous, current, and next journal article 3447 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3448 * @throws SystemException if a system exception occurred 3449 */ 3450 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 3451 long id, long groupId, long folderId, int status, 3452 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3453 throws com.liferay.portal.kernel.exception.SystemException, 3454 com.liferay.portlet.journal.NoSuchArticleException; 3455 3456 /** 3457 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 3458 * 3459 * <p> 3460 * 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. 3461 * </p> 3462 * 3463 * @param groupId the group ID 3464 * @param folderId the folder ID 3465 * @param statuses the statuses 3466 * @return the matching journal articles 3467 * @throws SystemException if a system exception occurred 3468 */ 3469 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3470 long groupId, long folderId, int[] statuses) 3471 throws com.liferay.portal.kernel.exception.SystemException; 3472 3473 /** 3474 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 3475 * 3476 * <p> 3477 * 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. 3478 * </p> 3479 * 3480 * @param groupId the group ID 3481 * @param folderId the folder ID 3482 * @param statuses the statuses 3483 * @param start the lower bound of the range of journal articles 3484 * @param end the upper bound of the range of journal articles (not inclusive) 3485 * @return the range of matching journal articles 3486 * @throws SystemException if a system exception occurred 3487 */ 3488 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3489 long groupId, long folderId, int[] statuses, int start, int end) 3490 throws com.liferay.portal.kernel.exception.SystemException; 3491 3492 /** 3493 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 3494 * 3495 * <p> 3496 * 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. 3497 * </p> 3498 * 3499 * @param groupId the group ID 3500 * @param folderId the folder ID 3501 * @param statuses the statuses 3502 * @param start the lower bound of the range of journal articles 3503 * @param end the upper bound of the range of journal articles (not inclusive) 3504 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3505 * @return the ordered range of matching journal articles 3506 * @throws SystemException if a system exception occurred 3507 */ 3508 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3509 long groupId, long folderId, int[] statuses, int start, int end, 3510 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3511 throws com.liferay.portal.kernel.exception.SystemException; 3512 3513 /** 3514 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 3515 * 3516 * @param groupId the group ID 3517 * @param folderId the folder ID 3518 * @param status the status 3519 * @return the matching journal articles that the user has permission to view 3520 * @throws SystemException if a system exception occurred 3521 */ 3522 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3523 long groupId, long folderId, int status) 3524 throws com.liferay.portal.kernel.exception.SystemException; 3525 3526 /** 3527 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 3528 * 3529 * <p> 3530 * 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. 3531 * </p> 3532 * 3533 * @param groupId the group ID 3534 * @param folderId the folder ID 3535 * @param status the status 3536 * @param start the lower bound of the range of journal articles 3537 * @param end the upper bound of the range of journal articles (not inclusive) 3538 * @return the range of matching journal articles that the user has permission to view 3539 * @throws SystemException if a system exception occurred 3540 */ 3541 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3542 long groupId, long folderId, int status, int start, int end) 3543 throws com.liferay.portal.kernel.exception.SystemException; 3544 3545 /** 3546 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 3547 * 3548 * <p> 3549 * 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. 3550 * </p> 3551 * 3552 * @param groupId the group ID 3553 * @param folderId the folder ID 3554 * @param status the status 3555 * @param start the lower bound of the range of journal articles 3556 * @param end the upper bound of the range of journal articles (not inclusive) 3557 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3558 * @return the ordered range of matching journal articles that the user has permission to view 3559 * @throws SystemException if a system exception occurred 3560 */ 3561 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3562 long groupId, long folderId, int status, int start, int end, 3563 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3564 throws com.liferay.portal.kernel.exception.SystemException; 3565 3566 /** 3567 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 3568 * 3569 * @param id the primary key of the current journal article 3570 * @param groupId the group ID 3571 * @param folderId the folder ID 3572 * @param status the status 3573 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3574 * @return the previous, current, and next journal article 3575 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3576 * @throws SystemException if a system exception occurred 3577 */ 3578 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 3579 long id, long groupId, long folderId, int status, 3580 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3581 throws com.liferay.portal.kernel.exception.SystemException, 3582 com.liferay.portlet.journal.NoSuchArticleException; 3583 3584 /** 3585 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 3586 * 3587 * @param groupId the group ID 3588 * @param folderId the folder ID 3589 * @param statuses the statuses 3590 * @return the matching journal articles that the user has permission to view 3591 * @throws SystemException if a system exception occurred 3592 */ 3593 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3594 long groupId, long folderId, int[] statuses) 3595 throws com.liferay.portal.kernel.exception.SystemException; 3596 3597 /** 3598 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 3599 * 3600 * <p> 3601 * 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. 3602 * </p> 3603 * 3604 * @param groupId the group ID 3605 * @param folderId the folder ID 3606 * @param statuses the statuses 3607 * @param start the lower bound of the range of journal articles 3608 * @param end the upper bound of the range of journal articles (not inclusive) 3609 * @return the range of matching journal articles that the user has permission to view 3610 * @throws SystemException if a system exception occurred 3611 */ 3612 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3613 long groupId, long folderId, int[] statuses, int start, int end) 3614 throws com.liferay.portal.kernel.exception.SystemException; 3615 3616 /** 3617 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 3618 * 3619 * <p> 3620 * 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. 3621 * </p> 3622 * 3623 * @param groupId the group ID 3624 * @param folderId the folder ID 3625 * @param statuses the statuses 3626 * @param start the lower bound of the range of journal articles 3627 * @param end the upper bound of the range of journal articles (not inclusive) 3628 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3629 * @return the ordered range of matching journal articles that the user has permission to view 3630 * @throws SystemException if a system exception occurred 3631 */ 3632 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3633 long groupId, long folderId, int[] statuses, int start, int end, 3634 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3635 throws com.liferay.portal.kernel.exception.SystemException; 3636 3637 /** 3638 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 3639 * 3640 * @param groupId the group ID 3641 * @param classNameId the class name ID 3642 * @param classPK the class p k 3643 * @return the matching journal articles 3644 * @throws SystemException if a system exception occurred 3645 */ 3646 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 3647 long groupId, long classNameId, long classPK) 3648 throws com.liferay.portal.kernel.exception.SystemException; 3649 3650 /** 3651 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 3652 * 3653 * <p> 3654 * 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. 3655 * </p> 3656 * 3657 * @param groupId the group ID 3658 * @param classNameId the class name ID 3659 * @param classPK the class p k 3660 * @param start the lower bound of the range of journal articles 3661 * @param end the upper bound of the range of journal articles (not inclusive) 3662 * @return the range of matching journal articles 3663 * @throws SystemException if a system exception occurred 3664 */ 3665 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 3666 long groupId, long classNameId, long classPK, int start, int end) 3667 throws com.liferay.portal.kernel.exception.SystemException; 3668 3669 /** 3670 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 3671 * 3672 * <p> 3673 * 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. 3674 * </p> 3675 * 3676 * @param groupId the group ID 3677 * @param classNameId the class name ID 3678 * @param classPK the class p k 3679 * @param start the lower bound of the range of journal articles 3680 * @param end the upper bound of the range of journal articles (not inclusive) 3681 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3682 * @return the ordered range of matching journal articles 3683 * @throws SystemException if a system exception occurred 3684 */ 3685 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 3686 long groupId, long classNameId, long classPK, int start, int end, 3687 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3688 throws com.liferay.portal.kernel.exception.SystemException; 3689 3690 /** 3691 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 3692 * 3693 * @param groupId the group ID 3694 * @param classNameId the class name ID 3695 * @param classPK the class p k 3696 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3697 * @return the first matching journal article 3698 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3699 * @throws SystemException if a system exception occurred 3700 */ 3701 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 3702 long groupId, long classNameId, long classPK, 3703 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3704 throws com.liferay.portal.kernel.exception.SystemException, 3705 com.liferay.portlet.journal.NoSuchArticleException; 3706 3707 /** 3708 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 3709 * 3710 * @param groupId the group ID 3711 * @param classNameId the class name ID 3712 * @param classPK the class p k 3713 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3714 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3715 * @throws SystemException if a system exception occurred 3716 */ 3717 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 3718 long groupId, long classNameId, long classPK, 3719 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3720 throws com.liferay.portal.kernel.exception.SystemException; 3721 3722 /** 3723 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 3724 * 3725 * @param groupId the group ID 3726 * @param classNameId the class name ID 3727 * @param classPK the class p k 3728 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3729 * @return the last matching journal article 3730 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3731 * @throws SystemException if a system exception occurred 3732 */ 3733 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 3734 long groupId, long classNameId, long classPK, 3735 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3736 throws com.liferay.portal.kernel.exception.SystemException, 3737 com.liferay.portlet.journal.NoSuchArticleException; 3738 3739 /** 3740 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 3741 * 3742 * @param groupId the group ID 3743 * @param classNameId the class name ID 3744 * @param classPK the class p k 3745 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3746 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3747 * @throws SystemException if a system exception occurred 3748 */ 3749 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 3750 long groupId, long classNameId, long classPK, 3751 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3752 throws com.liferay.portal.kernel.exception.SystemException; 3753 3754 /** 3755 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 3756 * 3757 * @param id the primary key of the current journal article 3758 * @param groupId the group ID 3759 * @param classNameId the class name ID 3760 * @param classPK the class p k 3761 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3762 * @return the previous, current, and next journal article 3763 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3764 * @throws SystemException if a system exception occurred 3765 */ 3766 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 3767 long id, long groupId, long classNameId, long classPK, 3768 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3769 throws com.liferay.portal.kernel.exception.SystemException, 3770 com.liferay.portlet.journal.NoSuchArticleException; 3771 3772 /** 3773 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 3774 * 3775 * @param groupId the group ID 3776 * @param classNameId the class name ID 3777 * @param classPK the class p k 3778 * @return the matching journal articles that the user has permission to view 3779 * @throws SystemException if a system exception occurred 3780 */ 3781 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 3782 long groupId, long classNameId, long classPK) 3783 throws com.liferay.portal.kernel.exception.SystemException; 3784 3785 /** 3786 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 3787 * 3788 * <p> 3789 * 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. 3790 * </p> 3791 * 3792 * @param groupId the group ID 3793 * @param classNameId the class name ID 3794 * @param classPK the class p k 3795 * @param start the lower bound of the range of journal articles 3796 * @param end the upper bound of the range of journal articles (not inclusive) 3797 * @return the range of matching journal articles that the user has permission to view 3798 * @throws SystemException if a system exception occurred 3799 */ 3800 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 3801 long groupId, long classNameId, long classPK, int start, int end) 3802 throws com.liferay.portal.kernel.exception.SystemException; 3803 3804 /** 3805 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 3806 * 3807 * <p> 3808 * 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. 3809 * </p> 3810 * 3811 * @param groupId the group ID 3812 * @param classNameId the class name ID 3813 * @param classPK the class p k 3814 * @param start the lower bound of the range of journal articles 3815 * @param end the upper bound of the range of journal articles (not inclusive) 3816 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3817 * @return the ordered range of matching journal articles that the user has permission to view 3818 * @throws SystemException if a system exception occurred 3819 */ 3820 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 3821 long groupId, long classNameId, long classPK, int start, int end, 3822 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3823 throws com.liferay.portal.kernel.exception.SystemException; 3824 3825 /** 3826 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 3827 * 3828 * @param id the primary key of the current journal article 3829 * @param groupId the group ID 3830 * @param classNameId the class name ID 3831 * @param classPK the class p k 3832 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3833 * @return the previous, current, and next journal article 3834 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3835 * @throws SystemException if a system exception occurred 3836 */ 3837 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 3838 long id, long groupId, long classNameId, long classPK, 3839 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3840 throws com.liferay.portal.kernel.exception.SystemException, 3841 com.liferay.portlet.journal.NoSuchArticleException; 3842 3843 /** 3844 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 3845 * 3846 * @param groupId the group ID 3847 * @param classNameId the class name ID 3848 * @param structureId the structure ID 3849 * @return the matching journal article 3850 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3851 * @throws SystemException if a system exception occurred 3852 */ 3853 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 3854 long groupId, long classNameId, java.lang.String structureId) 3855 throws com.liferay.portal.kernel.exception.SystemException, 3856 com.liferay.portlet.journal.NoSuchArticleException; 3857 3858 /** 3859 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 3860 * 3861 * @param groupId the group ID 3862 * @param classNameId the class name ID 3863 * @param structureId the structure ID 3864 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 3865 * @throws SystemException if a system exception occurred 3866 */ 3867 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 3868 long groupId, long classNameId, java.lang.String structureId) 3869 throws com.liferay.portal.kernel.exception.SystemException; 3870 3871 /** 3872 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 3873 * 3874 * @param groupId the group ID 3875 * @param classNameId the class name ID 3876 * @param structureId the structure ID 3877 * @param retrieveFromCache whether to use the finder cache 3878 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 3879 * @throws SystemException if a system exception occurred 3880 */ 3881 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 3882 long groupId, long classNameId, java.lang.String structureId, 3883 boolean retrieveFromCache) 3884 throws com.liferay.portal.kernel.exception.SystemException; 3885 3886 /** 3887 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 3888 * 3889 * @param groupId the group ID 3890 * @param classNameId the class name ID 3891 * @param templateId the template ID 3892 * @return the matching journal articles 3893 * @throws SystemException if a system exception occurred 3894 */ 3895 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 3896 long groupId, long classNameId, java.lang.String templateId) 3897 throws com.liferay.portal.kernel.exception.SystemException; 3898 3899 /** 3900 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 3901 * 3902 * <p> 3903 * 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. 3904 * </p> 3905 * 3906 * @param groupId the group ID 3907 * @param classNameId the class name ID 3908 * @param templateId the template ID 3909 * @param start the lower bound of the range of journal articles 3910 * @param end the upper bound of the range of journal articles (not inclusive) 3911 * @return the range of matching journal articles 3912 * @throws SystemException if a system exception occurred 3913 */ 3914 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 3915 long groupId, long classNameId, java.lang.String templateId, int start, 3916 int end) throws com.liferay.portal.kernel.exception.SystemException; 3917 3918 /** 3919 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 3920 * 3921 * <p> 3922 * 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. 3923 * </p> 3924 * 3925 * @param groupId the group ID 3926 * @param classNameId the class name ID 3927 * @param templateId the template ID 3928 * @param start the lower bound of the range of journal articles 3929 * @param end the upper bound of the range of journal articles (not inclusive) 3930 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3931 * @return the ordered range of matching journal articles 3932 * @throws SystemException if a system exception occurred 3933 */ 3934 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 3935 long groupId, long classNameId, java.lang.String templateId, int start, 3936 int end, 3937 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3938 throws com.liferay.portal.kernel.exception.SystemException; 3939 3940 /** 3941 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 3942 * 3943 * @param groupId the group ID 3944 * @param classNameId the class name ID 3945 * @param templateId the template ID 3946 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3947 * @return the first matching journal article 3948 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3949 * @throws SystemException if a system exception occurred 3950 */ 3951 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 3952 long groupId, long classNameId, java.lang.String templateId, 3953 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3954 throws com.liferay.portal.kernel.exception.SystemException, 3955 com.liferay.portlet.journal.NoSuchArticleException; 3956 3957 /** 3958 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 3959 * 3960 * @param groupId the group ID 3961 * @param classNameId the class name ID 3962 * @param templateId the template ID 3963 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3964 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3965 * @throws SystemException if a system exception occurred 3966 */ 3967 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 3968 long groupId, long classNameId, java.lang.String templateId, 3969 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3970 throws com.liferay.portal.kernel.exception.SystemException; 3971 3972 /** 3973 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 3974 * 3975 * @param groupId the group ID 3976 * @param classNameId the class name ID 3977 * @param templateId the template ID 3978 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3979 * @return the last matching journal article 3980 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3981 * @throws SystemException if a system exception occurred 3982 */ 3983 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 3984 long groupId, long classNameId, java.lang.String templateId, 3985 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3986 throws com.liferay.portal.kernel.exception.SystemException, 3987 com.liferay.portlet.journal.NoSuchArticleException; 3988 3989 /** 3990 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 3991 * 3992 * @param groupId the group ID 3993 * @param classNameId the class name ID 3994 * @param templateId the template ID 3995 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3996 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3997 * @throws SystemException if a system exception occurred 3998 */ 3999 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 4000 long groupId, long classNameId, java.lang.String templateId, 4001 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4002 throws com.liferay.portal.kernel.exception.SystemException; 4003 4004 /** 4005 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4006 * 4007 * @param id the primary key of the current journal article 4008 * @param groupId the group ID 4009 * @param classNameId the class name ID 4010 * @param templateId the template ID 4011 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4012 * @return the previous, current, and next journal article 4013 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4014 * @throws SystemException if a system exception occurred 4015 */ 4016 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 4017 long id, long groupId, long classNameId, java.lang.String templateId, 4018 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4019 throws com.liferay.portal.kernel.exception.SystemException, 4020 com.liferay.portlet.journal.NoSuchArticleException; 4021 4022 /** 4023 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4024 * 4025 * @param groupId the group ID 4026 * @param classNameId the class name ID 4027 * @param templateId the template ID 4028 * @return the matching journal articles that the user has permission to view 4029 * @throws SystemException if a system exception occurred 4030 */ 4031 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 4032 long groupId, long classNameId, java.lang.String templateId) 4033 throws com.liferay.portal.kernel.exception.SystemException; 4034 4035 /** 4036 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4037 * 4038 * <p> 4039 * 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. 4040 * </p> 4041 * 4042 * @param groupId the group ID 4043 * @param classNameId the class name ID 4044 * @param templateId the template ID 4045 * @param start the lower bound of the range of journal articles 4046 * @param end the upper bound of the range of journal articles (not inclusive) 4047 * @return the range of matching journal articles that the user has permission to view 4048 * @throws SystemException if a system exception occurred 4049 */ 4050 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 4051 long groupId, long classNameId, java.lang.String templateId, int start, 4052 int end) throws com.liferay.portal.kernel.exception.SystemException; 4053 4054 /** 4055 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 4056 * 4057 * <p> 4058 * 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. 4059 * </p> 4060 * 4061 * @param groupId the group ID 4062 * @param classNameId the class name ID 4063 * @param templateId the template ID 4064 * @param start the lower bound of the range of journal articles 4065 * @param end the upper bound of the range of journal articles (not inclusive) 4066 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4067 * @return the ordered range of matching journal articles that the user has permission to view 4068 * @throws SystemException if a system exception occurred 4069 */ 4070 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 4071 long groupId, long classNameId, java.lang.String templateId, int start, 4072 int end, 4073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4074 throws com.liferay.portal.kernel.exception.SystemException; 4075 4076 /** 4077 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4078 * 4079 * @param id the primary key of the current journal article 4080 * @param groupId the group ID 4081 * @param classNameId the class name ID 4082 * @param templateId the template ID 4083 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4084 * @return the previous, current, and next journal article 4085 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4086 * @throws SystemException if a system exception occurred 4087 */ 4088 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 4089 long id, long groupId, long classNameId, java.lang.String templateId, 4090 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4091 throws com.liferay.portal.kernel.exception.SystemException, 4092 com.liferay.portlet.journal.NoSuchArticleException; 4093 4094 /** 4095 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4096 * 4097 * @param groupId the group ID 4098 * @param classNameId the class name ID 4099 * @param layoutUuid the layout uuid 4100 * @return the matching journal articles 4101 * @throws SystemException if a system exception occurred 4102 */ 4103 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 4104 long groupId, long classNameId, java.lang.String layoutUuid) 4105 throws com.liferay.portal.kernel.exception.SystemException; 4106 4107 /** 4108 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4109 * 4110 * <p> 4111 * 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. 4112 * </p> 4113 * 4114 * @param groupId the group ID 4115 * @param classNameId the class name ID 4116 * @param layoutUuid the layout uuid 4117 * @param start the lower bound of the range of journal articles 4118 * @param end the upper bound of the range of journal articles (not inclusive) 4119 * @return the range of matching journal articles 4120 * @throws SystemException if a system exception occurred 4121 */ 4122 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 4123 long groupId, long classNameId, java.lang.String layoutUuid, int start, 4124 int end) throws com.liferay.portal.kernel.exception.SystemException; 4125 4126 /** 4127 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4128 * 4129 * <p> 4130 * 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. 4131 * </p> 4132 * 4133 * @param groupId the group ID 4134 * @param classNameId the class name ID 4135 * @param layoutUuid the layout uuid 4136 * @param start the lower bound of the range of journal articles 4137 * @param end the upper bound of the range of journal articles (not inclusive) 4138 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4139 * @return the ordered range of matching journal articles 4140 * @throws SystemException if a system exception occurred 4141 */ 4142 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 4143 long groupId, long classNameId, java.lang.String layoutUuid, int start, 4144 int end, 4145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4146 throws com.liferay.portal.kernel.exception.SystemException; 4147 4148 /** 4149 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 4150 * 4151 * @param groupId the group ID 4152 * @param classNameId the class name ID 4153 * @param layoutUuid the layout uuid 4154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4155 * @return the first matching journal article 4156 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4157 * @throws SystemException if a system exception occurred 4158 */ 4159 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 4160 long groupId, long classNameId, java.lang.String layoutUuid, 4161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4162 throws com.liferay.portal.kernel.exception.SystemException, 4163 com.liferay.portlet.journal.NoSuchArticleException; 4164 4165 /** 4166 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 4167 * 4168 * @param groupId the group ID 4169 * @param classNameId the class name ID 4170 * @param layoutUuid the layout uuid 4171 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4172 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4173 * @throws SystemException if a system exception occurred 4174 */ 4175 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 4176 long groupId, long classNameId, java.lang.String layoutUuid, 4177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4178 throws com.liferay.portal.kernel.exception.SystemException; 4179 4180 /** 4181 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 4182 * 4183 * @param groupId the group ID 4184 * @param classNameId the class name ID 4185 * @param layoutUuid the layout uuid 4186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4187 * @return the last matching journal article 4188 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4189 * @throws SystemException if a system exception occurred 4190 */ 4191 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 4192 long groupId, long classNameId, java.lang.String layoutUuid, 4193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4194 throws com.liferay.portal.kernel.exception.SystemException, 4195 com.liferay.portlet.journal.NoSuchArticleException; 4196 4197 /** 4198 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 4199 * 4200 * @param groupId the group ID 4201 * @param classNameId the class name ID 4202 * @param layoutUuid the layout uuid 4203 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4204 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4205 * @throws SystemException if a system exception occurred 4206 */ 4207 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 4208 long groupId, long classNameId, java.lang.String layoutUuid, 4209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4210 throws com.liferay.portal.kernel.exception.SystemException; 4211 4212 /** 4213 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 4214 * 4215 * @param id the primary key of the current journal article 4216 * @param groupId the group ID 4217 * @param classNameId the class name ID 4218 * @param layoutUuid the layout uuid 4219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4220 * @return the previous, current, and next journal article 4221 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4222 * @throws SystemException if a system exception occurred 4223 */ 4224 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 4225 long id, long groupId, long classNameId, java.lang.String layoutUuid, 4226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4227 throws com.liferay.portal.kernel.exception.SystemException, 4228 com.liferay.portlet.journal.NoSuchArticleException; 4229 4230 /** 4231 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 4232 * 4233 * @param groupId the group ID 4234 * @param classNameId the class name ID 4235 * @param layoutUuid the layout uuid 4236 * @return the matching journal articles that the user has permission to view 4237 * @throws SystemException if a system exception occurred 4238 */ 4239 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 4240 long groupId, long classNameId, java.lang.String layoutUuid) 4241 throws com.liferay.portal.kernel.exception.SystemException; 4242 4243 /** 4244 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 4245 * 4246 * <p> 4247 * 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. 4248 * </p> 4249 * 4250 * @param groupId the group ID 4251 * @param classNameId the class name ID 4252 * @param layoutUuid the layout uuid 4253 * @param start the lower bound of the range of journal articles 4254 * @param end the upper bound of the range of journal articles (not inclusive) 4255 * @return the range of matching journal articles that the user has permission to view 4256 * @throws SystemException if a system exception occurred 4257 */ 4258 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 4259 long groupId, long classNameId, java.lang.String layoutUuid, int start, 4260 int end) throws com.liferay.portal.kernel.exception.SystemException; 4261 4262 /** 4263 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 4264 * 4265 * <p> 4266 * 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. 4267 * </p> 4268 * 4269 * @param groupId the group ID 4270 * @param classNameId the class name ID 4271 * @param layoutUuid the layout uuid 4272 * @param start the lower bound of the range of journal articles 4273 * @param end the upper bound of the range of journal articles (not inclusive) 4274 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4275 * @return the ordered range of matching journal articles that the user has permission to view 4276 * @throws SystemException if a system exception occurred 4277 */ 4278 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 4279 long groupId, long classNameId, java.lang.String layoutUuid, int start, 4280 int end, 4281 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4282 throws com.liferay.portal.kernel.exception.SystemException; 4283 4284 /** 4285 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 4286 * 4287 * @param id the primary key of the current journal article 4288 * @param groupId the group ID 4289 * @param classNameId the class name ID 4290 * @param layoutUuid the layout uuid 4291 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4292 * @return the previous, current, and next journal article 4293 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4294 * @throws SystemException if a system exception occurred 4295 */ 4296 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 4297 long id, long groupId, long classNameId, java.lang.String layoutUuid, 4298 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4299 throws com.liferay.portal.kernel.exception.SystemException, 4300 com.liferay.portlet.journal.NoSuchArticleException; 4301 4302 /** 4303 * Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 4304 * 4305 * @param groupId the group ID 4306 * @param articleId the article ID 4307 * @param version the version 4308 * @return the matching journal article 4309 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4310 * @throws SystemException if a system exception occurred 4311 */ 4312 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 4313 long groupId, java.lang.String articleId, double version) 4314 throws com.liferay.portal.kernel.exception.SystemException, 4315 com.liferay.portlet.journal.NoSuchArticleException; 4316 4317 /** 4318 * Returns the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 4319 * 4320 * @param groupId the group ID 4321 * @param articleId the article ID 4322 * @param version the version 4323 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4324 * @throws SystemException if a system exception occurred 4325 */ 4326 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 4327 long groupId, java.lang.String articleId, double version) 4328 throws com.liferay.portal.kernel.exception.SystemException; 4329 4330 /** 4331 * Returns the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 4332 * 4333 * @param groupId the group ID 4334 * @param articleId the article ID 4335 * @param version the version 4336 * @param retrieveFromCache whether to use the finder cache 4337 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4338 * @throws SystemException if a system exception occurred 4339 */ 4340 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 4341 long groupId, java.lang.String articleId, double version, 4342 boolean retrieveFromCache) 4343 throws com.liferay.portal.kernel.exception.SystemException; 4344 4345 /** 4346 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 4347 * 4348 * @param groupId the group ID 4349 * @param articleId the article ID 4350 * @param status the status 4351 * @return the matching journal articles 4352 * @throws SystemException if a system exception occurred 4353 */ 4354 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 4355 long groupId, java.lang.String articleId, int status) 4356 throws com.liferay.portal.kernel.exception.SystemException; 4357 4358 /** 4359 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 4360 * 4361 * <p> 4362 * 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. 4363 * </p> 4364 * 4365 * @param groupId the group ID 4366 * @param articleId the article ID 4367 * @param status the status 4368 * @param start the lower bound of the range of journal articles 4369 * @param end the upper bound of the range of journal articles (not inclusive) 4370 * @return the range of matching journal articles 4371 * @throws SystemException if a system exception occurred 4372 */ 4373 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 4374 long groupId, java.lang.String articleId, int status, int start, int end) 4375 throws com.liferay.portal.kernel.exception.SystemException; 4376 4377 /** 4378 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 4379 * 4380 * <p> 4381 * 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. 4382 * </p> 4383 * 4384 * @param groupId the group ID 4385 * @param articleId the article ID 4386 * @param status the status 4387 * @param start the lower bound of the range of journal articles 4388 * @param end the upper bound of the range of journal articles (not inclusive) 4389 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4390 * @return the ordered range of matching journal articles 4391 * @throws SystemException if a system exception occurred 4392 */ 4393 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 4394 long groupId, java.lang.String articleId, int status, int start, 4395 int end, 4396 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4397 throws com.liferay.portal.kernel.exception.SystemException; 4398 4399 /** 4400 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 4401 * 4402 * @param groupId the group ID 4403 * @param articleId the article ID 4404 * @param status the status 4405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4406 * @return the first matching journal article 4407 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4408 * @throws SystemException if a system exception occurred 4409 */ 4410 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 4411 long groupId, java.lang.String articleId, int status, 4412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4413 throws com.liferay.portal.kernel.exception.SystemException, 4414 com.liferay.portlet.journal.NoSuchArticleException; 4415 4416 /** 4417 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 4418 * 4419 * @param groupId the group ID 4420 * @param articleId the article ID 4421 * @param status the status 4422 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4423 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4424 * @throws SystemException if a system exception occurred 4425 */ 4426 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 4427 long groupId, java.lang.String articleId, int status, 4428 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4429 throws com.liferay.portal.kernel.exception.SystemException; 4430 4431 /** 4432 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 4433 * 4434 * @param groupId the group ID 4435 * @param articleId the article ID 4436 * @param status the status 4437 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4438 * @return the last matching journal article 4439 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4440 * @throws SystemException if a system exception occurred 4441 */ 4442 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 4443 long groupId, java.lang.String articleId, int status, 4444 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4445 throws com.liferay.portal.kernel.exception.SystemException, 4446 com.liferay.portlet.journal.NoSuchArticleException; 4447 4448 /** 4449 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 4450 * 4451 * @param groupId the group ID 4452 * @param articleId the article ID 4453 * @param status the status 4454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4455 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4456 * @throws SystemException if a system exception occurred 4457 */ 4458 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 4459 long groupId, java.lang.String articleId, int status, 4460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4461 throws com.liferay.portal.kernel.exception.SystemException; 4462 4463 /** 4464 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 4465 * 4466 * @param id the primary key of the current journal article 4467 * @param groupId the group ID 4468 * @param articleId the article ID 4469 * @param status the status 4470 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4471 * @return the previous, current, and next journal article 4472 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4473 * @throws SystemException if a system exception occurred 4474 */ 4475 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 4476 long id, long groupId, java.lang.String articleId, int status, 4477 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4478 throws com.liferay.portal.kernel.exception.SystemException, 4479 com.liferay.portlet.journal.NoSuchArticleException; 4480 4481 /** 4482 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 4483 * 4484 * <p> 4485 * 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. 4486 * </p> 4487 * 4488 * @param groupId the group ID 4489 * @param articleId the article ID 4490 * @param statuses the statuses 4491 * @return the matching journal articles 4492 * @throws SystemException if a system exception occurred 4493 */ 4494 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 4495 long groupId, java.lang.String articleId, int[] statuses) 4496 throws com.liferay.portal.kernel.exception.SystemException; 4497 4498 /** 4499 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 4500 * 4501 * <p> 4502 * 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. 4503 * </p> 4504 * 4505 * @param groupId the group ID 4506 * @param articleId the article ID 4507 * @param statuses the statuses 4508 * @param start the lower bound of the range of journal articles 4509 * @param end the upper bound of the range of journal articles (not inclusive) 4510 * @return the range of matching journal articles 4511 * @throws SystemException if a system exception occurred 4512 */ 4513 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 4514 long groupId, java.lang.String articleId, int[] statuses, int start, 4515 int end) throws com.liferay.portal.kernel.exception.SystemException; 4516 4517 /** 4518 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 4519 * 4520 * <p> 4521 * 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. 4522 * </p> 4523 * 4524 * @param groupId the group ID 4525 * @param articleId the article ID 4526 * @param statuses the statuses 4527 * @param start the lower bound of the range of journal articles 4528 * @param end the upper bound of the range of journal articles (not inclusive) 4529 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4530 * @return the ordered range of matching journal articles 4531 * @throws SystemException if a system exception occurred 4532 */ 4533 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 4534 long groupId, java.lang.String articleId, int[] statuses, int start, 4535 int end, 4536 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4537 throws com.liferay.portal.kernel.exception.SystemException; 4538 4539 /** 4540 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 4541 * 4542 * @param groupId the group ID 4543 * @param articleId the article ID 4544 * @param status the status 4545 * @return the matching journal articles that the user has permission to view 4546 * @throws SystemException if a system exception occurred 4547 */ 4548 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 4549 long groupId, java.lang.String articleId, int status) 4550 throws com.liferay.portal.kernel.exception.SystemException; 4551 4552 /** 4553 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 4554 * 4555 * <p> 4556 * 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. 4557 * </p> 4558 * 4559 * @param groupId the group ID 4560 * @param articleId the article ID 4561 * @param status the status 4562 * @param start the lower bound of the range of journal articles 4563 * @param end the upper bound of the range of journal articles (not inclusive) 4564 * @return the range of matching journal articles that the user has permission to view 4565 * @throws SystemException if a system exception occurred 4566 */ 4567 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 4568 long groupId, java.lang.String articleId, int status, int start, int end) 4569 throws com.liferay.portal.kernel.exception.SystemException; 4570 4571 /** 4572 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 4573 * 4574 * <p> 4575 * 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. 4576 * </p> 4577 * 4578 * @param groupId the group ID 4579 * @param articleId the article ID 4580 * @param status the status 4581 * @param start the lower bound of the range of journal articles 4582 * @param end the upper bound of the range of journal articles (not inclusive) 4583 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4584 * @return the ordered range of matching journal articles that the user has permission to view 4585 * @throws SystemException if a system exception occurred 4586 */ 4587 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 4588 long groupId, java.lang.String articleId, int status, int start, 4589 int end, 4590 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4591 throws com.liferay.portal.kernel.exception.SystemException; 4592 4593 /** 4594 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 4595 * 4596 * @param id the primary key of the current journal article 4597 * @param groupId the group ID 4598 * @param articleId the article ID 4599 * @param status the status 4600 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4601 * @return the previous, current, and next journal article 4602 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4603 * @throws SystemException if a system exception occurred 4604 */ 4605 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 4606 long id, long groupId, java.lang.String articleId, int status, 4607 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4608 throws com.liferay.portal.kernel.exception.SystemException, 4609 com.liferay.portlet.journal.NoSuchArticleException; 4610 4611 /** 4612 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 4613 * 4614 * @param groupId the group ID 4615 * @param articleId the article ID 4616 * @param statuses the statuses 4617 * @return the matching journal articles that the user has permission to view 4618 * @throws SystemException if a system exception occurred 4619 */ 4620 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 4621 long groupId, java.lang.String articleId, int[] statuses) 4622 throws com.liferay.portal.kernel.exception.SystemException; 4623 4624 /** 4625 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 4626 * 4627 * <p> 4628 * 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. 4629 * </p> 4630 * 4631 * @param groupId the group ID 4632 * @param articleId the article ID 4633 * @param statuses the statuses 4634 * @param start the lower bound of the range of journal articles 4635 * @param end the upper bound of the range of journal articles (not inclusive) 4636 * @return the range of matching journal articles that the user has permission to view 4637 * @throws SystemException if a system exception occurred 4638 */ 4639 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 4640 long groupId, java.lang.String articleId, int[] statuses, int start, 4641 int end) throws com.liferay.portal.kernel.exception.SystemException; 4642 4643 /** 4644 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 4645 * 4646 * <p> 4647 * 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. 4648 * </p> 4649 * 4650 * @param groupId the group ID 4651 * @param articleId the article ID 4652 * @param statuses the statuses 4653 * @param start the lower bound of the range of journal articles 4654 * @param end the upper bound of the range of journal articles (not inclusive) 4655 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4656 * @return the ordered range of matching journal articles that the user has permission to view 4657 * @throws SystemException if a system exception occurred 4658 */ 4659 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 4660 long groupId, java.lang.String articleId, int[] statuses, int start, 4661 int end, 4662 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4663 throws com.liferay.portal.kernel.exception.SystemException; 4664 4665 /** 4666 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 4667 * 4668 * @param groupId the group ID 4669 * @param urlTitle the url title 4670 * @param status the status 4671 * @return the matching journal articles 4672 * @throws SystemException if a system exception occurred 4673 */ 4674 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 4675 long groupId, java.lang.String urlTitle, int status) 4676 throws com.liferay.portal.kernel.exception.SystemException; 4677 4678 /** 4679 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 4680 * 4681 * <p> 4682 * 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. 4683 * </p> 4684 * 4685 * @param groupId the group ID 4686 * @param urlTitle the url title 4687 * @param status the status 4688 * @param start the lower bound of the range of journal articles 4689 * @param end the upper bound of the range of journal articles (not inclusive) 4690 * @return the range of matching journal articles 4691 * @throws SystemException if a system exception occurred 4692 */ 4693 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 4694 long groupId, java.lang.String urlTitle, int status, int start, int end) 4695 throws com.liferay.portal.kernel.exception.SystemException; 4696 4697 /** 4698 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 4699 * 4700 * <p> 4701 * 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. 4702 * </p> 4703 * 4704 * @param groupId the group ID 4705 * @param urlTitle the url title 4706 * @param status the status 4707 * @param start the lower bound of the range of journal articles 4708 * @param end the upper bound of the range of journal articles (not inclusive) 4709 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4710 * @return the ordered range of matching journal articles 4711 * @throws SystemException if a system exception occurred 4712 */ 4713 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 4714 long groupId, java.lang.String urlTitle, int status, int start, 4715 int end, 4716 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4717 throws com.liferay.portal.kernel.exception.SystemException; 4718 4719 /** 4720 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 4721 * 4722 * @param groupId the group ID 4723 * @param urlTitle the url title 4724 * @param status the status 4725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4726 * @return the first matching journal article 4727 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4728 * @throws SystemException if a system exception occurred 4729 */ 4730 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 4731 long groupId, java.lang.String urlTitle, int status, 4732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4733 throws com.liferay.portal.kernel.exception.SystemException, 4734 com.liferay.portlet.journal.NoSuchArticleException; 4735 4736 /** 4737 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 4738 * 4739 * @param groupId the group ID 4740 * @param urlTitle the url title 4741 * @param status the status 4742 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4743 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4744 * @throws SystemException if a system exception occurred 4745 */ 4746 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 4747 long groupId, java.lang.String urlTitle, int status, 4748 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4749 throws com.liferay.portal.kernel.exception.SystemException; 4750 4751 /** 4752 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 4753 * 4754 * @param groupId the group ID 4755 * @param urlTitle the url title 4756 * @param status the status 4757 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4758 * @return the last matching journal article 4759 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4760 * @throws SystemException if a system exception occurred 4761 */ 4762 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 4763 long groupId, java.lang.String urlTitle, int status, 4764 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4765 throws com.liferay.portal.kernel.exception.SystemException, 4766 com.liferay.portlet.journal.NoSuchArticleException; 4767 4768 /** 4769 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 4770 * 4771 * @param groupId the group ID 4772 * @param urlTitle the url title 4773 * @param status the status 4774 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4775 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4776 * @throws SystemException if a system exception occurred 4777 */ 4778 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 4779 long groupId, java.lang.String urlTitle, int status, 4780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4781 throws com.liferay.portal.kernel.exception.SystemException; 4782 4783 /** 4784 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 4785 * 4786 * @param id the primary key of the current journal article 4787 * @param groupId the group ID 4788 * @param urlTitle the url title 4789 * @param status the status 4790 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4791 * @return the previous, current, and next journal article 4792 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4793 * @throws SystemException if a system exception occurred 4794 */ 4795 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 4796 long id, long groupId, java.lang.String urlTitle, int status, 4797 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4798 throws com.liferay.portal.kernel.exception.SystemException, 4799 com.liferay.portlet.journal.NoSuchArticleException; 4800 4801 /** 4802 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 4803 * 4804 * @param groupId the group ID 4805 * @param urlTitle the url title 4806 * @param status the status 4807 * @return the matching journal articles that the user has permission to view 4808 * @throws SystemException if a system exception occurred 4809 */ 4810 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 4811 long groupId, java.lang.String urlTitle, int status) 4812 throws com.liferay.portal.kernel.exception.SystemException; 4813 4814 /** 4815 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 4816 * 4817 * <p> 4818 * 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. 4819 * </p> 4820 * 4821 * @param groupId the group ID 4822 * @param urlTitle the url title 4823 * @param status the status 4824 * @param start the lower bound of the range of journal articles 4825 * @param end the upper bound of the range of journal articles (not inclusive) 4826 * @return the range of matching journal articles that the user has permission to view 4827 * @throws SystemException if a system exception occurred 4828 */ 4829 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 4830 long groupId, java.lang.String urlTitle, int status, int start, int end) 4831 throws com.liferay.portal.kernel.exception.SystemException; 4832 4833 /** 4834 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 4835 * 4836 * <p> 4837 * 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. 4838 * </p> 4839 * 4840 * @param groupId the group ID 4841 * @param urlTitle the url title 4842 * @param status the status 4843 * @param start the lower bound of the range of journal articles 4844 * @param end the upper bound of the range of journal articles (not inclusive) 4845 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4846 * @return the ordered range of matching journal articles that the user has permission to view 4847 * @throws SystemException if a system exception occurred 4848 */ 4849 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 4850 long groupId, java.lang.String urlTitle, int status, int start, 4851 int end, 4852 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4853 throws com.liferay.portal.kernel.exception.SystemException; 4854 4855 /** 4856 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 4857 * 4858 * @param id the primary key of the current journal article 4859 * @param groupId the group ID 4860 * @param urlTitle the url title 4861 * @param status the status 4862 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4863 * @return the previous, current, and next journal article 4864 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4865 * @throws SystemException if a system exception occurred 4866 */ 4867 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 4868 long id, long groupId, java.lang.String urlTitle, int status, 4869 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4870 throws com.liferay.portal.kernel.exception.SystemException, 4871 com.liferay.portlet.journal.NoSuchArticleException; 4872 4873 /** 4874 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 4875 * 4876 * @param companyId the company ID 4877 * @param version the version 4878 * @param status the status 4879 * @return the matching journal articles 4880 * @throws SystemException if a system exception occurred 4881 */ 4882 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 4883 long companyId, double version, int status) 4884 throws com.liferay.portal.kernel.exception.SystemException; 4885 4886 /** 4887 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 4888 * 4889 * <p> 4890 * 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. 4891 * </p> 4892 * 4893 * @param companyId the company ID 4894 * @param version the version 4895 * @param status the status 4896 * @param start the lower bound of the range of journal articles 4897 * @param end the upper bound of the range of journal articles (not inclusive) 4898 * @return the range of matching journal articles 4899 * @throws SystemException if a system exception occurred 4900 */ 4901 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 4902 long companyId, double version, int status, int start, int end) 4903 throws com.liferay.portal.kernel.exception.SystemException; 4904 4905 /** 4906 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 4907 * 4908 * <p> 4909 * 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. 4910 * </p> 4911 * 4912 * @param companyId the company ID 4913 * @param version the version 4914 * @param status the status 4915 * @param start the lower bound of the range of journal articles 4916 * @param end the upper bound of the range of journal articles (not inclusive) 4917 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4918 * @return the ordered range of matching journal articles 4919 * @throws SystemException if a system exception occurred 4920 */ 4921 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 4922 long companyId, double version, int status, int start, int end, 4923 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4924 throws com.liferay.portal.kernel.exception.SystemException; 4925 4926 /** 4927 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 4928 * 4929 * @param companyId the company ID 4930 * @param version the version 4931 * @param status the status 4932 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4933 * @return the first matching journal article 4934 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4935 * @throws SystemException if a system exception occurred 4936 */ 4937 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 4938 long companyId, double version, int status, 4939 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4940 throws com.liferay.portal.kernel.exception.SystemException, 4941 com.liferay.portlet.journal.NoSuchArticleException; 4942 4943 /** 4944 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 4945 * 4946 * @param companyId the company ID 4947 * @param version the version 4948 * @param status the status 4949 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4950 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4951 * @throws SystemException if a system exception occurred 4952 */ 4953 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 4954 long companyId, double version, int status, 4955 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4956 throws com.liferay.portal.kernel.exception.SystemException; 4957 4958 /** 4959 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 4960 * 4961 * @param companyId the company ID 4962 * @param version the version 4963 * @param status the status 4964 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4965 * @return the last matching journal article 4966 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4967 * @throws SystemException if a system exception occurred 4968 */ 4969 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 4970 long companyId, double version, int status, 4971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4972 throws com.liferay.portal.kernel.exception.SystemException, 4973 com.liferay.portlet.journal.NoSuchArticleException; 4974 4975 /** 4976 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 4977 * 4978 * @param companyId the company ID 4979 * @param version the version 4980 * @param status the status 4981 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4982 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4983 * @throws SystemException if a system exception occurred 4984 */ 4985 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 4986 long companyId, double version, int status, 4987 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4988 throws com.liferay.portal.kernel.exception.SystemException; 4989 4990 /** 4991 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 4992 * 4993 * @param id the primary key of the current journal article 4994 * @param companyId the company ID 4995 * @param version the version 4996 * @param status the status 4997 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4998 * @return the previous, current, and next journal article 4999 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5000 * @throws SystemException if a system exception occurred 5001 */ 5002 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 5003 long id, long companyId, double version, int status, 5004 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5005 throws com.liferay.portal.kernel.exception.SystemException, 5006 com.liferay.portlet.journal.NoSuchArticleException; 5007 5008 /** 5009 * Returns all the journal articles. 5010 * 5011 * @return the journal articles 5012 * @throws SystemException if a system exception occurred 5013 */ 5014 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 5015 throws com.liferay.portal.kernel.exception.SystemException; 5016 5017 /** 5018 * Returns a range of all the journal articles. 5019 * 5020 * <p> 5021 * 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. 5022 * </p> 5023 * 5024 * @param start the lower bound of the range of journal articles 5025 * @param end the upper bound of the range of journal articles (not inclusive) 5026 * @return the range of journal articles 5027 * @throws SystemException if a system exception occurred 5028 */ 5029 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 5030 int start, int end) 5031 throws com.liferay.portal.kernel.exception.SystemException; 5032 5033 /** 5034 * Returns an ordered range of all the journal articles. 5035 * 5036 * <p> 5037 * 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. 5038 * </p> 5039 * 5040 * @param start the lower bound of the range of journal articles 5041 * @param end the upper bound of the range of journal articles (not inclusive) 5042 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5043 * @return the ordered range of journal articles 5044 * @throws SystemException if a system exception occurred 5045 */ 5046 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 5047 int start, int end, 5048 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5049 throws com.liferay.portal.kernel.exception.SystemException; 5050 5051 /** 5052 * Removes all the journal articles where uuid = ? from the database. 5053 * 5054 * @param uuid the uuid 5055 * @throws SystemException if a system exception occurred 5056 */ 5057 public void removeByUuid(java.lang.String uuid) 5058 throws com.liferay.portal.kernel.exception.SystemException; 5059 5060 /** 5061 * Removes the journal article where uuid = ? and groupId = ? from the database. 5062 * 5063 * @param uuid the uuid 5064 * @param groupId the group ID 5065 * @return the journal article that was removed 5066 * @throws SystemException if a system exception occurred 5067 */ 5068 public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G( 5069 java.lang.String uuid, long groupId) 5070 throws com.liferay.portal.kernel.exception.SystemException, 5071 com.liferay.portlet.journal.NoSuchArticleException; 5072 5073 /** 5074 * Removes all the journal articles where uuid = ? and companyId = ? from the database. 5075 * 5076 * @param uuid the uuid 5077 * @param companyId the company ID 5078 * @throws SystemException if a system exception occurred 5079 */ 5080 public void removeByUuid_C(java.lang.String uuid, long companyId) 5081 throws com.liferay.portal.kernel.exception.SystemException; 5082 5083 /** 5084 * Removes all the journal articles where resourcePrimKey = ? from the database. 5085 * 5086 * @param resourcePrimKey the resource prim key 5087 * @throws SystemException if a system exception occurred 5088 */ 5089 public void removeByResourcePrimKey(long resourcePrimKey) 5090 throws com.liferay.portal.kernel.exception.SystemException; 5091 5092 /** 5093 * Removes all the journal articles where groupId = ? from the database. 5094 * 5095 * @param groupId the group ID 5096 * @throws SystemException if a system exception occurred 5097 */ 5098 public void removeByGroupId(long groupId) 5099 throws com.liferay.portal.kernel.exception.SystemException; 5100 5101 /** 5102 * Removes all the journal articles where companyId = ? from the database. 5103 * 5104 * @param companyId the company ID 5105 * @throws SystemException if a system exception occurred 5106 */ 5107 public void removeByCompanyId(long companyId) 5108 throws com.liferay.portal.kernel.exception.SystemException; 5109 5110 /** 5111 * Removes all the journal articles where structureId = ? from the database. 5112 * 5113 * @param structureId the structure ID 5114 * @throws SystemException if a system exception occurred 5115 */ 5116 public void removeByStructureId(java.lang.String structureId) 5117 throws com.liferay.portal.kernel.exception.SystemException; 5118 5119 /** 5120 * Removes all the journal articles where templateId = ? from the database. 5121 * 5122 * @param templateId the template ID 5123 * @throws SystemException if a system exception occurred 5124 */ 5125 public void removeByTemplateId(java.lang.String templateId) 5126 throws com.liferay.portal.kernel.exception.SystemException; 5127 5128 /** 5129 * Removes all the journal articles where layoutUuid = ? from the database. 5130 * 5131 * @param layoutUuid the layout uuid 5132 * @throws SystemException if a system exception occurred 5133 */ 5134 public void removeByLayoutUuid(java.lang.String layoutUuid) 5135 throws com.liferay.portal.kernel.exception.SystemException; 5136 5137 /** 5138 * Removes all the journal articles where smallImageId = ? from the database. 5139 * 5140 * @param smallImageId the small image ID 5141 * @throws SystemException if a system exception occurred 5142 */ 5143 public void removeBySmallImageId(long smallImageId) 5144 throws com.liferay.portal.kernel.exception.SystemException; 5145 5146 /** 5147 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 5148 * 5149 * @param resourcePrimKey the resource prim key 5150 * @param status the status 5151 * @throws SystemException if a system exception occurred 5152 */ 5153 public void removeByR_ST(long resourcePrimKey, int status) 5154 throws com.liferay.portal.kernel.exception.SystemException; 5155 5156 /** 5157 * Removes all the journal articles where groupId = ? and userId = ? from the database. 5158 * 5159 * @param groupId the group ID 5160 * @param userId the user ID 5161 * @throws SystemException if a system exception occurred 5162 */ 5163 public void removeByG_U(long groupId, long userId) 5164 throws com.liferay.portal.kernel.exception.SystemException; 5165 5166 /** 5167 * Removes all the journal articles where groupId = ? and folderId = ? from the database. 5168 * 5169 * @param groupId the group ID 5170 * @param folderId the folder ID 5171 * @throws SystemException if a system exception occurred 5172 */ 5173 public void removeByG_F(long groupId, long folderId) 5174 throws com.liferay.portal.kernel.exception.SystemException; 5175 5176 /** 5177 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 5178 * 5179 * @param groupId the group ID 5180 * @param articleId the article ID 5181 * @throws SystemException if a system exception occurred 5182 */ 5183 public void removeByG_A(long groupId, java.lang.String articleId) 5184 throws com.liferay.portal.kernel.exception.SystemException; 5185 5186 /** 5187 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 5188 * 5189 * @param groupId the group ID 5190 * @param urlTitle the url title 5191 * @throws SystemException if a system exception occurred 5192 */ 5193 public void removeByG_UT(long groupId, java.lang.String urlTitle) 5194 throws com.liferay.portal.kernel.exception.SystemException; 5195 5196 /** 5197 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 5198 * 5199 * @param groupId the group ID 5200 * @param structureId the structure ID 5201 * @throws SystemException if a system exception occurred 5202 */ 5203 public void removeByG_S(long groupId, java.lang.String structureId) 5204 throws com.liferay.portal.kernel.exception.SystemException; 5205 5206 /** 5207 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 5208 * 5209 * @param groupId the group ID 5210 * @param templateId the template ID 5211 * @throws SystemException if a system exception occurred 5212 */ 5213 public void removeByG_T(long groupId, java.lang.String templateId) 5214 throws com.liferay.portal.kernel.exception.SystemException; 5215 5216 /** 5217 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 5218 * 5219 * @param groupId the group ID 5220 * @param layoutUuid the layout uuid 5221 * @throws SystemException if a system exception occurred 5222 */ 5223 public void removeByG_L(long groupId, java.lang.String layoutUuid) 5224 throws com.liferay.portal.kernel.exception.SystemException; 5225 5226 /** 5227 * Removes all the journal articles where groupId = ? and status = ? from the database. 5228 * 5229 * @param groupId the group ID 5230 * @param status the status 5231 * @throws SystemException if a system exception occurred 5232 */ 5233 public void removeByG_ST(long groupId, int status) 5234 throws com.liferay.portal.kernel.exception.SystemException; 5235 5236 /** 5237 * Removes all the journal articles where companyId = ? and version = ? from the database. 5238 * 5239 * @param companyId the company ID 5240 * @param version the version 5241 * @throws SystemException if a system exception occurred 5242 */ 5243 public void removeByC_V(long companyId, double version) 5244 throws com.liferay.portal.kernel.exception.SystemException; 5245 5246 /** 5247 * Removes all the journal articles where companyId = ? and status = ? from the database. 5248 * 5249 * @param companyId the company ID 5250 * @param status the status 5251 * @throws SystemException if a system exception occurred 5252 */ 5253 public void removeByC_ST(long companyId, int status) 5254 throws com.liferay.portal.kernel.exception.SystemException; 5255 5256 /** 5257 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 5258 * 5259 * @param groupId the group ID 5260 * @param folderId the folder ID 5261 * @param status the status 5262 * @throws SystemException if a system exception occurred 5263 */ 5264 public void removeByG_F_ST(long groupId, long folderId, int status) 5265 throws com.liferay.portal.kernel.exception.SystemException; 5266 5267 /** 5268 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 5269 * 5270 * @param groupId the group ID 5271 * @param classNameId the class name ID 5272 * @param classPK the class p k 5273 * @throws SystemException if a system exception occurred 5274 */ 5275 public void removeByG_C_C(long groupId, long classNameId, long classPK) 5276 throws com.liferay.portal.kernel.exception.SystemException; 5277 5278 /** 5279 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 5280 * 5281 * @param groupId the group ID 5282 * @param classNameId the class name ID 5283 * @param structureId the structure ID 5284 * @return the journal article that was removed 5285 * @throws SystemException if a system exception occurred 5286 */ 5287 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 5288 long groupId, long classNameId, java.lang.String structureId) 5289 throws com.liferay.portal.kernel.exception.SystemException, 5290 com.liferay.portlet.journal.NoSuchArticleException; 5291 5292 /** 5293 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 5294 * 5295 * @param groupId the group ID 5296 * @param classNameId the class name ID 5297 * @param templateId the template ID 5298 * @throws SystemException if a system exception occurred 5299 */ 5300 public void removeByG_C_T(long groupId, long classNameId, 5301 java.lang.String templateId) 5302 throws com.liferay.portal.kernel.exception.SystemException; 5303 5304 /** 5305 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5306 * 5307 * @param groupId the group ID 5308 * @param classNameId the class name ID 5309 * @param layoutUuid the layout uuid 5310 * @throws SystemException if a system exception occurred 5311 */ 5312 public void removeByG_C_L(long groupId, long classNameId, 5313 java.lang.String layoutUuid) 5314 throws com.liferay.portal.kernel.exception.SystemException; 5315 5316 /** 5317 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 5318 * 5319 * @param groupId the group ID 5320 * @param articleId the article ID 5321 * @param version the version 5322 * @return the journal article that was removed 5323 * @throws SystemException if a system exception occurred 5324 */ 5325 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 5326 long groupId, java.lang.String articleId, double version) 5327 throws com.liferay.portal.kernel.exception.SystemException, 5328 com.liferay.portlet.journal.NoSuchArticleException; 5329 5330 /** 5331 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 5332 * 5333 * @param groupId the group ID 5334 * @param articleId the article ID 5335 * @param status the status 5336 * @throws SystemException if a system exception occurred 5337 */ 5338 public void removeByG_A_ST(long groupId, java.lang.String articleId, 5339 int status) throws com.liferay.portal.kernel.exception.SystemException; 5340 5341 /** 5342 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 5343 * 5344 * @param groupId the group ID 5345 * @param urlTitle the url title 5346 * @param status the status 5347 * @throws SystemException if a system exception occurred 5348 */ 5349 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 5350 int status) throws com.liferay.portal.kernel.exception.SystemException; 5351 5352 /** 5353 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 5354 * 5355 * @param companyId the company ID 5356 * @param version the version 5357 * @param status the status 5358 * @throws SystemException if a system exception occurred 5359 */ 5360 public void removeByC_V_ST(long companyId, double version, int status) 5361 throws com.liferay.portal.kernel.exception.SystemException; 5362 5363 /** 5364 * Removes all the journal articles from the database. 5365 * 5366 * @throws SystemException if a system exception occurred 5367 */ 5368 public void removeAll() 5369 throws com.liferay.portal.kernel.exception.SystemException; 5370 5371 /** 5372 * Returns the number of journal articles where uuid = ?. 5373 * 5374 * @param uuid the uuid 5375 * @return the number of matching journal articles 5376 * @throws SystemException if a system exception occurred 5377 */ 5378 public int countByUuid(java.lang.String uuid) 5379 throws com.liferay.portal.kernel.exception.SystemException; 5380 5381 /** 5382 * Returns the number of journal articles where uuid = ? and groupId = ?. 5383 * 5384 * @param uuid the uuid 5385 * @param groupId the group ID 5386 * @return the number of matching journal articles 5387 * @throws SystemException if a system exception occurred 5388 */ 5389 public int countByUUID_G(java.lang.String uuid, long groupId) 5390 throws com.liferay.portal.kernel.exception.SystemException; 5391 5392 /** 5393 * Returns the number of journal articles where uuid = ? and companyId = ?. 5394 * 5395 * @param uuid the uuid 5396 * @param companyId the company ID 5397 * @return the number of matching journal articles 5398 * @throws SystemException if a system exception occurred 5399 */ 5400 public int countByUuid_C(java.lang.String uuid, long companyId) 5401 throws com.liferay.portal.kernel.exception.SystemException; 5402 5403 /** 5404 * Returns the number of journal articles where resourcePrimKey = ?. 5405 * 5406 * @param resourcePrimKey the resource prim key 5407 * @return the number of matching journal articles 5408 * @throws SystemException if a system exception occurred 5409 */ 5410 public int countByResourcePrimKey(long resourcePrimKey) 5411 throws com.liferay.portal.kernel.exception.SystemException; 5412 5413 /** 5414 * Returns the number of journal articles where groupId = ?. 5415 * 5416 * @param groupId the group ID 5417 * @return the number of matching journal articles 5418 * @throws SystemException if a system exception occurred 5419 */ 5420 public int countByGroupId(long groupId) 5421 throws com.liferay.portal.kernel.exception.SystemException; 5422 5423 /** 5424 * Returns the number of journal articles that the user has permission to view where groupId = ?. 5425 * 5426 * @param groupId the group ID 5427 * @return the number of matching journal articles that the user has permission to view 5428 * @throws SystemException if a system exception occurred 5429 */ 5430 public int filterCountByGroupId(long groupId) 5431 throws com.liferay.portal.kernel.exception.SystemException; 5432 5433 /** 5434 * Returns the number of journal articles where companyId = ?. 5435 * 5436 * @param companyId the company ID 5437 * @return the number of matching journal articles 5438 * @throws SystemException if a system exception occurred 5439 */ 5440 public int countByCompanyId(long companyId) 5441 throws com.liferay.portal.kernel.exception.SystemException; 5442 5443 /** 5444 * Returns the number of journal articles where structureId = ?. 5445 * 5446 * @param structureId the structure ID 5447 * @return the number of matching journal articles 5448 * @throws SystemException if a system exception occurred 5449 */ 5450 public int countByStructureId(java.lang.String structureId) 5451 throws com.liferay.portal.kernel.exception.SystemException; 5452 5453 /** 5454 * Returns the number of journal articles where templateId = ?. 5455 * 5456 * @param templateId the template ID 5457 * @return the number of matching journal articles 5458 * @throws SystemException if a system exception occurred 5459 */ 5460 public int countByTemplateId(java.lang.String templateId) 5461 throws com.liferay.portal.kernel.exception.SystemException; 5462 5463 /** 5464 * Returns the number of journal articles where layoutUuid = ?. 5465 * 5466 * @param layoutUuid the layout uuid 5467 * @return the number of matching journal articles 5468 * @throws SystemException if a system exception occurred 5469 */ 5470 public int countByLayoutUuid(java.lang.String layoutUuid) 5471 throws com.liferay.portal.kernel.exception.SystemException; 5472 5473 /** 5474 * Returns the number of journal articles where smallImageId = ?. 5475 * 5476 * @param smallImageId the small image ID 5477 * @return the number of matching journal articles 5478 * @throws SystemException if a system exception occurred 5479 */ 5480 public int countBySmallImageId(long smallImageId) 5481 throws com.liferay.portal.kernel.exception.SystemException; 5482 5483 /** 5484 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 5485 * 5486 * @param resourcePrimKey the resource prim key 5487 * @param status the status 5488 * @return the number of matching journal articles 5489 * @throws SystemException if a system exception occurred 5490 */ 5491 public int countByR_ST(long resourcePrimKey, int status) 5492 throws com.liferay.portal.kernel.exception.SystemException; 5493 5494 /** 5495 * Returns the number of journal articles where groupId = ? and userId = ?. 5496 * 5497 * @param groupId the group ID 5498 * @param userId the user ID 5499 * @return the number of matching journal articles 5500 * @throws SystemException if a system exception occurred 5501 */ 5502 public int countByG_U(long groupId, long userId) 5503 throws com.liferay.portal.kernel.exception.SystemException; 5504 5505 /** 5506 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?. 5507 * 5508 * @param groupId the group ID 5509 * @param userId the user ID 5510 * @return the number of matching journal articles that the user has permission to view 5511 * @throws SystemException if a system exception occurred 5512 */ 5513 public int filterCountByG_U(long groupId, long userId) 5514 throws com.liferay.portal.kernel.exception.SystemException; 5515 5516 /** 5517 * Returns the number of journal articles where groupId = ? and folderId = ?. 5518 * 5519 * @param groupId the group ID 5520 * @param folderId the folder ID 5521 * @return the number of matching journal articles 5522 * @throws SystemException if a system exception occurred 5523 */ 5524 public int countByG_F(long groupId, long folderId) 5525 throws com.liferay.portal.kernel.exception.SystemException; 5526 5527 /** 5528 * Returns the number of journal articles where groupId = ? and folderId = any ?. 5529 * 5530 * @param groupId the group ID 5531 * @param folderIds the folder IDs 5532 * @return the number of matching journal articles 5533 * @throws SystemException if a system exception occurred 5534 */ 5535 public int countByG_F(long groupId, long[] folderIds) 5536 throws com.liferay.portal.kernel.exception.SystemException; 5537 5538 /** 5539 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?. 5540 * 5541 * @param groupId the group ID 5542 * @param folderId the folder ID 5543 * @return the number of matching journal articles that the user has permission to view 5544 * @throws SystemException if a system exception occurred 5545 */ 5546 public int filterCountByG_F(long groupId, long folderId) 5547 throws com.liferay.portal.kernel.exception.SystemException; 5548 5549 /** 5550 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?. 5551 * 5552 * @param groupId the group ID 5553 * @param folderIds the folder IDs 5554 * @return the number of matching journal articles that the user has permission to view 5555 * @throws SystemException if a system exception occurred 5556 */ 5557 public int filterCountByG_F(long groupId, long[] folderIds) 5558 throws com.liferay.portal.kernel.exception.SystemException; 5559 5560 /** 5561 * Returns the number of journal articles where groupId = ? and articleId = ?. 5562 * 5563 * @param groupId the group ID 5564 * @param articleId the article ID 5565 * @return the number of matching journal articles 5566 * @throws SystemException if a system exception occurred 5567 */ 5568 public int countByG_A(long groupId, java.lang.String articleId) 5569 throws com.liferay.portal.kernel.exception.SystemException; 5570 5571 /** 5572 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 5573 * 5574 * @param groupId the group ID 5575 * @param articleId the article ID 5576 * @return the number of matching journal articles that the user has permission to view 5577 * @throws SystemException if a system exception occurred 5578 */ 5579 public int filterCountByG_A(long groupId, java.lang.String articleId) 5580 throws com.liferay.portal.kernel.exception.SystemException; 5581 5582 /** 5583 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 5584 * 5585 * @param groupId the group ID 5586 * @param urlTitle the url title 5587 * @return the number of matching journal articles 5588 * @throws SystemException if a system exception occurred 5589 */ 5590 public int countByG_UT(long groupId, java.lang.String urlTitle) 5591 throws com.liferay.portal.kernel.exception.SystemException; 5592 5593 /** 5594 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 5595 * 5596 * @param groupId the group ID 5597 * @param urlTitle the url title 5598 * @return the number of matching journal articles that the user has permission to view 5599 * @throws SystemException if a system exception occurred 5600 */ 5601 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 5602 throws com.liferay.portal.kernel.exception.SystemException; 5603 5604 /** 5605 * Returns the number of journal articles where groupId = ? and structureId = ?. 5606 * 5607 * @param groupId the group ID 5608 * @param structureId the structure ID 5609 * @return the number of matching journal articles 5610 * @throws SystemException if a system exception occurred 5611 */ 5612 public int countByG_S(long groupId, java.lang.String structureId) 5613 throws com.liferay.portal.kernel.exception.SystemException; 5614 5615 /** 5616 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 5617 * 5618 * @param groupId the group ID 5619 * @param structureId the structure ID 5620 * @return the number of matching journal articles that the user has permission to view 5621 * @throws SystemException if a system exception occurred 5622 */ 5623 public int filterCountByG_S(long groupId, java.lang.String structureId) 5624 throws com.liferay.portal.kernel.exception.SystemException; 5625 5626 /** 5627 * Returns the number of journal articles where groupId = ? and templateId = ?. 5628 * 5629 * @param groupId the group ID 5630 * @param templateId the template ID 5631 * @return the number of matching journal articles 5632 * @throws SystemException if a system exception occurred 5633 */ 5634 public int countByG_T(long groupId, java.lang.String templateId) 5635 throws com.liferay.portal.kernel.exception.SystemException; 5636 5637 /** 5638 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 5639 * 5640 * @param groupId the group ID 5641 * @param templateId the template ID 5642 * @return the number of matching journal articles that the user has permission to view 5643 * @throws SystemException if a system exception occurred 5644 */ 5645 public int filterCountByG_T(long groupId, java.lang.String templateId) 5646 throws com.liferay.portal.kernel.exception.SystemException; 5647 5648 /** 5649 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 5650 * 5651 * @param groupId the group ID 5652 * @param layoutUuid the layout uuid 5653 * @return the number of matching journal articles 5654 * @throws SystemException if a system exception occurred 5655 */ 5656 public int countByG_L(long groupId, java.lang.String layoutUuid) 5657 throws com.liferay.portal.kernel.exception.SystemException; 5658 5659 /** 5660 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 5661 * 5662 * @param groupId the group ID 5663 * @param layoutUuid the layout uuid 5664 * @return the number of matching journal articles that the user has permission to view 5665 * @throws SystemException if a system exception occurred 5666 */ 5667 public int filterCountByG_L(long groupId, java.lang.String layoutUuid) 5668 throws com.liferay.portal.kernel.exception.SystemException; 5669 5670 /** 5671 * Returns the number of journal articles where groupId = ? and status = ?. 5672 * 5673 * @param groupId the group ID 5674 * @param status the status 5675 * @return the number of matching journal articles 5676 * @throws SystemException if a system exception occurred 5677 */ 5678 public int countByG_ST(long groupId, int status) 5679 throws com.liferay.portal.kernel.exception.SystemException; 5680 5681 /** 5682 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 5683 * 5684 * @param groupId the group ID 5685 * @param status the status 5686 * @return the number of matching journal articles that the user has permission to view 5687 * @throws SystemException if a system exception occurred 5688 */ 5689 public int filterCountByG_ST(long groupId, int status) 5690 throws com.liferay.portal.kernel.exception.SystemException; 5691 5692 /** 5693 * Returns the number of journal articles where companyId = ? and version = ?. 5694 * 5695 * @param companyId the company ID 5696 * @param version the version 5697 * @return the number of matching journal articles 5698 * @throws SystemException if a system exception occurred 5699 */ 5700 public int countByC_V(long companyId, double version) 5701 throws com.liferay.portal.kernel.exception.SystemException; 5702 5703 /** 5704 * Returns the number of journal articles where companyId = ? and status = ?. 5705 * 5706 * @param companyId the company ID 5707 * @param status the status 5708 * @return the number of matching journal articles 5709 * @throws SystemException if a system exception occurred 5710 */ 5711 public int countByC_ST(long companyId, int status) 5712 throws com.liferay.portal.kernel.exception.SystemException; 5713 5714 /** 5715 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 5716 * 5717 * @param groupId the group ID 5718 * @param folderId the folder ID 5719 * @param status the status 5720 * @return the number of matching journal articles 5721 * @throws SystemException if a system exception occurred 5722 */ 5723 public int countByG_F_ST(long groupId, long folderId, int status) 5724 throws com.liferay.portal.kernel.exception.SystemException; 5725 5726 /** 5727 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 5728 * 5729 * @param groupId the group ID 5730 * @param folderId the folder ID 5731 * @param statuses the statuses 5732 * @return the number of matching journal articles 5733 * @throws SystemException if a system exception occurred 5734 */ 5735 public int countByG_F_ST(long groupId, long folderId, int[] statuses) 5736 throws com.liferay.portal.kernel.exception.SystemException; 5737 5738 /** 5739 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5740 * 5741 * @param groupId the group ID 5742 * @param folderId the folder ID 5743 * @param status the status 5744 * @return the number of matching journal articles that the user has permission to view 5745 * @throws SystemException if a system exception occurred 5746 */ 5747 public int filterCountByG_F_ST(long groupId, long folderId, int status) 5748 throws com.liferay.portal.kernel.exception.SystemException; 5749 5750 /** 5751 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5752 * 5753 * @param groupId the group ID 5754 * @param folderId the folder ID 5755 * @param statuses the statuses 5756 * @return the number of matching journal articles that the user has permission to view 5757 * @throws SystemException if a system exception occurred 5758 */ 5759 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses) 5760 throws com.liferay.portal.kernel.exception.SystemException; 5761 5762 /** 5763 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 5764 * 5765 * @param groupId the group ID 5766 * @param classNameId the class name ID 5767 * @param classPK the class p k 5768 * @return the number of matching journal articles 5769 * @throws SystemException if a system exception occurred 5770 */ 5771 public int countByG_C_C(long groupId, long classNameId, long classPK) 5772 throws com.liferay.portal.kernel.exception.SystemException; 5773 5774 /** 5775 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5776 * 5777 * @param groupId the group ID 5778 * @param classNameId the class name ID 5779 * @param classPK the class p k 5780 * @return the number of matching journal articles that the user has permission to view 5781 * @throws SystemException if a system exception occurred 5782 */ 5783 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 5784 throws com.liferay.portal.kernel.exception.SystemException; 5785 5786 /** 5787 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 5788 * 5789 * @param groupId the group ID 5790 * @param classNameId the class name ID 5791 * @param structureId the structure ID 5792 * @return the number of matching journal articles 5793 * @throws SystemException if a system exception occurred 5794 */ 5795 public int countByG_C_S(long groupId, long classNameId, 5796 java.lang.String structureId) 5797 throws com.liferay.portal.kernel.exception.SystemException; 5798 5799 /** 5800 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 5801 * 5802 * @param groupId the group ID 5803 * @param classNameId the class name ID 5804 * @param templateId the template ID 5805 * @return the number of matching journal articles 5806 * @throws SystemException if a system exception occurred 5807 */ 5808 public int countByG_C_T(long groupId, long classNameId, 5809 java.lang.String templateId) 5810 throws com.liferay.portal.kernel.exception.SystemException; 5811 5812 /** 5813 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5814 * 5815 * @param groupId the group ID 5816 * @param classNameId the class name ID 5817 * @param templateId the template ID 5818 * @return the number of matching journal articles that the user has permission to view 5819 * @throws SystemException if a system exception occurred 5820 */ 5821 public int filterCountByG_C_T(long groupId, long classNameId, 5822 java.lang.String templateId) 5823 throws com.liferay.portal.kernel.exception.SystemException; 5824 5825 /** 5826 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5827 * 5828 * @param groupId the group ID 5829 * @param classNameId the class name ID 5830 * @param layoutUuid the layout uuid 5831 * @return the number of matching journal articles 5832 * @throws SystemException if a system exception occurred 5833 */ 5834 public int countByG_C_L(long groupId, long classNameId, 5835 java.lang.String layoutUuid) 5836 throws com.liferay.portal.kernel.exception.SystemException; 5837 5838 /** 5839 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5840 * 5841 * @param groupId the group ID 5842 * @param classNameId the class name ID 5843 * @param layoutUuid the layout uuid 5844 * @return the number of matching journal articles that the user has permission to view 5845 * @throws SystemException if a system exception occurred 5846 */ 5847 public int filterCountByG_C_L(long groupId, long classNameId, 5848 java.lang.String layoutUuid) 5849 throws com.liferay.portal.kernel.exception.SystemException; 5850 5851 /** 5852 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 5853 * 5854 * @param groupId the group ID 5855 * @param articleId the article ID 5856 * @param version the version 5857 * @return the number of matching journal articles 5858 * @throws SystemException if a system exception occurred 5859 */ 5860 public int countByG_A_V(long groupId, java.lang.String articleId, 5861 double version) 5862 throws com.liferay.portal.kernel.exception.SystemException; 5863 5864 /** 5865 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 5866 * 5867 * @param groupId the group ID 5868 * @param articleId the article ID 5869 * @param status the status 5870 * @return the number of matching journal articles 5871 * @throws SystemException if a system exception occurred 5872 */ 5873 public int countByG_A_ST(long groupId, java.lang.String articleId, 5874 int status) throws com.liferay.portal.kernel.exception.SystemException; 5875 5876 /** 5877 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 5878 * 5879 * @param groupId the group ID 5880 * @param articleId the article ID 5881 * @param statuses the statuses 5882 * @return the number of matching journal articles 5883 * @throws SystemException if a system exception occurred 5884 */ 5885 public int countByG_A_ST(long groupId, java.lang.String articleId, 5886 int[] statuses) 5887 throws com.liferay.portal.kernel.exception.SystemException; 5888 5889 /** 5890 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5891 * 5892 * @param groupId the group ID 5893 * @param articleId the article ID 5894 * @param status the status 5895 * @return the number of matching journal articles that the user has permission to view 5896 * @throws SystemException if a system exception occurred 5897 */ 5898 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5899 int status) throws com.liferay.portal.kernel.exception.SystemException; 5900 5901 /** 5902 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5903 * 5904 * @param groupId the group ID 5905 * @param articleId the article ID 5906 * @param statuses the statuses 5907 * @return the number of matching journal articles that the user has permission to view 5908 * @throws SystemException if a system exception occurred 5909 */ 5910 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5911 int[] statuses) 5912 throws com.liferay.portal.kernel.exception.SystemException; 5913 5914 /** 5915 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 5916 * 5917 * @param groupId the group ID 5918 * @param urlTitle the url title 5919 * @param status the status 5920 * @return the number of matching journal articles 5921 * @throws SystemException if a system exception occurred 5922 */ 5923 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 5924 int status) throws com.liferay.portal.kernel.exception.SystemException; 5925 5926 /** 5927 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 5928 * 5929 * @param groupId the group ID 5930 * @param urlTitle the url title 5931 * @param status the status 5932 * @return the number of matching journal articles that the user has permission to view 5933 * @throws SystemException if a system exception occurred 5934 */ 5935 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 5936 int status) throws com.liferay.portal.kernel.exception.SystemException; 5937 5938 /** 5939 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 5940 * 5941 * @param companyId the company ID 5942 * @param version the version 5943 * @param status the status 5944 * @return the number of matching journal articles 5945 * @throws SystemException if a system exception occurred 5946 */ 5947 public int countByC_V_ST(long companyId, double version, int status) 5948 throws com.liferay.portal.kernel.exception.SystemException; 5949 5950 /** 5951 * Returns the number of journal articles. 5952 * 5953 * @return the number of journal articles 5954 * @throws SystemException if a system exception occurred 5955 */ 5956 public int countAll() 5957 throws com.liferay.portal.kernel.exception.SystemException; 5958 }