001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.journal.model.JournalArticle; 020 021 /** 022 * The persistence interface for the journal article service. 023 * 024 * <p> 025 * Never modify this interface directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this interface. 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see JournalArticlePersistenceImpl 030 * @see JournalArticleUtil 031 * @generated 032 */ 033 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 034 /** 035 * Caches the journal article in the entity cache if it is enabled. 036 * 037 * @param journalArticle the journal article to cache 038 */ 039 public void cacheResult( 040 com.liferay.portlet.journal.model.JournalArticle journalArticle); 041 042 /** 043 * Caches the journal articles in the entity cache if it is enabled. 044 * 045 * @param journalArticles the journal articles to cache 046 */ 047 public void cacheResult( 048 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 049 050 /** 051 * Creates a new journal article with the primary key. 052 * 053 * @param id the primary key for the new journal article 054 * @return the new journal article 055 */ 056 public com.liferay.portlet.journal.model.JournalArticle create(long id); 057 058 /** 059 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 060 * 061 * @param id the primary key of the journal article to remove 062 * @return the journal article that was removed 063 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 064 * @throws SystemException if a system exception occurred 065 */ 066 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 067 throws com.liferay.portal.kernel.exception.SystemException, 068 com.liferay.portlet.journal.NoSuchArticleException; 069 070 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 071 com.liferay.portlet.journal.model.JournalArticle journalArticle, 072 boolean merge) 073 throws com.liferay.portal.kernel.exception.SystemException; 074 075 /** 076 * Finds the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 077 * 078 * @param id the primary key of the journal article to find 079 * @return the journal article 080 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 081 * @throws SystemException if a system exception occurred 082 */ 083 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 084 long id) 085 throws com.liferay.portal.kernel.exception.SystemException, 086 com.liferay.portlet.journal.NoSuchArticleException; 087 088 /** 089 * Finds the journal article with the primary key or returns <code>null</code> if it could not be found. 090 * 091 * @param id the primary key of the journal article to find 092 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 093 * @throws SystemException if a system exception occurred 094 */ 095 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 096 long id) throws com.liferay.portal.kernel.exception.SystemException; 097 098 /** 099 * Finds all the journal articles where uuid = ?. 100 * 101 * @param uuid the uuid to search with 102 * @return the matching journal articles 103 * @throws SystemException if a system exception occurred 104 */ 105 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 106 java.lang.String uuid) 107 throws com.liferay.portal.kernel.exception.SystemException; 108 109 /** 110 * Finds a range of all the journal articles where uuid = ?. 111 * 112 * <p> 113 * 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. 114 * </p> 115 * 116 * @param uuid the uuid to search with 117 * @param start the lower bound of the range of journal articles to return 118 * @param end the upper bound of the range of journal articles to return (not inclusive) 119 * @return the range of matching journal articles 120 * @throws SystemException if a system exception occurred 121 */ 122 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 123 java.lang.String uuid, int start, int end) 124 throws com.liferay.portal.kernel.exception.SystemException; 125 126 /** 127 * Finds an ordered range of all the journal articles where uuid = ?. 128 * 129 * <p> 130 * 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. 131 * </p> 132 * 133 * @param uuid the uuid to search with 134 * @param start the lower bound of the range of journal articles to return 135 * @param end the upper bound of the range of journal articles to return (not inclusive) 136 * @param orderByComparator the comparator to order the results by 137 * @return the ordered range of matching journal articles 138 * @throws SystemException if a system exception occurred 139 */ 140 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 141 java.lang.String uuid, int start, int end, 142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 143 throws com.liferay.portal.kernel.exception.SystemException; 144 145 /** 146 * Finds the first journal article in the ordered set where uuid = ?. 147 * 148 * <p> 149 * 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. 150 * </p> 151 * 152 * @param uuid the uuid to search with 153 * @param orderByComparator the comparator to order the set by 154 * @return the first matching journal article 155 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 156 * @throws SystemException if a system exception occurred 157 */ 158 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 159 java.lang.String uuid, 160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 161 throws com.liferay.portal.kernel.exception.SystemException, 162 com.liferay.portlet.journal.NoSuchArticleException; 163 164 /** 165 * Finds the last journal article in the ordered set where uuid = ?. 166 * 167 * <p> 168 * 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. 169 * </p> 170 * 171 * @param uuid the uuid to search with 172 * @param orderByComparator the comparator to order the set by 173 * @return the last matching journal article 174 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 175 * @throws SystemException if a system exception occurred 176 */ 177 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 178 java.lang.String uuid, 179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 180 throws com.liferay.portal.kernel.exception.SystemException, 181 com.liferay.portlet.journal.NoSuchArticleException; 182 183 /** 184 * Finds the journal articles before and after the current journal article in the ordered set where uuid = ?. 185 * 186 * <p> 187 * 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. 188 * </p> 189 * 190 * @param id the primary key of the current journal article 191 * @param uuid the uuid to search with 192 * @param orderByComparator the comparator to order the set by 193 * @return the previous, current, and next journal article 194 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 195 * @throws SystemException if a system exception occurred 196 */ 197 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 198 long id, java.lang.String uuid, 199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 200 throws com.liferay.portal.kernel.exception.SystemException, 201 com.liferay.portlet.journal.NoSuchArticleException; 202 203 /** 204 * Finds the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 205 * 206 * @param uuid the uuid to search with 207 * @param groupId the group id to search with 208 * @return the matching journal article 209 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 210 * @throws SystemException if a system exception occurred 211 */ 212 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 213 java.lang.String uuid, long groupId) 214 throws com.liferay.portal.kernel.exception.SystemException, 215 com.liferay.portlet.journal.NoSuchArticleException; 216 217 /** 218 * Finds the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 219 * 220 * @param uuid the uuid to search with 221 * @param groupId the group id to search with 222 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 223 * @throws SystemException if a system exception occurred 224 */ 225 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 226 java.lang.String uuid, long groupId) 227 throws com.liferay.portal.kernel.exception.SystemException; 228 229 /** 230 * Finds the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 231 * 232 * @param uuid the uuid to search with 233 * @param groupId the group id to search with 234 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 235 * @throws SystemException if a system exception occurred 236 */ 237 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 238 java.lang.String uuid, long groupId, boolean retrieveFromCache) 239 throws com.liferay.portal.kernel.exception.SystemException; 240 241 /** 242 * Finds all the journal articles where resourcePrimKey = ?. 243 * 244 * @param resourcePrimKey the resource prim key to search with 245 * @return the matching journal articles 246 * @throws SystemException if a system exception occurred 247 */ 248 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 249 long resourcePrimKey) 250 throws com.liferay.portal.kernel.exception.SystemException; 251 252 /** 253 * Finds a range of all the journal articles where resourcePrimKey = ?. 254 * 255 * <p> 256 * 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. 257 * </p> 258 * 259 * @param resourcePrimKey the resource prim key to search with 260 * @param start the lower bound of the range of journal articles to return 261 * @param end the upper bound of the range of journal articles to return (not inclusive) 262 * @return the range of matching journal articles 263 * @throws SystemException if a system exception occurred 264 */ 265 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 266 long resourcePrimKey, int start, int end) 267 throws com.liferay.portal.kernel.exception.SystemException; 268 269 /** 270 * Finds an ordered range of all the journal articles where resourcePrimKey = ?. 271 * 272 * <p> 273 * 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. 274 * </p> 275 * 276 * @param resourcePrimKey the resource prim key to search with 277 * @param start the lower bound of the range of journal articles to return 278 * @param end the upper bound of the range of journal articles to return (not inclusive) 279 * @param orderByComparator the comparator to order the results by 280 * @return the ordered range of matching journal articles 281 * @throws SystemException if a system exception occurred 282 */ 283 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 284 long resourcePrimKey, int start, int end, 285 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 286 throws com.liferay.portal.kernel.exception.SystemException; 287 288 /** 289 * Finds the first journal article in the ordered set where resourcePrimKey = ?. 290 * 291 * <p> 292 * 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. 293 * </p> 294 * 295 * @param resourcePrimKey the resource prim key to search with 296 * @param orderByComparator the comparator to order the set by 297 * @return the first matching journal article 298 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 299 * @throws SystemException if a system exception occurred 300 */ 301 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 302 long resourcePrimKey, 303 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 304 throws com.liferay.portal.kernel.exception.SystemException, 305 com.liferay.portlet.journal.NoSuchArticleException; 306 307 /** 308 * Finds the last journal article in the ordered set where resourcePrimKey = ?. 309 * 310 * <p> 311 * 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. 312 * </p> 313 * 314 * @param resourcePrimKey the resource prim key to search with 315 * @param orderByComparator the comparator to order the set by 316 * @return the last matching journal article 317 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 318 * @throws SystemException if a system exception occurred 319 */ 320 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 321 long resourcePrimKey, 322 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 323 throws com.liferay.portal.kernel.exception.SystemException, 324 com.liferay.portlet.journal.NoSuchArticleException; 325 326 /** 327 * Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 328 * 329 * <p> 330 * 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. 331 * </p> 332 * 333 * @param id the primary key of the current journal article 334 * @param resourcePrimKey the resource prim key to search with 335 * @param orderByComparator the comparator to order the set by 336 * @return the previous, current, and next journal article 337 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 338 * @throws SystemException if a system exception occurred 339 */ 340 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 341 long id, long resourcePrimKey, 342 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 343 throws com.liferay.portal.kernel.exception.SystemException, 344 com.liferay.portlet.journal.NoSuchArticleException; 345 346 /** 347 * Finds all the journal articles where groupId = ?. 348 * 349 * @param groupId the group id to search with 350 * @return the matching journal articles 351 * @throws SystemException if a system exception occurred 352 */ 353 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 354 long groupId) 355 throws com.liferay.portal.kernel.exception.SystemException; 356 357 /** 358 * Finds a range of all the journal articles where groupId = ?. 359 * 360 * <p> 361 * 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. 362 * </p> 363 * 364 * @param groupId the group id to search with 365 * @param start the lower bound of the range of journal articles to return 366 * @param end the upper bound of the range of journal articles to return (not inclusive) 367 * @return the range of matching journal articles 368 * @throws SystemException if a system exception occurred 369 */ 370 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 371 long groupId, int start, int end) 372 throws com.liferay.portal.kernel.exception.SystemException; 373 374 /** 375 * Finds an ordered range of all the journal articles where groupId = ?. 376 * 377 * <p> 378 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 379 * </p> 380 * 381 * @param groupId the group id to search with 382 * @param start the lower bound of the range of journal articles to return 383 * @param end the upper bound of the range of journal articles to return (not inclusive) 384 * @param orderByComparator the comparator to order the results by 385 * @return the ordered range of matching journal articles 386 * @throws SystemException if a system exception occurred 387 */ 388 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 389 long groupId, int start, int end, 390 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 391 throws com.liferay.portal.kernel.exception.SystemException; 392 393 /** 394 * Finds the first journal article in the ordered set where groupId = ?. 395 * 396 * <p> 397 * 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. 398 * </p> 399 * 400 * @param groupId the group id to search with 401 * @param orderByComparator the comparator to order the set by 402 * @return the first matching journal article 403 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 404 * @throws SystemException if a system exception occurred 405 */ 406 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 407 long groupId, 408 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 409 throws com.liferay.portal.kernel.exception.SystemException, 410 com.liferay.portlet.journal.NoSuchArticleException; 411 412 /** 413 * Finds the last journal article in the ordered set where groupId = ?. 414 * 415 * <p> 416 * 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. 417 * </p> 418 * 419 * @param groupId the group id to search with 420 * @param orderByComparator the comparator to order the set by 421 * @return the last matching journal article 422 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 423 * @throws SystemException if a system exception occurred 424 */ 425 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 426 long groupId, 427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 428 throws com.liferay.portal.kernel.exception.SystemException, 429 com.liferay.portlet.journal.NoSuchArticleException; 430 431 /** 432 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ?. 433 * 434 * <p> 435 * 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. 436 * </p> 437 * 438 * @param id the primary key of the current journal article 439 * @param groupId the group id to search with 440 * @param orderByComparator the comparator to order the set by 441 * @return the previous, current, and next journal article 442 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 443 * @throws SystemException if a system exception occurred 444 */ 445 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 446 long id, long groupId, 447 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 448 throws com.liferay.portal.kernel.exception.SystemException, 449 com.liferay.portlet.journal.NoSuchArticleException; 450 451 /** 452 * Filters by the user's permissions and finds all the journal articles where groupId = ?. 453 * 454 * @param groupId the group id to search with 455 * @return the matching journal articles that the user has permission to view 456 * @throws SystemException if a system exception occurred 457 */ 458 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 459 long groupId) 460 throws com.liferay.portal.kernel.exception.SystemException; 461 462 /** 463 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ?. 464 * 465 * <p> 466 * 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. 467 * </p> 468 * 469 * @param groupId the group id to search with 470 * @param start the lower bound of the range of journal articles to return 471 * @param end the upper bound of the range of journal articles to return (not inclusive) 472 * @return the range of matching journal articles that the user has permission to view 473 * @throws SystemException if a system exception occurred 474 */ 475 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 476 long groupId, int start, int end) 477 throws com.liferay.portal.kernel.exception.SystemException; 478 479 /** 480 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ?. 481 * 482 * <p> 483 * 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. 484 * </p> 485 * 486 * @param groupId the group id to search with 487 * @param start the lower bound of the range of journal articles to return 488 * @param end the upper bound of the range of journal articles to return (not inclusive) 489 * @param orderByComparator the comparator to order the results by 490 * @return the ordered range of matching journal articles that the user has permission to view 491 * @throws SystemException if a system exception occurred 492 */ 493 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 494 long groupId, int start, int end, 495 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 496 throws com.liferay.portal.kernel.exception.SystemException; 497 498 /** 499 * Finds all the journal articles where companyId = ?. 500 * 501 * @param companyId the company id to search with 502 * @return the matching journal articles 503 * @throws SystemException if a system exception occurred 504 */ 505 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 506 long companyId) 507 throws com.liferay.portal.kernel.exception.SystemException; 508 509 /** 510 * Finds a range of all the journal articles where companyId = ?. 511 * 512 * <p> 513 * 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. 514 * </p> 515 * 516 * @param companyId the company id to search with 517 * @param start the lower bound of the range of journal articles to return 518 * @param end the upper bound of the range of journal articles to return (not inclusive) 519 * @return the range of matching journal articles 520 * @throws SystemException if a system exception occurred 521 */ 522 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 523 long companyId, int start, int end) 524 throws com.liferay.portal.kernel.exception.SystemException; 525 526 /** 527 * Finds an ordered range of all the journal articles where companyId = ?. 528 * 529 * <p> 530 * 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. 531 * </p> 532 * 533 * @param companyId the company id to search with 534 * @param start the lower bound of the range of journal articles to return 535 * @param end the upper bound of the range of journal articles to return (not inclusive) 536 * @param orderByComparator the comparator to order the results by 537 * @return the ordered range of matching journal articles 538 * @throws SystemException if a system exception occurred 539 */ 540 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 541 long companyId, int start, int end, 542 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 543 throws com.liferay.portal.kernel.exception.SystemException; 544 545 /** 546 * Finds the first journal article in the ordered set where companyId = ?. 547 * 548 * <p> 549 * 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. 550 * </p> 551 * 552 * @param companyId the company id to search with 553 * @param orderByComparator the comparator to order the set by 554 * @return the first matching journal article 555 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 556 * @throws SystemException if a system exception occurred 557 */ 558 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 559 long companyId, 560 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 561 throws com.liferay.portal.kernel.exception.SystemException, 562 com.liferay.portlet.journal.NoSuchArticleException; 563 564 /** 565 * Finds the last journal article in the ordered set where companyId = ?. 566 * 567 * <p> 568 * 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. 569 * </p> 570 * 571 * @param companyId the company id to search with 572 * @param orderByComparator the comparator to order the set by 573 * @return the last matching journal article 574 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 575 * @throws SystemException if a system exception occurred 576 */ 577 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 578 long companyId, 579 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 580 throws com.liferay.portal.kernel.exception.SystemException, 581 com.liferay.portlet.journal.NoSuchArticleException; 582 583 /** 584 * Finds the journal articles before and after the current journal article in the ordered set where companyId = ?. 585 * 586 * <p> 587 * 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. 588 * </p> 589 * 590 * @param id the primary key of the current journal article 591 * @param companyId the company id to search with 592 * @param orderByComparator the comparator to order the set by 593 * @return the previous, current, and next journal article 594 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 595 * @throws SystemException if a system exception occurred 596 */ 597 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 598 long id, long companyId, 599 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 600 throws com.liferay.portal.kernel.exception.SystemException, 601 com.liferay.portlet.journal.NoSuchArticleException; 602 603 /** 604 * Finds all the journal articles where smallImageId = ?. 605 * 606 * @param smallImageId the small image id to search with 607 * @return the matching journal articles 608 * @throws SystemException if a system exception occurred 609 */ 610 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 611 long smallImageId) 612 throws com.liferay.portal.kernel.exception.SystemException; 613 614 /** 615 * Finds a range of all the journal articles where smallImageId = ?. 616 * 617 * <p> 618 * 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. 619 * </p> 620 * 621 * @param smallImageId the small image id to search with 622 * @param start the lower bound of the range of journal articles to return 623 * @param end the upper bound of the range of journal articles to return (not inclusive) 624 * @return the range of matching journal articles 625 * @throws SystemException if a system exception occurred 626 */ 627 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 628 long smallImageId, int start, int end) 629 throws com.liferay.portal.kernel.exception.SystemException; 630 631 /** 632 * Finds an ordered range of all the journal articles where smallImageId = ?. 633 * 634 * <p> 635 * 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. 636 * </p> 637 * 638 * @param smallImageId the small image id to search with 639 * @param start the lower bound of the range of journal articles to return 640 * @param end the upper bound of the range of journal articles to return (not inclusive) 641 * @param orderByComparator the comparator to order the results by 642 * @return the ordered range of matching journal articles 643 * @throws SystemException if a system exception occurred 644 */ 645 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 646 long smallImageId, int start, int end, 647 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 648 throws com.liferay.portal.kernel.exception.SystemException; 649 650 /** 651 * Finds the first journal article in the ordered set where smallImageId = ?. 652 * 653 * <p> 654 * 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. 655 * </p> 656 * 657 * @param smallImageId the small image id to search with 658 * @param orderByComparator the comparator to order the set by 659 * @return the first matching journal article 660 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 661 * @throws SystemException if a system exception occurred 662 */ 663 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 664 long smallImageId, 665 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 666 throws com.liferay.portal.kernel.exception.SystemException, 667 com.liferay.portlet.journal.NoSuchArticleException; 668 669 /** 670 * Finds the last journal article in the ordered set where smallImageId = ?. 671 * 672 * <p> 673 * 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. 674 * </p> 675 * 676 * @param smallImageId the small image id to search with 677 * @param orderByComparator the comparator to order the set by 678 * @return the last matching journal article 679 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 680 * @throws SystemException if a system exception occurred 681 */ 682 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 683 long smallImageId, 684 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 685 throws com.liferay.portal.kernel.exception.SystemException, 686 com.liferay.portlet.journal.NoSuchArticleException; 687 688 /** 689 * Finds the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 690 * 691 * <p> 692 * 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. 693 * </p> 694 * 695 * @param id the primary key of the current journal article 696 * @param smallImageId the small image id to search with 697 * @param orderByComparator the comparator to order the set by 698 * @return the previous, current, and next journal article 699 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 700 * @throws SystemException if a system exception occurred 701 */ 702 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 703 long id, long smallImageId, 704 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 705 throws com.liferay.portal.kernel.exception.SystemException, 706 com.liferay.portlet.journal.NoSuchArticleException; 707 708 /** 709 * Finds all the journal articles where resourcePrimKey = ? and status = ?. 710 * 711 * @param resourcePrimKey the resource prim key to search with 712 * @param status the status to search with 713 * @return the matching journal articles 714 * @throws SystemException if a system exception occurred 715 */ 716 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 717 long resourcePrimKey, int status) 718 throws com.liferay.portal.kernel.exception.SystemException; 719 720 /** 721 * Finds a range of all the journal articles where resourcePrimKey = ? and status = ?. 722 * 723 * <p> 724 * 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. 725 * </p> 726 * 727 * @param resourcePrimKey the resource prim key to search with 728 * @param status the status to search with 729 * @param start the lower bound of the range of journal articles to return 730 * @param end the upper bound of the range of journal articles to return (not inclusive) 731 * @return the range of matching journal articles 732 * @throws SystemException if a system exception occurred 733 */ 734 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 735 long resourcePrimKey, int status, int start, int end) 736 throws com.liferay.portal.kernel.exception.SystemException; 737 738 /** 739 * Finds an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 740 * 741 * <p> 742 * 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. 743 * </p> 744 * 745 * @param resourcePrimKey the resource prim key to search with 746 * @param status the status to search with 747 * @param start the lower bound of the range of journal articles to return 748 * @param end the upper bound of the range of journal articles to return (not inclusive) 749 * @param orderByComparator the comparator to order the results by 750 * @return the ordered range of matching journal articles 751 * @throws SystemException if a system exception occurred 752 */ 753 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 754 long resourcePrimKey, int status, int start, int end, 755 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 756 throws com.liferay.portal.kernel.exception.SystemException; 757 758 /** 759 * Finds the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 760 * 761 * <p> 762 * 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. 763 * </p> 764 * 765 * @param resourcePrimKey the resource prim key to search with 766 * @param status the status to search with 767 * @param orderByComparator the comparator to order the set by 768 * @return the first matching journal article 769 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 770 * @throws SystemException if a system exception occurred 771 */ 772 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 773 long resourcePrimKey, int status, 774 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 775 throws com.liferay.portal.kernel.exception.SystemException, 776 com.liferay.portlet.journal.NoSuchArticleException; 777 778 /** 779 * Finds the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 780 * 781 * <p> 782 * 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. 783 * </p> 784 * 785 * @param resourcePrimKey the resource prim key to search with 786 * @param status the status to search with 787 * @param orderByComparator the comparator to order the set by 788 * @return the last matching journal article 789 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 790 * @throws SystemException if a system exception occurred 791 */ 792 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 793 long resourcePrimKey, int status, 794 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 795 throws com.liferay.portal.kernel.exception.SystemException, 796 com.liferay.portlet.journal.NoSuchArticleException; 797 798 /** 799 * Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 800 * 801 * <p> 802 * 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. 803 * </p> 804 * 805 * @param id the primary key of the current journal article 806 * @param resourcePrimKey the resource prim key to search with 807 * @param status the status to search with 808 * @param orderByComparator the comparator to order the set by 809 * @return the previous, current, and next journal article 810 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 811 * @throws SystemException if a system exception occurred 812 */ 813 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 814 long id, long resourcePrimKey, int status, 815 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 816 throws com.liferay.portal.kernel.exception.SystemException, 817 com.liferay.portlet.journal.NoSuchArticleException; 818 819 /** 820 * Finds all the journal articles where groupId = ? and articleId = ?. 821 * 822 * @param groupId the group id to search with 823 * @param articleId the article id to search with 824 * @return the matching journal articles 825 * @throws SystemException if a system exception occurred 826 */ 827 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 828 long groupId, java.lang.String articleId) 829 throws com.liferay.portal.kernel.exception.SystemException; 830 831 /** 832 * Finds a range of all the journal articles where groupId = ? and articleId = ?. 833 * 834 * <p> 835 * 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. 836 * </p> 837 * 838 * @param groupId the group id to search with 839 * @param articleId the article id to search with 840 * @param start the lower bound of the range of journal articles to return 841 * @param end the upper bound of the range of journal articles to return (not inclusive) 842 * @return the range of matching journal articles 843 * @throws SystemException if a system exception occurred 844 */ 845 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 846 long groupId, java.lang.String articleId, int start, int end) 847 throws com.liferay.portal.kernel.exception.SystemException; 848 849 /** 850 * Finds an ordered range of all the journal articles where groupId = ? and articleId = ?. 851 * 852 * <p> 853 * 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. 854 * </p> 855 * 856 * @param groupId the group id to search with 857 * @param articleId the article id to search with 858 * @param start the lower bound of the range of journal articles to return 859 * @param end the upper bound of the range of journal articles to return (not inclusive) 860 * @param orderByComparator the comparator to order the results by 861 * @return the ordered range of matching journal articles 862 * @throws SystemException if a system exception occurred 863 */ 864 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 865 long groupId, java.lang.String articleId, int start, int end, 866 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * Finds the first journal article in the ordered set where groupId = ? and articleId = ?. 871 * 872 * <p> 873 * 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. 874 * </p> 875 * 876 * @param groupId the group id to search with 877 * @param articleId the article id to search with 878 * @param orderByComparator the comparator to order the set by 879 * @return the first matching journal article 880 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 881 * @throws SystemException if a system exception occurred 882 */ 883 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 884 long groupId, java.lang.String articleId, 885 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 886 throws com.liferay.portal.kernel.exception.SystemException, 887 com.liferay.portlet.journal.NoSuchArticleException; 888 889 /** 890 * Finds the last journal article in the ordered set where groupId = ? and articleId = ?. 891 * 892 * <p> 893 * 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. 894 * </p> 895 * 896 * @param groupId the group id to search with 897 * @param articleId the article id to search with 898 * @param orderByComparator the comparator to order the set by 899 * @return the last matching journal article 900 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 901 * @throws SystemException if a system exception occurred 902 */ 903 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 904 long groupId, java.lang.String articleId, 905 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 906 throws com.liferay.portal.kernel.exception.SystemException, 907 com.liferay.portlet.journal.NoSuchArticleException; 908 909 /** 910 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 911 * 912 * <p> 913 * 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. 914 * </p> 915 * 916 * @param id the primary key of the current journal article 917 * @param groupId the group id to search with 918 * @param articleId the article id to search with 919 * @param orderByComparator the comparator to order the set by 920 * @return the previous, current, and next journal article 921 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 922 * @throws SystemException if a system exception occurred 923 */ 924 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 925 long id, long groupId, java.lang.String articleId, 926 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 927 throws com.liferay.portal.kernel.exception.SystemException, 928 com.liferay.portlet.journal.NoSuchArticleException; 929 930 /** 931 * Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?. 932 * 933 * @param groupId the group id to search with 934 * @param articleId the article id to search with 935 * @return the matching journal articles that the user has permission to view 936 * @throws SystemException if a system exception occurred 937 */ 938 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 939 long groupId, java.lang.String articleId) 940 throws com.liferay.portal.kernel.exception.SystemException; 941 942 /** 943 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ?. 944 * 945 * <p> 946 * 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. 947 * </p> 948 * 949 * @param groupId the group id to search with 950 * @param articleId the article id to search with 951 * @param start the lower bound of the range of journal articles to return 952 * @param end the upper bound of the range of journal articles to return (not inclusive) 953 * @return the range of matching journal articles that the user has permission to view 954 * @throws SystemException if a system exception occurred 955 */ 956 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 957 long groupId, java.lang.String articleId, int start, int end) 958 throws com.liferay.portal.kernel.exception.SystemException; 959 960 /** 961 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ?. 962 * 963 * <p> 964 * 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. 965 * </p> 966 * 967 * @param groupId the group id to search with 968 * @param articleId the article id to search with 969 * @param start the lower bound of the range of journal articles to return 970 * @param end the upper bound of the range of journal articles to return (not inclusive) 971 * @param orderByComparator the comparator to order the results by 972 * @return the ordered range of matching journal articles that the user has permission to view 973 * @throws SystemException if a system exception occurred 974 */ 975 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 976 long groupId, java.lang.String articleId, int start, int end, 977 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 978 throws com.liferay.portal.kernel.exception.SystemException; 979 980 /** 981 * Finds all the journal articles where groupId = ? and structureId = ?. 982 * 983 * @param groupId the group id to search with 984 * @param structureId the structure id to search with 985 * @return the matching journal articles 986 * @throws SystemException if a system exception occurred 987 */ 988 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 989 long groupId, java.lang.String structureId) 990 throws com.liferay.portal.kernel.exception.SystemException; 991 992 /** 993 * Finds a range of all the journal articles where groupId = ? and structureId = ?. 994 * 995 * <p> 996 * 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. 997 * </p> 998 * 999 * @param groupId the group id to search with 1000 * @param structureId the structure id to search with 1001 * @param start the lower bound of the range of journal articles to return 1002 * @param end the upper bound of the range of journal articles to return (not inclusive) 1003 * @return the range of matching journal articles 1004 * @throws SystemException if a system exception occurred 1005 */ 1006 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1007 long groupId, java.lang.String structureId, int start, int end) 1008 throws com.liferay.portal.kernel.exception.SystemException; 1009 1010 /** 1011 * Finds an ordered range of all the journal articles where groupId = ? and structureId = ?. 1012 * 1013 * <p> 1014 * 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. 1015 * </p> 1016 * 1017 * @param groupId the group id to search with 1018 * @param structureId the structure id to search with 1019 * @param start the lower bound of the range of journal articles to return 1020 * @param end the upper bound of the range of journal articles to return (not inclusive) 1021 * @param orderByComparator the comparator to order the results by 1022 * @return the ordered range of matching journal articles 1023 * @throws SystemException if a system exception occurred 1024 */ 1025 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1026 long groupId, java.lang.String structureId, int start, int end, 1027 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1028 throws com.liferay.portal.kernel.exception.SystemException; 1029 1030 /** 1031 * Finds the first journal article in the ordered set where groupId = ? and structureId = ?. 1032 * 1033 * <p> 1034 * 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. 1035 * </p> 1036 * 1037 * @param groupId the group id to search with 1038 * @param structureId the structure id to search with 1039 * @param orderByComparator the comparator to order the set by 1040 * @return the first matching journal article 1041 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1042 * @throws SystemException if a system exception occurred 1043 */ 1044 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 1045 long groupId, java.lang.String structureId, 1046 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1047 throws com.liferay.portal.kernel.exception.SystemException, 1048 com.liferay.portlet.journal.NoSuchArticleException; 1049 1050 /** 1051 * Finds the last journal article in the ordered set where groupId = ? and structureId = ?. 1052 * 1053 * <p> 1054 * 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. 1055 * </p> 1056 * 1057 * @param groupId the group id to search with 1058 * @param structureId the structure id to search with 1059 * @param orderByComparator the comparator to order the set by 1060 * @return the last matching journal article 1061 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1062 * @throws SystemException if a system exception occurred 1063 */ 1064 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 1065 long groupId, java.lang.String structureId, 1066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1067 throws com.liferay.portal.kernel.exception.SystemException, 1068 com.liferay.portlet.journal.NoSuchArticleException; 1069 1070 /** 1071 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 1072 * 1073 * <p> 1074 * 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. 1075 * </p> 1076 * 1077 * @param id the primary key of the current journal article 1078 * @param groupId the group id to search with 1079 * @param structureId the structure id to search with 1080 * @param orderByComparator the comparator to order the set by 1081 * @return the previous, current, and next journal article 1082 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1083 * @throws SystemException if a system exception occurred 1084 */ 1085 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 1086 long id, long groupId, java.lang.String structureId, 1087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1088 throws com.liferay.portal.kernel.exception.SystemException, 1089 com.liferay.portlet.journal.NoSuchArticleException; 1090 1091 /** 1092 * Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?. 1093 * 1094 * @param groupId the group id to search with 1095 * @param structureId the structure id to search with 1096 * @return the matching journal articles that the user has permission to view 1097 * @throws SystemException if a system exception occurred 1098 */ 1099 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1100 long groupId, java.lang.String structureId) 1101 throws com.liferay.portal.kernel.exception.SystemException; 1102 1103 /** 1104 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and structureId = ?. 1105 * 1106 * <p> 1107 * 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. 1108 * </p> 1109 * 1110 * @param groupId the group id to search with 1111 * @param structureId the structure id to search with 1112 * @param start the lower bound of the range of journal articles to return 1113 * @param end the upper bound of the range of journal articles to return (not inclusive) 1114 * @return the range of matching journal articles that the user has permission to view 1115 * @throws SystemException if a system exception occurred 1116 */ 1117 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1118 long groupId, java.lang.String structureId, int start, int end) 1119 throws com.liferay.portal.kernel.exception.SystemException; 1120 1121 /** 1122 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and structureId = ?. 1123 * 1124 * <p> 1125 * 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. 1126 * </p> 1127 * 1128 * @param groupId the group id to search with 1129 * @param structureId the structure id to search with 1130 * @param start the lower bound of the range of journal articles to return 1131 * @param end the upper bound of the range of journal articles to return (not inclusive) 1132 * @param orderByComparator the comparator to order the results by 1133 * @return the ordered range of matching journal articles that the user has permission to view 1134 * @throws SystemException if a system exception occurred 1135 */ 1136 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1137 long groupId, java.lang.String structureId, int start, int end, 1138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1139 throws com.liferay.portal.kernel.exception.SystemException; 1140 1141 /** 1142 * Finds all the journal articles where groupId = ? and templateId = ?. 1143 * 1144 * @param groupId the group id to search with 1145 * @param templateId the template id to search with 1146 * @return the matching journal articles 1147 * @throws SystemException if a system exception occurred 1148 */ 1149 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1150 long groupId, java.lang.String templateId) 1151 throws com.liferay.portal.kernel.exception.SystemException; 1152 1153 /** 1154 * Finds a range of all the journal articles where groupId = ? and templateId = ?. 1155 * 1156 * <p> 1157 * 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. 1158 * </p> 1159 * 1160 * @param groupId the group id to search with 1161 * @param templateId the template id to search with 1162 * @param start the lower bound of the range of journal articles to return 1163 * @param end the upper bound of the range of journal articles to return (not inclusive) 1164 * @return the range of matching journal articles 1165 * @throws SystemException if a system exception occurred 1166 */ 1167 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1168 long groupId, java.lang.String templateId, int start, int end) 1169 throws com.liferay.portal.kernel.exception.SystemException; 1170 1171 /** 1172 * Finds an ordered range of all the journal articles where groupId = ? and templateId = ?. 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 groupId the group id to search with 1179 * @param templateId the template id to search with 1180 * @param start the lower bound of the range of journal articles to return 1181 * @param end the upper bound of the range of journal articles to return (not inclusive) 1182 * @param orderByComparator the comparator to order the results by 1183 * @return the ordered range of matching journal articles 1184 * @throws SystemException if a system exception occurred 1185 */ 1186 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1187 long groupId, java.lang.String templateId, int start, int end, 1188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1189 throws com.liferay.portal.kernel.exception.SystemException; 1190 1191 /** 1192 * Finds the first journal article in the ordered set where groupId = ? and templateId = ?. 1193 * 1194 * <p> 1195 * 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. 1196 * </p> 1197 * 1198 * @param groupId the group id to search with 1199 * @param templateId the template id to search with 1200 * @param orderByComparator the comparator to order the set by 1201 * @return the first matching journal article 1202 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1203 * @throws SystemException if a system exception occurred 1204 */ 1205 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 1206 long groupId, java.lang.String templateId, 1207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1208 throws com.liferay.portal.kernel.exception.SystemException, 1209 com.liferay.portlet.journal.NoSuchArticleException; 1210 1211 /** 1212 * Finds the last journal article in the ordered set where groupId = ? and templateId = ?. 1213 * 1214 * <p> 1215 * 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. 1216 * </p> 1217 * 1218 * @param groupId the group id to search with 1219 * @param templateId the template id to search with 1220 * @param orderByComparator the comparator to order the set by 1221 * @return the last matching journal article 1222 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1223 * @throws SystemException if a system exception occurred 1224 */ 1225 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 1226 long groupId, java.lang.String templateId, 1227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1228 throws com.liferay.portal.kernel.exception.SystemException, 1229 com.liferay.portlet.journal.NoSuchArticleException; 1230 1231 /** 1232 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 1233 * 1234 * <p> 1235 * 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. 1236 * </p> 1237 * 1238 * @param id the primary key of the current journal article 1239 * @param groupId the group id to search with 1240 * @param templateId the template id to search with 1241 * @param orderByComparator the comparator to order the set by 1242 * @return the previous, current, and next journal article 1243 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1244 * @throws SystemException if a system exception occurred 1245 */ 1246 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 1247 long id, long groupId, java.lang.String templateId, 1248 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1249 throws com.liferay.portal.kernel.exception.SystemException, 1250 com.liferay.portlet.journal.NoSuchArticleException; 1251 1252 /** 1253 * Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?. 1254 * 1255 * @param groupId the group id to search with 1256 * @param templateId the template id to search with 1257 * @return the matching journal articles that the user has permission to view 1258 * @throws SystemException if a system exception occurred 1259 */ 1260 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1261 long groupId, java.lang.String templateId) 1262 throws com.liferay.portal.kernel.exception.SystemException; 1263 1264 /** 1265 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and templateId = ?. 1266 * 1267 * <p> 1268 * 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. 1269 * </p> 1270 * 1271 * @param groupId the group id to search with 1272 * @param templateId the template id to search with 1273 * @param start the lower bound of the range of journal articles to return 1274 * @param end the upper bound of the range of journal articles to return (not inclusive) 1275 * @return the range of matching journal articles that the user has permission to view 1276 * @throws SystemException if a system exception occurred 1277 */ 1278 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1279 long groupId, java.lang.String templateId, int start, int end) 1280 throws com.liferay.portal.kernel.exception.SystemException; 1281 1282 /** 1283 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and templateId = ?. 1284 * 1285 * <p> 1286 * 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. 1287 * </p> 1288 * 1289 * @param groupId the group id to search with 1290 * @param templateId the template id to search with 1291 * @param start the lower bound of the range of journal articles to return 1292 * @param end the upper bound of the range of journal articles to return (not inclusive) 1293 * @param orderByComparator the comparator to order the results by 1294 * @return the ordered range of matching journal articles that the user has permission to view 1295 * @throws SystemException if a system exception occurred 1296 */ 1297 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1298 long groupId, java.lang.String templateId, int start, int end, 1299 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1300 throws com.liferay.portal.kernel.exception.SystemException; 1301 1302 /** 1303 * Finds all the journal articles where groupId = ? and urlTitle = ?. 1304 * 1305 * @param groupId the group id to search with 1306 * @param urlTitle the url title to search with 1307 * @return the matching journal articles 1308 * @throws SystemException if a system exception occurred 1309 */ 1310 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1311 long groupId, java.lang.String urlTitle) 1312 throws com.liferay.portal.kernel.exception.SystemException; 1313 1314 /** 1315 * Finds a range of all the journal articles where groupId = ? and urlTitle = ?. 1316 * 1317 * <p> 1318 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1319 * </p> 1320 * 1321 * @param groupId the group id to search with 1322 * @param urlTitle the url title to search with 1323 * @param start the lower bound of the range of journal articles to return 1324 * @param end the upper bound of the range of journal articles to return (not inclusive) 1325 * @return the range of matching journal articles 1326 * @throws SystemException if a system exception occurred 1327 */ 1328 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1329 long groupId, java.lang.String urlTitle, int start, int end) 1330 throws com.liferay.portal.kernel.exception.SystemException; 1331 1332 /** 1333 * Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 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 groupId the group id to search with 1340 * @param urlTitle the url title to search with 1341 * @param start the lower bound of the range of journal articles to return 1342 * @param end the upper bound of the range of journal articles to return (not inclusive) 1343 * @param orderByComparator the comparator to order the results by 1344 * @return the ordered range of matching journal articles 1345 * @throws SystemException if a system exception occurred 1346 */ 1347 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1348 long groupId, java.lang.String urlTitle, int start, int end, 1349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1350 throws com.liferay.portal.kernel.exception.SystemException; 1351 1352 /** 1353 * Finds the first journal article in the ordered set where groupId = ? and urlTitle = ?. 1354 * 1355 * <p> 1356 * 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. 1357 * </p> 1358 * 1359 * @param groupId the group id to search with 1360 * @param urlTitle the url title to search with 1361 * @param orderByComparator the comparator to order the set by 1362 * @return the first matching journal article 1363 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1364 * @throws SystemException if a system exception occurred 1365 */ 1366 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 1367 long groupId, java.lang.String urlTitle, 1368 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1369 throws com.liferay.portal.kernel.exception.SystemException, 1370 com.liferay.portlet.journal.NoSuchArticleException; 1371 1372 /** 1373 * Finds the last journal article in the ordered set where groupId = ? and urlTitle = ?. 1374 * 1375 * <p> 1376 * 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. 1377 * </p> 1378 * 1379 * @param groupId the group id to search with 1380 * @param urlTitle the url title to search with 1381 * @param orderByComparator the comparator to order the set by 1382 * @return the last matching journal article 1383 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1384 * @throws SystemException if a system exception occurred 1385 */ 1386 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 1387 long groupId, java.lang.String urlTitle, 1388 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1389 throws com.liferay.portal.kernel.exception.SystemException, 1390 com.liferay.portlet.journal.NoSuchArticleException; 1391 1392 /** 1393 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 1394 * 1395 * <p> 1396 * 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. 1397 * </p> 1398 * 1399 * @param id the primary key of the current journal article 1400 * @param groupId the group id to search with 1401 * @param urlTitle the url title to search with 1402 * @param orderByComparator the comparator to order the set by 1403 * @return the previous, current, and next journal article 1404 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1405 * @throws SystemException if a system exception occurred 1406 */ 1407 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 1408 long id, long groupId, java.lang.String urlTitle, 1409 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1410 throws com.liferay.portal.kernel.exception.SystemException, 1411 com.liferay.portlet.journal.NoSuchArticleException; 1412 1413 /** 1414 * Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?. 1415 * 1416 * @param groupId the group id to search with 1417 * @param urlTitle the url title to search with 1418 * @return the matching journal articles that the user has permission to view 1419 * @throws SystemException if a system exception occurred 1420 */ 1421 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1422 long groupId, java.lang.String urlTitle) 1423 throws com.liferay.portal.kernel.exception.SystemException; 1424 1425 /** 1426 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ?. 1427 * 1428 * <p> 1429 * 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. 1430 * </p> 1431 * 1432 * @param groupId the group id to search with 1433 * @param urlTitle the url title to search with 1434 * @param start the lower bound of the range of journal articles to return 1435 * @param end the upper bound of the range of journal articles to return (not inclusive) 1436 * @return the range of matching journal articles that the user has permission to view 1437 * @throws SystemException if a system exception occurred 1438 */ 1439 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1440 long groupId, java.lang.String urlTitle, int start, int end) 1441 throws com.liferay.portal.kernel.exception.SystemException; 1442 1443 /** 1444 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 1445 * 1446 * <p> 1447 * 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. 1448 * </p> 1449 * 1450 * @param groupId the group id to search with 1451 * @param urlTitle the url title to search with 1452 * @param start the lower bound of the range of journal articles to return 1453 * @param end the upper bound of the range of journal articles to return (not inclusive) 1454 * @param orderByComparator the comparator to order the results by 1455 * @return the ordered range of matching journal articles that the user has permission to view 1456 * @throws SystemException if a system exception occurred 1457 */ 1458 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1459 long groupId, java.lang.String urlTitle, int start, int end, 1460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1461 throws com.liferay.portal.kernel.exception.SystemException; 1462 1463 /** 1464 * Finds all the journal articles where groupId = ? and status = ?. 1465 * 1466 * @param groupId the group id to search with 1467 * @param status the status to search with 1468 * @return the matching journal articles 1469 * @throws SystemException if a system exception occurred 1470 */ 1471 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1472 long groupId, int status) 1473 throws com.liferay.portal.kernel.exception.SystemException; 1474 1475 /** 1476 * Finds a range of all the journal articles where groupId = ? and status = ?. 1477 * 1478 * <p> 1479 * 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. 1480 * </p> 1481 * 1482 * @param groupId the group id to search with 1483 * @param status the status to search with 1484 * @param start the lower bound of the range of journal articles to return 1485 * @param end the upper bound of the range of journal articles to return (not inclusive) 1486 * @return the range of matching journal articles 1487 * @throws SystemException if a system exception occurred 1488 */ 1489 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1490 long groupId, int status, int start, int end) 1491 throws com.liferay.portal.kernel.exception.SystemException; 1492 1493 /** 1494 * Finds an ordered range of all the journal articles where groupId = ? and status = ?. 1495 * 1496 * <p> 1497 * 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. 1498 * </p> 1499 * 1500 * @param groupId the group id to search with 1501 * @param status the status to search with 1502 * @param start the lower bound of the range of journal articles to return 1503 * @param end the upper bound of the range of journal articles to return (not inclusive) 1504 * @param orderByComparator the comparator to order the results by 1505 * @return the ordered range of matching journal articles 1506 * @throws SystemException if a system exception occurred 1507 */ 1508 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1509 long groupId, int status, int start, int end, 1510 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1511 throws com.liferay.portal.kernel.exception.SystemException; 1512 1513 /** 1514 * Finds the first journal article in the ordered set where groupId = ? and status = ?. 1515 * 1516 * <p> 1517 * 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. 1518 * </p> 1519 * 1520 * @param groupId the group id to search with 1521 * @param status the status to search with 1522 * @param orderByComparator the comparator to order the set by 1523 * @return the first matching journal article 1524 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1525 * @throws SystemException if a system exception occurred 1526 */ 1527 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 1528 long groupId, int status, 1529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1530 throws com.liferay.portal.kernel.exception.SystemException, 1531 com.liferay.portlet.journal.NoSuchArticleException; 1532 1533 /** 1534 * Finds the last journal article in the ordered set where groupId = ? and status = ?. 1535 * 1536 * <p> 1537 * 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. 1538 * </p> 1539 * 1540 * @param groupId the group id to search with 1541 * @param status the status to search with 1542 * @param orderByComparator the comparator to order the set by 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 com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 1548 long groupId, 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 1553 /** 1554 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 1555 * 1556 * <p> 1557 * 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. 1558 * </p> 1559 * 1560 * @param id the primary key of the current journal article 1561 * @param groupId the group id to search with 1562 * @param status the status to search with 1563 * @param orderByComparator the comparator to order the set by 1564 * @return the previous, current, and next journal article 1565 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1566 * @throws SystemException if a system exception occurred 1567 */ 1568 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 1569 long id, long groupId, int status, 1570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1571 throws com.liferay.portal.kernel.exception.SystemException, 1572 com.liferay.portlet.journal.NoSuchArticleException; 1573 1574 /** 1575 * Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?. 1576 * 1577 * @param groupId the group id to search with 1578 * @param status the status to search with 1579 * @return the matching journal articles that the user has permission to view 1580 * @throws SystemException if a system exception occurred 1581 */ 1582 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 1583 long groupId, int status) 1584 throws com.liferay.portal.kernel.exception.SystemException; 1585 1586 /** 1587 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and status = ?. 1588 * 1589 * <p> 1590 * 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. 1591 * </p> 1592 * 1593 * @param groupId the group id to search with 1594 * @param status the status to search with 1595 * @param start the lower bound of the range of journal articles to return 1596 * @param end the upper bound of the range of journal articles to return (not inclusive) 1597 * @return the range of matching journal articles that the user has permission to view 1598 * @throws SystemException if a system exception occurred 1599 */ 1600 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 1601 long groupId, int status, int start, int end) 1602 throws com.liferay.portal.kernel.exception.SystemException; 1603 1604 /** 1605 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and status = ?. 1606 * 1607 * <p> 1608 * 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. 1609 * </p> 1610 * 1611 * @param groupId the group id to search with 1612 * @param status the status to search with 1613 * @param start the lower bound of the range of journal articles to return 1614 * @param end the upper bound of the range of journal articles to return (not inclusive) 1615 * @param orderByComparator the comparator to order the results by 1616 * @return the ordered range of matching journal articles that the user has permission to view 1617 * @throws SystemException if a system exception occurred 1618 */ 1619 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 1620 long groupId, int status, int start, int end, 1621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1622 throws com.liferay.portal.kernel.exception.SystemException; 1623 1624 /** 1625 * Finds all the journal articles where companyId = ? and status = ?. 1626 * 1627 * @param companyId the company id to search with 1628 * @param status the status to search with 1629 * @return the matching journal articles 1630 * @throws SystemException if a system exception occurred 1631 */ 1632 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 1633 long companyId, int status) 1634 throws com.liferay.portal.kernel.exception.SystemException; 1635 1636 /** 1637 * Finds a range of all the journal articles where companyId = ? and status = ?. 1638 * 1639 * <p> 1640 * 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. 1641 * </p> 1642 * 1643 * @param companyId the company id to search with 1644 * @param status the status to search with 1645 * @param start the lower bound of the range of journal articles to return 1646 * @param end the upper bound of the range of journal articles to return (not inclusive) 1647 * @return the range of matching journal articles 1648 * @throws SystemException if a system exception occurred 1649 */ 1650 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 1651 long companyId, int status, int start, int end) 1652 throws com.liferay.portal.kernel.exception.SystemException; 1653 1654 /** 1655 * Finds an ordered range of all the journal articles where companyId = ? and status = ?. 1656 * 1657 * <p> 1658 * 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. 1659 * </p> 1660 * 1661 * @param companyId the company id to search with 1662 * @param status the status to search with 1663 * @param start the lower bound of the range of journal articles to return 1664 * @param end the upper bound of the range of journal articles to return (not inclusive) 1665 * @param orderByComparator the comparator to order the results by 1666 * @return the ordered range of matching journal articles 1667 * @throws SystemException if a system exception occurred 1668 */ 1669 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 1670 long companyId, int status, int start, int end, 1671 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1672 throws com.liferay.portal.kernel.exception.SystemException; 1673 1674 /** 1675 * Finds the first journal article in the ordered set where companyId = ? and status = ?. 1676 * 1677 * <p> 1678 * 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. 1679 * </p> 1680 * 1681 * @param companyId the company id to search with 1682 * @param status the status to search with 1683 * @param orderByComparator the comparator to order the set by 1684 * @return the first matching journal article 1685 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1686 * @throws SystemException if a system exception occurred 1687 */ 1688 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 1689 long companyId, int status, 1690 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1691 throws com.liferay.portal.kernel.exception.SystemException, 1692 com.liferay.portlet.journal.NoSuchArticleException; 1693 1694 /** 1695 * Finds the last journal article in the ordered set where companyId = ? and status = ?. 1696 * 1697 * <p> 1698 * 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. 1699 * </p> 1700 * 1701 * @param companyId the company id to search with 1702 * @param status the status to search with 1703 * @param orderByComparator the comparator to order the set by 1704 * @return the last matching journal article 1705 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1706 * @throws SystemException if a system exception occurred 1707 */ 1708 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 1709 long companyId, int status, 1710 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1711 throws com.liferay.portal.kernel.exception.SystemException, 1712 com.liferay.portlet.journal.NoSuchArticleException; 1713 1714 /** 1715 * Finds the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 1716 * 1717 * <p> 1718 * 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. 1719 * </p> 1720 * 1721 * @param id the primary key of the current journal article 1722 * @param companyId the company id to search with 1723 * @param status the status to search with 1724 * @param orderByComparator the comparator to order the set by 1725 * @return the previous, current, and next journal article 1726 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1727 * @throws SystemException if a system exception occurred 1728 */ 1729 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 1730 long id, long companyId, int status, 1731 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1732 throws com.liferay.portal.kernel.exception.SystemException, 1733 com.liferay.portlet.journal.NoSuchArticleException; 1734 1735 /** 1736 * Finds the journal article where groupId = ? and articleId = ? and version = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 1737 * 1738 * @param groupId the group id to search with 1739 * @param articleId the article id to search with 1740 * @param version the version to search with 1741 * @return the matching journal article 1742 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1743 * @throws SystemException if a system exception occurred 1744 */ 1745 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 1746 long groupId, java.lang.String articleId, double version) 1747 throws com.liferay.portal.kernel.exception.SystemException, 1748 com.liferay.portlet.journal.NoSuchArticleException; 1749 1750 /** 1751 * Finds the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1752 * 1753 * @param groupId the group id to search with 1754 * @param articleId the article id to search with 1755 * @param version the version to search with 1756 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 1757 * @throws SystemException if a system exception occurred 1758 */ 1759 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 1760 long groupId, java.lang.String articleId, double version) 1761 throws com.liferay.portal.kernel.exception.SystemException; 1762 1763 /** 1764 * Finds 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. 1765 * 1766 * @param groupId the group id to search with 1767 * @param articleId the article id to search with 1768 * @param version the version to search with 1769 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 1770 * @throws SystemException if a system exception occurred 1771 */ 1772 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 1773 long groupId, java.lang.String articleId, double version, 1774 boolean retrieveFromCache) 1775 throws com.liferay.portal.kernel.exception.SystemException; 1776 1777 /** 1778 * Finds all the journal articles where groupId = ? and articleId = ? and status = ?. 1779 * 1780 * @param groupId the group id to search with 1781 * @param articleId the article id to search with 1782 * @param status the status to search with 1783 * @return the matching journal articles 1784 * @throws SystemException if a system exception occurred 1785 */ 1786 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 1787 long groupId, java.lang.String articleId, int status) 1788 throws com.liferay.portal.kernel.exception.SystemException; 1789 1790 /** 1791 * Finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 1792 * 1793 * <p> 1794 * 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. 1795 * </p> 1796 * 1797 * @param groupId the group id to search with 1798 * @param articleId the article id to search with 1799 * @param status the status to search with 1800 * @param start the lower bound of the range of journal articles to return 1801 * @param end the upper bound of the range of journal articles to return (not inclusive) 1802 * @return the range of matching journal articles 1803 * @throws SystemException if a system exception occurred 1804 */ 1805 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 1806 long groupId, java.lang.String articleId, int status, int start, int end) 1807 throws com.liferay.portal.kernel.exception.SystemException; 1808 1809 /** 1810 * Finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 1811 * 1812 * <p> 1813 * 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. 1814 * </p> 1815 * 1816 * @param groupId the group id to search with 1817 * @param articleId the article id to search with 1818 * @param status the status to search with 1819 * @param start the lower bound of the range of journal articles to return 1820 * @param end the upper bound of the range of journal articles to return (not inclusive) 1821 * @param orderByComparator the comparator to order the results by 1822 * @return the ordered range of matching journal articles 1823 * @throws SystemException if a system exception occurred 1824 */ 1825 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 1826 long groupId, java.lang.String articleId, int status, int start, 1827 int end, 1828 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1829 throws com.liferay.portal.kernel.exception.SystemException; 1830 1831 /** 1832 * Finds the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 1833 * 1834 * <p> 1835 * 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. 1836 * </p> 1837 * 1838 * @param groupId the group id to search with 1839 * @param articleId the article id to search with 1840 * @param status the status to search with 1841 * @param orderByComparator the comparator to order the set by 1842 * @return the first matching journal article 1843 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1844 * @throws SystemException if a system exception occurred 1845 */ 1846 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 1847 long groupId, java.lang.String articleId, int status, 1848 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1849 throws com.liferay.portal.kernel.exception.SystemException, 1850 com.liferay.portlet.journal.NoSuchArticleException; 1851 1852 /** 1853 * Finds the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 1854 * 1855 * <p> 1856 * 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. 1857 * </p> 1858 * 1859 * @param groupId the group id to search with 1860 * @param articleId the article id to search with 1861 * @param status the status to search with 1862 * @param orderByComparator the comparator to order the set by 1863 * @return the last matching journal article 1864 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1865 * @throws SystemException if a system exception occurred 1866 */ 1867 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 1868 long groupId, java.lang.String articleId, int status, 1869 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1870 throws com.liferay.portal.kernel.exception.SystemException, 1871 com.liferay.portlet.journal.NoSuchArticleException; 1872 1873 /** 1874 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 1875 * 1876 * <p> 1877 * 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. 1878 * </p> 1879 * 1880 * @param id the primary key of the current journal article 1881 * @param groupId the group id to search with 1882 * @param articleId the article id to search with 1883 * @param status the status to search with 1884 * @param orderByComparator the comparator to order the set by 1885 * @return the previous, current, and next journal article 1886 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1887 * @throws SystemException if a system exception occurred 1888 */ 1889 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 1890 long id, long groupId, java.lang.String articleId, int status, 1891 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1892 throws com.liferay.portal.kernel.exception.SystemException, 1893 com.liferay.portlet.journal.NoSuchArticleException; 1894 1895 /** 1896 * Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?. 1897 * 1898 * @param groupId the group id to search with 1899 * @param articleId the article id to search with 1900 * @param status the status to search with 1901 * @return the matching journal articles that the user has permission to view 1902 * @throws SystemException if a system exception occurred 1903 */ 1904 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 1905 long groupId, java.lang.String articleId, int status) 1906 throws com.liferay.portal.kernel.exception.SystemException; 1907 1908 /** 1909 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 1910 * 1911 * <p> 1912 * 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. 1913 * </p> 1914 * 1915 * @param groupId the group id to search with 1916 * @param articleId the article id to search with 1917 * @param status the status to search with 1918 * @param start the lower bound of the range of journal articles to return 1919 * @param end the upper bound of the range of journal articles to return (not inclusive) 1920 * @return the range of matching journal articles that the user has permission to view 1921 * @throws SystemException if a system exception occurred 1922 */ 1923 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 1924 long groupId, java.lang.String articleId, int status, int start, int end) 1925 throws com.liferay.portal.kernel.exception.SystemException; 1926 1927 /** 1928 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 1929 * 1930 * <p> 1931 * 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. 1932 * </p> 1933 * 1934 * @param groupId the group id to search with 1935 * @param articleId the article id to search with 1936 * @param status the status to search with 1937 * @param start the lower bound of the range of journal articles to return 1938 * @param end the upper bound of the range of journal articles to return (not inclusive) 1939 * @param orderByComparator the comparator to order the results by 1940 * @return the ordered range of matching journal articles that the user has permission to view 1941 * @throws SystemException if a system exception occurred 1942 */ 1943 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 1944 long groupId, java.lang.String articleId, int status, int start, 1945 int end, 1946 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1947 throws com.liferay.portal.kernel.exception.SystemException; 1948 1949 /** 1950 * Finds all the journal articles where groupId = ? and urlTitle = ? and status = ?. 1951 * 1952 * @param groupId the group id to search with 1953 * @param urlTitle the url title to search with 1954 * @param status the status to search with 1955 * @return the matching journal articles 1956 * @throws SystemException if a system exception occurred 1957 */ 1958 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 1959 long groupId, java.lang.String urlTitle, int status) 1960 throws com.liferay.portal.kernel.exception.SystemException; 1961 1962 /** 1963 * Finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 1964 * 1965 * <p> 1966 * 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. 1967 * </p> 1968 * 1969 * @param groupId the group id to search with 1970 * @param urlTitle the url title to search with 1971 * @param status the status to search with 1972 * @param start the lower bound of the range of journal articles to return 1973 * @param end the upper bound of the range of journal articles to return (not inclusive) 1974 * @return the range of matching journal articles 1975 * @throws SystemException if a system exception occurred 1976 */ 1977 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 1978 long groupId, java.lang.String urlTitle, int status, int start, int end) 1979 throws com.liferay.portal.kernel.exception.SystemException; 1980 1981 /** 1982 * Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 1983 * 1984 * <p> 1985 * 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. 1986 * </p> 1987 * 1988 * @param groupId the group id to search with 1989 * @param urlTitle the url title to search with 1990 * @param status the status to search with 1991 * @param start the lower bound of the range of journal articles to return 1992 * @param end the upper bound of the range of journal articles to return (not inclusive) 1993 * @param orderByComparator the comparator to order the results by 1994 * @return the ordered range of matching journal articles 1995 * @throws SystemException if a system exception occurred 1996 */ 1997 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 1998 long groupId, java.lang.String urlTitle, int status, int start, 1999 int end, 2000 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2001 throws com.liferay.portal.kernel.exception.SystemException; 2002 2003 /** 2004 * Finds the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2005 * 2006 * <p> 2007 * 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. 2008 * </p> 2009 * 2010 * @param groupId the group id to search with 2011 * @param urlTitle the url title to search with 2012 * @param status the status to search with 2013 * @param orderByComparator the comparator to order the set by 2014 * @return the first matching journal article 2015 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2016 * @throws SystemException if a system exception occurred 2017 */ 2018 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 2019 long groupId, java.lang.String urlTitle, int status, 2020 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2021 throws com.liferay.portal.kernel.exception.SystemException, 2022 com.liferay.portlet.journal.NoSuchArticleException; 2023 2024 /** 2025 * Finds the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2026 * 2027 * <p> 2028 * 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. 2029 * </p> 2030 * 2031 * @param groupId the group id to search with 2032 * @param urlTitle the url title to search with 2033 * @param status the status to search with 2034 * @param orderByComparator the comparator to order the set by 2035 * @return the last matching journal article 2036 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2037 * @throws SystemException if a system exception occurred 2038 */ 2039 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 2040 long groupId, java.lang.String urlTitle, int status, 2041 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2042 throws com.liferay.portal.kernel.exception.SystemException, 2043 com.liferay.portlet.journal.NoSuchArticleException; 2044 2045 /** 2046 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2047 * 2048 * <p> 2049 * 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. 2050 * </p> 2051 * 2052 * @param id the primary key of the current journal article 2053 * @param groupId the group id to search with 2054 * @param urlTitle the url title to search with 2055 * @param status the status to search with 2056 * @param orderByComparator the comparator to order the set by 2057 * @return the previous, current, and next journal article 2058 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2059 * @throws SystemException if a system exception occurred 2060 */ 2061 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 2062 long id, long groupId, java.lang.String urlTitle, int status, 2063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2064 throws com.liferay.portal.kernel.exception.SystemException, 2065 com.liferay.portlet.journal.NoSuchArticleException; 2066 2067 /** 2068 * Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2069 * 2070 * @param groupId the group id to search with 2071 * @param urlTitle the url title to search with 2072 * @param status the status to search with 2073 * @return the matching journal articles that the user has permission to view 2074 * @throws SystemException if a system exception occurred 2075 */ 2076 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 2077 long groupId, java.lang.String urlTitle, int status) 2078 throws com.liferay.portal.kernel.exception.SystemException; 2079 2080 /** 2081 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2082 * 2083 * <p> 2084 * 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. 2085 * </p> 2086 * 2087 * @param groupId the group id to search with 2088 * @param urlTitle the url title to search with 2089 * @param status the status to search with 2090 * @param start the lower bound of the range of journal articles to return 2091 * @param end the upper bound of the range of journal articles to return (not inclusive) 2092 * @return the range of matching journal articles that the user has permission to view 2093 * @throws SystemException if a system exception occurred 2094 */ 2095 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 2096 long groupId, java.lang.String urlTitle, int status, int start, int end) 2097 throws com.liferay.portal.kernel.exception.SystemException; 2098 2099 /** 2100 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2101 * 2102 * <p> 2103 * 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. 2104 * </p> 2105 * 2106 * @param groupId the group id to search with 2107 * @param urlTitle the url title to search with 2108 * @param status the status to search with 2109 * @param start the lower bound of the range of journal articles to return 2110 * @param end the upper bound of the range of journal articles to return (not inclusive) 2111 * @param orderByComparator the comparator to order the results by 2112 * @return the ordered range of matching journal articles that the user has permission to view 2113 * @throws SystemException if a system exception occurred 2114 */ 2115 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 2116 long groupId, java.lang.String urlTitle, int status, int start, 2117 int end, 2118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2119 throws com.liferay.portal.kernel.exception.SystemException; 2120 2121 /** 2122 * Finds all the journal articles. 2123 * 2124 * @return the journal articles 2125 * @throws SystemException if a system exception occurred 2126 */ 2127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 2128 throws com.liferay.portal.kernel.exception.SystemException; 2129 2130 /** 2131 * Finds a range of all the journal articles. 2132 * 2133 * <p> 2134 * 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. 2135 * </p> 2136 * 2137 * @param start the lower bound of the range of journal articles to return 2138 * @param end the upper bound of the range of journal articles to return (not inclusive) 2139 * @return the range of journal articles 2140 * @throws SystemException if a system exception occurred 2141 */ 2142 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 2143 int start, int end) 2144 throws com.liferay.portal.kernel.exception.SystemException; 2145 2146 /** 2147 * Finds an ordered range of all the journal articles. 2148 * 2149 * <p> 2150 * 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. 2151 * </p> 2152 * 2153 * @param start the lower bound of the range of journal articles to return 2154 * @param end the upper bound of the range of journal articles to return (not inclusive) 2155 * @param orderByComparator the comparator to order the results by 2156 * @return the ordered range of journal articles 2157 * @throws SystemException if a system exception occurred 2158 */ 2159 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 2160 int start, int end, 2161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2162 throws com.liferay.portal.kernel.exception.SystemException; 2163 2164 /** 2165 * Removes all the journal articles where uuid = ? from the database. 2166 * 2167 * @param uuid the uuid to search with 2168 * @throws SystemException if a system exception occurred 2169 */ 2170 public void removeByUuid(java.lang.String uuid) 2171 throws com.liferay.portal.kernel.exception.SystemException; 2172 2173 /** 2174 * Removes the journal article where uuid = ? and groupId = ? from the database. 2175 * 2176 * @param uuid the uuid to search with 2177 * @param groupId the group id to search with 2178 * @throws SystemException if a system exception occurred 2179 */ 2180 public void removeByUUID_G(java.lang.String uuid, long groupId) 2181 throws com.liferay.portal.kernel.exception.SystemException, 2182 com.liferay.portlet.journal.NoSuchArticleException; 2183 2184 /** 2185 * Removes all the journal articles where resourcePrimKey = ? from the database. 2186 * 2187 * @param resourcePrimKey the resource prim key to search with 2188 * @throws SystemException if a system exception occurred 2189 */ 2190 public void removeByResourcePrimKey(long resourcePrimKey) 2191 throws com.liferay.portal.kernel.exception.SystemException; 2192 2193 /** 2194 * Removes all the journal articles where groupId = ? from the database. 2195 * 2196 * @param groupId the group id to search with 2197 * @throws SystemException if a system exception occurred 2198 */ 2199 public void removeByGroupId(long groupId) 2200 throws com.liferay.portal.kernel.exception.SystemException; 2201 2202 /** 2203 * Removes all the journal articles where companyId = ? from the database. 2204 * 2205 * @param companyId the company id to search with 2206 * @throws SystemException if a system exception occurred 2207 */ 2208 public void removeByCompanyId(long companyId) 2209 throws com.liferay.portal.kernel.exception.SystemException; 2210 2211 /** 2212 * Removes all the journal articles where smallImageId = ? from the database. 2213 * 2214 * @param smallImageId the small image id to search with 2215 * @throws SystemException if a system exception occurred 2216 */ 2217 public void removeBySmallImageId(long smallImageId) 2218 throws com.liferay.portal.kernel.exception.SystemException; 2219 2220 /** 2221 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 2222 * 2223 * @param resourcePrimKey the resource prim key to search with 2224 * @param status the status to search with 2225 * @throws SystemException if a system exception occurred 2226 */ 2227 public void removeByR_ST(long resourcePrimKey, int status) 2228 throws com.liferay.portal.kernel.exception.SystemException; 2229 2230 /** 2231 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2232 * 2233 * @param groupId the group id to search with 2234 * @param articleId the article id to search with 2235 * @throws SystemException if a system exception occurred 2236 */ 2237 public void removeByG_A(long groupId, java.lang.String articleId) 2238 throws com.liferay.portal.kernel.exception.SystemException; 2239 2240 /** 2241 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 2242 * 2243 * @param groupId the group id to search with 2244 * @param structureId the structure id to search with 2245 * @throws SystemException if a system exception occurred 2246 */ 2247 public void removeByG_S(long groupId, java.lang.String structureId) 2248 throws com.liferay.portal.kernel.exception.SystemException; 2249 2250 /** 2251 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 2252 * 2253 * @param groupId the group id to search with 2254 * @param templateId the template id to search with 2255 * @throws SystemException if a system exception occurred 2256 */ 2257 public void removeByG_T(long groupId, java.lang.String templateId) 2258 throws com.liferay.portal.kernel.exception.SystemException; 2259 2260 /** 2261 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 2262 * 2263 * @param groupId the group id to search with 2264 * @param urlTitle the url title to search with 2265 * @throws SystemException if a system exception occurred 2266 */ 2267 public void removeByG_UT(long groupId, java.lang.String urlTitle) 2268 throws com.liferay.portal.kernel.exception.SystemException; 2269 2270 /** 2271 * Removes all the journal articles where groupId = ? and status = ? from the database. 2272 * 2273 * @param groupId the group id to search with 2274 * @param status the status to search with 2275 * @throws SystemException if a system exception occurred 2276 */ 2277 public void removeByG_ST(long groupId, int status) 2278 throws com.liferay.portal.kernel.exception.SystemException; 2279 2280 /** 2281 * Removes all the journal articles where companyId = ? and status = ? from the database. 2282 * 2283 * @param companyId the company id to search with 2284 * @param status the status to search with 2285 * @throws SystemException if a system exception occurred 2286 */ 2287 public void removeByC_ST(long companyId, int status) 2288 throws com.liferay.portal.kernel.exception.SystemException; 2289 2290 /** 2291 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 2292 * 2293 * @param groupId the group id to search with 2294 * @param articleId the article id to search with 2295 * @param version the version to search with 2296 * @throws SystemException if a system exception occurred 2297 */ 2298 public void removeByG_A_V(long groupId, java.lang.String articleId, 2299 double version) 2300 throws com.liferay.portal.kernel.exception.SystemException, 2301 com.liferay.portlet.journal.NoSuchArticleException; 2302 2303 /** 2304 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 2305 * 2306 * @param groupId the group id to search with 2307 * @param articleId the article id to search with 2308 * @param status the status to search with 2309 * @throws SystemException if a system exception occurred 2310 */ 2311 public void removeByG_A_ST(long groupId, java.lang.String articleId, 2312 int status) throws com.liferay.portal.kernel.exception.SystemException; 2313 2314 /** 2315 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 2316 * 2317 * @param groupId the group id to search with 2318 * @param urlTitle the url title to search with 2319 * @param status the status to search with 2320 * @throws SystemException if a system exception occurred 2321 */ 2322 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 2323 int status) throws com.liferay.portal.kernel.exception.SystemException; 2324 2325 /** 2326 * Removes all the journal articles from the database. 2327 * 2328 * @throws SystemException if a system exception occurred 2329 */ 2330 public void removeAll() 2331 throws com.liferay.portal.kernel.exception.SystemException; 2332 2333 /** 2334 * Counts all the journal articles where uuid = ?. 2335 * 2336 * @param uuid the uuid to search with 2337 * @return the number of matching journal articles 2338 * @throws SystemException if a system exception occurred 2339 */ 2340 public int countByUuid(java.lang.String uuid) 2341 throws com.liferay.portal.kernel.exception.SystemException; 2342 2343 /** 2344 * Counts all the journal articles where uuid = ? and groupId = ?. 2345 * 2346 * @param uuid the uuid to search with 2347 * @param groupId the group id to search with 2348 * @return the number of matching journal articles 2349 * @throws SystemException if a system exception occurred 2350 */ 2351 public int countByUUID_G(java.lang.String uuid, long groupId) 2352 throws com.liferay.portal.kernel.exception.SystemException; 2353 2354 /** 2355 * Counts all the journal articles where resourcePrimKey = ?. 2356 * 2357 * @param resourcePrimKey the resource prim key to search with 2358 * @return the number of matching journal articles 2359 * @throws SystemException if a system exception occurred 2360 */ 2361 public int countByResourcePrimKey(long resourcePrimKey) 2362 throws com.liferay.portal.kernel.exception.SystemException; 2363 2364 /** 2365 * Counts all the journal articles where groupId = ?. 2366 * 2367 * @param groupId the group id to search with 2368 * @return the number of matching journal articles 2369 * @throws SystemException if a system exception occurred 2370 */ 2371 public int countByGroupId(long groupId) 2372 throws com.liferay.portal.kernel.exception.SystemException; 2373 2374 /** 2375 * Filters by the user's permissions and counts all the journal articles where groupId = ?. 2376 * 2377 * @param groupId the group id to search with 2378 * @return the number of matching journal articles that the user has permission to view 2379 * @throws SystemException if a system exception occurred 2380 */ 2381 public int filterCountByGroupId(long groupId) 2382 throws com.liferay.portal.kernel.exception.SystemException; 2383 2384 /** 2385 * Counts all the journal articles where companyId = ?. 2386 * 2387 * @param companyId the company id to search with 2388 * @return the number of matching journal articles 2389 * @throws SystemException if a system exception occurred 2390 */ 2391 public int countByCompanyId(long companyId) 2392 throws com.liferay.portal.kernel.exception.SystemException; 2393 2394 /** 2395 * Counts all the journal articles where smallImageId = ?. 2396 * 2397 * @param smallImageId the small image id to search with 2398 * @return the number of matching journal articles 2399 * @throws SystemException if a system exception occurred 2400 */ 2401 public int countBySmallImageId(long smallImageId) 2402 throws com.liferay.portal.kernel.exception.SystemException; 2403 2404 /** 2405 * Counts all the journal articles where resourcePrimKey = ? and status = ?. 2406 * 2407 * @param resourcePrimKey the resource prim key to search with 2408 * @param status the status to search with 2409 * @return the number of matching journal articles 2410 * @throws SystemException if a system exception occurred 2411 */ 2412 public int countByR_ST(long resourcePrimKey, int status) 2413 throws com.liferay.portal.kernel.exception.SystemException; 2414 2415 /** 2416 * Counts all the journal articles where groupId = ? and articleId = ?. 2417 * 2418 * @param groupId the group id to search with 2419 * @param articleId the article id to search with 2420 * @return the number of matching journal articles 2421 * @throws SystemException if a system exception occurred 2422 */ 2423 public int countByG_A(long groupId, java.lang.String articleId) 2424 throws com.liferay.portal.kernel.exception.SystemException; 2425 2426 /** 2427 * Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ?. 2428 * 2429 * @param groupId the group id to search with 2430 * @param articleId the article id to search with 2431 * @return the number of matching journal articles that the user has permission to view 2432 * @throws SystemException if a system exception occurred 2433 */ 2434 public int filterCountByG_A(long groupId, java.lang.String articleId) 2435 throws com.liferay.portal.kernel.exception.SystemException; 2436 2437 /** 2438 * Counts all the journal articles where groupId = ? and structureId = ?. 2439 * 2440 * @param groupId the group id to search with 2441 * @param structureId the structure id to search with 2442 * @return the number of matching journal articles 2443 * @throws SystemException if a system exception occurred 2444 */ 2445 public int countByG_S(long groupId, java.lang.String structureId) 2446 throws com.liferay.portal.kernel.exception.SystemException; 2447 2448 /** 2449 * Filters by the user's permissions and counts all the journal articles where groupId = ? and structureId = ?. 2450 * 2451 * @param groupId the group id to search with 2452 * @param structureId the structure id to search with 2453 * @return the number of matching journal articles that the user has permission to view 2454 * @throws SystemException if a system exception occurred 2455 */ 2456 public int filterCountByG_S(long groupId, java.lang.String structureId) 2457 throws com.liferay.portal.kernel.exception.SystemException; 2458 2459 /** 2460 * Counts all the journal articles where groupId = ? and templateId = ?. 2461 * 2462 * @param groupId the group id to search with 2463 * @param templateId the template id to search with 2464 * @return the number of matching journal articles 2465 * @throws SystemException if a system exception occurred 2466 */ 2467 public int countByG_T(long groupId, java.lang.String templateId) 2468 throws com.liferay.portal.kernel.exception.SystemException; 2469 2470 /** 2471 * Filters by the user's permissions and counts all the journal articles where groupId = ? and templateId = ?. 2472 * 2473 * @param groupId the group id to search with 2474 * @param templateId the template id to search with 2475 * @return the number of matching journal articles that the user has permission to view 2476 * @throws SystemException if a system exception occurred 2477 */ 2478 public int filterCountByG_T(long groupId, java.lang.String templateId) 2479 throws com.liferay.portal.kernel.exception.SystemException; 2480 2481 /** 2482 * Counts all the journal articles where groupId = ? and urlTitle = ?. 2483 * 2484 * @param groupId the group id to search with 2485 * @param urlTitle the url title to search with 2486 * @return the number of matching journal articles 2487 * @throws SystemException if a system exception occurred 2488 */ 2489 public int countByG_UT(long groupId, java.lang.String urlTitle) 2490 throws com.liferay.portal.kernel.exception.SystemException; 2491 2492 /** 2493 * Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ?. 2494 * 2495 * @param groupId the group id to search with 2496 * @param urlTitle the url title to search with 2497 * @return the number of matching journal articles that the user has permission to view 2498 * @throws SystemException if a system exception occurred 2499 */ 2500 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 2501 throws com.liferay.portal.kernel.exception.SystemException; 2502 2503 /** 2504 * Counts all the journal articles where groupId = ? and status = ?. 2505 * 2506 * @param groupId the group id to search with 2507 * @param status the status to search with 2508 * @return the number of matching journal articles 2509 * @throws SystemException if a system exception occurred 2510 */ 2511 public int countByG_ST(long groupId, int status) 2512 throws com.liferay.portal.kernel.exception.SystemException; 2513 2514 /** 2515 * Filters by the user's permissions and counts all the journal articles where groupId = ? and status = ?. 2516 * 2517 * @param groupId the group id to search with 2518 * @param status the status to search with 2519 * @return the number of matching journal articles that the user has permission to view 2520 * @throws SystemException if a system exception occurred 2521 */ 2522 public int filterCountByG_ST(long groupId, int status) 2523 throws com.liferay.portal.kernel.exception.SystemException; 2524 2525 /** 2526 * Counts all the journal articles where companyId = ? and status = ?. 2527 * 2528 * @param companyId the company id to search with 2529 * @param status the status to search with 2530 * @return the number of matching journal articles 2531 * @throws SystemException if a system exception occurred 2532 */ 2533 public int countByC_ST(long companyId, int status) 2534 throws com.liferay.portal.kernel.exception.SystemException; 2535 2536 /** 2537 * Counts all the journal articles where groupId = ? and articleId = ? and version = ?. 2538 * 2539 * @param groupId the group id to search with 2540 * @param articleId the article id to search with 2541 * @param version the version to search with 2542 * @return the number of matching journal articles 2543 * @throws SystemException if a system exception occurred 2544 */ 2545 public int countByG_A_V(long groupId, java.lang.String articleId, 2546 double version) 2547 throws com.liferay.portal.kernel.exception.SystemException; 2548 2549 /** 2550 * Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and version = ?. 2551 * 2552 * @param groupId the group id to search with 2553 * @param articleId the article id to search with 2554 * @param version the version to search with 2555 * @return the number of matching journal articles that the user has permission to view 2556 * @throws SystemException if a system exception occurred 2557 */ 2558 public int filterCountByG_A_V(long groupId, java.lang.String articleId, 2559 double version) 2560 throws com.liferay.portal.kernel.exception.SystemException; 2561 2562 /** 2563 * Counts all the journal articles where groupId = ? and articleId = ? and status = ?. 2564 * 2565 * @param groupId the group id to search with 2566 * @param articleId the article id to search with 2567 * @param status the status to search with 2568 * @return the number of matching journal articles 2569 * @throws SystemException if a system exception occurred 2570 */ 2571 public int countByG_A_ST(long groupId, java.lang.String articleId, 2572 int status) throws com.liferay.portal.kernel.exception.SystemException; 2573 2574 /** 2575 * Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and status = ?. 2576 * 2577 * @param groupId the group id to search with 2578 * @param articleId the article id to search with 2579 * @param status the status to search with 2580 * @return the number of matching journal articles that the user has permission to view 2581 * @throws SystemException if a system exception occurred 2582 */ 2583 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 2584 int status) throws com.liferay.portal.kernel.exception.SystemException; 2585 2586 /** 2587 * Counts all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2588 * 2589 * @param groupId the group id to search with 2590 * @param urlTitle the url title to search with 2591 * @param status the status to search with 2592 * @return the number of matching journal articles 2593 * @throws SystemException if a system exception occurred 2594 */ 2595 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 2596 int status) throws com.liferay.portal.kernel.exception.SystemException; 2597 2598 /** 2599 * Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2600 * 2601 * @param groupId the group id to search with 2602 * @param urlTitle the url title to search with 2603 * @param status the status to search with 2604 * @return the number of matching journal articles that the user has permission to view 2605 * @throws SystemException if a system exception occurred 2606 */ 2607 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 2608 int status) throws com.liferay.portal.kernel.exception.SystemException; 2609 2610 /** 2611 * Counts all the journal articles. 2612 * 2613 * @return the number of journal articles 2614 * @throws SystemException if a system exception occurred 2615 */ 2616 public int countAll() 2617 throws com.liferay.portal.kernel.exception.SystemException; 2618 }