001 /** 002 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.journal.model.JournalArticle; 020 021 /** 022 * The persistence interface for the journal article service. 023 * 024 * <p> 025 * Caching information and settings can be found in <code>portal.properties</code> 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see JournalArticlePersistenceImpl 030 * @see JournalArticleUtil 031 * @generated 032 */ 033 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the journal article in the entity cache if it is enabled. 042 * 043 * @param journalArticle the journal article 044 */ 045 public void cacheResult( 046 com.liferay.portlet.journal.model.JournalArticle journalArticle); 047 048 /** 049 * Caches the journal articles in the entity cache if it is enabled. 050 * 051 * @param journalArticles the journal articles 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 055 056 /** 057 * Creates a new journal article with the primary key. Does not add the journal article to the database. 058 * 059 * @param id the primary key for the new journal article 060 * @return the new journal article 061 */ 062 public com.liferay.portlet.journal.model.JournalArticle create(long id); 063 064 /** 065 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 066 * 067 * @param id the primary key of the journal article 068 * @return the journal article that was removed 069 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 070 * @throws SystemException if a system exception occurred 071 */ 072 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.journal.NoSuchArticleException; 075 076 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 077 com.liferay.portlet.journal.model.JournalArticle journalArticle, 078 boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 083 * 084 * @param id the primary key of the journal article 085 * @return the journal article 086 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 090 long id) 091 throws com.liferay.portal.kernel.exception.SystemException, 092 com.liferay.portlet.journal.NoSuchArticleException; 093 094 /** 095 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param id the primary key of the journal article 098 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 102 long id) throws com.liferay.portal.kernel.exception.SystemException; 103 104 /** 105 * Returns all the journal articles where uuid = ?. 106 * 107 * @param uuid the uuid 108 * @return the matching journal articles 109 * @throws SystemException if a system exception occurred 110 */ 111 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 112 java.lang.String uuid) 113 throws com.liferay.portal.kernel.exception.SystemException; 114 115 /** 116 * Returns a range of all the journal articles where uuid = ?. 117 * 118 * <p> 119 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 120 * </p> 121 * 122 * @param uuid the uuid 123 * @param start the lower bound of the range of journal articles 124 * @param end the upper bound of the range of journal articles (not inclusive) 125 * @return the range of matching journal articles 126 * @throws SystemException if a system exception occurred 127 */ 128 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 129 java.lang.String uuid, int start, int end) 130 throws com.liferay.portal.kernel.exception.SystemException; 131 132 /** 133 * Returns an ordered range of all the journal articles where uuid = ?. 134 * 135 * <p> 136 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 137 * </p> 138 * 139 * @param uuid the uuid 140 * @param start the lower bound of the range of journal articles 141 * @param end the upper bound of the range of journal articles (not inclusive) 142 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 143 * @return the ordered range of matching journal articles 144 * @throws SystemException if a system exception occurred 145 */ 146 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 147 java.lang.String uuid, int start, int end, 148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 149 throws com.liferay.portal.kernel.exception.SystemException; 150 151 /** 152 * Returns the first journal article in the ordered set where uuid = ?. 153 * 154 * <p> 155 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 156 * </p> 157 * 158 * @param uuid the uuid 159 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 160 * @return the first matching journal article 161 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 162 * @throws SystemException if a system exception occurred 163 */ 164 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 165 java.lang.String uuid, 166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 167 throws com.liferay.portal.kernel.exception.SystemException, 168 com.liferay.portlet.journal.NoSuchArticleException; 169 170 /** 171 * Returns the last journal article in the ordered set where uuid = ?. 172 * 173 * <p> 174 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 175 * </p> 176 * 177 * @param uuid the uuid 178 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 179 * @return the last matching journal article 180 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 181 * @throws SystemException if a system exception occurred 182 */ 183 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 184 java.lang.String uuid, 185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 186 throws com.liferay.portal.kernel.exception.SystemException, 187 com.liferay.portlet.journal.NoSuchArticleException; 188 189 /** 190 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 191 * 192 * <p> 193 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 194 * </p> 195 * 196 * @param id the primary key of the current journal article 197 * @param uuid the uuid 198 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 199 * @return the previous, current, and next journal article 200 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 204 long id, java.lang.String uuid, 205 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 206 throws com.liferay.portal.kernel.exception.SystemException, 207 com.liferay.portlet.journal.NoSuchArticleException; 208 209 /** 210 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 211 * 212 * @param uuid the uuid 213 * @param groupId the group ID 214 * @return the matching journal article 215 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 216 * @throws SystemException if a system exception occurred 217 */ 218 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 219 java.lang.String uuid, long groupId) 220 throws com.liferay.portal.kernel.exception.SystemException, 221 com.liferay.portlet.journal.NoSuchArticleException; 222 223 /** 224 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 225 * 226 * @param uuid the uuid 227 * @param groupId the group ID 228 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 229 * @throws SystemException if a system exception occurred 230 */ 231 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 232 java.lang.String uuid, long groupId) 233 throws com.liferay.portal.kernel.exception.SystemException; 234 235 /** 236 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 237 * 238 * @param uuid the uuid 239 * @param groupId the group ID 240 * @param retrieveFromCache whether to use the finder cache 241 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 242 * @throws SystemException if a system exception occurred 243 */ 244 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 245 java.lang.String uuid, long groupId, boolean retrieveFromCache) 246 throws com.liferay.portal.kernel.exception.SystemException; 247 248 /** 249 * Returns all the journal articles where resourcePrimKey = ?. 250 * 251 * @param resourcePrimKey the resource prim key 252 * @return the matching journal articles 253 * @throws SystemException if a system exception occurred 254 */ 255 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 256 long resourcePrimKey) 257 throws com.liferay.portal.kernel.exception.SystemException; 258 259 /** 260 * Returns a range of all the journal articles where resourcePrimKey = ?. 261 * 262 * <p> 263 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 264 * </p> 265 * 266 * @param resourcePrimKey the resource prim key 267 * @param start the lower bound of the range of journal articles 268 * @param end the upper bound of the range of journal articles (not inclusive) 269 * @return the range of matching journal articles 270 * @throws SystemException if a system exception occurred 271 */ 272 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 273 long resourcePrimKey, int start, int end) 274 throws com.liferay.portal.kernel.exception.SystemException; 275 276 /** 277 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 278 * 279 * <p> 280 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 281 * </p> 282 * 283 * @param resourcePrimKey the resource prim key 284 * @param start the lower bound of the range of journal articles 285 * @param end the upper bound of the range of journal articles (not inclusive) 286 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 287 * @return the ordered range of matching journal articles 288 * @throws SystemException if a system exception occurred 289 */ 290 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 291 long resourcePrimKey, int start, int end, 292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 293 throws com.liferay.portal.kernel.exception.SystemException; 294 295 /** 296 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 297 * 298 * <p> 299 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 300 * </p> 301 * 302 * @param resourcePrimKey the resource prim key 303 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 304 * @return the first matching journal article 305 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 306 * @throws SystemException if a system exception occurred 307 */ 308 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 309 long resourcePrimKey, 310 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 311 throws com.liferay.portal.kernel.exception.SystemException, 312 com.liferay.portlet.journal.NoSuchArticleException; 313 314 /** 315 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 316 * 317 * <p> 318 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 319 * </p> 320 * 321 * @param resourcePrimKey the resource prim key 322 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 323 * @return the last matching journal article 324 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 325 * @throws SystemException if a system exception occurred 326 */ 327 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 328 long resourcePrimKey, 329 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 330 throws com.liferay.portal.kernel.exception.SystemException, 331 com.liferay.portlet.journal.NoSuchArticleException; 332 333 /** 334 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 335 * 336 * <p> 337 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 338 * </p> 339 * 340 * @param id the primary key of the current journal article 341 * @param resourcePrimKey the resource prim key 342 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 343 * @return the previous, current, and next journal article 344 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 345 * @throws SystemException if a system exception occurred 346 */ 347 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 348 long id, long resourcePrimKey, 349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 350 throws com.liferay.portal.kernel.exception.SystemException, 351 com.liferay.portlet.journal.NoSuchArticleException; 352 353 /** 354 * Returns all the journal articles where groupId = ?. 355 * 356 * @param groupId the group ID 357 * @return the matching journal articles 358 * @throws SystemException if a system exception occurred 359 */ 360 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 361 long groupId) 362 throws com.liferay.portal.kernel.exception.SystemException; 363 364 /** 365 * Returns a range of all the journal articles where groupId = ?. 366 * 367 * <p> 368 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 369 * </p> 370 * 371 * @param groupId the group ID 372 * @param start the lower bound of the range of journal articles 373 * @param end the upper bound of the range of journal articles (not inclusive) 374 * @return the range of matching journal articles 375 * @throws SystemException if a system exception occurred 376 */ 377 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 378 long groupId, int start, int end) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Returns an ordered range of all the journal articles where groupId = ?. 383 * 384 * <p> 385 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 386 * </p> 387 * 388 * @param groupId the group ID 389 * @param start the lower bound of the range of journal articles 390 * @param end the upper bound of the range of journal articles (not inclusive) 391 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 392 * @return the ordered range of matching journal articles 393 * @throws SystemException if a system exception occurred 394 */ 395 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 396 long groupId, int start, int end, 397 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 398 throws com.liferay.portal.kernel.exception.SystemException; 399 400 /** 401 * Returns the first journal article in the ordered set where groupId = ?. 402 * 403 * <p> 404 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 405 * </p> 406 * 407 * @param groupId the group ID 408 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 409 * @return the first matching journal article 410 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 411 * @throws SystemException if a system exception occurred 412 */ 413 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 414 long groupId, 415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 416 throws com.liferay.portal.kernel.exception.SystemException, 417 com.liferay.portlet.journal.NoSuchArticleException; 418 419 /** 420 * Returns the last journal article in the ordered set where groupId = ?. 421 * 422 * <p> 423 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 424 * </p> 425 * 426 * @param groupId the group ID 427 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 428 * @return the last matching journal article 429 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 430 * @throws SystemException if a system exception occurred 431 */ 432 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 433 long groupId, 434 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 435 throws com.liferay.portal.kernel.exception.SystemException, 436 com.liferay.portlet.journal.NoSuchArticleException; 437 438 /** 439 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 440 * 441 * <p> 442 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 443 * </p> 444 * 445 * @param id the primary key of the current journal article 446 * @param groupId the group ID 447 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 448 * @return the previous, current, and next journal article 449 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 450 * @throws SystemException if a system exception occurred 451 */ 452 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 453 long id, long groupId, 454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 455 throws com.liferay.portal.kernel.exception.SystemException, 456 com.liferay.portlet.journal.NoSuchArticleException; 457 458 /** 459 * Returns all the journal articles that the user has permission to view where groupId = ?. 460 * 461 * @param groupId the group ID 462 * @return the matching journal articles that the user has permission to view 463 * @throws SystemException if a system exception occurred 464 */ 465 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 466 long groupId) 467 throws com.liferay.portal.kernel.exception.SystemException; 468 469 /** 470 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 471 * 472 * <p> 473 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 474 * </p> 475 * 476 * @param groupId the group ID 477 * @param start the lower bound of the range of journal articles 478 * @param end the upper bound of the range of journal articles (not inclusive) 479 * @return the range of matching journal articles that the user has permission to view 480 * @throws SystemException if a system exception occurred 481 */ 482 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 483 long groupId, int start, int end) 484 throws com.liferay.portal.kernel.exception.SystemException; 485 486 /** 487 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 488 * 489 * <p> 490 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 491 * </p> 492 * 493 * @param groupId the group ID 494 * @param start the lower bound of the range of journal articles 495 * @param end the upper bound of the range of journal articles (not inclusive) 496 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 497 * @return the ordered range of matching journal articles that the user has permission to view 498 * @throws SystemException if a system exception occurred 499 */ 500 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 501 long groupId, int start, int end, 502 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 503 throws com.liferay.portal.kernel.exception.SystemException; 504 505 /** 506 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?. 507 * 508 * @param id the primary key of the current journal article 509 * @param groupId the group ID 510 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 511 * @return the previous, current, and next journal article 512 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 513 * @throws SystemException if a system exception occurred 514 */ 515 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 516 long id, long groupId, 517 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 518 throws com.liferay.portal.kernel.exception.SystemException, 519 com.liferay.portlet.journal.NoSuchArticleException; 520 521 /** 522 * Returns all the journal articles where companyId = ?. 523 * 524 * @param companyId the company ID 525 * @return the matching journal articles 526 * @throws SystemException if a system exception occurred 527 */ 528 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 529 long companyId) 530 throws com.liferay.portal.kernel.exception.SystemException; 531 532 /** 533 * Returns a range of all the journal articles where companyId = ?. 534 * 535 * <p> 536 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 537 * </p> 538 * 539 * @param companyId the company ID 540 * @param start the lower bound of the range of journal articles 541 * @param end the upper bound of the range of journal articles (not inclusive) 542 * @return the range of matching journal articles 543 * @throws SystemException if a system exception occurred 544 */ 545 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 546 long companyId, int start, int end) 547 throws com.liferay.portal.kernel.exception.SystemException; 548 549 /** 550 * Returns an ordered range of all the journal articles where companyId = ?. 551 * 552 * <p> 553 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 554 * </p> 555 * 556 * @param companyId the company ID 557 * @param start the lower bound of the range of journal articles 558 * @param end the upper bound of the range of journal articles (not inclusive) 559 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 560 * @return the ordered range of matching journal articles 561 * @throws SystemException if a system exception occurred 562 */ 563 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 564 long companyId, int start, int end, 565 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 566 throws com.liferay.portal.kernel.exception.SystemException; 567 568 /** 569 * Returns the first journal article in the ordered set where companyId = ?. 570 * 571 * <p> 572 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 573 * </p> 574 * 575 * @param companyId the company ID 576 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 577 * @return the first matching journal article 578 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 579 * @throws SystemException if a system exception occurred 580 */ 581 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 582 long companyId, 583 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 584 throws com.liferay.portal.kernel.exception.SystemException, 585 com.liferay.portlet.journal.NoSuchArticleException; 586 587 /** 588 * Returns the last journal article in the ordered set where companyId = ?. 589 * 590 * <p> 591 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 592 * </p> 593 * 594 * @param companyId the company ID 595 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 596 * @return the last matching journal article 597 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 598 * @throws SystemException if a system exception occurred 599 */ 600 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 601 long companyId, 602 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 603 throws com.liferay.portal.kernel.exception.SystemException, 604 com.liferay.portlet.journal.NoSuchArticleException; 605 606 /** 607 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 608 * 609 * <p> 610 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 611 * </p> 612 * 613 * @param id the primary key of the current journal article 614 * @param companyId the company ID 615 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 616 * @return the previous, current, and next journal article 617 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 618 * @throws SystemException if a system exception occurred 619 */ 620 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 621 long id, long companyId, 622 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 623 throws com.liferay.portal.kernel.exception.SystemException, 624 com.liferay.portlet.journal.NoSuchArticleException; 625 626 /** 627 * Returns all the journal articles where structureId = ?. 628 * 629 * @param structureId the structure ID 630 * @return the matching journal articles 631 * @throws SystemException if a system exception occurred 632 */ 633 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 634 java.lang.String structureId) 635 throws com.liferay.portal.kernel.exception.SystemException; 636 637 /** 638 * Returns a range of all the journal articles where structureId = ?. 639 * 640 * <p> 641 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 642 * </p> 643 * 644 * @param structureId the structure ID 645 * @param start the lower bound of the range of journal articles 646 * @param end the upper bound of the range of journal articles (not inclusive) 647 * @return the range of matching journal articles 648 * @throws SystemException if a system exception occurred 649 */ 650 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 651 java.lang.String structureId, int start, int end) 652 throws com.liferay.portal.kernel.exception.SystemException; 653 654 /** 655 * Returns an ordered range of all the journal articles where structureId = ?. 656 * 657 * <p> 658 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 659 * </p> 660 * 661 * @param structureId the structure ID 662 * @param start the lower bound of the range of journal articles 663 * @param end the upper bound of the range of journal articles (not inclusive) 664 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 665 * @return the ordered range of matching journal articles 666 * @throws SystemException if a system exception occurred 667 */ 668 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 669 java.lang.String structureId, int start, int end, 670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 671 throws com.liferay.portal.kernel.exception.SystemException; 672 673 /** 674 * Returns the first journal article in the ordered set where structureId = ?. 675 * 676 * <p> 677 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 678 * </p> 679 * 680 * @param structureId the structure ID 681 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 682 * @return the first matching journal article 683 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 684 * @throws SystemException if a system exception occurred 685 */ 686 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First( 687 java.lang.String structureId, 688 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 689 throws com.liferay.portal.kernel.exception.SystemException, 690 com.liferay.portlet.journal.NoSuchArticleException; 691 692 /** 693 * Returns the last journal article in the ordered set where structureId = ?. 694 * 695 * <p> 696 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 697 * </p> 698 * 699 * @param structureId the structure ID 700 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 701 * @return the last matching journal article 702 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 703 * @throws SystemException if a system exception occurred 704 */ 705 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last( 706 java.lang.String structureId, 707 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 708 throws com.liferay.portal.kernel.exception.SystemException, 709 com.liferay.portlet.journal.NoSuchArticleException; 710 711 /** 712 * Returns the journal articles before and after the current journal article in the ordered set where structureId = ?. 713 * 714 * <p> 715 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 716 * </p> 717 * 718 * @param id the primary key of the current journal article 719 * @param structureId the structure ID 720 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 721 * @return the previous, current, and next journal article 722 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 723 * @throws SystemException if a system exception occurred 724 */ 725 public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext( 726 long id, java.lang.String structureId, 727 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 728 throws com.liferay.portal.kernel.exception.SystemException, 729 com.liferay.portlet.journal.NoSuchArticleException; 730 731 /** 732 * Returns all the journal articles where templateId = ?. 733 * 734 * @param templateId the template ID 735 * @return the matching journal articles 736 * @throws SystemException if a system exception occurred 737 */ 738 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 739 java.lang.String templateId) 740 throws com.liferay.portal.kernel.exception.SystemException; 741 742 /** 743 * Returns a range of all the journal articles where templateId = ?. 744 * 745 * <p> 746 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 747 * </p> 748 * 749 * @param templateId the template ID 750 * @param start the lower bound of the range of journal articles 751 * @param end the upper bound of the range of journal articles (not inclusive) 752 * @return the range of matching journal articles 753 * @throws SystemException if a system exception occurred 754 */ 755 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 756 java.lang.String templateId, int start, int end) 757 throws com.liferay.portal.kernel.exception.SystemException; 758 759 /** 760 * Returns an ordered range of all the journal articles where templateId = ?. 761 * 762 * <p> 763 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 764 * </p> 765 * 766 * @param templateId the template ID 767 * @param start the lower bound of the range of journal articles 768 * @param end the upper bound of the range of journal articles (not inclusive) 769 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 770 * @return the ordered range of matching journal articles 771 * @throws SystemException if a system exception occurred 772 */ 773 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 774 java.lang.String templateId, int start, int end, 775 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 776 throws com.liferay.portal.kernel.exception.SystemException; 777 778 /** 779 * Returns the first journal article in the ordered set where templateId = ?. 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 templateId the template ID 786 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 787 * @return the first matching journal article 788 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 789 * @throws SystemException if a system exception occurred 790 */ 791 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 792 java.lang.String templateId, 793 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 794 throws com.liferay.portal.kernel.exception.SystemException, 795 com.liferay.portlet.journal.NoSuchArticleException; 796 797 /** 798 * Returns the last journal article in the ordered set where templateId = ?. 799 * 800 * <p> 801 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 802 * </p> 803 * 804 * @param templateId the template ID 805 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 806 * @return the last matching journal article 807 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 808 * @throws SystemException if a system exception occurred 809 */ 810 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 811 java.lang.String templateId, 812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 813 throws com.liferay.portal.kernel.exception.SystemException, 814 com.liferay.portlet.journal.NoSuchArticleException; 815 816 /** 817 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 818 * 819 * <p> 820 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 821 * </p> 822 * 823 * @param id the primary key of the current journal article 824 * @param templateId the template ID 825 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 826 * @return the previous, current, and next journal article 827 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 828 * @throws SystemException if a system exception occurred 829 */ 830 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 831 long id, java.lang.String templateId, 832 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 833 throws com.liferay.portal.kernel.exception.SystemException, 834 com.liferay.portlet.journal.NoSuchArticleException; 835 836 /** 837 * Returns all the journal articles where smallImageId = ?. 838 * 839 * @param smallImageId the small image ID 840 * @return the matching journal articles 841 * @throws SystemException if a system exception occurred 842 */ 843 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 844 long smallImageId) 845 throws com.liferay.portal.kernel.exception.SystemException; 846 847 /** 848 * Returns a range of all the journal articles where smallImageId = ?. 849 * 850 * <p> 851 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 852 * </p> 853 * 854 * @param smallImageId the small image ID 855 * @param start the lower bound of the range of journal articles 856 * @param end the upper bound of the range of journal articles (not inclusive) 857 * @return the range of matching journal articles 858 * @throws SystemException if a system exception occurred 859 */ 860 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 861 long smallImageId, int start, int end) 862 throws com.liferay.portal.kernel.exception.SystemException; 863 864 /** 865 * Returns an ordered range of all the journal articles where smallImageId = ?. 866 * 867 * <p> 868 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 869 * </p> 870 * 871 * @param smallImageId the small image ID 872 * @param start the lower bound of the range of journal articles 873 * @param end the upper bound of the range of journal articles (not inclusive) 874 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 875 * @return the ordered range of matching journal articles 876 * @throws SystemException if a system exception occurred 877 */ 878 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 879 long smallImageId, int start, int end, 880 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 881 throws com.liferay.portal.kernel.exception.SystemException; 882 883 /** 884 * Returns the first journal article in the ordered set where smallImageId = ?. 885 * 886 * <p> 887 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 888 * </p> 889 * 890 * @param smallImageId the small image ID 891 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 892 * @return the first matching journal article 893 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 894 * @throws SystemException if a system exception occurred 895 */ 896 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 897 long smallImageId, 898 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 899 throws com.liferay.portal.kernel.exception.SystemException, 900 com.liferay.portlet.journal.NoSuchArticleException; 901 902 /** 903 * Returns the last journal article in the ordered set where smallImageId = ?. 904 * 905 * <p> 906 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 907 * </p> 908 * 909 * @param smallImageId the small image ID 910 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 911 * @return the last matching journal article 912 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 913 * @throws SystemException if a system exception occurred 914 */ 915 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 916 long smallImageId, 917 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 918 throws com.liferay.portal.kernel.exception.SystemException, 919 com.liferay.portlet.journal.NoSuchArticleException; 920 921 /** 922 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 923 * 924 * <p> 925 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 926 * </p> 927 * 928 * @param id the primary key of the current journal article 929 * @param smallImageId the small image ID 930 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 931 * @return the previous, current, and next journal article 932 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 933 * @throws SystemException if a system exception occurred 934 */ 935 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 936 long id, long smallImageId, 937 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 938 throws com.liferay.portal.kernel.exception.SystemException, 939 com.liferay.portlet.journal.NoSuchArticleException; 940 941 /** 942 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 943 * 944 * @param resourcePrimKey the resource prim key 945 * @param status the status 946 * @return the matching journal articles 947 * @throws SystemException if a system exception occurred 948 */ 949 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 950 long resourcePrimKey, int status) 951 throws com.liferay.portal.kernel.exception.SystemException; 952 953 /** 954 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 955 * 956 * <p> 957 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 958 * </p> 959 * 960 * @param resourcePrimKey the resource prim key 961 * @param status the status 962 * @param start the lower bound of the range of journal articles 963 * @param end the upper bound of the range of journal articles (not inclusive) 964 * @return the range of matching journal articles 965 * @throws SystemException if a system exception occurred 966 */ 967 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 968 long resourcePrimKey, int status, int start, int end) 969 throws com.liferay.portal.kernel.exception.SystemException; 970 971 /** 972 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 973 * 974 * <p> 975 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 976 * </p> 977 * 978 * @param resourcePrimKey the resource prim key 979 * @param status the status 980 * @param start the lower bound of the range of journal articles 981 * @param end the upper bound of the range of journal articles (not inclusive) 982 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 983 * @return the ordered range of matching journal articles 984 * @throws SystemException if a system exception occurred 985 */ 986 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 987 long resourcePrimKey, int status, int start, int end, 988 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 989 throws com.liferay.portal.kernel.exception.SystemException; 990 991 /** 992 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 993 * 994 * <p> 995 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 996 * </p> 997 * 998 * @param resourcePrimKey the resource prim key 999 * @param status the status 1000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1001 * @return the first matching journal article 1002 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1003 * @throws SystemException if a system exception occurred 1004 */ 1005 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1006 long resourcePrimKey, int status, 1007 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1008 throws com.liferay.portal.kernel.exception.SystemException, 1009 com.liferay.portlet.journal.NoSuchArticleException; 1010 1011 /** 1012 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1013 * 1014 * <p> 1015 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1016 * </p> 1017 * 1018 * @param resourcePrimKey the resource prim key 1019 * @param status the status 1020 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1021 * @return the last matching journal article 1022 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1023 * @throws SystemException if a system exception occurred 1024 */ 1025 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1026 long resourcePrimKey, int status, 1027 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1028 throws com.liferay.portal.kernel.exception.SystemException, 1029 com.liferay.portlet.journal.NoSuchArticleException; 1030 1031 /** 1032 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1033 * 1034 * <p> 1035 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1036 * </p> 1037 * 1038 * @param id the primary key of the current journal article 1039 * @param resourcePrimKey the resource prim key 1040 * @param status the status 1041 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1042 * @return the previous, current, and next journal article 1043 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1044 * @throws SystemException if a system exception occurred 1045 */ 1046 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1047 long id, long resourcePrimKey, int status, 1048 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1049 throws com.liferay.portal.kernel.exception.SystemException, 1050 com.liferay.portlet.journal.NoSuchArticleException; 1051 1052 /** 1053 * Returns all the journal articles where groupId = ? and articleId = ?. 1054 * 1055 * @param groupId the group ID 1056 * @param articleId the article ID 1057 * @return the matching journal articles 1058 * @throws SystemException if a system exception occurred 1059 */ 1060 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1061 long groupId, java.lang.String articleId) 1062 throws com.liferay.portal.kernel.exception.SystemException; 1063 1064 /** 1065 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 1066 * 1067 * <p> 1068 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1069 * </p> 1070 * 1071 * @param groupId the group ID 1072 * @param articleId the article ID 1073 * @param start the lower bound of the range of journal articles 1074 * @param end the upper bound of the range of journal articles (not inclusive) 1075 * @return the range of matching journal articles 1076 * @throws SystemException if a system exception occurred 1077 */ 1078 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1079 long groupId, java.lang.String articleId, int start, int end) 1080 throws com.liferay.portal.kernel.exception.SystemException; 1081 1082 /** 1083 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 1084 * 1085 * <p> 1086 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1087 * </p> 1088 * 1089 * @param groupId the group ID 1090 * @param articleId the article ID 1091 * @param start the lower bound of the range of journal articles 1092 * @param end the upper bound of the range of journal articles (not inclusive) 1093 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1094 * @return the ordered range of matching journal articles 1095 * @throws SystemException if a system exception occurred 1096 */ 1097 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1098 long groupId, java.lang.String articleId, int start, int end, 1099 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1100 throws com.liferay.portal.kernel.exception.SystemException; 1101 1102 /** 1103 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 1104 * 1105 * <p> 1106 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1107 * </p> 1108 * 1109 * @param groupId the group ID 1110 * @param articleId the article ID 1111 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1112 * @return the first matching journal article 1113 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1114 * @throws SystemException if a system exception occurred 1115 */ 1116 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 1117 long groupId, java.lang.String articleId, 1118 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1119 throws com.liferay.portal.kernel.exception.SystemException, 1120 com.liferay.portlet.journal.NoSuchArticleException; 1121 1122 /** 1123 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 1124 * 1125 * <p> 1126 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1127 * </p> 1128 * 1129 * @param groupId the group ID 1130 * @param articleId the article ID 1131 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1132 * @return the last matching journal article 1133 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1134 * @throws SystemException if a system exception occurred 1135 */ 1136 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 1137 long groupId, java.lang.String articleId, 1138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1139 throws com.liferay.portal.kernel.exception.SystemException, 1140 com.liferay.portlet.journal.NoSuchArticleException; 1141 1142 /** 1143 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 1144 * 1145 * <p> 1146 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1147 * </p> 1148 * 1149 * @param id the primary key of the current journal article 1150 * @param groupId the group ID 1151 * @param articleId the article ID 1152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1153 * @return the previous, current, and next journal article 1154 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1155 * @throws SystemException if a system exception occurred 1156 */ 1157 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 1158 long id, long groupId, java.lang.String articleId, 1159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1160 throws com.liferay.portal.kernel.exception.SystemException, 1161 com.liferay.portlet.journal.NoSuchArticleException; 1162 1163 /** 1164 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 1165 * 1166 * @param groupId the group ID 1167 * @param articleId the article ID 1168 * @return the matching journal articles that the user has permission to view 1169 * @throws SystemException if a system exception occurred 1170 */ 1171 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1172 long groupId, java.lang.String articleId) 1173 throws com.liferay.portal.kernel.exception.SystemException; 1174 1175 /** 1176 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 1177 * 1178 * <p> 1179 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1180 * </p> 1181 * 1182 * @param groupId the group ID 1183 * @param articleId the article ID 1184 * @param start the lower bound of the range of journal articles 1185 * @param end the upper bound of the range of journal articles (not inclusive) 1186 * @return the range of matching journal articles that the user has permission to view 1187 * @throws SystemException if a system exception occurred 1188 */ 1189 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1190 long groupId, java.lang.String articleId, int start, int end) 1191 throws com.liferay.portal.kernel.exception.SystemException; 1192 1193 /** 1194 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 1195 * 1196 * <p> 1197 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1198 * </p> 1199 * 1200 * @param groupId the group ID 1201 * @param articleId the article ID 1202 * @param start the lower bound of the range of journal articles 1203 * @param end the upper bound of the range of journal articles (not inclusive) 1204 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1205 * @return the ordered range of matching journal articles that the user has permission to view 1206 * @throws SystemException if a system exception occurred 1207 */ 1208 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1209 long groupId, java.lang.String articleId, int start, int end, 1210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1211 throws com.liferay.portal.kernel.exception.SystemException; 1212 1213 /** 1214 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?. 1215 * 1216 * @param id the primary key of the current journal article 1217 * @param groupId the group ID 1218 * @param articleId the article ID 1219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1220 * @return the previous, current, and next journal article 1221 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1222 * @throws SystemException if a system exception occurred 1223 */ 1224 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 1225 long id, long groupId, java.lang.String articleId, 1226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1227 throws com.liferay.portal.kernel.exception.SystemException, 1228 com.liferay.portlet.journal.NoSuchArticleException; 1229 1230 /** 1231 * Returns all the journal articles where groupId = ? and urlTitle = ?. 1232 * 1233 * @param groupId the group ID 1234 * @param urlTitle the url title 1235 * @return the matching journal articles 1236 * @throws SystemException if a system exception occurred 1237 */ 1238 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1239 long groupId, java.lang.String urlTitle) 1240 throws com.liferay.portal.kernel.exception.SystemException; 1241 1242 /** 1243 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 1244 * 1245 * <p> 1246 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1247 * </p> 1248 * 1249 * @param groupId the group ID 1250 * @param urlTitle the url title 1251 * @param start the lower bound of the range of journal articles 1252 * @param end the upper bound of the range of journal articles (not inclusive) 1253 * @return the range of matching journal articles 1254 * @throws SystemException if a system exception occurred 1255 */ 1256 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1257 long groupId, java.lang.String urlTitle, int start, int end) 1258 throws com.liferay.portal.kernel.exception.SystemException; 1259 1260 /** 1261 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 1262 * 1263 * <p> 1264 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1265 * </p> 1266 * 1267 * @param groupId the group ID 1268 * @param urlTitle the url title 1269 * @param start the lower bound of the range of journal articles 1270 * @param end the upper bound of the range of journal articles (not inclusive) 1271 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1272 * @return the ordered range of matching journal articles 1273 * @throws SystemException if a system exception occurred 1274 */ 1275 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1276 long groupId, java.lang.String urlTitle, int start, int end, 1277 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1278 throws com.liferay.portal.kernel.exception.SystemException; 1279 1280 /** 1281 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 1282 * 1283 * <p> 1284 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1285 * </p> 1286 * 1287 * @param groupId the group ID 1288 * @param urlTitle the url title 1289 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1290 * @return the first matching journal article 1291 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1292 * @throws SystemException if a system exception occurred 1293 */ 1294 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 1295 long groupId, java.lang.String urlTitle, 1296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1297 throws com.liferay.portal.kernel.exception.SystemException, 1298 com.liferay.portlet.journal.NoSuchArticleException; 1299 1300 /** 1301 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 1302 * 1303 * <p> 1304 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1305 * </p> 1306 * 1307 * @param groupId the group ID 1308 * @param urlTitle the url title 1309 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1310 * @return the last matching journal article 1311 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1312 * @throws SystemException if a system exception occurred 1313 */ 1314 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 1315 long groupId, java.lang.String urlTitle, 1316 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1317 throws com.liferay.portal.kernel.exception.SystemException, 1318 com.liferay.portlet.journal.NoSuchArticleException; 1319 1320 /** 1321 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 1322 * 1323 * <p> 1324 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1325 * </p> 1326 * 1327 * @param id the primary key of the current journal article 1328 * @param groupId the group ID 1329 * @param urlTitle the url title 1330 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1331 * @return the previous, current, and next journal article 1332 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1333 * @throws SystemException if a system exception occurred 1334 */ 1335 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 1336 long id, long groupId, java.lang.String urlTitle, 1337 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1338 throws com.liferay.portal.kernel.exception.SystemException, 1339 com.liferay.portlet.journal.NoSuchArticleException; 1340 1341 /** 1342 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 1343 * 1344 * @param groupId the group ID 1345 * @param urlTitle the url title 1346 * @return the matching journal articles that the user has permission to view 1347 * @throws SystemException if a system exception occurred 1348 */ 1349 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1350 long groupId, java.lang.String urlTitle) 1351 throws com.liferay.portal.kernel.exception.SystemException; 1352 1353 /** 1354 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 1355 * 1356 * <p> 1357 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1358 * </p> 1359 * 1360 * @param groupId the group ID 1361 * @param urlTitle the url title 1362 * @param start the lower bound of the range of journal articles 1363 * @param end the upper bound of the range of journal articles (not inclusive) 1364 * @return the range of matching journal articles that the user has permission to view 1365 * @throws SystemException if a system exception occurred 1366 */ 1367 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1368 long groupId, java.lang.String urlTitle, int start, int end) 1369 throws com.liferay.portal.kernel.exception.SystemException; 1370 1371 /** 1372 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 1373 * 1374 * <p> 1375 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1376 * </p> 1377 * 1378 * @param groupId the group ID 1379 * @param urlTitle the url title 1380 * @param start the lower bound of the range of journal articles 1381 * @param end the upper bound of the range of journal articles (not inclusive) 1382 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1383 * @return the ordered range of matching journal articles that the user has permission to view 1384 * @throws SystemException if a system exception occurred 1385 */ 1386 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1387 long groupId, java.lang.String urlTitle, int start, int end, 1388 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1389 throws com.liferay.portal.kernel.exception.SystemException; 1390 1391 /** 1392 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 1393 * 1394 * @param id the primary key of the current journal article 1395 * @param groupId the group ID 1396 * @param urlTitle the url title 1397 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1398 * @return the previous, current, and next journal article 1399 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1400 * @throws SystemException if a system exception occurred 1401 */ 1402 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 1403 long id, long groupId, java.lang.String urlTitle, 1404 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1405 throws com.liferay.portal.kernel.exception.SystemException, 1406 com.liferay.portlet.journal.NoSuchArticleException; 1407 1408 /** 1409 * Returns all the journal articles where groupId = ? and structureId = ?. 1410 * 1411 * @param groupId the group ID 1412 * @param structureId the structure ID 1413 * @return the matching journal articles 1414 * @throws SystemException if a system exception occurred 1415 */ 1416 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1417 long groupId, java.lang.String structureId) 1418 throws com.liferay.portal.kernel.exception.SystemException; 1419 1420 /** 1421 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 1422 * 1423 * <p> 1424 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1425 * </p> 1426 * 1427 * @param groupId the group ID 1428 * @param structureId the structure ID 1429 * @param start the lower bound of the range of journal articles 1430 * @param end the upper bound of the range of journal articles (not inclusive) 1431 * @return the range of matching journal articles 1432 * @throws SystemException if a system exception occurred 1433 */ 1434 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1435 long groupId, java.lang.String structureId, int start, int end) 1436 throws com.liferay.portal.kernel.exception.SystemException; 1437 1438 /** 1439 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 1440 * 1441 * <p> 1442 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1443 * </p> 1444 * 1445 * @param groupId the group ID 1446 * @param structureId the structure ID 1447 * @param start the lower bound of the range of journal articles 1448 * @param end the upper bound of the range of journal articles (not inclusive) 1449 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1450 * @return the ordered range of matching journal articles 1451 * @throws SystemException if a system exception occurred 1452 */ 1453 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1454 long groupId, java.lang.String structureId, int start, int end, 1455 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1456 throws com.liferay.portal.kernel.exception.SystemException; 1457 1458 /** 1459 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 1460 * 1461 * <p> 1462 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1463 * </p> 1464 * 1465 * @param groupId the group ID 1466 * @param structureId the structure ID 1467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1468 * @return the first matching journal article 1469 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1470 * @throws SystemException if a system exception occurred 1471 */ 1472 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 1473 long groupId, java.lang.String structureId, 1474 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1475 throws com.liferay.portal.kernel.exception.SystemException, 1476 com.liferay.portlet.journal.NoSuchArticleException; 1477 1478 /** 1479 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 1480 * 1481 * <p> 1482 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1483 * </p> 1484 * 1485 * @param groupId the group ID 1486 * @param structureId the structure ID 1487 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1488 * @return the last matching journal article 1489 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1490 * @throws SystemException if a system exception occurred 1491 */ 1492 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 1493 long groupId, java.lang.String structureId, 1494 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1495 throws com.liferay.portal.kernel.exception.SystemException, 1496 com.liferay.portlet.journal.NoSuchArticleException; 1497 1498 /** 1499 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 1500 * 1501 * <p> 1502 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1503 * </p> 1504 * 1505 * @param id the primary key of the current journal article 1506 * @param groupId the group ID 1507 * @param structureId the structure ID 1508 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1509 * @return the previous, current, and next journal article 1510 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1511 * @throws SystemException if a system exception occurred 1512 */ 1513 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 1514 long id, long groupId, java.lang.String structureId, 1515 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1516 throws com.liferay.portal.kernel.exception.SystemException, 1517 com.liferay.portlet.journal.NoSuchArticleException; 1518 1519 /** 1520 * Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 1521 * 1522 * @param groupId the group ID 1523 * @param structureId the structure ID 1524 * @return the matching journal articles that the user has permission to view 1525 * @throws SystemException if a system exception occurred 1526 */ 1527 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1528 long groupId, java.lang.String structureId) 1529 throws com.liferay.portal.kernel.exception.SystemException; 1530 1531 /** 1532 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 1533 * 1534 * <p> 1535 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1536 * </p> 1537 * 1538 * @param groupId the group ID 1539 * @param structureId the structure ID 1540 * @param start the lower bound of the range of journal articles 1541 * @param end the upper bound of the range of journal articles (not inclusive) 1542 * @return the range of matching journal articles that the user has permission to view 1543 * @throws SystemException if a system exception occurred 1544 */ 1545 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1546 long groupId, java.lang.String structureId, int start, int end) 1547 throws com.liferay.portal.kernel.exception.SystemException; 1548 1549 /** 1550 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 1551 * 1552 * <p> 1553 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1554 * </p> 1555 * 1556 * @param groupId the group ID 1557 * @param structureId the structure ID 1558 * @param start the lower bound of the range of journal articles 1559 * @param end the upper bound of the range of journal articles (not inclusive) 1560 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1561 * @return the ordered range of matching journal articles that the user has permission to view 1562 * @throws SystemException if a system exception occurred 1563 */ 1564 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1565 long groupId, java.lang.String structureId, int start, int end, 1566 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1567 throws com.liferay.portal.kernel.exception.SystemException; 1568 1569 /** 1570 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and structureId = ?. 1571 * 1572 * @param id the primary key of the current journal article 1573 * @param groupId the group ID 1574 * @param structureId the structure ID 1575 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1576 * @return the previous, current, and next journal article 1577 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1578 * @throws SystemException if a system exception occurred 1579 */ 1580 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 1581 long id, long groupId, java.lang.String structureId, 1582 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1583 throws com.liferay.portal.kernel.exception.SystemException, 1584 com.liferay.portlet.journal.NoSuchArticleException; 1585 1586 /** 1587 * Returns all the journal articles where groupId = ? and templateId = ?. 1588 * 1589 * @param groupId the group ID 1590 * @param templateId the template ID 1591 * @return the matching journal articles 1592 * @throws SystemException if a system exception occurred 1593 */ 1594 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1595 long groupId, java.lang.String templateId) 1596 throws com.liferay.portal.kernel.exception.SystemException; 1597 1598 /** 1599 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 1600 * 1601 * <p> 1602 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1603 * </p> 1604 * 1605 * @param groupId the group ID 1606 * @param templateId the template ID 1607 * @param start the lower bound of the range of journal articles 1608 * @param end the upper bound of the range of journal articles (not inclusive) 1609 * @return the range of matching journal articles 1610 * @throws SystemException if a system exception occurred 1611 */ 1612 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1613 long groupId, java.lang.String templateId, int start, int end) 1614 throws com.liferay.portal.kernel.exception.SystemException; 1615 1616 /** 1617 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 1618 * 1619 * <p> 1620 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1621 * </p> 1622 * 1623 * @param groupId the group ID 1624 * @param templateId the template ID 1625 * @param start the lower bound of the range of journal articles 1626 * @param end the upper bound of the range of journal articles (not inclusive) 1627 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1628 * @return the ordered range of matching journal articles 1629 * @throws SystemException if a system exception occurred 1630 */ 1631 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1632 long groupId, java.lang.String templateId, int start, int end, 1633 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1634 throws com.liferay.portal.kernel.exception.SystemException; 1635 1636 /** 1637 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 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 groupId the group ID 1644 * @param templateId the template ID 1645 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1646 * @return the first matching journal article 1647 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1648 * @throws SystemException if a system exception occurred 1649 */ 1650 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 1651 long groupId, java.lang.String templateId, 1652 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1653 throws com.liferay.portal.kernel.exception.SystemException, 1654 com.liferay.portlet.journal.NoSuchArticleException; 1655 1656 /** 1657 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 1658 * 1659 * <p> 1660 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1661 * </p> 1662 * 1663 * @param groupId the group ID 1664 * @param templateId the template ID 1665 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1666 * @return the last matching journal article 1667 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1668 * @throws SystemException if a system exception occurred 1669 */ 1670 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 1671 long groupId, java.lang.String templateId, 1672 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1673 throws com.liferay.portal.kernel.exception.SystemException, 1674 com.liferay.portlet.journal.NoSuchArticleException; 1675 1676 /** 1677 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 1678 * 1679 * <p> 1680 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1681 * </p> 1682 * 1683 * @param id the primary key of the current journal article 1684 * @param groupId the group ID 1685 * @param templateId the template ID 1686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1687 * @return the previous, current, and next journal article 1688 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1689 * @throws SystemException if a system exception occurred 1690 */ 1691 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 1692 long id, long groupId, java.lang.String templateId, 1693 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1694 throws com.liferay.portal.kernel.exception.SystemException, 1695 com.liferay.portlet.journal.NoSuchArticleException; 1696 1697 /** 1698 * Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 1699 * 1700 * @param groupId the group ID 1701 * @param templateId the template ID 1702 * @return the matching journal articles that the user has permission to view 1703 * @throws SystemException if a system exception occurred 1704 */ 1705 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1706 long groupId, java.lang.String templateId) 1707 throws com.liferay.portal.kernel.exception.SystemException; 1708 1709 /** 1710 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 1711 * 1712 * <p> 1713 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1714 * </p> 1715 * 1716 * @param groupId the group ID 1717 * @param templateId the template ID 1718 * @param start the lower bound of the range of journal articles 1719 * @param end the upper bound of the range of journal articles (not inclusive) 1720 * @return the range of matching journal articles that the user has permission to view 1721 * @throws SystemException if a system exception occurred 1722 */ 1723 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1724 long groupId, java.lang.String templateId, int start, int end) 1725 throws com.liferay.portal.kernel.exception.SystemException; 1726 1727 /** 1728 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 1729 * 1730 * <p> 1731 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1732 * </p> 1733 * 1734 * @param groupId the group ID 1735 * @param templateId the template ID 1736 * @param start the lower bound of the range of journal articles 1737 * @param end the upper bound of the range of journal articles (not inclusive) 1738 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1739 * @return the ordered range of matching journal articles that the user has permission to view 1740 * @throws SystemException if a system exception occurred 1741 */ 1742 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1743 long groupId, java.lang.String templateId, int start, int end, 1744 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1745 throws com.liferay.portal.kernel.exception.SystemException; 1746 1747 /** 1748 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and templateId = ?. 1749 * 1750 * @param id the primary key of the current journal article 1751 * @param groupId the group ID 1752 * @param templateId the template ID 1753 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1754 * @return the previous, current, and next journal article 1755 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1756 * @throws SystemException if a system exception occurred 1757 */ 1758 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 1759 long id, long groupId, java.lang.String templateId, 1760 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1761 throws com.liferay.portal.kernel.exception.SystemException, 1762 com.liferay.portlet.journal.NoSuchArticleException; 1763 1764 /** 1765 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 1766 * 1767 * @param groupId the group ID 1768 * @param layoutUuid the layout uuid 1769 * @return the matching journal articles 1770 * @throws SystemException if a system exception occurred 1771 */ 1772 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 1773 long groupId, java.lang.String layoutUuid) 1774 throws com.liferay.portal.kernel.exception.SystemException; 1775 1776 /** 1777 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 1778 * 1779 * <p> 1780 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1781 * </p> 1782 * 1783 * @param groupId the group ID 1784 * @param layoutUuid the layout uuid 1785 * @param start the lower bound of the range of journal articles 1786 * @param end the upper bound of the range of journal articles (not inclusive) 1787 * @return the range of matching journal articles 1788 * @throws SystemException if a system exception occurred 1789 */ 1790 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 1791 long groupId, java.lang.String layoutUuid, int start, int end) 1792 throws com.liferay.portal.kernel.exception.SystemException; 1793 1794 /** 1795 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 1796 * 1797 * <p> 1798 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1799 * </p> 1800 * 1801 * @param groupId the group ID 1802 * @param layoutUuid the layout uuid 1803 * @param start the lower bound of the range of journal articles 1804 * @param end the upper bound of the range of journal articles (not inclusive) 1805 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1806 * @return the ordered range of matching journal articles 1807 * @throws SystemException if a system exception occurred 1808 */ 1809 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 1810 long groupId, java.lang.String layoutUuid, int start, int end, 1811 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1812 throws com.liferay.portal.kernel.exception.SystemException; 1813 1814 /** 1815 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 1816 * 1817 * <p> 1818 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1819 * </p> 1820 * 1821 * @param groupId the group ID 1822 * @param layoutUuid the layout uuid 1823 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1824 * @return the first matching journal article 1825 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1826 * @throws SystemException if a system exception occurred 1827 */ 1828 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 1829 long groupId, java.lang.String layoutUuid, 1830 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1831 throws com.liferay.portal.kernel.exception.SystemException, 1832 com.liferay.portlet.journal.NoSuchArticleException; 1833 1834 /** 1835 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 1836 * 1837 * <p> 1838 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1839 * </p> 1840 * 1841 * @param groupId the group ID 1842 * @param layoutUuid the layout uuid 1843 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1844 * @return the last matching journal article 1845 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1846 * @throws SystemException if a system exception occurred 1847 */ 1848 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 1849 long groupId, java.lang.String layoutUuid, 1850 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1851 throws com.liferay.portal.kernel.exception.SystemException, 1852 com.liferay.portlet.journal.NoSuchArticleException; 1853 1854 /** 1855 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 1856 * 1857 * <p> 1858 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1859 * </p> 1860 * 1861 * @param id the primary key of the current journal article 1862 * @param groupId the group ID 1863 * @param layoutUuid the layout uuid 1864 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1865 * @return the previous, current, and next journal article 1866 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1867 * @throws SystemException if a system exception occurred 1868 */ 1869 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 1870 long id, long groupId, java.lang.String layoutUuid, 1871 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1872 throws com.liferay.portal.kernel.exception.SystemException, 1873 com.liferay.portlet.journal.NoSuchArticleException; 1874 1875 /** 1876 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 1877 * 1878 * @param groupId the group ID 1879 * @param layoutUuid the layout uuid 1880 * @return the matching journal articles that the user has permission to view 1881 * @throws SystemException if a system exception occurred 1882 */ 1883 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 1884 long groupId, java.lang.String layoutUuid) 1885 throws com.liferay.portal.kernel.exception.SystemException; 1886 1887 /** 1888 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 1889 * 1890 * <p> 1891 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1892 * </p> 1893 * 1894 * @param groupId the group ID 1895 * @param layoutUuid the layout uuid 1896 * @param start the lower bound of the range of journal articles 1897 * @param end the upper bound of the range of journal articles (not inclusive) 1898 * @return the range of matching journal articles that the user has permission to view 1899 * @throws SystemException if a system exception occurred 1900 */ 1901 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 1902 long groupId, java.lang.String layoutUuid, int start, int end) 1903 throws com.liferay.portal.kernel.exception.SystemException; 1904 1905 /** 1906 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 1907 * 1908 * <p> 1909 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1910 * </p> 1911 * 1912 * @param groupId the group ID 1913 * @param layoutUuid the layout uuid 1914 * @param start the lower bound of the range of journal articles 1915 * @param end the upper bound of the range of journal articles (not inclusive) 1916 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1917 * @return the ordered range of matching journal articles that the user has permission to view 1918 * @throws SystemException if a system exception occurred 1919 */ 1920 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 1921 long groupId, java.lang.String layoutUuid, int start, int end, 1922 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1923 throws com.liferay.portal.kernel.exception.SystemException; 1924 1925 /** 1926 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 1927 * 1928 * @param id the primary key of the current journal article 1929 * @param groupId the group ID 1930 * @param layoutUuid the layout uuid 1931 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1932 * @return the previous, current, and next journal article 1933 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1934 * @throws SystemException if a system exception occurred 1935 */ 1936 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 1937 long id, long groupId, java.lang.String layoutUuid, 1938 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1939 throws com.liferay.portal.kernel.exception.SystemException, 1940 com.liferay.portlet.journal.NoSuchArticleException; 1941 1942 /** 1943 * Returns all the journal articles where groupId = ? and status = ?. 1944 * 1945 * @param groupId the group ID 1946 * @param status the status 1947 * @return the matching journal articles 1948 * @throws SystemException if a system exception occurred 1949 */ 1950 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1951 long groupId, int status) 1952 throws com.liferay.portal.kernel.exception.SystemException; 1953 1954 /** 1955 * Returns a range of all the journal articles where groupId = ? and status = ?. 1956 * 1957 * <p> 1958 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1959 * </p> 1960 * 1961 * @param groupId the group ID 1962 * @param status the status 1963 * @param start the lower bound of the range of journal articles 1964 * @param end the upper bound of the range of journal articles (not inclusive) 1965 * @return the range of matching journal articles 1966 * @throws SystemException if a system exception occurred 1967 */ 1968 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1969 long groupId, int status, int start, int end) 1970 throws com.liferay.portal.kernel.exception.SystemException; 1971 1972 /** 1973 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 1974 * 1975 * <p> 1976 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1977 * </p> 1978 * 1979 * @param groupId the group ID 1980 * @param status the status 1981 * @param start the lower bound of the range of journal articles 1982 * @param end the upper bound of the range of journal articles (not inclusive) 1983 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1984 * @return the ordered range of matching journal articles 1985 * @throws SystemException if a system exception occurred 1986 */ 1987 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1988 long groupId, int status, int start, int end, 1989 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1990 throws com.liferay.portal.kernel.exception.SystemException; 1991 1992 /** 1993 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 1994 * 1995 * <p> 1996 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1997 * </p> 1998 * 1999 * @param groupId the group ID 2000 * @param status the status 2001 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2002 * @return the first matching journal article 2003 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2004 * @throws SystemException if a system exception occurred 2005 */ 2006 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 2007 long groupId, int status, 2008 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2009 throws com.liferay.portal.kernel.exception.SystemException, 2010 com.liferay.portlet.journal.NoSuchArticleException; 2011 2012 /** 2013 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 2014 * 2015 * <p> 2016 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2017 * </p> 2018 * 2019 * @param groupId the group ID 2020 * @param status the status 2021 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2022 * @return the last matching journal article 2023 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2024 * @throws SystemException if a system exception occurred 2025 */ 2026 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 2027 long groupId, int status, 2028 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2029 throws com.liferay.portal.kernel.exception.SystemException, 2030 com.liferay.portlet.journal.NoSuchArticleException; 2031 2032 /** 2033 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 2034 * 2035 * <p> 2036 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2037 * </p> 2038 * 2039 * @param id the primary key of the current journal article 2040 * @param groupId the group ID 2041 * @param status the status 2042 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2043 * @return the previous, current, and next journal article 2044 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2045 * @throws SystemException if a system exception occurred 2046 */ 2047 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 2048 long id, long groupId, int status, 2049 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2050 throws com.liferay.portal.kernel.exception.SystemException, 2051 com.liferay.portlet.journal.NoSuchArticleException; 2052 2053 /** 2054 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 2055 * 2056 * @param groupId the group ID 2057 * @param status the status 2058 * @return the matching journal articles that the user has permission to view 2059 * @throws SystemException if a system exception occurred 2060 */ 2061 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 2062 long groupId, int status) 2063 throws com.liferay.portal.kernel.exception.SystemException; 2064 2065 /** 2066 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 2067 * 2068 * <p> 2069 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2070 * </p> 2071 * 2072 * @param groupId the group ID 2073 * @param status the status 2074 * @param start the lower bound of the range of journal articles 2075 * @param end the upper bound of the range of journal articles (not inclusive) 2076 * @return the range of matching journal articles that the user has permission to view 2077 * @throws SystemException if a system exception occurred 2078 */ 2079 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 2080 long groupId, int status, int start, int end) 2081 throws com.liferay.portal.kernel.exception.SystemException; 2082 2083 /** 2084 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 2085 * 2086 * <p> 2087 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2088 * </p> 2089 * 2090 * @param groupId the group ID 2091 * @param status the status 2092 * @param start the lower bound of the range of journal articles 2093 * @param end the upper bound of the range of journal articles (not inclusive) 2094 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2095 * @return the ordered range of matching journal articles that the user has permission to view 2096 * @throws SystemException if a system exception occurred 2097 */ 2098 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 2099 long groupId, int status, int start, int end, 2100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2101 throws com.liferay.portal.kernel.exception.SystemException; 2102 2103 /** 2104 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and status = ?. 2105 * 2106 * @param id the primary key of the current journal article 2107 * @param groupId the group ID 2108 * @param status the status 2109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2110 * @return the previous, current, and next journal article 2111 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2112 * @throws SystemException if a system exception occurred 2113 */ 2114 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 2115 long id, long groupId, int status, 2116 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2117 throws com.liferay.portal.kernel.exception.SystemException, 2118 com.liferay.portlet.journal.NoSuchArticleException; 2119 2120 /** 2121 * Returns all the journal articles where companyId = ? and version = ?. 2122 * 2123 * @param companyId the company ID 2124 * @param version the version 2125 * @return the matching journal articles 2126 * @throws SystemException if a system exception occurred 2127 */ 2128 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 2129 long companyId, double version) 2130 throws com.liferay.portal.kernel.exception.SystemException; 2131 2132 /** 2133 * Returns a range of all the journal articles where companyId = ? and version = ?. 2134 * 2135 * <p> 2136 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2137 * </p> 2138 * 2139 * @param companyId the company ID 2140 * @param version the version 2141 * @param start the lower bound of the range of journal articles 2142 * @param end the upper bound of the range of journal articles (not inclusive) 2143 * @return the range of matching journal articles 2144 * @throws SystemException if a system exception occurred 2145 */ 2146 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 2147 long companyId, double version, int start, int end) 2148 throws com.liferay.portal.kernel.exception.SystemException; 2149 2150 /** 2151 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 2152 * 2153 * <p> 2154 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2155 * </p> 2156 * 2157 * @param companyId the company ID 2158 * @param version the version 2159 * @param start the lower bound of the range of journal articles 2160 * @param end the upper bound of the range of journal articles (not inclusive) 2161 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2162 * @return the ordered range of matching journal articles 2163 * @throws SystemException if a system exception occurred 2164 */ 2165 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 2166 long companyId, double version, int start, int end, 2167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2168 throws com.liferay.portal.kernel.exception.SystemException; 2169 2170 /** 2171 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 2172 * 2173 * <p> 2174 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2175 * </p> 2176 * 2177 * @param companyId the company ID 2178 * @param version the version 2179 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2180 * @return the first matching journal article 2181 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2182 * @throws SystemException if a system exception occurred 2183 */ 2184 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 2185 long companyId, double version, 2186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2187 throws com.liferay.portal.kernel.exception.SystemException, 2188 com.liferay.portlet.journal.NoSuchArticleException; 2189 2190 /** 2191 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 2192 * 2193 * <p> 2194 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2195 * </p> 2196 * 2197 * @param companyId the company ID 2198 * @param version the version 2199 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2200 * @return the last matching journal article 2201 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2202 * @throws SystemException if a system exception occurred 2203 */ 2204 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 2205 long companyId, double version, 2206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2207 throws com.liferay.portal.kernel.exception.SystemException, 2208 com.liferay.portlet.journal.NoSuchArticleException; 2209 2210 /** 2211 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 2212 * 2213 * <p> 2214 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2215 * </p> 2216 * 2217 * @param id the primary key of the current journal article 2218 * @param companyId the company ID 2219 * @param version the version 2220 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2221 * @return the previous, current, and next journal article 2222 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2223 * @throws SystemException if a system exception occurred 2224 */ 2225 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 2226 long id, long companyId, double version, 2227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2228 throws com.liferay.portal.kernel.exception.SystemException, 2229 com.liferay.portlet.journal.NoSuchArticleException; 2230 2231 /** 2232 * Returns all the journal articles where companyId = ? and status = ?. 2233 * 2234 * @param companyId the company ID 2235 * @param status the status 2236 * @return the matching journal articles 2237 * @throws SystemException if a system exception occurred 2238 */ 2239 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 2240 long companyId, int status) 2241 throws com.liferay.portal.kernel.exception.SystemException; 2242 2243 /** 2244 * Returns a range of all the journal articles where companyId = ? and status = ?. 2245 * 2246 * <p> 2247 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2248 * </p> 2249 * 2250 * @param companyId the company ID 2251 * @param status the status 2252 * @param start the lower bound of the range of journal articles 2253 * @param end the upper bound of the range of journal articles (not inclusive) 2254 * @return the range of matching journal articles 2255 * @throws SystemException if a system exception occurred 2256 */ 2257 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 2258 long companyId, int status, int start, int end) 2259 throws com.liferay.portal.kernel.exception.SystemException; 2260 2261 /** 2262 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 2263 * 2264 * <p> 2265 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2266 * </p> 2267 * 2268 * @param companyId the company ID 2269 * @param status the status 2270 * @param start the lower bound of the range of journal articles 2271 * @param end the upper bound of the range of journal articles (not inclusive) 2272 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2273 * @return the ordered range of matching journal articles 2274 * @throws SystemException if a system exception occurred 2275 */ 2276 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 2277 long companyId, int status, int start, int end, 2278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2279 throws com.liferay.portal.kernel.exception.SystemException; 2280 2281 /** 2282 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 2283 * 2284 * <p> 2285 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2286 * </p> 2287 * 2288 * @param companyId the company ID 2289 * @param status the status 2290 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2291 * @return the first matching journal article 2292 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2293 * @throws SystemException if a system exception occurred 2294 */ 2295 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 2296 long companyId, int status, 2297 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2298 throws com.liferay.portal.kernel.exception.SystemException, 2299 com.liferay.portlet.journal.NoSuchArticleException; 2300 2301 /** 2302 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 2303 * 2304 * <p> 2305 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2306 * </p> 2307 * 2308 * @param companyId the company ID 2309 * @param status the status 2310 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2311 * @return the last matching journal article 2312 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2313 * @throws SystemException if a system exception occurred 2314 */ 2315 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 2316 long companyId, int status, 2317 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2318 throws com.liferay.portal.kernel.exception.SystemException, 2319 com.liferay.portlet.journal.NoSuchArticleException; 2320 2321 /** 2322 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 2323 * 2324 * <p> 2325 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2326 * </p> 2327 * 2328 * @param id the primary key of the current journal article 2329 * @param companyId the company ID 2330 * @param status the status 2331 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2332 * @return the previous, current, and next journal article 2333 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2334 * @throws SystemException if a system exception occurred 2335 */ 2336 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 2337 long id, long companyId, int status, 2338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2339 throws com.liferay.portal.kernel.exception.SystemException, 2340 com.liferay.portlet.journal.NoSuchArticleException; 2341 2342 /** 2343 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 2344 * 2345 * @param groupId the group ID 2346 * @param classNameId the class name ID 2347 * @param classPK the class p k 2348 * @return the matching journal articles 2349 * @throws SystemException if a system exception occurred 2350 */ 2351 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 2352 long groupId, long classNameId, long classPK) 2353 throws com.liferay.portal.kernel.exception.SystemException; 2354 2355 /** 2356 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 2357 * 2358 * <p> 2359 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2360 * </p> 2361 * 2362 * @param groupId the group ID 2363 * @param classNameId the class name ID 2364 * @param classPK the class p k 2365 * @param start the lower bound of the range of journal articles 2366 * @param end the upper bound of the range of journal articles (not inclusive) 2367 * @return the range of matching journal articles 2368 * @throws SystemException if a system exception occurred 2369 */ 2370 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 2371 long groupId, long classNameId, long classPK, int start, int end) 2372 throws com.liferay.portal.kernel.exception.SystemException; 2373 2374 /** 2375 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 2376 * 2377 * <p> 2378 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2379 * </p> 2380 * 2381 * @param groupId the group ID 2382 * @param classNameId the class name ID 2383 * @param classPK the class p k 2384 * @param start the lower bound of the range of journal articles 2385 * @param end the upper bound of the range of journal articles (not inclusive) 2386 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2387 * @return the ordered range of matching journal articles 2388 * @throws SystemException if a system exception occurred 2389 */ 2390 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 2391 long groupId, long classNameId, long classPK, int start, int end, 2392 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2393 throws com.liferay.portal.kernel.exception.SystemException; 2394 2395 /** 2396 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2397 * 2398 * <p> 2399 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2400 * </p> 2401 * 2402 * @param groupId the group ID 2403 * @param classNameId the class name ID 2404 * @param classPK the class p k 2405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2406 * @return the first matching journal article 2407 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2408 * @throws SystemException if a system exception occurred 2409 */ 2410 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 2411 long groupId, long classNameId, long classPK, 2412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2413 throws com.liferay.portal.kernel.exception.SystemException, 2414 com.liferay.portlet.journal.NoSuchArticleException; 2415 2416 /** 2417 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2418 * 2419 * <p> 2420 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2421 * </p> 2422 * 2423 * @param groupId the group ID 2424 * @param classNameId the class name ID 2425 * @param classPK the class p k 2426 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2427 * @return the last matching journal article 2428 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2429 * @throws SystemException if a system exception occurred 2430 */ 2431 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 2432 long groupId, long classNameId, long classPK, 2433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2434 throws com.liferay.portal.kernel.exception.SystemException, 2435 com.liferay.portlet.journal.NoSuchArticleException; 2436 2437 /** 2438 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2439 * 2440 * <p> 2441 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2442 * </p> 2443 * 2444 * @param id the primary key of the current journal article 2445 * @param groupId the group ID 2446 * @param classNameId the class name ID 2447 * @param classPK the class p k 2448 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2449 * @return the previous, current, and next journal article 2450 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2451 * @throws SystemException if a system exception occurred 2452 */ 2453 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 2454 long id, long groupId, long classNameId, long classPK, 2455 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2456 throws com.liferay.portal.kernel.exception.SystemException, 2457 com.liferay.portlet.journal.NoSuchArticleException; 2458 2459 /** 2460 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 2461 * 2462 * @param groupId the group ID 2463 * @param classNameId the class name ID 2464 * @param classPK the class p k 2465 * @return the matching journal articles that the user has permission to view 2466 * @throws SystemException if a system exception occurred 2467 */ 2468 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 2469 long groupId, long classNameId, long classPK) 2470 throws com.liferay.portal.kernel.exception.SystemException; 2471 2472 /** 2473 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 2474 * 2475 * <p> 2476 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2477 * </p> 2478 * 2479 * @param groupId the group ID 2480 * @param classNameId the class name ID 2481 * @param classPK the class p k 2482 * @param start the lower bound of the range of journal articles 2483 * @param end the upper bound of the range of journal articles (not inclusive) 2484 * @return the range of matching journal articles that the user has permission to view 2485 * @throws SystemException if a system exception occurred 2486 */ 2487 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 2488 long groupId, long classNameId, long classPK, int start, int end) 2489 throws com.liferay.portal.kernel.exception.SystemException; 2490 2491 /** 2492 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 2493 * 2494 * <p> 2495 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2496 * </p> 2497 * 2498 * @param groupId the group ID 2499 * @param classNameId the class name ID 2500 * @param classPK the class p k 2501 * @param start the lower bound of the range of journal articles 2502 * @param end the upper bound of the range of journal articles (not inclusive) 2503 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2504 * @return the ordered range of matching journal articles that the user has permission to view 2505 * @throws SystemException if a system exception occurred 2506 */ 2507 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 2508 long groupId, long classNameId, long classPK, int start, int end, 2509 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2510 throws com.liferay.portal.kernel.exception.SystemException; 2511 2512 /** 2513 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 2514 * 2515 * @param id the primary key of the current journal article 2516 * @param groupId the group ID 2517 * @param classNameId the class name ID 2518 * @param classPK the class p k 2519 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2520 * @return the previous, current, and next journal article 2521 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2522 * @throws SystemException if a system exception occurred 2523 */ 2524 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 2525 long id, long groupId, long classNameId, long classPK, 2526 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2527 throws com.liferay.portal.kernel.exception.SystemException, 2528 com.liferay.portlet.journal.NoSuchArticleException; 2529 2530 /** 2531 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 2532 * 2533 * @param groupId the group ID 2534 * @param classNameId the class name ID 2535 * @param structureId the structure ID 2536 * @return the matching journal article 2537 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2538 * @throws SystemException if a system exception occurred 2539 */ 2540 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 2541 long groupId, long classNameId, java.lang.String structureId) 2542 throws com.liferay.portal.kernel.exception.SystemException, 2543 com.liferay.portlet.journal.NoSuchArticleException; 2544 2545 /** 2546 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 2547 * 2548 * @param groupId the group ID 2549 * @param classNameId the class name ID 2550 * @param structureId the structure ID 2551 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2552 * @throws SystemException if a system exception occurred 2553 */ 2554 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 2555 long groupId, long classNameId, java.lang.String structureId) 2556 throws com.liferay.portal.kernel.exception.SystemException; 2557 2558 /** 2559 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 2560 * 2561 * @param groupId the group ID 2562 * @param classNameId the class name ID 2563 * @param structureId the structure ID 2564 * @param retrieveFromCache whether to use the finder cache 2565 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2566 * @throws SystemException if a system exception occurred 2567 */ 2568 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 2569 long groupId, long classNameId, java.lang.String structureId, 2570 boolean retrieveFromCache) 2571 throws com.liferay.portal.kernel.exception.SystemException; 2572 2573 /** 2574 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 2575 * 2576 * @param groupId the group ID 2577 * @param classNameId the class name ID 2578 * @param templateId the template ID 2579 * @return the matching journal articles 2580 * @throws SystemException if a system exception occurred 2581 */ 2582 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 2583 long groupId, long classNameId, java.lang.String templateId) 2584 throws com.liferay.portal.kernel.exception.SystemException; 2585 2586 /** 2587 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 2588 * 2589 * <p> 2590 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2591 * </p> 2592 * 2593 * @param groupId the group ID 2594 * @param classNameId the class name ID 2595 * @param templateId the template ID 2596 * @param start the lower bound of the range of journal articles 2597 * @param end the upper bound of the range of journal articles (not inclusive) 2598 * @return the range of matching journal articles 2599 * @throws SystemException if a system exception occurred 2600 */ 2601 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 2602 long groupId, long classNameId, java.lang.String templateId, int start, 2603 int end) throws com.liferay.portal.kernel.exception.SystemException; 2604 2605 /** 2606 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 2607 * 2608 * <p> 2609 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2610 * </p> 2611 * 2612 * @param groupId the group ID 2613 * @param classNameId the class name ID 2614 * @param templateId the template ID 2615 * @param start the lower bound of the range of journal articles 2616 * @param end the upper bound of the range of journal articles (not inclusive) 2617 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2618 * @return the ordered range of matching journal articles 2619 * @throws SystemException if a system exception occurred 2620 */ 2621 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 2622 long groupId, long classNameId, java.lang.String templateId, int start, 2623 int end, 2624 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2625 throws com.liferay.portal.kernel.exception.SystemException; 2626 2627 /** 2628 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2629 * 2630 * <p> 2631 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2632 * </p> 2633 * 2634 * @param groupId the group ID 2635 * @param classNameId the class name ID 2636 * @param templateId the template ID 2637 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2638 * @return the first matching journal article 2639 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2640 * @throws SystemException if a system exception occurred 2641 */ 2642 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 2643 long groupId, long classNameId, java.lang.String templateId, 2644 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2645 throws com.liferay.portal.kernel.exception.SystemException, 2646 com.liferay.portlet.journal.NoSuchArticleException; 2647 2648 /** 2649 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2650 * 2651 * <p> 2652 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2653 * </p> 2654 * 2655 * @param groupId the group ID 2656 * @param classNameId the class name ID 2657 * @param templateId the template ID 2658 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2659 * @return the last matching journal article 2660 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2661 * @throws SystemException if a system exception occurred 2662 */ 2663 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 2664 long groupId, long classNameId, java.lang.String templateId, 2665 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2666 throws com.liferay.portal.kernel.exception.SystemException, 2667 com.liferay.portlet.journal.NoSuchArticleException; 2668 2669 /** 2670 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2671 * 2672 * <p> 2673 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2674 * </p> 2675 * 2676 * @param id the primary key of the current journal article 2677 * @param groupId the group ID 2678 * @param classNameId the class name ID 2679 * @param templateId the template ID 2680 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2681 * @return the previous, current, and next journal article 2682 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2683 * @throws SystemException if a system exception occurred 2684 */ 2685 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 2686 long id, long groupId, long classNameId, java.lang.String templateId, 2687 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2688 throws com.liferay.portal.kernel.exception.SystemException, 2689 com.liferay.portlet.journal.NoSuchArticleException; 2690 2691 /** 2692 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 2693 * 2694 * @param groupId the group ID 2695 * @param classNameId the class name ID 2696 * @param templateId the template ID 2697 * @return the matching journal articles that the user has permission to view 2698 * @throws SystemException if a system exception occurred 2699 */ 2700 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 2701 long groupId, long classNameId, java.lang.String templateId) 2702 throws com.liferay.portal.kernel.exception.SystemException; 2703 2704 /** 2705 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 2706 * 2707 * <p> 2708 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2709 * </p> 2710 * 2711 * @param groupId the group ID 2712 * @param classNameId the class name ID 2713 * @param templateId the template ID 2714 * @param start the lower bound of the range of journal articles 2715 * @param end the upper bound of the range of journal articles (not inclusive) 2716 * @return the range of matching journal articles that the user has permission to view 2717 * @throws SystemException if a system exception occurred 2718 */ 2719 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 2720 long groupId, long classNameId, java.lang.String templateId, int start, 2721 int end) throws com.liferay.portal.kernel.exception.SystemException; 2722 2723 /** 2724 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 2725 * 2726 * <p> 2727 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2728 * </p> 2729 * 2730 * @param groupId the group ID 2731 * @param classNameId the class name ID 2732 * @param templateId the template ID 2733 * @param start the lower bound of the range of journal articles 2734 * @param end the upper bound of the range of journal articles (not inclusive) 2735 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2736 * @return the ordered range of matching journal articles that the user has permission to view 2737 * @throws SystemException if a system exception occurred 2738 */ 2739 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 2740 long groupId, long classNameId, java.lang.String templateId, int start, 2741 int end, 2742 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2743 throws com.liferay.portal.kernel.exception.SystemException; 2744 2745 /** 2746 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 2747 * 2748 * @param id the primary key of the current journal article 2749 * @param groupId the group ID 2750 * @param classNameId the class name ID 2751 * @param templateId the template ID 2752 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2753 * @return the previous, current, and next journal article 2754 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2755 * @throws SystemException if a system exception occurred 2756 */ 2757 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 2758 long id, long groupId, long classNameId, java.lang.String templateId, 2759 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2760 throws com.liferay.portal.kernel.exception.SystemException, 2761 com.liferay.portlet.journal.NoSuchArticleException; 2762 2763 /** 2764 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 2765 * 2766 * @param groupId the group ID 2767 * @param classNameId the class name ID 2768 * @param layoutUuid the layout uuid 2769 * @return the matching journal articles 2770 * @throws SystemException if a system exception occurred 2771 */ 2772 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 2773 long groupId, long classNameId, java.lang.String layoutUuid) 2774 throws com.liferay.portal.kernel.exception.SystemException; 2775 2776 /** 2777 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 2778 * 2779 * <p> 2780 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2781 * </p> 2782 * 2783 * @param groupId the group ID 2784 * @param classNameId the class name ID 2785 * @param layoutUuid the layout uuid 2786 * @param start the lower bound of the range of journal articles 2787 * @param end the upper bound of the range of journal articles (not inclusive) 2788 * @return the range of matching journal articles 2789 * @throws SystemException if a system exception occurred 2790 */ 2791 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 2792 long groupId, long classNameId, java.lang.String layoutUuid, int start, 2793 int end) throws com.liferay.portal.kernel.exception.SystemException; 2794 2795 /** 2796 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 2797 * 2798 * <p> 2799 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2800 * </p> 2801 * 2802 * @param groupId the group ID 2803 * @param classNameId the class name ID 2804 * @param layoutUuid the layout uuid 2805 * @param start the lower bound of the range of journal articles 2806 * @param end the upper bound of the range of journal articles (not inclusive) 2807 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2808 * @return the ordered range of matching journal articles 2809 * @throws SystemException if a system exception occurred 2810 */ 2811 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 2812 long groupId, long classNameId, java.lang.String layoutUuid, int start, 2813 int end, 2814 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2815 throws com.liferay.portal.kernel.exception.SystemException; 2816 2817 /** 2818 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 2819 * 2820 * <p> 2821 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2822 * </p> 2823 * 2824 * @param groupId the group ID 2825 * @param classNameId the class name ID 2826 * @param layoutUuid the layout uuid 2827 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2828 * @return the first matching journal article 2829 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2830 * @throws SystemException if a system exception occurred 2831 */ 2832 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 2833 long groupId, long classNameId, java.lang.String layoutUuid, 2834 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2835 throws com.liferay.portal.kernel.exception.SystemException, 2836 com.liferay.portlet.journal.NoSuchArticleException; 2837 2838 /** 2839 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 2840 * 2841 * <p> 2842 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2843 * </p> 2844 * 2845 * @param groupId the group ID 2846 * @param classNameId the class name ID 2847 * @param layoutUuid the layout uuid 2848 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2849 * @return the last matching journal article 2850 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2851 * @throws SystemException if a system exception occurred 2852 */ 2853 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 2854 long groupId, long classNameId, java.lang.String layoutUuid, 2855 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2856 throws com.liferay.portal.kernel.exception.SystemException, 2857 com.liferay.portlet.journal.NoSuchArticleException; 2858 2859 /** 2860 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 2861 * 2862 * <p> 2863 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2864 * </p> 2865 * 2866 * @param id the primary key of the current journal article 2867 * @param groupId the group ID 2868 * @param classNameId the class name ID 2869 * @param layoutUuid the layout uuid 2870 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2871 * @return the previous, current, and next journal article 2872 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2873 * @throws SystemException if a system exception occurred 2874 */ 2875 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 2876 long id, long groupId, long classNameId, java.lang.String layoutUuid, 2877 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2878 throws com.liferay.portal.kernel.exception.SystemException, 2879 com.liferay.portlet.journal.NoSuchArticleException; 2880 2881 /** 2882 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 2883 * 2884 * @param groupId the group ID 2885 * @param classNameId the class name ID 2886 * @param layoutUuid the layout uuid 2887 * @return the matching journal articles that the user has permission to view 2888 * @throws SystemException if a system exception occurred 2889 */ 2890 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 2891 long groupId, long classNameId, java.lang.String layoutUuid) 2892 throws com.liferay.portal.kernel.exception.SystemException; 2893 2894 /** 2895 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 2896 * 2897 * <p> 2898 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2899 * </p> 2900 * 2901 * @param groupId the group ID 2902 * @param classNameId the class name ID 2903 * @param layoutUuid the layout uuid 2904 * @param start the lower bound of the range of journal articles 2905 * @param end the upper bound of the range of journal articles (not inclusive) 2906 * @return the range of matching journal articles that the user has permission to view 2907 * @throws SystemException if a system exception occurred 2908 */ 2909 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 2910 long groupId, long classNameId, java.lang.String layoutUuid, int start, 2911 int end) throws com.liferay.portal.kernel.exception.SystemException; 2912 2913 /** 2914 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 2915 * 2916 * <p> 2917 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2918 * </p> 2919 * 2920 * @param groupId the group ID 2921 * @param classNameId the class name ID 2922 * @param layoutUuid the layout uuid 2923 * @param start the lower bound of the range of journal articles 2924 * @param end the upper bound of the range of journal articles (not inclusive) 2925 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2926 * @return the ordered range of matching journal articles that the user has permission to view 2927 * @throws SystemException if a system exception occurred 2928 */ 2929 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 2930 long groupId, long classNameId, java.lang.String layoutUuid, int start, 2931 int end, 2932 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2933 throws com.liferay.portal.kernel.exception.SystemException; 2934 2935 /** 2936 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 2937 * 2938 * @param id the primary key of the current journal article 2939 * @param groupId the group ID 2940 * @param classNameId the class name ID 2941 * @param layoutUuid the layout uuid 2942 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2943 * @return the previous, current, and next journal article 2944 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2945 * @throws SystemException if a system exception occurred 2946 */ 2947 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 2948 long id, long groupId, long classNameId, java.lang.String layoutUuid, 2949 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2950 throws com.liferay.portal.kernel.exception.SystemException, 2951 com.liferay.portlet.journal.NoSuchArticleException; 2952 2953 /** 2954 * Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 2955 * 2956 * @param groupId the group ID 2957 * @param articleId the article ID 2958 * @param version the version 2959 * @return the matching journal article 2960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2961 * @throws SystemException if a system exception occurred 2962 */ 2963 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 2964 long groupId, java.lang.String articleId, double version) 2965 throws com.liferay.portal.kernel.exception.SystemException, 2966 com.liferay.portlet.journal.NoSuchArticleException; 2967 2968 /** 2969 * Returns the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 2970 * 2971 * @param groupId the group ID 2972 * @param articleId the article ID 2973 * @param version the version 2974 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2975 * @throws SystemException if a system exception occurred 2976 */ 2977 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 2978 long groupId, java.lang.String articleId, double version) 2979 throws com.liferay.portal.kernel.exception.SystemException; 2980 2981 /** 2982 * Returns the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 2983 * 2984 * @param groupId the group ID 2985 * @param articleId the article ID 2986 * @param version the version 2987 * @param retrieveFromCache whether to use the finder cache 2988 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2989 * @throws SystemException if a system exception occurred 2990 */ 2991 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 2992 long groupId, java.lang.String articleId, double version, 2993 boolean retrieveFromCache) 2994 throws com.liferay.portal.kernel.exception.SystemException; 2995 2996 /** 2997 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 2998 * 2999 * @param groupId the group ID 3000 * @param articleId the article ID 3001 * @param status the status 3002 * @return the matching journal articles 3003 * @throws SystemException if a system exception occurred 3004 */ 3005 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3006 long groupId, java.lang.String articleId, int status) 3007 throws com.liferay.portal.kernel.exception.SystemException; 3008 3009 /** 3010 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 3011 * 3012 * <p> 3013 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3014 * </p> 3015 * 3016 * @param groupId the group ID 3017 * @param articleId the article ID 3018 * @param status the status 3019 * @param start the lower bound of the range of journal articles 3020 * @param end the upper bound of the range of journal articles (not inclusive) 3021 * @return the range of matching journal articles 3022 * @throws SystemException if a system exception occurred 3023 */ 3024 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3025 long groupId, java.lang.String articleId, int status, int start, int end) 3026 throws com.liferay.portal.kernel.exception.SystemException; 3027 3028 /** 3029 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 3030 * 3031 * <p> 3032 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3033 * </p> 3034 * 3035 * @param groupId the group ID 3036 * @param articleId the article ID 3037 * @param status the status 3038 * @param start the lower bound of the range of journal articles 3039 * @param end the upper bound of the range of journal articles (not inclusive) 3040 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3041 * @return the ordered range of matching journal articles 3042 * @throws SystemException if a system exception occurred 3043 */ 3044 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3045 long groupId, java.lang.String articleId, int status, int start, 3046 int end, 3047 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3048 throws com.liferay.portal.kernel.exception.SystemException; 3049 3050 /** 3051 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3052 * 3053 * <p> 3054 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3055 * </p> 3056 * 3057 * @param groupId the group ID 3058 * @param articleId the article ID 3059 * @param status the status 3060 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3061 * @return the first matching journal article 3062 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3063 * @throws SystemException if a system exception occurred 3064 */ 3065 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 3066 long groupId, java.lang.String articleId, int status, 3067 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3068 throws com.liferay.portal.kernel.exception.SystemException, 3069 com.liferay.portlet.journal.NoSuchArticleException; 3070 3071 /** 3072 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3073 * 3074 * <p> 3075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3076 * </p> 3077 * 3078 * @param groupId the group ID 3079 * @param articleId the article ID 3080 * @param status the status 3081 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3082 * @return the last matching journal article 3083 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3084 * @throws SystemException if a system exception occurred 3085 */ 3086 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 3087 long groupId, java.lang.String articleId, int status, 3088 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3089 throws com.liferay.portal.kernel.exception.SystemException, 3090 com.liferay.portlet.journal.NoSuchArticleException; 3091 3092 /** 3093 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3094 * 3095 * <p> 3096 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3097 * </p> 3098 * 3099 * @param id the primary key of the current journal article 3100 * @param groupId the group ID 3101 * @param articleId the article ID 3102 * @param status the status 3103 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3104 * @return the previous, current, and next journal article 3105 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3106 * @throws SystemException if a system exception occurred 3107 */ 3108 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 3109 long id, long groupId, java.lang.String articleId, int status, 3110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3111 throws com.liferay.portal.kernel.exception.SystemException, 3112 com.liferay.portlet.journal.NoSuchArticleException; 3113 3114 /** 3115 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 3116 * 3117 * <p> 3118 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3119 * </p> 3120 * 3121 * @param groupId the group ID 3122 * @param articleId the article ID 3123 * @param statuses the statuses 3124 * @return the matching journal articles 3125 * @throws SystemException if a system exception occurred 3126 */ 3127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3128 long groupId, java.lang.String articleId, int[] statuses) 3129 throws com.liferay.portal.kernel.exception.SystemException; 3130 3131 /** 3132 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 3133 * 3134 * <p> 3135 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3136 * </p> 3137 * 3138 * @param groupId the group ID 3139 * @param articleId the article ID 3140 * @param statuses the statuses 3141 * @param start the lower bound of the range of journal articles 3142 * @param end the upper bound of the range of journal articles (not inclusive) 3143 * @return the range of matching journal articles 3144 * @throws SystemException if a system exception occurred 3145 */ 3146 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3147 long groupId, java.lang.String articleId, int[] statuses, int start, 3148 int end) throws com.liferay.portal.kernel.exception.SystemException; 3149 3150 /** 3151 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 3152 * 3153 * <p> 3154 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3155 * </p> 3156 * 3157 * @param groupId the group ID 3158 * @param articleId the article ID 3159 * @param statuses the statuses 3160 * @param start the lower bound of the range of journal articles 3161 * @param end the upper bound of the range of journal articles (not inclusive) 3162 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3163 * @return the ordered range of matching journal articles 3164 * @throws SystemException if a system exception occurred 3165 */ 3166 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3167 long groupId, java.lang.String articleId, int[] statuses, int start, 3168 int end, 3169 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3170 throws com.liferay.portal.kernel.exception.SystemException; 3171 3172 /** 3173 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 3174 * 3175 * @param groupId the group ID 3176 * @param articleId the article ID 3177 * @param status the status 3178 * @return the matching journal articles that the user has permission to view 3179 * @throws SystemException if a system exception occurred 3180 */ 3181 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3182 long groupId, java.lang.String articleId, int status) 3183 throws com.liferay.portal.kernel.exception.SystemException; 3184 3185 /** 3186 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 3187 * 3188 * <p> 3189 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3190 * </p> 3191 * 3192 * @param groupId the group ID 3193 * @param articleId the article ID 3194 * @param status the status 3195 * @param start the lower bound of the range of journal articles 3196 * @param end the upper bound of the range of journal articles (not inclusive) 3197 * @return the range of matching journal articles that the user has permission to view 3198 * @throws SystemException if a system exception occurred 3199 */ 3200 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3201 long groupId, java.lang.String articleId, int status, int start, int end) 3202 throws com.liferay.portal.kernel.exception.SystemException; 3203 3204 /** 3205 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 3206 * 3207 * <p> 3208 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3209 * </p> 3210 * 3211 * @param groupId the group ID 3212 * @param articleId the article ID 3213 * @param status the status 3214 * @param start the lower bound of the range of journal articles 3215 * @param end the upper bound of the range of journal articles (not inclusive) 3216 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3217 * @return the ordered range of matching journal articles that the user has permission to view 3218 * @throws SystemException if a system exception occurred 3219 */ 3220 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3221 long groupId, java.lang.String articleId, int status, int start, 3222 int end, 3223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3224 throws com.liferay.portal.kernel.exception.SystemException; 3225 3226 /** 3227 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 3228 * 3229 * @param id the primary key of the current journal article 3230 * @param groupId the group ID 3231 * @param articleId the article ID 3232 * @param status the status 3233 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3234 * @return the previous, current, and next journal article 3235 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3236 * @throws SystemException if a system exception occurred 3237 */ 3238 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 3239 long id, long groupId, java.lang.String articleId, int status, 3240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3241 throws com.liferay.portal.kernel.exception.SystemException, 3242 com.liferay.portlet.journal.NoSuchArticleException; 3243 3244 /** 3245 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 3246 * 3247 * @param groupId the group ID 3248 * @param articleId the article ID 3249 * @param statuses the statuses 3250 * @return the matching journal articles that the user has permission to view 3251 * @throws SystemException if a system exception occurred 3252 */ 3253 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3254 long groupId, java.lang.String articleId, int[] statuses) 3255 throws com.liferay.portal.kernel.exception.SystemException; 3256 3257 /** 3258 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 3259 * 3260 * <p> 3261 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3262 * </p> 3263 * 3264 * @param groupId the group ID 3265 * @param articleId the article ID 3266 * @param statuses the statuses 3267 * @param start the lower bound of the range of journal articles 3268 * @param end the upper bound of the range of journal articles (not inclusive) 3269 * @return the range of matching journal articles that the user has permission to view 3270 * @throws SystemException if a system exception occurred 3271 */ 3272 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3273 long groupId, java.lang.String articleId, int[] statuses, int start, 3274 int end) throws com.liferay.portal.kernel.exception.SystemException; 3275 3276 /** 3277 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 3278 * 3279 * <p> 3280 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3281 * </p> 3282 * 3283 * @param groupId the group ID 3284 * @param articleId the article ID 3285 * @param statuses the statuses 3286 * @param start the lower bound of the range of journal articles 3287 * @param end the upper bound of the range of journal articles (not inclusive) 3288 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3289 * @return the ordered range of matching journal articles that the user has permission to view 3290 * @throws SystemException if a system exception occurred 3291 */ 3292 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3293 long groupId, java.lang.String articleId, int[] statuses, int start, 3294 int end, 3295 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3296 throws com.liferay.portal.kernel.exception.SystemException; 3297 3298 /** 3299 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3300 * 3301 * @param groupId the group ID 3302 * @param urlTitle the url title 3303 * @param status the status 3304 * @return the matching journal articles 3305 * @throws SystemException if a system exception occurred 3306 */ 3307 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 3308 long groupId, java.lang.String urlTitle, int status) 3309 throws com.liferay.portal.kernel.exception.SystemException; 3310 3311 /** 3312 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3313 * 3314 * <p> 3315 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3316 * </p> 3317 * 3318 * @param groupId the group ID 3319 * @param urlTitle the url title 3320 * @param status the status 3321 * @param start the lower bound of the range of journal articles 3322 * @param end the upper bound of the range of journal articles (not inclusive) 3323 * @return the range of matching journal articles 3324 * @throws SystemException if a system exception occurred 3325 */ 3326 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 3327 long groupId, java.lang.String urlTitle, int status, int start, int end) 3328 throws com.liferay.portal.kernel.exception.SystemException; 3329 3330 /** 3331 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3332 * 3333 * <p> 3334 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3335 * </p> 3336 * 3337 * @param groupId the group ID 3338 * @param urlTitle the url title 3339 * @param status the status 3340 * @param start the lower bound of the range of journal articles 3341 * @param end the upper bound of the range of journal articles (not inclusive) 3342 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3343 * @return the ordered range of matching journal articles 3344 * @throws SystemException if a system exception occurred 3345 */ 3346 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 3347 long groupId, java.lang.String urlTitle, int status, int start, 3348 int end, 3349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3350 throws com.liferay.portal.kernel.exception.SystemException; 3351 3352 /** 3353 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3354 * 3355 * <p> 3356 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3357 * </p> 3358 * 3359 * @param groupId the group ID 3360 * @param urlTitle the url title 3361 * @param status the status 3362 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3363 * @return the first matching journal article 3364 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3365 * @throws SystemException if a system exception occurred 3366 */ 3367 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 3368 long groupId, java.lang.String urlTitle, int status, 3369 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3370 throws com.liferay.portal.kernel.exception.SystemException, 3371 com.liferay.portlet.journal.NoSuchArticleException; 3372 3373 /** 3374 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3375 * 3376 * <p> 3377 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3378 * </p> 3379 * 3380 * @param groupId the group ID 3381 * @param urlTitle the url title 3382 * @param status the status 3383 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3384 * @return the last matching journal article 3385 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3386 * @throws SystemException if a system exception occurred 3387 */ 3388 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 3389 long groupId, java.lang.String urlTitle, int status, 3390 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3391 throws com.liferay.portal.kernel.exception.SystemException, 3392 com.liferay.portlet.journal.NoSuchArticleException; 3393 3394 /** 3395 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3396 * 3397 * <p> 3398 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3399 * </p> 3400 * 3401 * @param id the primary key of the current journal article 3402 * @param groupId the group ID 3403 * @param urlTitle the url title 3404 * @param status the status 3405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3406 * @return the previous, current, and next journal article 3407 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3408 * @throws SystemException if a system exception occurred 3409 */ 3410 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 3411 long id, long groupId, java.lang.String urlTitle, int status, 3412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3413 throws com.liferay.portal.kernel.exception.SystemException, 3414 com.liferay.portlet.journal.NoSuchArticleException; 3415 3416 /** 3417 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 3418 * 3419 * @param groupId the group ID 3420 * @param urlTitle the url title 3421 * @param status the status 3422 * @return the matching journal articles that the user has permission to view 3423 * @throws SystemException if a system exception occurred 3424 */ 3425 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 3426 long groupId, java.lang.String urlTitle, int status) 3427 throws com.liferay.portal.kernel.exception.SystemException; 3428 3429 /** 3430 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 3431 * 3432 * <p> 3433 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3434 * </p> 3435 * 3436 * @param groupId the group ID 3437 * @param urlTitle the url title 3438 * @param status the status 3439 * @param start the lower bound of the range of journal articles 3440 * @param end the upper bound of the range of journal articles (not inclusive) 3441 * @return the range of matching journal articles that the user has permission to view 3442 * @throws SystemException if a system exception occurred 3443 */ 3444 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 3445 long groupId, java.lang.String urlTitle, int status, int start, int end) 3446 throws com.liferay.portal.kernel.exception.SystemException; 3447 3448 /** 3449 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 3450 * 3451 * <p> 3452 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3453 * </p> 3454 * 3455 * @param groupId the group ID 3456 * @param urlTitle the url title 3457 * @param status the status 3458 * @param start the lower bound of the range of journal articles 3459 * @param end the upper bound of the range of journal articles (not inclusive) 3460 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3461 * @return the ordered range of matching journal articles that the user has permission to view 3462 * @throws SystemException if a system exception occurred 3463 */ 3464 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 3465 long groupId, java.lang.String urlTitle, int status, int start, 3466 int end, 3467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3468 throws com.liferay.portal.kernel.exception.SystemException; 3469 3470 /** 3471 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 3472 * 3473 * @param id the primary key of the current journal article 3474 * @param groupId the group ID 3475 * @param urlTitle the url title 3476 * @param status the status 3477 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3478 * @return the previous, current, and next journal article 3479 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3480 * @throws SystemException if a system exception occurred 3481 */ 3482 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 3483 long id, long groupId, java.lang.String urlTitle, int status, 3484 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3485 throws com.liferay.portal.kernel.exception.SystemException, 3486 com.liferay.portlet.journal.NoSuchArticleException; 3487 3488 /** 3489 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 3490 * 3491 * @param companyId the company ID 3492 * @param version the version 3493 * @param status the status 3494 * @return the matching journal articles 3495 * @throws SystemException if a system exception occurred 3496 */ 3497 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 3498 long companyId, double version, int status) 3499 throws com.liferay.portal.kernel.exception.SystemException; 3500 3501 /** 3502 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 3503 * 3504 * <p> 3505 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3506 * </p> 3507 * 3508 * @param companyId the company ID 3509 * @param version the version 3510 * @param status the status 3511 * @param start the lower bound of the range of journal articles 3512 * @param end the upper bound of the range of journal articles (not inclusive) 3513 * @return the range of matching journal articles 3514 * @throws SystemException if a system exception occurred 3515 */ 3516 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 3517 long companyId, double version, int status, int start, int end) 3518 throws com.liferay.portal.kernel.exception.SystemException; 3519 3520 /** 3521 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 3522 * 3523 * <p> 3524 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3525 * </p> 3526 * 3527 * @param companyId the company ID 3528 * @param version the version 3529 * @param status the status 3530 * @param start the lower bound of the range of journal articles 3531 * @param end the upper bound of the range of journal articles (not inclusive) 3532 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3533 * @return the ordered range of matching journal articles 3534 * @throws SystemException if a system exception occurred 3535 */ 3536 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 3537 long companyId, double version, int status, int start, int end, 3538 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3539 throws com.liferay.portal.kernel.exception.SystemException; 3540 3541 /** 3542 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 3543 * 3544 * <p> 3545 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3546 * </p> 3547 * 3548 * @param companyId the company ID 3549 * @param version the version 3550 * @param status the status 3551 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3552 * @return the first matching journal article 3553 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3554 * @throws SystemException if a system exception occurred 3555 */ 3556 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 3557 long companyId, double version, int status, 3558 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3559 throws com.liferay.portal.kernel.exception.SystemException, 3560 com.liferay.portlet.journal.NoSuchArticleException; 3561 3562 /** 3563 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 3564 * 3565 * <p> 3566 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3567 * </p> 3568 * 3569 * @param companyId the company ID 3570 * @param version the version 3571 * @param status the status 3572 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3573 * @return the last matching journal article 3574 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3575 * @throws SystemException if a system exception occurred 3576 */ 3577 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 3578 long companyId, double version, int status, 3579 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3580 throws com.liferay.portal.kernel.exception.SystemException, 3581 com.liferay.portlet.journal.NoSuchArticleException; 3582 3583 /** 3584 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 3585 * 3586 * <p> 3587 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3588 * </p> 3589 * 3590 * @param id the primary key of the current journal article 3591 * @param companyId the company ID 3592 * @param version the version 3593 * @param status the status 3594 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3595 * @return the previous, current, and next journal article 3596 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3597 * @throws SystemException if a system exception occurred 3598 */ 3599 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 3600 long id, long companyId, double version, int status, 3601 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3602 throws com.liferay.portal.kernel.exception.SystemException, 3603 com.liferay.portlet.journal.NoSuchArticleException; 3604 3605 /** 3606 * Returns all the journal articles. 3607 * 3608 * @return the journal articles 3609 * @throws SystemException if a system exception occurred 3610 */ 3611 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 3612 throws com.liferay.portal.kernel.exception.SystemException; 3613 3614 /** 3615 * Returns a range of all the journal articles. 3616 * 3617 * <p> 3618 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3619 * </p> 3620 * 3621 * @param start the lower bound of the range of journal articles 3622 * @param end the upper bound of the range of journal articles (not inclusive) 3623 * @return the range of journal articles 3624 * @throws SystemException if a system exception occurred 3625 */ 3626 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 3627 int start, int end) 3628 throws com.liferay.portal.kernel.exception.SystemException; 3629 3630 /** 3631 * Returns an ordered range of all the journal articles. 3632 * 3633 * <p> 3634 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3635 * </p> 3636 * 3637 * @param start the lower bound of the range of journal articles 3638 * @param end the upper bound of the range of journal articles (not inclusive) 3639 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3640 * @return the ordered range of journal articles 3641 * @throws SystemException if a system exception occurred 3642 */ 3643 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 3644 int start, int end, 3645 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3646 throws com.liferay.portal.kernel.exception.SystemException; 3647 3648 /** 3649 * Removes all the journal articles where uuid = ? from the database. 3650 * 3651 * @param uuid the uuid 3652 * @throws SystemException if a system exception occurred 3653 */ 3654 public void removeByUuid(java.lang.String uuid) 3655 throws com.liferay.portal.kernel.exception.SystemException; 3656 3657 /** 3658 * Removes the journal article where uuid = ? and groupId = ? from the database. 3659 * 3660 * @param uuid the uuid 3661 * @param groupId the group ID 3662 * @throws SystemException if a system exception occurred 3663 */ 3664 public void removeByUUID_G(java.lang.String uuid, long groupId) 3665 throws com.liferay.portal.kernel.exception.SystemException, 3666 com.liferay.portlet.journal.NoSuchArticleException; 3667 3668 /** 3669 * Removes all the journal articles where resourcePrimKey = ? from the database. 3670 * 3671 * @param resourcePrimKey the resource prim key 3672 * @throws SystemException if a system exception occurred 3673 */ 3674 public void removeByResourcePrimKey(long resourcePrimKey) 3675 throws com.liferay.portal.kernel.exception.SystemException; 3676 3677 /** 3678 * Removes all the journal articles where groupId = ? from the database. 3679 * 3680 * @param groupId the group ID 3681 * @throws SystemException if a system exception occurred 3682 */ 3683 public void removeByGroupId(long groupId) 3684 throws com.liferay.portal.kernel.exception.SystemException; 3685 3686 /** 3687 * Removes all the journal articles where companyId = ? from the database. 3688 * 3689 * @param companyId the company ID 3690 * @throws SystemException if a system exception occurred 3691 */ 3692 public void removeByCompanyId(long companyId) 3693 throws com.liferay.portal.kernel.exception.SystemException; 3694 3695 /** 3696 * Removes all the journal articles where structureId = ? from the database. 3697 * 3698 * @param structureId the structure ID 3699 * @throws SystemException if a system exception occurred 3700 */ 3701 public void removeByStructureId(java.lang.String structureId) 3702 throws com.liferay.portal.kernel.exception.SystemException; 3703 3704 /** 3705 * Removes all the journal articles where templateId = ? from the database. 3706 * 3707 * @param templateId the template ID 3708 * @throws SystemException if a system exception occurred 3709 */ 3710 public void removeByTemplateId(java.lang.String templateId) 3711 throws com.liferay.portal.kernel.exception.SystemException; 3712 3713 /** 3714 * Removes all the journal articles where smallImageId = ? from the database. 3715 * 3716 * @param smallImageId the small image ID 3717 * @throws SystemException if a system exception occurred 3718 */ 3719 public void removeBySmallImageId(long smallImageId) 3720 throws com.liferay.portal.kernel.exception.SystemException; 3721 3722 /** 3723 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 3724 * 3725 * @param resourcePrimKey the resource prim key 3726 * @param status the status 3727 * @throws SystemException if a system exception occurred 3728 */ 3729 public void removeByR_ST(long resourcePrimKey, int status) 3730 throws com.liferay.portal.kernel.exception.SystemException; 3731 3732 /** 3733 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 3734 * 3735 * @param groupId the group ID 3736 * @param articleId the article ID 3737 * @throws SystemException if a system exception occurred 3738 */ 3739 public void removeByG_A(long groupId, java.lang.String articleId) 3740 throws com.liferay.portal.kernel.exception.SystemException; 3741 3742 /** 3743 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 3744 * 3745 * @param groupId the group ID 3746 * @param urlTitle the url title 3747 * @throws SystemException if a system exception occurred 3748 */ 3749 public void removeByG_UT(long groupId, java.lang.String urlTitle) 3750 throws com.liferay.portal.kernel.exception.SystemException; 3751 3752 /** 3753 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 3754 * 3755 * @param groupId the group ID 3756 * @param structureId the structure ID 3757 * @throws SystemException if a system exception occurred 3758 */ 3759 public void removeByG_S(long groupId, java.lang.String structureId) 3760 throws com.liferay.portal.kernel.exception.SystemException; 3761 3762 /** 3763 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 3764 * 3765 * @param groupId the group ID 3766 * @param templateId the template ID 3767 * @throws SystemException if a system exception occurred 3768 */ 3769 public void removeByG_T(long groupId, java.lang.String templateId) 3770 throws com.liferay.portal.kernel.exception.SystemException; 3771 3772 /** 3773 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3774 * 3775 * @param groupId the group ID 3776 * @param layoutUuid the layout uuid 3777 * @throws SystemException if a system exception occurred 3778 */ 3779 public void removeByG_L(long groupId, java.lang.String layoutUuid) 3780 throws com.liferay.portal.kernel.exception.SystemException; 3781 3782 /** 3783 * Removes all the journal articles where groupId = ? and status = ? from the database. 3784 * 3785 * @param groupId the group ID 3786 * @param status the status 3787 * @throws SystemException if a system exception occurred 3788 */ 3789 public void removeByG_ST(long groupId, int status) 3790 throws com.liferay.portal.kernel.exception.SystemException; 3791 3792 /** 3793 * Removes all the journal articles where companyId = ? and version = ? from the database. 3794 * 3795 * @param companyId the company ID 3796 * @param version the version 3797 * @throws SystemException if a system exception occurred 3798 */ 3799 public void removeByC_V(long companyId, double version) 3800 throws com.liferay.portal.kernel.exception.SystemException; 3801 3802 /** 3803 * Removes all the journal articles where companyId = ? and status = ? from the database. 3804 * 3805 * @param companyId the company ID 3806 * @param status the status 3807 * @throws SystemException if a system exception occurred 3808 */ 3809 public void removeByC_ST(long companyId, int status) 3810 throws com.liferay.portal.kernel.exception.SystemException; 3811 3812 /** 3813 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 3814 * 3815 * @param groupId the group ID 3816 * @param classNameId the class name ID 3817 * @param classPK the class p k 3818 * @throws SystemException if a system exception occurred 3819 */ 3820 public void removeByG_C_C(long groupId, long classNameId, long classPK) 3821 throws com.liferay.portal.kernel.exception.SystemException; 3822 3823 /** 3824 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 3825 * 3826 * @param groupId the group ID 3827 * @param classNameId the class name ID 3828 * @param structureId the structure ID 3829 * @throws SystemException if a system exception occurred 3830 */ 3831 public void removeByG_C_S(long groupId, long classNameId, 3832 java.lang.String structureId) 3833 throws com.liferay.portal.kernel.exception.SystemException, 3834 com.liferay.portlet.journal.NoSuchArticleException; 3835 3836 /** 3837 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 3838 * 3839 * @param groupId the group ID 3840 * @param classNameId the class name ID 3841 * @param templateId the template ID 3842 * @throws SystemException if a system exception occurred 3843 */ 3844 public void removeByG_C_T(long groupId, long classNameId, 3845 java.lang.String templateId) 3846 throws com.liferay.portal.kernel.exception.SystemException; 3847 3848 /** 3849 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 3850 * 3851 * @param groupId the group ID 3852 * @param classNameId the class name ID 3853 * @param layoutUuid the layout uuid 3854 * @throws SystemException if a system exception occurred 3855 */ 3856 public void removeByG_C_L(long groupId, long classNameId, 3857 java.lang.String layoutUuid) 3858 throws com.liferay.portal.kernel.exception.SystemException; 3859 3860 /** 3861 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 3862 * 3863 * @param groupId the group ID 3864 * @param articleId the article ID 3865 * @param version the version 3866 * @throws SystemException if a system exception occurred 3867 */ 3868 public void removeByG_A_V(long groupId, java.lang.String articleId, 3869 double version) 3870 throws com.liferay.portal.kernel.exception.SystemException, 3871 com.liferay.portlet.journal.NoSuchArticleException; 3872 3873 /** 3874 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 3875 * 3876 * @param groupId the group ID 3877 * @param articleId the article ID 3878 * @param status the status 3879 * @throws SystemException if a system exception occurred 3880 */ 3881 public void removeByG_A_ST(long groupId, java.lang.String articleId, 3882 int status) throws com.liferay.portal.kernel.exception.SystemException; 3883 3884 /** 3885 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 3886 * 3887 * @param groupId the group ID 3888 * @param urlTitle the url title 3889 * @param status the status 3890 * @throws SystemException if a system exception occurred 3891 */ 3892 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 3893 int status) throws com.liferay.portal.kernel.exception.SystemException; 3894 3895 /** 3896 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 3897 * 3898 * @param companyId the company ID 3899 * @param version the version 3900 * @param status the status 3901 * @throws SystemException if a system exception occurred 3902 */ 3903 public void removeByC_V_ST(long companyId, double version, int status) 3904 throws com.liferay.portal.kernel.exception.SystemException; 3905 3906 /** 3907 * Removes all the journal articles from the database. 3908 * 3909 * @throws SystemException if a system exception occurred 3910 */ 3911 public void removeAll() 3912 throws com.liferay.portal.kernel.exception.SystemException; 3913 3914 /** 3915 * Returns the number of journal articles where uuid = ?. 3916 * 3917 * @param uuid the uuid 3918 * @return the number of matching journal articles 3919 * @throws SystemException if a system exception occurred 3920 */ 3921 public int countByUuid(java.lang.String uuid) 3922 throws com.liferay.portal.kernel.exception.SystemException; 3923 3924 /** 3925 * Returns the number of journal articles where uuid = ? and groupId = ?. 3926 * 3927 * @param uuid the uuid 3928 * @param groupId the group ID 3929 * @return the number of matching journal articles 3930 * @throws SystemException if a system exception occurred 3931 */ 3932 public int countByUUID_G(java.lang.String uuid, long groupId) 3933 throws com.liferay.portal.kernel.exception.SystemException; 3934 3935 /** 3936 * Returns the number of journal articles where resourcePrimKey = ?. 3937 * 3938 * @param resourcePrimKey the resource prim key 3939 * @return the number of matching journal articles 3940 * @throws SystemException if a system exception occurred 3941 */ 3942 public int countByResourcePrimKey(long resourcePrimKey) 3943 throws com.liferay.portal.kernel.exception.SystemException; 3944 3945 /** 3946 * Returns the number of journal articles where groupId = ?. 3947 * 3948 * @param groupId the group ID 3949 * @return the number of matching journal articles 3950 * @throws SystemException if a system exception occurred 3951 */ 3952 public int countByGroupId(long groupId) 3953 throws com.liferay.portal.kernel.exception.SystemException; 3954 3955 /** 3956 * Returns the number of journal articles that the user has permission to view where groupId = ?. 3957 * 3958 * @param groupId the group ID 3959 * @return the number of matching journal articles that the user has permission to view 3960 * @throws SystemException if a system exception occurred 3961 */ 3962 public int filterCountByGroupId(long groupId) 3963 throws com.liferay.portal.kernel.exception.SystemException; 3964 3965 /** 3966 * Returns the number of journal articles where companyId = ?. 3967 * 3968 * @param companyId the company ID 3969 * @return the number of matching journal articles 3970 * @throws SystemException if a system exception occurred 3971 */ 3972 public int countByCompanyId(long companyId) 3973 throws com.liferay.portal.kernel.exception.SystemException; 3974 3975 /** 3976 * Returns the number of journal articles where structureId = ?. 3977 * 3978 * @param structureId the structure ID 3979 * @return the number of matching journal articles 3980 * @throws SystemException if a system exception occurred 3981 */ 3982 public int countByStructureId(java.lang.String structureId) 3983 throws com.liferay.portal.kernel.exception.SystemException; 3984 3985 /** 3986 * Returns the number of journal articles where templateId = ?. 3987 * 3988 * @param templateId the template ID 3989 * @return the number of matching journal articles 3990 * @throws SystemException if a system exception occurred 3991 */ 3992 public int countByTemplateId(java.lang.String templateId) 3993 throws com.liferay.portal.kernel.exception.SystemException; 3994 3995 /** 3996 * Returns the number of journal articles where smallImageId = ?. 3997 * 3998 * @param smallImageId the small image ID 3999 * @return the number of matching journal articles 4000 * @throws SystemException if a system exception occurred 4001 */ 4002 public int countBySmallImageId(long smallImageId) 4003 throws com.liferay.portal.kernel.exception.SystemException; 4004 4005 /** 4006 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 4007 * 4008 * @param resourcePrimKey the resource prim key 4009 * @param status the status 4010 * @return the number of matching journal articles 4011 * @throws SystemException if a system exception occurred 4012 */ 4013 public int countByR_ST(long resourcePrimKey, int status) 4014 throws com.liferay.portal.kernel.exception.SystemException; 4015 4016 /** 4017 * Returns the number of journal articles where groupId = ? and articleId = ?. 4018 * 4019 * @param groupId the group ID 4020 * @param articleId the article ID 4021 * @return the number of matching journal articles 4022 * @throws SystemException if a system exception occurred 4023 */ 4024 public int countByG_A(long groupId, java.lang.String articleId) 4025 throws com.liferay.portal.kernel.exception.SystemException; 4026 4027 /** 4028 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 4029 * 4030 * @param groupId the group ID 4031 * @param articleId the article ID 4032 * @return the number of matching journal articles that the user has permission to view 4033 * @throws SystemException if a system exception occurred 4034 */ 4035 public int filterCountByG_A(long groupId, java.lang.String articleId) 4036 throws com.liferay.portal.kernel.exception.SystemException; 4037 4038 /** 4039 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 4040 * 4041 * @param groupId the group ID 4042 * @param urlTitle the url title 4043 * @return the number of matching journal articles 4044 * @throws SystemException if a system exception occurred 4045 */ 4046 public int countByG_UT(long groupId, java.lang.String urlTitle) 4047 throws com.liferay.portal.kernel.exception.SystemException; 4048 4049 /** 4050 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 4051 * 4052 * @param groupId the group ID 4053 * @param urlTitle the url title 4054 * @return the number of matching journal articles that the user has permission to view 4055 * @throws SystemException if a system exception occurred 4056 */ 4057 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 4058 throws com.liferay.portal.kernel.exception.SystemException; 4059 4060 /** 4061 * Returns the number of journal articles where groupId = ? and structureId = ?. 4062 * 4063 * @param groupId the group ID 4064 * @param structureId the structure ID 4065 * @return the number of matching journal articles 4066 * @throws SystemException if a system exception occurred 4067 */ 4068 public int countByG_S(long groupId, java.lang.String structureId) 4069 throws com.liferay.portal.kernel.exception.SystemException; 4070 4071 /** 4072 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 4073 * 4074 * @param groupId the group ID 4075 * @param structureId the structure ID 4076 * @return the number of matching journal articles that the user has permission to view 4077 * @throws SystemException if a system exception occurred 4078 */ 4079 public int filterCountByG_S(long groupId, java.lang.String structureId) 4080 throws com.liferay.portal.kernel.exception.SystemException; 4081 4082 /** 4083 * Returns the number of journal articles where groupId = ? and templateId = ?. 4084 * 4085 * @param groupId the group ID 4086 * @param templateId the template ID 4087 * @return the number of matching journal articles 4088 * @throws SystemException if a system exception occurred 4089 */ 4090 public int countByG_T(long groupId, java.lang.String templateId) 4091 throws com.liferay.portal.kernel.exception.SystemException; 4092 4093 /** 4094 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 4095 * 4096 * @param groupId the group ID 4097 * @param templateId the template ID 4098 * @return the number of matching journal articles that the user has permission to view 4099 * @throws SystemException if a system exception occurred 4100 */ 4101 public int filterCountByG_T(long groupId, java.lang.String templateId) 4102 throws com.liferay.portal.kernel.exception.SystemException; 4103 4104 /** 4105 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 4106 * 4107 * @param groupId the group ID 4108 * @param layoutUuid the layout uuid 4109 * @return the number of matching journal articles 4110 * @throws SystemException if a system exception occurred 4111 */ 4112 public int countByG_L(long groupId, java.lang.String layoutUuid) 4113 throws com.liferay.portal.kernel.exception.SystemException; 4114 4115 /** 4116 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 4117 * 4118 * @param groupId the group ID 4119 * @param layoutUuid the layout uuid 4120 * @return the number of matching journal articles that the user has permission to view 4121 * @throws SystemException if a system exception occurred 4122 */ 4123 public int filterCountByG_L(long groupId, java.lang.String layoutUuid) 4124 throws com.liferay.portal.kernel.exception.SystemException; 4125 4126 /** 4127 * Returns the number of journal articles where groupId = ? and status = ?. 4128 * 4129 * @param groupId the group ID 4130 * @param status the status 4131 * @return the number of matching journal articles 4132 * @throws SystemException if a system exception occurred 4133 */ 4134 public int countByG_ST(long groupId, int status) 4135 throws com.liferay.portal.kernel.exception.SystemException; 4136 4137 /** 4138 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 4139 * 4140 * @param groupId the group ID 4141 * @param status the status 4142 * @return the number of matching journal articles that the user has permission to view 4143 * @throws SystemException if a system exception occurred 4144 */ 4145 public int filterCountByG_ST(long groupId, int status) 4146 throws com.liferay.portal.kernel.exception.SystemException; 4147 4148 /** 4149 * Returns the number of journal articles where companyId = ? and version = ?. 4150 * 4151 * @param companyId the company ID 4152 * @param version the version 4153 * @return the number of matching journal articles 4154 * @throws SystemException if a system exception occurred 4155 */ 4156 public int countByC_V(long companyId, double version) 4157 throws com.liferay.portal.kernel.exception.SystemException; 4158 4159 /** 4160 * Returns the number of journal articles where companyId = ? and status = ?. 4161 * 4162 * @param companyId the company ID 4163 * @param status the status 4164 * @return the number of matching journal articles 4165 * @throws SystemException if a system exception occurred 4166 */ 4167 public int countByC_ST(long companyId, int status) 4168 throws com.liferay.portal.kernel.exception.SystemException; 4169 4170 /** 4171 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 4172 * 4173 * @param groupId the group ID 4174 * @param classNameId the class name ID 4175 * @param classPK the class p k 4176 * @return the number of matching journal articles 4177 * @throws SystemException if a system exception occurred 4178 */ 4179 public int countByG_C_C(long groupId, long classNameId, long classPK) 4180 throws com.liferay.portal.kernel.exception.SystemException; 4181 4182 /** 4183 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4184 * 4185 * @param groupId the group ID 4186 * @param classNameId the class name ID 4187 * @param classPK the class p k 4188 * @return the number of matching journal articles that the user has permission to view 4189 * @throws SystemException if a system exception occurred 4190 */ 4191 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 4192 throws com.liferay.portal.kernel.exception.SystemException; 4193 4194 /** 4195 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 4196 * 4197 * @param groupId the group ID 4198 * @param classNameId the class name ID 4199 * @param structureId the structure ID 4200 * @return the number of matching journal articles 4201 * @throws SystemException if a system exception occurred 4202 */ 4203 public int countByG_C_S(long groupId, long classNameId, 4204 java.lang.String structureId) 4205 throws com.liferay.portal.kernel.exception.SystemException; 4206 4207 /** 4208 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 4209 * 4210 * @param groupId the group ID 4211 * @param classNameId the class name ID 4212 * @param templateId the template ID 4213 * @return the number of matching journal articles 4214 * @throws SystemException if a system exception occurred 4215 */ 4216 public int countByG_C_T(long groupId, long classNameId, 4217 java.lang.String templateId) 4218 throws com.liferay.portal.kernel.exception.SystemException; 4219 4220 /** 4221 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4222 * 4223 * @param groupId the group ID 4224 * @param classNameId the class name ID 4225 * @param templateId the template ID 4226 * @return the number of matching journal articles that the user has permission to view 4227 * @throws SystemException if a system exception occurred 4228 */ 4229 public int filterCountByG_C_T(long groupId, long classNameId, 4230 java.lang.String templateId) 4231 throws com.liferay.portal.kernel.exception.SystemException; 4232 4233 /** 4234 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4235 * 4236 * @param groupId the group ID 4237 * @param classNameId the class name ID 4238 * @param layoutUuid the layout uuid 4239 * @return the number of matching journal articles 4240 * @throws SystemException if a system exception occurred 4241 */ 4242 public int countByG_C_L(long groupId, long classNameId, 4243 java.lang.String layoutUuid) 4244 throws com.liferay.portal.kernel.exception.SystemException; 4245 4246 /** 4247 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 4248 * 4249 * @param groupId the group ID 4250 * @param classNameId the class name ID 4251 * @param layoutUuid the layout uuid 4252 * @return the number of matching journal articles that the user has permission to view 4253 * @throws SystemException if a system exception occurred 4254 */ 4255 public int filterCountByG_C_L(long groupId, long classNameId, 4256 java.lang.String layoutUuid) 4257 throws com.liferay.portal.kernel.exception.SystemException; 4258 4259 /** 4260 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 4261 * 4262 * @param groupId the group ID 4263 * @param articleId the article ID 4264 * @param version the version 4265 * @return the number of matching journal articles 4266 * @throws SystemException if a system exception occurred 4267 */ 4268 public int countByG_A_V(long groupId, java.lang.String articleId, 4269 double version) 4270 throws com.liferay.portal.kernel.exception.SystemException; 4271 4272 /** 4273 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 4274 * 4275 * @param groupId the group ID 4276 * @param articleId the article ID 4277 * @param status the status 4278 * @return the number of matching journal articles 4279 * @throws SystemException if a system exception occurred 4280 */ 4281 public int countByG_A_ST(long groupId, java.lang.String articleId, 4282 int status) throws com.liferay.portal.kernel.exception.SystemException; 4283 4284 /** 4285 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 4286 * 4287 * @param groupId the group ID 4288 * @param articleId the article ID 4289 * @param statuses the statuses 4290 * @return the number of matching journal articles 4291 * @throws SystemException if a system exception occurred 4292 */ 4293 public int countByG_A_ST(long groupId, java.lang.String articleId, 4294 int[] statuses) 4295 throws com.liferay.portal.kernel.exception.SystemException; 4296 4297 /** 4298 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 4299 * 4300 * @param groupId the group ID 4301 * @param articleId the article ID 4302 * @param status the status 4303 * @return the number of matching journal articles that the user has permission to view 4304 * @throws SystemException if a system exception occurred 4305 */ 4306 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 4307 int status) throws com.liferay.portal.kernel.exception.SystemException; 4308 4309 /** 4310 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 4311 * 4312 * @param groupId the group ID 4313 * @param articleId the article ID 4314 * @param statuses the statuses 4315 * @return the number of matching journal articles that the user has permission to view 4316 * @throws SystemException if a system exception occurred 4317 */ 4318 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 4319 int[] statuses) 4320 throws com.liferay.portal.kernel.exception.SystemException; 4321 4322 /** 4323 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 4324 * 4325 * @param groupId the group ID 4326 * @param urlTitle the url title 4327 * @param status the status 4328 * @return the number of matching journal articles 4329 * @throws SystemException if a system exception occurred 4330 */ 4331 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 4332 int status) throws com.liferay.portal.kernel.exception.SystemException; 4333 4334 /** 4335 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 4336 * 4337 * @param groupId the group ID 4338 * @param urlTitle the url title 4339 * @param status the status 4340 * @return the number of matching journal articles that the user has permission to view 4341 * @throws SystemException if a system exception occurred 4342 */ 4343 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 4344 int status) throws com.liferay.portal.kernel.exception.SystemException; 4345 4346 /** 4347 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 4348 * 4349 * @param companyId the company ID 4350 * @param version the version 4351 * @param status the status 4352 * @return the number of matching journal articles 4353 * @throws SystemException if a system exception occurred 4354 */ 4355 public int countByC_V_ST(long companyId, double version, int status) 4356 throws com.liferay.portal.kernel.exception.SystemException; 4357 4358 /** 4359 * Returns the number of journal articles. 4360 * 4361 * @return the number of journal articles 4362 * @throws SystemException if a system exception occurred 4363 */ 4364 public int countAll() 4365 throws com.liferay.portal.kernel.exception.SystemException; 4366 }