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