001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.journal.model.JournalArticle; 022 023 /** 024 * The persistence interface for the journal article service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see JournalArticlePersistenceImpl 032 * @see JournalArticleUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * 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. 041 */ 042 043 /** 044 * Returns all the journal articles where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching journal articles 048 * @throws SystemException if a system exception occurred 049 */ 050 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 051 java.lang.String uuid) 052 throws com.liferay.portal.kernel.exception.SystemException; 053 054 /** 055 * Returns a range of all the journal articles where uuid = ?. 056 * 057 * <p> 058 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 059 * </p> 060 * 061 * @param uuid the uuid 062 * @param start the lower bound of the range of journal articles 063 * @param end the upper bound of the range of journal articles (not inclusive) 064 * @return the range of matching journal articles 065 * @throws SystemException if a system exception occurred 066 */ 067 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 068 java.lang.String uuid, int start, int end) 069 throws com.liferay.portal.kernel.exception.SystemException; 070 071 /** 072 * Returns an ordered range of all the journal articles where uuid = ?. 073 * 074 * <p> 075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 076 * </p> 077 * 078 * @param uuid the uuid 079 * @param start the lower bound of the range of journal articles 080 * @param end the upper bound of the range of journal articles (not inclusive) 081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 082 * @return the ordered range of matching journal articles 083 * @throws SystemException if a system exception occurred 084 */ 085 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 086 java.lang.String uuid, int start, int end, 087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 088 throws com.liferay.portal.kernel.exception.SystemException; 089 090 /** 091 * Returns the first journal article in the ordered set where uuid = ?. 092 * 093 * @param uuid the uuid 094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 095 * @return the first matching journal article 096 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 100 java.lang.String uuid, 101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 102 throws com.liferay.portal.kernel.exception.SystemException, 103 com.liferay.portlet.journal.NoSuchArticleException; 104 105 /** 106 * Returns the first journal article in the ordered set where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 111 * @throws SystemException if a system exception occurred 112 */ 113 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First( 114 java.lang.String uuid, 115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns the last journal article in the ordered set where uuid = ?. 120 * 121 * @param uuid the uuid 122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 123 * @return the last matching journal article 124 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 125 * @throws SystemException if a system exception occurred 126 */ 127 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 128 java.lang.String uuid, 129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 130 throws com.liferay.portal.kernel.exception.SystemException, 131 com.liferay.portlet.journal.NoSuchArticleException; 132 133 /** 134 * Returns the last journal article in the ordered set where uuid = ?. 135 * 136 * @param uuid the uuid 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 139 * @throws SystemException if a system exception occurred 140 */ 141 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last( 142 java.lang.String uuid, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 148 * 149 * @param id the primary key of the current journal article 150 * @param uuid the uuid 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next journal article 153 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 157 long id, java.lang.String uuid, 158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 159 throws com.liferay.portal.kernel.exception.SystemException, 160 com.liferay.portlet.journal.NoSuchArticleException; 161 162 /** 163 * Removes all the journal articles where uuid = ? from the database. 164 * 165 * @param uuid the uuid 166 * @throws SystemException if a system exception occurred 167 */ 168 public void removeByUuid(java.lang.String uuid) 169 throws com.liferay.portal.kernel.exception.SystemException; 170 171 /** 172 * Returns the number of journal articles where uuid = ?. 173 * 174 * @param uuid the uuid 175 * @return the number of matching journal articles 176 * @throws SystemException if a system exception occurred 177 */ 178 public int countByUuid(java.lang.String uuid) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 183 * 184 * @param uuid the uuid 185 * @param groupId the group ID 186 * @return the matching journal article 187 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 188 * @throws SystemException if a system exception occurred 189 */ 190 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 191 java.lang.String uuid, long groupId) 192 throws com.liferay.portal.kernel.exception.SystemException, 193 com.liferay.portlet.journal.NoSuchArticleException; 194 195 /** 196 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 197 * 198 * @param uuid the uuid 199 * @param groupId the group ID 200 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 204 java.lang.String uuid, long groupId) 205 throws com.liferay.portal.kernel.exception.SystemException; 206 207 /** 208 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 209 * 210 * @param uuid the uuid 211 * @param groupId the group ID 212 * @param retrieveFromCache whether to use the finder cache 213 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 214 * @throws SystemException if a system exception occurred 215 */ 216 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 217 java.lang.String uuid, long groupId, boolean retrieveFromCache) 218 throws com.liferay.portal.kernel.exception.SystemException; 219 220 /** 221 * Removes the journal article where uuid = ? and groupId = ? from the database. 222 * 223 * @param uuid the uuid 224 * @param groupId the group ID 225 * @return the journal article that was removed 226 * @throws SystemException if a system exception occurred 227 */ 228 public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G( 229 java.lang.String uuid, long groupId) 230 throws com.liferay.portal.kernel.exception.SystemException, 231 com.liferay.portlet.journal.NoSuchArticleException; 232 233 /** 234 * Returns the number of journal articles where uuid = ? and groupId = ?. 235 * 236 * @param uuid the uuid 237 * @param groupId the group ID 238 * @return the number of matching journal articles 239 * @throws SystemException if a system exception occurred 240 */ 241 public int countByUUID_G(java.lang.String uuid, long groupId) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Returns all the journal articles where uuid = ? and companyId = ?. 246 * 247 * @param uuid the uuid 248 * @param companyId the company ID 249 * @return the matching journal articles 250 * @throws SystemException if a system exception occurred 251 */ 252 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 253 java.lang.String uuid, long companyId) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns a range of all the journal articles where uuid = ? and companyId = ?. 258 * 259 * <p> 260 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 261 * </p> 262 * 263 * @param uuid the uuid 264 * @param companyId the company ID 265 * @param start the lower bound of the range of journal articles 266 * @param end the upper bound of the range of journal articles (not inclusive) 267 * @return the range of matching journal articles 268 * @throws SystemException if a system exception occurred 269 */ 270 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 271 java.lang.String uuid, long companyId, int start, int end) 272 throws com.liferay.portal.kernel.exception.SystemException; 273 274 /** 275 * Returns an ordered range of all the journal articles where uuid = ? and companyId = ?. 276 * 277 * <p> 278 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 279 * </p> 280 * 281 * @param uuid the uuid 282 * @param companyId the company ID 283 * @param start the lower bound of the range of journal articles 284 * @param end the upper bound of the range of journal articles (not inclusive) 285 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 286 * @return the ordered range of matching journal articles 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 290 java.lang.String uuid, long companyId, int start, int end, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException; 293 294 /** 295 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 296 * 297 * @param uuid the uuid 298 * @param companyId the company ID 299 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 300 * @return the first matching journal article 301 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 302 * @throws SystemException if a system exception occurred 303 */ 304 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First( 305 java.lang.String uuid, long companyId, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException, 308 com.liferay.portlet.journal.NoSuchArticleException; 309 310 /** 311 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 312 * 313 * @param uuid the uuid 314 * @param companyId the company ID 315 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 316 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First( 320 java.lang.String uuid, long companyId, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException; 323 324 /** 325 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 326 * 327 * @param uuid the uuid 328 * @param companyId the company ID 329 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 330 * @return the last matching journal article 331 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 332 * @throws SystemException if a system exception occurred 333 */ 334 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last( 335 java.lang.String uuid, long companyId, 336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 337 throws com.liferay.portal.kernel.exception.SystemException, 338 com.liferay.portlet.journal.NoSuchArticleException; 339 340 /** 341 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 342 * 343 * @param uuid the uuid 344 * @param companyId the company ID 345 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 346 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last( 350 java.lang.String uuid, long companyId, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException; 353 354 /** 355 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?. 356 * 357 * @param id the primary key of the current journal article 358 * @param uuid the uuid 359 * @param companyId the company ID 360 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 361 * @return the previous, current, and next journal article 362 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 363 * @throws SystemException if a system exception occurred 364 */ 365 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext( 366 long id, java.lang.String uuid, long companyId, 367 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 368 throws com.liferay.portal.kernel.exception.SystemException, 369 com.liferay.portlet.journal.NoSuchArticleException; 370 371 /** 372 * Removes all the journal articles where uuid = ? and companyId = ? from the database. 373 * 374 * @param uuid the uuid 375 * @param companyId the company ID 376 * @throws SystemException if a system exception occurred 377 */ 378 public void removeByUuid_C(java.lang.String uuid, long companyId) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Returns the number of journal articles where uuid = ? and companyId = ?. 383 * 384 * @param uuid the uuid 385 * @param companyId the company ID 386 * @return the number of matching journal articles 387 * @throws SystemException if a system exception occurred 388 */ 389 public int countByUuid_C(java.lang.String uuid, long companyId) 390 throws com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Returns all the journal articles where resourcePrimKey = ?. 394 * 395 * @param resourcePrimKey the resource prim key 396 * @return the matching journal articles 397 * @throws SystemException if a system exception occurred 398 */ 399 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 400 long resourcePrimKey) 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Returns a range of all the journal articles where resourcePrimKey = ?. 405 * 406 * <p> 407 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 408 * </p> 409 * 410 * @param resourcePrimKey the resource prim key 411 * @param start the lower bound of the range of journal articles 412 * @param end the upper bound of the range of journal articles (not inclusive) 413 * @return the range of matching journal articles 414 * @throws SystemException if a system exception occurred 415 */ 416 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 417 long resourcePrimKey, int start, int end) 418 throws com.liferay.portal.kernel.exception.SystemException; 419 420 /** 421 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 422 * 423 * <p> 424 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 425 * </p> 426 * 427 * @param resourcePrimKey the resource prim key 428 * @param start the lower bound of the range of journal articles 429 * @param end the upper bound of the range of journal articles (not inclusive) 430 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 431 * @return the ordered range of matching journal articles 432 * @throws SystemException if a system exception occurred 433 */ 434 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 435 long resourcePrimKey, int start, int end, 436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 437 throws com.liferay.portal.kernel.exception.SystemException; 438 439 /** 440 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 441 * 442 * @param resourcePrimKey the resource prim key 443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 444 * @return the first matching journal article 445 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 446 * @throws SystemException if a system exception occurred 447 */ 448 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 449 long resourcePrimKey, 450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 451 throws com.liferay.portal.kernel.exception.SystemException, 452 com.liferay.portlet.journal.NoSuchArticleException; 453 454 /** 455 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 456 * 457 * @param resourcePrimKey the resource prim key 458 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 459 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 460 * @throws SystemException if a system exception occurred 461 */ 462 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First( 463 long resourcePrimKey, 464 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 469 * 470 * @param resourcePrimKey the resource prim key 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 472 * @return the last matching journal article 473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 474 * @throws SystemException if a system exception occurred 475 */ 476 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 477 long resourcePrimKey, 478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 479 throws com.liferay.portal.kernel.exception.SystemException, 480 com.liferay.portlet.journal.NoSuchArticleException; 481 482 /** 483 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 484 * 485 * @param resourcePrimKey the resource prim key 486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 487 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 488 * @throws SystemException if a system exception occurred 489 */ 490 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last( 491 long resourcePrimKey, 492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 493 throws com.liferay.portal.kernel.exception.SystemException; 494 495 /** 496 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 497 * 498 * @param id the primary key of the current journal article 499 * @param resourcePrimKey the resource prim key 500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 501 * @return the previous, current, and next journal article 502 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 503 * @throws SystemException if a system exception occurred 504 */ 505 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 506 long id, long resourcePrimKey, 507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 508 throws com.liferay.portal.kernel.exception.SystemException, 509 com.liferay.portlet.journal.NoSuchArticleException; 510 511 /** 512 * Removes all the journal articles where resourcePrimKey = ? from the database. 513 * 514 * @param resourcePrimKey the resource prim key 515 * @throws SystemException if a system exception occurred 516 */ 517 public void removeByResourcePrimKey(long resourcePrimKey) 518 throws com.liferay.portal.kernel.exception.SystemException; 519 520 /** 521 * Returns the number of journal articles where resourcePrimKey = ?. 522 * 523 * @param resourcePrimKey the resource prim key 524 * @return the number of matching journal articles 525 * @throws SystemException if a system exception occurred 526 */ 527 public int countByResourcePrimKey(long resourcePrimKey) 528 throws com.liferay.portal.kernel.exception.SystemException; 529 530 /** 531 * Returns all the journal articles where groupId = ?. 532 * 533 * @param groupId the group ID 534 * @return the matching journal articles 535 * @throws SystemException if a system exception occurred 536 */ 537 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 538 long groupId) 539 throws com.liferay.portal.kernel.exception.SystemException; 540 541 /** 542 * Returns a range of all the journal articles where groupId = ?. 543 * 544 * <p> 545 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 546 * </p> 547 * 548 * @param groupId the group ID 549 * @param start the lower bound of the range of journal articles 550 * @param end the upper bound of the range of journal articles (not inclusive) 551 * @return the range of matching journal articles 552 * @throws SystemException if a system exception occurred 553 */ 554 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 555 long groupId, int start, int end) 556 throws com.liferay.portal.kernel.exception.SystemException; 557 558 /** 559 * Returns an ordered range of all the journal articles where groupId = ?. 560 * 561 * <p> 562 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 563 * </p> 564 * 565 * @param groupId the group ID 566 * @param start the lower bound of the range of journal articles 567 * @param end the upper bound of the range of journal articles (not inclusive) 568 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 569 * @return the ordered range of matching journal articles 570 * @throws SystemException if a system exception occurred 571 */ 572 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 573 long groupId, int start, int end, 574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 575 throws com.liferay.portal.kernel.exception.SystemException; 576 577 /** 578 * Returns the first journal article in the ordered set where groupId = ?. 579 * 580 * @param groupId the group ID 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the first matching journal article 583 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 587 long groupId, 588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 589 throws com.liferay.portal.kernel.exception.SystemException, 590 com.liferay.portlet.journal.NoSuchArticleException; 591 592 /** 593 * Returns the first journal article in the ordered set where groupId = ?. 594 * 595 * @param groupId the group ID 596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 597 * @return the first matching journal article, or <code>null</code> 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 fetchByGroupId_First( 601 long groupId, 602 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 603 throws com.liferay.portal.kernel.exception.SystemException; 604 605 /** 606 * Returns the last journal article in the ordered set where groupId = ?. 607 * 608 * @param groupId the group ID 609 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 610 * @return the last matching journal article 611 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 612 * @throws SystemException if a system exception occurred 613 */ 614 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 615 long groupId, 616 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 617 throws com.liferay.portal.kernel.exception.SystemException, 618 com.liferay.portlet.journal.NoSuchArticleException; 619 620 /** 621 * Returns the last journal article in the ordered set where groupId = ?. 622 * 623 * @param groupId the group ID 624 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 625 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 626 * @throws SystemException if a system exception occurred 627 */ 628 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last( 629 long groupId, 630 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 631 throws com.liferay.portal.kernel.exception.SystemException; 632 633 /** 634 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 635 * 636 * @param id the primary key of the current journal article 637 * @param groupId the group ID 638 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 639 * @return the previous, current, and next journal article 640 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 641 * @throws SystemException if a system exception occurred 642 */ 643 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 644 long id, long groupId, 645 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 646 throws com.liferay.portal.kernel.exception.SystemException, 647 com.liferay.portlet.journal.NoSuchArticleException; 648 649 /** 650 * Returns all the journal articles that the user has permission to view where groupId = ?. 651 * 652 * @param groupId the group ID 653 * @return the matching journal articles that the user has permission to view 654 * @throws SystemException if a system exception occurred 655 */ 656 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 657 long groupId) 658 throws com.liferay.portal.kernel.exception.SystemException; 659 660 /** 661 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 662 * 663 * <p> 664 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 665 * </p> 666 * 667 * @param groupId the group ID 668 * @param start the lower bound of the range of journal articles 669 * @param end the upper bound of the range of journal articles (not inclusive) 670 * @return the range of matching journal articles that the user has permission to view 671 * @throws SystemException if a system exception occurred 672 */ 673 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 674 long groupId, int start, int end) 675 throws com.liferay.portal.kernel.exception.SystemException; 676 677 /** 678 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 679 * 680 * <p> 681 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 682 * </p> 683 * 684 * @param groupId the group ID 685 * @param start the lower bound of the range of journal articles 686 * @param end the upper bound of the range of journal articles (not inclusive) 687 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 688 * @return the ordered range of matching journal articles that the user has permission to view 689 * @throws SystemException if a system exception occurred 690 */ 691 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 692 long groupId, int start, int end, 693 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 694 throws com.liferay.portal.kernel.exception.SystemException; 695 696 /** 697 * 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 = ?. 698 * 699 * @param id the primary key of the current journal article 700 * @param groupId the group ID 701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 702 * @return the previous, current, and next journal article 703 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 704 * @throws SystemException if a system exception occurred 705 */ 706 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 707 long id, long groupId, 708 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 709 throws com.liferay.portal.kernel.exception.SystemException, 710 com.liferay.portlet.journal.NoSuchArticleException; 711 712 /** 713 * Removes all the journal articles where groupId = ? from the database. 714 * 715 * @param groupId the group ID 716 * @throws SystemException if a system exception occurred 717 */ 718 public void removeByGroupId(long groupId) 719 throws com.liferay.portal.kernel.exception.SystemException; 720 721 /** 722 * Returns the number of journal articles where groupId = ?. 723 * 724 * @param groupId the group ID 725 * @return the number of matching journal articles 726 * @throws SystemException if a system exception occurred 727 */ 728 public int countByGroupId(long groupId) 729 throws com.liferay.portal.kernel.exception.SystemException; 730 731 /** 732 * Returns the number of journal articles that the user has permission to view where groupId = ?. 733 * 734 * @param groupId the group ID 735 * @return the number of matching journal articles that the user has permission to view 736 * @throws SystemException if a system exception occurred 737 */ 738 public int filterCountByGroupId(long groupId) 739 throws com.liferay.portal.kernel.exception.SystemException; 740 741 /** 742 * Returns all the journal articles where companyId = ?. 743 * 744 * @param companyId the company ID 745 * @return the matching journal articles 746 * @throws SystemException if a system exception occurred 747 */ 748 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 749 long companyId) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Returns a range of all the journal articles where companyId = ?. 754 * 755 * <p> 756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 757 * </p> 758 * 759 * @param companyId the company ID 760 * @param start the lower bound of the range of journal articles 761 * @param end the upper bound of the range of journal articles (not inclusive) 762 * @return the range of matching journal articles 763 * @throws SystemException if a system exception occurred 764 */ 765 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 766 long companyId, int start, int end) 767 throws com.liferay.portal.kernel.exception.SystemException; 768 769 /** 770 * Returns an ordered range of all the journal articles where companyId = ?. 771 * 772 * <p> 773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 774 * </p> 775 * 776 * @param companyId the company ID 777 * @param start the lower bound of the range of journal articles 778 * @param end the upper bound of the range of journal articles (not inclusive) 779 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 780 * @return the ordered range of matching journal articles 781 * @throws SystemException if a system exception occurred 782 */ 783 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 784 long companyId, int start, int end, 785 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 786 throws com.liferay.portal.kernel.exception.SystemException; 787 788 /** 789 * Returns the first journal article in the ordered set where companyId = ?. 790 * 791 * @param companyId the company ID 792 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 793 * @return the first matching journal article 794 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 795 * @throws SystemException if a system exception occurred 796 */ 797 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 798 long companyId, 799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 800 throws com.liferay.portal.kernel.exception.SystemException, 801 com.liferay.portlet.journal.NoSuchArticleException; 802 803 /** 804 * Returns the first journal article in the ordered set where companyId = ?. 805 * 806 * @param companyId the company ID 807 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 808 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 809 * @throws SystemException if a system exception occurred 810 */ 811 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First( 812 long companyId, 813 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 814 throws com.liferay.portal.kernel.exception.SystemException; 815 816 /** 817 * Returns the last journal article in the ordered set where companyId = ?. 818 * 819 * @param companyId the company ID 820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 821 * @return the last matching journal article 822 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 826 long companyId, 827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 828 throws com.liferay.portal.kernel.exception.SystemException, 829 com.liferay.portlet.journal.NoSuchArticleException; 830 831 /** 832 * Returns the last journal article in the ordered set where companyId = ?. 833 * 834 * @param companyId the company ID 835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 836 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 837 * @throws SystemException if a system exception occurred 838 */ 839 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last( 840 long companyId, 841 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 842 throws com.liferay.portal.kernel.exception.SystemException; 843 844 /** 845 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 846 * 847 * @param id the primary key of the current journal article 848 * @param companyId the company ID 849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 850 * @return the previous, current, and next journal article 851 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 852 * @throws SystemException if a system exception occurred 853 */ 854 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 855 long id, long companyId, 856 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 857 throws com.liferay.portal.kernel.exception.SystemException, 858 com.liferay.portlet.journal.NoSuchArticleException; 859 860 /** 861 * Removes all the journal articles where companyId = ? from the database. 862 * 863 * @param companyId the company ID 864 * @throws SystemException if a system exception occurred 865 */ 866 public void removeByCompanyId(long companyId) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * Returns the number of journal articles where companyId = ?. 871 * 872 * @param companyId the company ID 873 * @return the number of matching journal articles 874 * @throws SystemException if a system exception occurred 875 */ 876 public int countByCompanyId(long companyId) 877 throws com.liferay.portal.kernel.exception.SystemException; 878 879 /** 880 * Returns all the journal articles where structureId = ?. 881 * 882 * @param structureId the structure ID 883 * @return the matching journal articles 884 * @throws SystemException if a system exception occurred 885 */ 886 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 887 java.lang.String structureId) 888 throws com.liferay.portal.kernel.exception.SystemException; 889 890 /** 891 * Returns a range of all the journal articles where structureId = ?. 892 * 893 * <p> 894 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 895 * </p> 896 * 897 * @param structureId the structure ID 898 * @param start the lower bound of the range of journal articles 899 * @param end the upper bound of the range of journal articles (not inclusive) 900 * @return the range of matching journal articles 901 * @throws SystemException if a system exception occurred 902 */ 903 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 904 java.lang.String structureId, int start, int end) 905 throws com.liferay.portal.kernel.exception.SystemException; 906 907 /** 908 * Returns an ordered range of all the journal articles where structureId = ?. 909 * 910 * <p> 911 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 912 * </p> 913 * 914 * @param structureId the structure ID 915 * @param start the lower bound of the range of journal articles 916 * @param end the upper bound of the range of journal articles (not inclusive) 917 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 918 * @return the ordered range of matching journal articles 919 * @throws SystemException if a system exception occurred 920 */ 921 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 922 java.lang.String structureId, int start, int end, 923 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 924 throws com.liferay.portal.kernel.exception.SystemException; 925 926 /** 927 * Returns the first journal article in the ordered set where structureId = ?. 928 * 929 * @param structureId the structure ID 930 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 931 * @return the first matching journal article 932 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 933 * @throws SystemException if a system exception occurred 934 */ 935 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First( 936 java.lang.String structureId, 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 the first journal article in the ordered set where structureId = ?. 943 * 944 * @param structureId the structure ID 945 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 946 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 947 * @throws SystemException if a system exception occurred 948 */ 949 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First( 950 java.lang.String structureId, 951 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 952 throws com.liferay.portal.kernel.exception.SystemException; 953 954 /** 955 * Returns the last journal article in the ordered set where structureId = ?. 956 * 957 * @param structureId the structure ID 958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 959 * @return the last matching journal article 960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 961 * @throws SystemException if a system exception occurred 962 */ 963 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last( 964 java.lang.String structureId, 965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 966 throws com.liferay.portal.kernel.exception.SystemException, 967 com.liferay.portlet.journal.NoSuchArticleException; 968 969 /** 970 * Returns the last journal article in the ordered set where structureId = ?. 971 * 972 * @param structureId the structure ID 973 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 974 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 975 * @throws SystemException if a system exception occurred 976 */ 977 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last( 978 java.lang.String structureId, 979 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 980 throws com.liferay.portal.kernel.exception.SystemException; 981 982 /** 983 * Returns the journal articles before and after the current journal article in the ordered set where structureId = ?. 984 * 985 * @param id the primary key of the current journal article 986 * @param structureId the structure ID 987 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 988 * @return the previous, current, and next journal article 989 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 990 * @throws SystemException if a system exception occurred 991 */ 992 public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext( 993 long id, java.lang.String structureId, 994 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 995 throws com.liferay.portal.kernel.exception.SystemException, 996 com.liferay.portlet.journal.NoSuchArticleException; 997 998 /** 999 * Returns all the journal articles where structureId = any ?. 1000 * 1001 * <p> 1002 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1003 * </p> 1004 * 1005 * @param structureIds the structure IDs 1006 * @return the matching journal articles 1007 * @throws SystemException if a system exception occurred 1008 */ 1009 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 1010 java.lang.String[] structureIds) 1011 throws com.liferay.portal.kernel.exception.SystemException; 1012 1013 /** 1014 * Returns a range of all the journal articles where structureId = any ?. 1015 * 1016 * <p> 1017 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1018 * </p> 1019 * 1020 * @param structureIds the structure IDs 1021 * @param start the lower bound of the range of journal articles 1022 * @param end the upper bound of the range of journal articles (not inclusive) 1023 * @return the range of matching journal articles 1024 * @throws SystemException if a system exception occurred 1025 */ 1026 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 1027 java.lang.String[] structureIds, int start, int end) 1028 throws com.liferay.portal.kernel.exception.SystemException; 1029 1030 /** 1031 * Returns an ordered range of all the journal articles where structureId = any ?. 1032 * 1033 * <p> 1034 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1035 * </p> 1036 * 1037 * @param structureIds the structure IDs 1038 * @param start the lower bound of the range of journal articles 1039 * @param end the upper bound of the range of journal articles (not inclusive) 1040 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1041 * @return the ordered range of matching journal articles 1042 * @throws SystemException if a system exception occurred 1043 */ 1044 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 1045 java.lang.String[] structureIds, int start, int end, 1046 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1047 throws com.liferay.portal.kernel.exception.SystemException; 1048 1049 /** 1050 * Removes all the journal articles where structureId = ? from the database. 1051 * 1052 * @param structureId the structure ID 1053 * @throws SystemException if a system exception occurred 1054 */ 1055 public void removeByStructureId(java.lang.String structureId) 1056 throws com.liferay.portal.kernel.exception.SystemException; 1057 1058 /** 1059 * Returns the number of journal articles where structureId = ?. 1060 * 1061 * @param structureId the structure ID 1062 * @return the number of matching journal articles 1063 * @throws SystemException if a system exception occurred 1064 */ 1065 public int countByStructureId(java.lang.String structureId) 1066 throws com.liferay.portal.kernel.exception.SystemException; 1067 1068 /** 1069 * Returns the number of journal articles where structureId = any ?. 1070 * 1071 * @param structureIds the structure IDs 1072 * @return the number of matching journal articles 1073 * @throws SystemException if a system exception occurred 1074 */ 1075 public int countByStructureId(java.lang.String[] structureIds) 1076 throws com.liferay.portal.kernel.exception.SystemException; 1077 1078 /** 1079 * Returns all the journal articles where templateId = ?. 1080 * 1081 * @param templateId the template ID 1082 * @return the matching journal articles 1083 * @throws SystemException if a system exception occurred 1084 */ 1085 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1086 java.lang.String templateId) 1087 throws com.liferay.portal.kernel.exception.SystemException; 1088 1089 /** 1090 * Returns a range of all the journal articles where templateId = ?. 1091 * 1092 * <p> 1093 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1094 * </p> 1095 * 1096 * @param templateId the template ID 1097 * @param start the lower bound of the range of journal articles 1098 * @param end the upper bound of the range of journal articles (not inclusive) 1099 * @return the range of matching journal articles 1100 * @throws SystemException if a system exception occurred 1101 */ 1102 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1103 java.lang.String templateId, int start, int end) 1104 throws com.liferay.portal.kernel.exception.SystemException; 1105 1106 /** 1107 * Returns an ordered range of all the journal articles where templateId = ?. 1108 * 1109 * <p> 1110 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1111 * </p> 1112 * 1113 * @param templateId the template ID 1114 * @param start the lower bound of the range of journal articles 1115 * @param end the upper bound of the range of journal articles (not inclusive) 1116 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1117 * @return the ordered range of matching journal articles 1118 * @throws SystemException if a system exception occurred 1119 */ 1120 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1121 java.lang.String templateId, int start, int end, 1122 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1123 throws com.liferay.portal.kernel.exception.SystemException; 1124 1125 /** 1126 * Returns the first journal article in the ordered set where templateId = ?. 1127 * 1128 * @param templateId the template ID 1129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1130 * @return the first matching journal article 1131 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1132 * @throws SystemException if a system exception occurred 1133 */ 1134 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 1135 java.lang.String templateId, 1136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1137 throws com.liferay.portal.kernel.exception.SystemException, 1138 com.liferay.portlet.journal.NoSuchArticleException; 1139 1140 /** 1141 * Returns the first journal article in the ordered set where templateId = ?. 1142 * 1143 * @param templateId the template ID 1144 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1145 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1146 * @throws SystemException if a system exception occurred 1147 */ 1148 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First( 1149 java.lang.String templateId, 1150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1151 throws com.liferay.portal.kernel.exception.SystemException; 1152 1153 /** 1154 * Returns the last journal article in the ordered set where templateId = ?. 1155 * 1156 * @param templateId the template ID 1157 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1158 * @return the last matching journal article 1159 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1160 * @throws SystemException if a system exception occurred 1161 */ 1162 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 1163 java.lang.String templateId, 1164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1165 throws com.liferay.portal.kernel.exception.SystemException, 1166 com.liferay.portlet.journal.NoSuchArticleException; 1167 1168 /** 1169 * Returns the last journal article in the ordered set where templateId = ?. 1170 * 1171 * @param templateId the template ID 1172 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1173 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1174 * @throws SystemException if a system exception occurred 1175 */ 1176 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last( 1177 java.lang.String templateId, 1178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1179 throws com.liferay.portal.kernel.exception.SystemException; 1180 1181 /** 1182 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 1183 * 1184 * @param id the primary key of the current journal article 1185 * @param templateId the template ID 1186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1187 * @return the previous, current, and next journal article 1188 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1189 * @throws SystemException if a system exception occurred 1190 */ 1191 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 1192 long id, java.lang.String templateId, 1193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1194 throws com.liferay.portal.kernel.exception.SystemException, 1195 com.liferay.portlet.journal.NoSuchArticleException; 1196 1197 /** 1198 * Removes all the journal articles where templateId = ? from the database. 1199 * 1200 * @param templateId the template ID 1201 * @throws SystemException if a system exception occurred 1202 */ 1203 public void removeByTemplateId(java.lang.String templateId) 1204 throws com.liferay.portal.kernel.exception.SystemException; 1205 1206 /** 1207 * Returns the number of journal articles where templateId = ?. 1208 * 1209 * @param templateId the template ID 1210 * @return the number of matching journal articles 1211 * @throws SystemException if a system exception occurred 1212 */ 1213 public int countByTemplateId(java.lang.String templateId) 1214 throws com.liferay.portal.kernel.exception.SystemException; 1215 1216 /** 1217 * Returns all the journal articles where layoutUuid = ?. 1218 * 1219 * @param layoutUuid the layout uuid 1220 * @return the matching journal articles 1221 * @throws SystemException if a system exception occurred 1222 */ 1223 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1224 java.lang.String layoutUuid) 1225 throws com.liferay.portal.kernel.exception.SystemException; 1226 1227 /** 1228 * Returns a range of all the journal articles where layoutUuid = ?. 1229 * 1230 * <p> 1231 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1232 * </p> 1233 * 1234 * @param layoutUuid the layout uuid 1235 * @param start the lower bound of the range of journal articles 1236 * @param end the upper bound of the range of journal articles (not inclusive) 1237 * @return the range of matching journal articles 1238 * @throws SystemException if a system exception occurred 1239 */ 1240 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1241 java.lang.String layoutUuid, int start, int end) 1242 throws com.liferay.portal.kernel.exception.SystemException; 1243 1244 /** 1245 * Returns an ordered range of all the journal articles where layoutUuid = ?. 1246 * 1247 * <p> 1248 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1249 * </p> 1250 * 1251 * @param layoutUuid the layout uuid 1252 * @param start the lower bound of the range of journal articles 1253 * @param end the upper bound of the range of journal articles (not inclusive) 1254 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1255 * @return the ordered range of matching journal articles 1256 * @throws SystemException if a system exception occurred 1257 */ 1258 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1259 java.lang.String layoutUuid, int start, int end, 1260 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1261 throws com.liferay.portal.kernel.exception.SystemException; 1262 1263 /** 1264 * Returns the first journal article in the ordered set where layoutUuid = ?. 1265 * 1266 * @param layoutUuid the layout uuid 1267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1268 * @return the first matching journal article 1269 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1270 * @throws SystemException if a system exception occurred 1271 */ 1272 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First( 1273 java.lang.String layoutUuid, 1274 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1275 throws com.liferay.portal.kernel.exception.SystemException, 1276 com.liferay.portlet.journal.NoSuchArticleException; 1277 1278 /** 1279 * Returns the first journal article in the ordered set where layoutUuid = ?. 1280 * 1281 * @param layoutUuid the layout uuid 1282 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1283 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1284 * @throws SystemException if a system exception occurred 1285 */ 1286 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First( 1287 java.lang.String layoutUuid, 1288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1289 throws com.liferay.portal.kernel.exception.SystemException; 1290 1291 /** 1292 * Returns the last journal article in the ordered set where layoutUuid = ?. 1293 * 1294 * @param layoutUuid the layout uuid 1295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1296 * @return the last matching journal article 1297 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1298 * @throws SystemException if a system exception occurred 1299 */ 1300 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last( 1301 java.lang.String layoutUuid, 1302 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1303 throws com.liferay.portal.kernel.exception.SystemException, 1304 com.liferay.portlet.journal.NoSuchArticleException; 1305 1306 /** 1307 * Returns the last journal article in the ordered set where layoutUuid = ?. 1308 * 1309 * @param layoutUuid the layout uuid 1310 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1311 * @return the last matching journal article, or <code>null</code> 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 fetchByLayoutUuid_Last( 1315 java.lang.String layoutUuid, 1316 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1317 throws com.liferay.portal.kernel.exception.SystemException; 1318 1319 /** 1320 * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?. 1321 * 1322 * @param id the primary key of the current journal article 1323 * @param layoutUuid the layout uuid 1324 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1325 * @return the previous, current, and next journal article 1326 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1327 * @throws SystemException if a system exception occurred 1328 */ 1329 public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext( 1330 long id, java.lang.String layoutUuid, 1331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1332 throws com.liferay.portal.kernel.exception.SystemException, 1333 com.liferay.portlet.journal.NoSuchArticleException; 1334 1335 /** 1336 * Removes all the journal articles where layoutUuid = ? from the database. 1337 * 1338 * @param layoutUuid the layout uuid 1339 * @throws SystemException if a system exception occurred 1340 */ 1341 public void removeByLayoutUuid(java.lang.String layoutUuid) 1342 throws com.liferay.portal.kernel.exception.SystemException; 1343 1344 /** 1345 * Returns the number of journal articles where layoutUuid = ?. 1346 * 1347 * @param layoutUuid the layout uuid 1348 * @return the number of matching journal articles 1349 * @throws SystemException if a system exception occurred 1350 */ 1351 public int countByLayoutUuid(java.lang.String layoutUuid) 1352 throws com.liferay.portal.kernel.exception.SystemException; 1353 1354 /** 1355 * Returns all the journal articles where smallImageId = ?. 1356 * 1357 * @param smallImageId the small image ID 1358 * @return the matching journal articles 1359 * @throws SystemException if a system exception occurred 1360 */ 1361 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1362 long smallImageId) 1363 throws com.liferay.portal.kernel.exception.SystemException; 1364 1365 /** 1366 * Returns a range of all the journal articles where smallImageId = ?. 1367 * 1368 * <p> 1369 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1370 * </p> 1371 * 1372 * @param smallImageId the small image ID 1373 * @param start the lower bound of the range of journal articles 1374 * @param end the upper bound of the range of journal articles (not inclusive) 1375 * @return the range of matching journal articles 1376 * @throws SystemException if a system exception occurred 1377 */ 1378 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1379 long smallImageId, int start, int end) 1380 throws com.liferay.portal.kernel.exception.SystemException; 1381 1382 /** 1383 * Returns an ordered range of all the journal articles where smallImageId = ?. 1384 * 1385 * <p> 1386 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1387 * </p> 1388 * 1389 * @param smallImageId the small image ID 1390 * @param start the lower bound of the range of journal articles 1391 * @param end the upper bound of the range of journal articles (not inclusive) 1392 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1393 * @return the ordered range of matching journal articles 1394 * @throws SystemException if a system exception occurred 1395 */ 1396 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1397 long smallImageId, int start, int end, 1398 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1399 throws com.liferay.portal.kernel.exception.SystemException; 1400 1401 /** 1402 * Returns the first journal article in the ordered set where smallImageId = ?. 1403 * 1404 * @param smallImageId the small image ID 1405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1406 * @return the first matching journal article 1407 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1408 * @throws SystemException if a system exception occurred 1409 */ 1410 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 1411 long smallImageId, 1412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1413 throws com.liferay.portal.kernel.exception.SystemException, 1414 com.liferay.portlet.journal.NoSuchArticleException; 1415 1416 /** 1417 * Returns the first journal article in the ordered set where smallImageId = ?. 1418 * 1419 * @param smallImageId the small image ID 1420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1421 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1422 * @throws SystemException if a system exception occurred 1423 */ 1424 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 1425 long smallImageId, 1426 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1427 throws com.liferay.portal.kernel.exception.SystemException; 1428 1429 /** 1430 * Returns the last journal article in the ordered set where smallImageId = ?. 1431 * 1432 * @param smallImageId the small image ID 1433 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1434 * @return the last matching journal article 1435 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1436 * @throws SystemException if a system exception occurred 1437 */ 1438 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1439 long smallImageId, 1440 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1441 throws com.liferay.portal.kernel.exception.SystemException, 1442 com.liferay.portlet.journal.NoSuchArticleException; 1443 1444 /** 1445 * Returns the last journal article in the ordered set where smallImageId = ?. 1446 * 1447 * @param smallImageId the small image ID 1448 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1449 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1450 * @throws SystemException if a system exception occurred 1451 */ 1452 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1453 long smallImageId, 1454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1455 throws com.liferay.portal.kernel.exception.SystemException; 1456 1457 /** 1458 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1459 * 1460 * @param id the primary key of the current journal article 1461 * @param smallImageId the small image ID 1462 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1463 * @return the previous, current, and next journal article 1464 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1465 * @throws SystemException if a system exception occurred 1466 */ 1467 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1468 long id, long smallImageId, 1469 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1470 throws com.liferay.portal.kernel.exception.SystemException, 1471 com.liferay.portlet.journal.NoSuchArticleException; 1472 1473 /** 1474 * Removes all the journal articles where smallImageId = ? from the database. 1475 * 1476 * @param smallImageId the small image ID 1477 * @throws SystemException if a system exception occurred 1478 */ 1479 public void removeBySmallImageId(long smallImageId) 1480 throws com.liferay.portal.kernel.exception.SystemException; 1481 1482 /** 1483 * Returns the number of journal articles where smallImageId = ?. 1484 * 1485 * @param smallImageId the small image ID 1486 * @return the number of matching journal articles 1487 * @throws SystemException if a system exception occurred 1488 */ 1489 public int countBySmallImageId(long smallImageId) 1490 throws com.liferay.portal.kernel.exception.SystemException; 1491 1492 /** 1493 * Returns all the journal articles where resourcePrimKey = ? and indexable = ?. 1494 * 1495 * @param resourcePrimKey the resource prim key 1496 * @param indexable the indexable 1497 * @return the matching journal articles 1498 * @throws SystemException if a system exception occurred 1499 */ 1500 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1501 long resourcePrimKey, boolean indexable) 1502 throws com.liferay.portal.kernel.exception.SystemException; 1503 1504 /** 1505 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1506 * 1507 * <p> 1508 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1509 * </p> 1510 * 1511 * @param resourcePrimKey the resource prim key 1512 * @param indexable the indexable 1513 * @param start the lower bound of the range of journal articles 1514 * @param end the upper bound of the range of journal articles (not inclusive) 1515 * @return the range of matching journal articles 1516 * @throws SystemException if a system exception occurred 1517 */ 1518 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1519 long resourcePrimKey, boolean indexable, int start, int end) 1520 throws com.liferay.portal.kernel.exception.SystemException; 1521 1522 /** 1523 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1524 * 1525 * <p> 1526 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1527 * </p> 1528 * 1529 * @param resourcePrimKey the resource prim key 1530 * @param indexable the indexable 1531 * @param start the lower bound of the range of journal articles 1532 * @param end the upper bound of the range of journal articles (not inclusive) 1533 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1534 * @return the ordered range of matching journal articles 1535 * @throws SystemException if a system exception occurred 1536 */ 1537 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1538 long resourcePrimKey, boolean indexable, int start, int end, 1539 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1540 throws com.liferay.portal.kernel.exception.SystemException; 1541 1542 /** 1543 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1544 * 1545 * @param resourcePrimKey the resource prim key 1546 * @param indexable the indexable 1547 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1548 * @return the first matching journal article 1549 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1550 * @throws SystemException if a system exception occurred 1551 */ 1552 public com.liferay.portlet.journal.model.JournalArticle findByR_I_First( 1553 long resourcePrimKey, boolean indexable, 1554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1555 throws com.liferay.portal.kernel.exception.SystemException, 1556 com.liferay.portlet.journal.NoSuchArticleException; 1557 1558 /** 1559 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1560 * 1561 * @param resourcePrimKey the resource prim key 1562 * @param indexable the indexable 1563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1564 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1565 * @throws SystemException if a system exception occurred 1566 */ 1567 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_First( 1568 long resourcePrimKey, boolean indexable, 1569 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1570 throws com.liferay.portal.kernel.exception.SystemException; 1571 1572 /** 1573 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1574 * 1575 * @param resourcePrimKey the resource prim key 1576 * @param indexable the indexable 1577 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1578 * @return the last matching journal article 1579 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1580 * @throws SystemException if a system exception occurred 1581 */ 1582 public com.liferay.portlet.journal.model.JournalArticle findByR_I_Last( 1583 long resourcePrimKey, boolean indexable, 1584 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1585 throws com.liferay.portal.kernel.exception.SystemException, 1586 com.liferay.portlet.journal.NoSuchArticleException; 1587 1588 /** 1589 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1590 * 1591 * @param resourcePrimKey the resource prim key 1592 * @param indexable the indexable 1593 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1594 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1595 * @throws SystemException if a system exception occurred 1596 */ 1597 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_Last( 1598 long resourcePrimKey, boolean indexable, 1599 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1600 throws com.liferay.portal.kernel.exception.SystemException; 1601 1602 /** 1603 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1604 * 1605 * @param id the primary key of the current journal article 1606 * @param resourcePrimKey the resource prim key 1607 * @param indexable the indexable 1608 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1609 * @return the previous, current, and next journal article 1610 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1611 * @throws SystemException if a system exception occurred 1612 */ 1613 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_PrevAndNext( 1614 long id, long resourcePrimKey, boolean indexable, 1615 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1616 throws com.liferay.portal.kernel.exception.SystemException, 1617 com.liferay.portlet.journal.NoSuchArticleException; 1618 1619 /** 1620 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database. 1621 * 1622 * @param resourcePrimKey the resource prim key 1623 * @param indexable the indexable 1624 * @throws SystemException if a system exception occurred 1625 */ 1626 public void removeByR_I(long resourcePrimKey, boolean indexable) 1627 throws com.liferay.portal.kernel.exception.SystemException; 1628 1629 /** 1630 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ?. 1631 * 1632 * @param resourcePrimKey the resource prim key 1633 * @param indexable the indexable 1634 * @return the number of matching journal articles 1635 * @throws SystemException if a system exception occurred 1636 */ 1637 public int countByR_I(long resourcePrimKey, boolean indexable) 1638 throws com.liferay.portal.kernel.exception.SystemException; 1639 1640 /** 1641 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1642 * 1643 * @param resourcePrimKey the resource prim key 1644 * @param status the status 1645 * @return the matching journal articles 1646 * @throws SystemException if a system exception occurred 1647 */ 1648 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1649 long resourcePrimKey, int status) 1650 throws com.liferay.portal.kernel.exception.SystemException; 1651 1652 /** 1653 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1654 * 1655 * <p> 1656 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1657 * </p> 1658 * 1659 * @param resourcePrimKey the resource prim key 1660 * @param status the status 1661 * @param start the lower bound of the range of journal articles 1662 * @param end the upper bound of the range of journal articles (not inclusive) 1663 * @return the range of matching journal articles 1664 * @throws SystemException if a system exception occurred 1665 */ 1666 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1667 long resourcePrimKey, int status, int start, int end) 1668 throws com.liferay.portal.kernel.exception.SystemException; 1669 1670 /** 1671 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1672 * 1673 * <p> 1674 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1675 * </p> 1676 * 1677 * @param resourcePrimKey the resource prim key 1678 * @param status the status 1679 * @param start the lower bound of the range of journal articles 1680 * @param end the upper bound of the range of journal articles (not inclusive) 1681 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1682 * @return the ordered range of matching journal articles 1683 * @throws SystemException if a system exception occurred 1684 */ 1685 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1686 long resourcePrimKey, int status, int start, int end, 1687 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1688 throws com.liferay.portal.kernel.exception.SystemException; 1689 1690 /** 1691 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1692 * 1693 * @param resourcePrimKey the resource prim key 1694 * @param status the status 1695 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1696 * @return the first matching journal article 1697 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1698 * @throws SystemException if a system exception occurred 1699 */ 1700 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1701 long resourcePrimKey, int status, 1702 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1703 throws com.liferay.portal.kernel.exception.SystemException, 1704 com.liferay.portlet.journal.NoSuchArticleException; 1705 1706 /** 1707 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1708 * 1709 * @param resourcePrimKey the resource prim key 1710 * @param status the status 1711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1712 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1713 * @throws SystemException if a system exception occurred 1714 */ 1715 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1716 long resourcePrimKey, int status, 1717 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1718 throws com.liferay.portal.kernel.exception.SystemException; 1719 1720 /** 1721 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1722 * 1723 * @param resourcePrimKey the resource prim key 1724 * @param status the status 1725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1726 * @return the last matching journal article 1727 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1728 * @throws SystemException if a system exception occurred 1729 */ 1730 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1731 long resourcePrimKey, int status, 1732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1733 throws com.liferay.portal.kernel.exception.SystemException, 1734 com.liferay.portlet.journal.NoSuchArticleException; 1735 1736 /** 1737 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1738 * 1739 * @param resourcePrimKey the resource prim key 1740 * @param status the status 1741 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1742 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1743 * @throws SystemException if a system exception occurred 1744 */ 1745 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1746 long resourcePrimKey, int status, 1747 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1748 throws com.liferay.portal.kernel.exception.SystemException; 1749 1750 /** 1751 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1752 * 1753 * @param id the primary key of the current journal article 1754 * @param resourcePrimKey the resource prim key 1755 * @param status the status 1756 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1757 * @return the previous, current, and next journal article 1758 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1759 * @throws SystemException if a system exception occurred 1760 */ 1761 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1762 long id, long resourcePrimKey, int status, 1763 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1764 throws com.liferay.portal.kernel.exception.SystemException, 1765 com.liferay.portlet.journal.NoSuchArticleException; 1766 1767 /** 1768 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 1769 * 1770 * @param resourcePrimKey the resource prim key 1771 * @param status the status 1772 * @throws SystemException if a system exception occurred 1773 */ 1774 public void removeByR_ST(long resourcePrimKey, int status) 1775 throws com.liferay.portal.kernel.exception.SystemException; 1776 1777 /** 1778 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 1779 * 1780 * @param resourcePrimKey the resource prim key 1781 * @param status the status 1782 * @return the number of matching journal articles 1783 * @throws SystemException if a system exception occurred 1784 */ 1785 public int countByR_ST(long resourcePrimKey, int status) 1786 throws com.liferay.portal.kernel.exception.SystemException; 1787 1788 /** 1789 * Returns all the journal articles where groupId = ? and userId = ?. 1790 * 1791 * @param groupId the group ID 1792 * @param userId the user ID 1793 * @return the matching journal articles 1794 * @throws SystemException if a system exception occurred 1795 */ 1796 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1797 long groupId, long userId) 1798 throws com.liferay.portal.kernel.exception.SystemException; 1799 1800 /** 1801 * Returns a range of all the journal articles where groupId = ? and userId = ?. 1802 * 1803 * <p> 1804 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1805 * </p> 1806 * 1807 * @param groupId the group ID 1808 * @param userId the user ID 1809 * @param start the lower bound of the range of journal articles 1810 * @param end the upper bound of the range of journal articles (not inclusive) 1811 * @return the range of matching journal articles 1812 * @throws SystemException if a system exception occurred 1813 */ 1814 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1815 long groupId, long userId, int start, int end) 1816 throws com.liferay.portal.kernel.exception.SystemException; 1817 1818 /** 1819 * Returns an ordered range of all the journal articles where groupId = ? and userId = ?. 1820 * 1821 * <p> 1822 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1823 * </p> 1824 * 1825 * @param groupId the group ID 1826 * @param userId the user ID 1827 * @param start the lower bound of the range of journal articles 1828 * @param end the upper bound of the range of journal articles (not inclusive) 1829 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1830 * @return the ordered range of matching journal articles 1831 * @throws SystemException if a system exception occurred 1832 */ 1833 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1834 long groupId, long userId, int start, int end, 1835 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1836 throws com.liferay.portal.kernel.exception.SystemException; 1837 1838 /** 1839 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1840 * 1841 * @param groupId the group ID 1842 * @param userId the user ID 1843 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1844 * @return the first 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_U_First( 1849 long groupId, long userId, 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 first journal article in the ordered set where groupId = ? and userId = ?. 1856 * 1857 * @param groupId the group ID 1858 * @param userId the user ID 1859 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1860 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1861 * @throws SystemException if a system exception occurred 1862 */ 1863 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First( 1864 long groupId, long userId, 1865 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1866 throws com.liferay.portal.kernel.exception.SystemException; 1867 1868 /** 1869 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1870 * 1871 * @param groupId the group ID 1872 * @param userId the user ID 1873 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1874 * @return the last matching journal article 1875 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1876 * @throws SystemException if a system exception occurred 1877 */ 1878 public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last( 1879 long groupId, long userId, 1880 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1881 throws com.liferay.portal.kernel.exception.SystemException, 1882 com.liferay.portlet.journal.NoSuchArticleException; 1883 1884 /** 1885 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1886 * 1887 * @param groupId the group ID 1888 * @param userId the user ID 1889 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1890 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1891 * @throws SystemException if a system exception occurred 1892 */ 1893 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last( 1894 long groupId, long userId, 1895 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1896 throws com.liferay.portal.kernel.exception.SystemException; 1897 1898 /** 1899 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?. 1900 * 1901 * @param id the primary key of the current journal article 1902 * @param groupId the group ID 1903 * @param userId the user ID 1904 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1905 * @return the previous, current, and next journal article 1906 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1907 * @throws SystemException if a system exception occurred 1908 */ 1909 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext( 1910 long id, long groupId, long userId, 1911 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1912 throws com.liferay.portal.kernel.exception.SystemException, 1913 com.liferay.portlet.journal.NoSuchArticleException; 1914 1915 /** 1916 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1917 * 1918 * @param groupId the group ID 1919 * @param userId the user ID 1920 * @return the matching journal articles that the user has permission to view 1921 * @throws SystemException if a system exception occurred 1922 */ 1923 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1924 long groupId, long userId) 1925 throws com.liferay.portal.kernel.exception.SystemException; 1926 1927 /** 1928 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1929 * 1930 * <p> 1931 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1932 * </p> 1933 * 1934 * @param groupId the group ID 1935 * @param userId the user ID 1936 * @param start the lower bound of the range of journal articles 1937 * @param end the upper bound of the range of journal articles (not inclusive) 1938 * @return the range of matching journal articles that the user has permission to view 1939 * @throws SystemException if a system exception occurred 1940 */ 1941 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1942 long groupId, long userId, int start, int end) 1943 throws com.liferay.portal.kernel.exception.SystemException; 1944 1945 /** 1946 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?. 1947 * 1948 * <p> 1949 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1950 * </p> 1951 * 1952 * @param groupId the group ID 1953 * @param userId the user ID 1954 * @param start the lower bound of the range of journal articles 1955 * @param end the upper bound of the range of journal articles (not inclusive) 1956 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1957 * @return the ordered range of matching journal articles that the user has permission to view 1958 * @throws SystemException if a system exception occurred 1959 */ 1960 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1961 long groupId, long userId, int start, int end, 1962 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1963 throws com.liferay.portal.kernel.exception.SystemException; 1964 1965 /** 1966 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ?. 1967 * 1968 * @param id the primary key of the current journal article 1969 * @param groupId the group ID 1970 * @param userId the user ID 1971 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1972 * @return the previous, current, and next journal article 1973 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1974 * @throws SystemException if a system exception occurred 1975 */ 1976 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext( 1977 long id, long groupId, long userId, 1978 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1979 throws com.liferay.portal.kernel.exception.SystemException, 1980 com.liferay.portlet.journal.NoSuchArticleException; 1981 1982 /** 1983 * Removes all the journal articles where groupId = ? and userId = ? from the database. 1984 * 1985 * @param groupId the group ID 1986 * @param userId the user ID 1987 * @throws SystemException if a system exception occurred 1988 */ 1989 public void removeByG_U(long groupId, long userId) 1990 throws com.liferay.portal.kernel.exception.SystemException; 1991 1992 /** 1993 * Returns the number of journal articles where groupId = ? and userId = ?. 1994 * 1995 * @param groupId the group ID 1996 * @param userId the user ID 1997 * @return the number of matching journal articles 1998 * @throws SystemException if a system exception occurred 1999 */ 2000 public int countByG_U(long groupId, long userId) 2001 throws com.liferay.portal.kernel.exception.SystemException; 2002 2003 /** 2004 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?. 2005 * 2006 * @param groupId the group ID 2007 * @param userId the user ID 2008 * @return the number of matching journal articles that the user has permission to view 2009 * @throws SystemException if a system exception occurred 2010 */ 2011 public int filterCountByG_U(long groupId, long userId) 2012 throws com.liferay.portal.kernel.exception.SystemException; 2013 2014 /** 2015 * Returns all the journal articles where groupId = ? and folderId = ?. 2016 * 2017 * @param groupId the group ID 2018 * @param folderId the folder ID 2019 * @return the matching journal articles 2020 * @throws SystemException if a system exception occurred 2021 */ 2022 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2023 long groupId, long folderId) 2024 throws com.liferay.portal.kernel.exception.SystemException; 2025 2026 /** 2027 * Returns a range of all the journal articles where groupId = ? and folderId = ?. 2028 * 2029 * <p> 2030 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2031 * </p> 2032 * 2033 * @param groupId the group ID 2034 * @param folderId the folder ID 2035 * @param start the lower bound of the range of journal articles 2036 * @param end the upper bound of the range of journal articles (not inclusive) 2037 * @return the range of matching journal articles 2038 * @throws SystemException if a system exception occurred 2039 */ 2040 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2041 long groupId, long folderId, int start, int end) 2042 throws com.liferay.portal.kernel.exception.SystemException; 2043 2044 /** 2045 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ?. 2046 * 2047 * <p> 2048 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2049 * </p> 2050 * 2051 * @param groupId the group ID 2052 * @param folderId the folder ID 2053 * @param start the lower bound of the range of journal articles 2054 * @param end the upper bound of the range of journal articles (not inclusive) 2055 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2056 * @return the ordered range of matching journal articles 2057 * @throws SystemException if a system exception occurred 2058 */ 2059 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2060 long groupId, long folderId, int start, int end, 2061 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2062 throws com.liferay.portal.kernel.exception.SystemException; 2063 2064 /** 2065 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 2066 * 2067 * @param groupId the group ID 2068 * @param folderId the folder ID 2069 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2070 * @return the first matching journal article 2071 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2072 * @throws SystemException if a system exception occurred 2073 */ 2074 public com.liferay.portlet.journal.model.JournalArticle findByG_F_First( 2075 long groupId, long folderId, 2076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2077 throws com.liferay.portal.kernel.exception.SystemException, 2078 com.liferay.portlet.journal.NoSuchArticleException; 2079 2080 /** 2081 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 2082 * 2083 * @param groupId the group ID 2084 * @param folderId the folder ID 2085 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2086 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2087 * @throws SystemException if a system exception occurred 2088 */ 2089 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First( 2090 long groupId, long folderId, 2091 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2092 throws com.liferay.portal.kernel.exception.SystemException; 2093 2094 /** 2095 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 2096 * 2097 * @param groupId the group ID 2098 * @param folderId the folder ID 2099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2100 * @return the last matching journal article 2101 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2102 * @throws SystemException if a system exception occurred 2103 */ 2104 public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last( 2105 long groupId, long folderId, 2106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2107 throws com.liferay.portal.kernel.exception.SystemException, 2108 com.liferay.portlet.journal.NoSuchArticleException; 2109 2110 /** 2111 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 2112 * 2113 * @param groupId the group ID 2114 * @param folderId the folder ID 2115 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2116 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2117 * @throws SystemException if a system exception occurred 2118 */ 2119 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last( 2120 long groupId, long folderId, 2121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2122 throws com.liferay.portal.kernel.exception.SystemException; 2123 2124 /** 2125 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?. 2126 * 2127 * @param id the primary key of the current journal article 2128 * @param groupId the group ID 2129 * @param folderId the folder ID 2130 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2131 * @return the previous, current, and next journal article 2132 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2133 * @throws SystemException if a system exception occurred 2134 */ 2135 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext( 2136 long id, long groupId, long folderId, 2137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2138 throws com.liferay.portal.kernel.exception.SystemException, 2139 com.liferay.portlet.journal.NoSuchArticleException; 2140 2141 /** 2142 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 2143 * 2144 * @param groupId the group ID 2145 * @param folderId the folder ID 2146 * @return the matching journal articles that the user has permission to view 2147 * @throws SystemException if a system exception occurred 2148 */ 2149 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2150 long groupId, long folderId) 2151 throws com.liferay.portal.kernel.exception.SystemException; 2152 2153 /** 2154 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 2155 * 2156 * <p> 2157 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2158 * </p> 2159 * 2160 * @param groupId the group ID 2161 * @param folderId the folder ID 2162 * @param start the lower bound of the range of journal articles 2163 * @param end the upper bound of the range of journal articles (not inclusive) 2164 * @return the range of matching journal articles that the user has permission to view 2165 * @throws SystemException if a system exception occurred 2166 */ 2167 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2168 long groupId, long folderId, int start, int end) 2169 throws com.liferay.portal.kernel.exception.SystemException; 2170 2171 /** 2172 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?. 2173 * 2174 * <p> 2175 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2176 * </p> 2177 * 2178 * @param groupId the group ID 2179 * @param folderId the folder ID 2180 * @param start the lower bound of the range of journal articles 2181 * @param end the upper bound of the range of journal articles (not inclusive) 2182 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2183 * @return the ordered range of matching journal articles that the user has permission to view 2184 * @throws SystemException if a system exception occurred 2185 */ 2186 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2187 long groupId, long folderId, int start, int end, 2188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2189 throws com.liferay.portal.kernel.exception.SystemException; 2190 2191 /** 2192 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2193 * 2194 * @param id the primary key of the current journal article 2195 * @param groupId the group ID 2196 * @param folderId the folder ID 2197 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2198 * @return the previous, current, and next journal article 2199 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2200 * @throws SystemException if a system exception occurred 2201 */ 2202 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext( 2203 long id, long groupId, long folderId, 2204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2205 throws com.liferay.portal.kernel.exception.SystemException, 2206 com.liferay.portlet.journal.NoSuchArticleException; 2207 2208 /** 2209 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2210 * 2211 * @param groupId the group ID 2212 * @param folderIds the folder IDs 2213 * @return the matching journal articles that the user has permission to view 2214 * @throws SystemException if a system exception occurred 2215 */ 2216 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2217 long groupId, long[] folderIds) 2218 throws com.liferay.portal.kernel.exception.SystemException; 2219 2220 /** 2221 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2222 * 2223 * <p> 2224 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2225 * </p> 2226 * 2227 * @param groupId the group ID 2228 * @param folderIds the folder IDs 2229 * @param start the lower bound of the range of journal articles 2230 * @param end the upper bound of the range of journal articles (not inclusive) 2231 * @return the range of matching journal articles that the user has permission to view 2232 * @throws SystemException if a system exception occurred 2233 */ 2234 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2235 long groupId, long[] folderIds, int start, int end) 2236 throws com.liferay.portal.kernel.exception.SystemException; 2237 2238 /** 2239 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2240 * 2241 * <p> 2242 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2243 * </p> 2244 * 2245 * @param groupId the group ID 2246 * @param folderIds the folder IDs 2247 * @param start the lower bound of the range of journal articles 2248 * @param end the upper bound of the range of journal articles (not inclusive) 2249 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2250 * @return the ordered range of matching journal articles that the user has permission to view 2251 * @throws SystemException if a system exception occurred 2252 */ 2253 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2254 long groupId, long[] folderIds, int start, int end, 2255 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2256 throws com.liferay.portal.kernel.exception.SystemException; 2257 2258 /** 2259 * Returns all the journal articles where groupId = ? and folderId = any ?. 2260 * 2261 * <p> 2262 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2263 * </p> 2264 * 2265 * @param groupId the group ID 2266 * @param folderIds the folder IDs 2267 * @return the matching journal articles 2268 * @throws SystemException if a system exception occurred 2269 */ 2270 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2271 long groupId, long[] folderIds) 2272 throws com.liferay.portal.kernel.exception.SystemException; 2273 2274 /** 2275 * Returns a range of all the journal articles where groupId = ? and folderId = any ?. 2276 * 2277 * <p> 2278 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2279 * </p> 2280 * 2281 * @param groupId the group ID 2282 * @param folderIds the folder IDs 2283 * @param start the lower bound of the range of journal articles 2284 * @param end the upper bound of the range of journal articles (not inclusive) 2285 * @return the range of matching journal articles 2286 * @throws SystemException if a system exception occurred 2287 */ 2288 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2289 long groupId, long[] folderIds, int start, int end) 2290 throws com.liferay.portal.kernel.exception.SystemException; 2291 2292 /** 2293 * Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?. 2294 * 2295 * <p> 2296 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2297 * </p> 2298 * 2299 * @param groupId the group ID 2300 * @param folderIds the folder IDs 2301 * @param start the lower bound of the range of journal articles 2302 * @param end the upper bound of the range of journal articles (not inclusive) 2303 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2304 * @return the ordered range of matching journal articles 2305 * @throws SystemException if a system exception occurred 2306 */ 2307 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2308 long groupId, long[] folderIds, int start, int end, 2309 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2310 throws com.liferay.portal.kernel.exception.SystemException; 2311 2312 /** 2313 * Removes all the journal articles where groupId = ? and folderId = ? from the database. 2314 * 2315 * @param groupId the group ID 2316 * @param folderId the folder ID 2317 * @throws SystemException if a system exception occurred 2318 */ 2319 public void removeByG_F(long groupId, long folderId) 2320 throws com.liferay.portal.kernel.exception.SystemException; 2321 2322 /** 2323 * Returns the number of journal articles where groupId = ? and folderId = ?. 2324 * 2325 * @param groupId the group ID 2326 * @param folderId the folder ID 2327 * @return the number of matching journal articles 2328 * @throws SystemException if a system exception occurred 2329 */ 2330 public int countByG_F(long groupId, long folderId) 2331 throws com.liferay.portal.kernel.exception.SystemException; 2332 2333 /** 2334 * Returns the number of journal articles where groupId = ? and folderId = any ?. 2335 * 2336 * @param groupId the group ID 2337 * @param folderIds the folder IDs 2338 * @return the number of matching journal articles 2339 * @throws SystemException if a system exception occurred 2340 */ 2341 public int countByG_F(long groupId, long[] folderIds) 2342 throws com.liferay.portal.kernel.exception.SystemException; 2343 2344 /** 2345 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2346 * 2347 * @param groupId the group ID 2348 * @param folderId the folder ID 2349 * @return the number of matching journal articles that the user has permission to view 2350 * @throws SystemException if a system exception occurred 2351 */ 2352 public int filterCountByG_F(long groupId, long folderId) 2353 throws com.liferay.portal.kernel.exception.SystemException; 2354 2355 /** 2356 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2357 * 2358 * @param groupId the group ID 2359 * @param folderIds the folder IDs 2360 * @return the number of matching journal articles that the user has permission to view 2361 * @throws SystemException if a system exception occurred 2362 */ 2363 public int filterCountByG_F(long groupId, long[] folderIds) 2364 throws com.liferay.portal.kernel.exception.SystemException; 2365 2366 /** 2367 * Returns all the journal articles where groupId = ? and articleId = ?. 2368 * 2369 * @param groupId the group ID 2370 * @param articleId the article ID 2371 * @return the matching journal articles 2372 * @throws SystemException if a system exception occurred 2373 */ 2374 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2375 long groupId, java.lang.String articleId) 2376 throws com.liferay.portal.kernel.exception.SystemException; 2377 2378 /** 2379 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 2380 * 2381 * <p> 2382 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2383 * </p> 2384 * 2385 * @param groupId the group ID 2386 * @param articleId the article ID 2387 * @param start the lower bound of the range of journal articles 2388 * @param end the upper bound of the range of journal articles (not inclusive) 2389 * @return the range of matching journal articles 2390 * @throws SystemException if a system exception occurred 2391 */ 2392 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2393 long groupId, java.lang.String articleId, int start, int end) 2394 throws com.liferay.portal.kernel.exception.SystemException; 2395 2396 /** 2397 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 2398 * 2399 * <p> 2400 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2401 * </p> 2402 * 2403 * @param groupId the group ID 2404 * @param articleId the article ID 2405 * @param start the lower bound of the range of journal articles 2406 * @param end the upper bound of the range of journal articles (not inclusive) 2407 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2408 * @return the ordered range of matching journal articles 2409 * @throws SystemException if a system exception occurred 2410 */ 2411 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2412 long groupId, java.lang.String articleId, int start, int end, 2413 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2414 throws com.liferay.portal.kernel.exception.SystemException; 2415 2416 /** 2417 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2418 * 2419 * @param groupId the group ID 2420 * @param articleId the article ID 2421 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2422 * @return the first matching journal article 2423 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2424 * @throws SystemException if a system exception occurred 2425 */ 2426 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 2427 long groupId, java.lang.String articleId, 2428 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2429 throws com.liferay.portal.kernel.exception.SystemException, 2430 com.liferay.portlet.journal.NoSuchArticleException; 2431 2432 /** 2433 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2434 * 2435 * @param groupId the group ID 2436 * @param articleId the article ID 2437 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2438 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2439 * @throws SystemException if a system exception occurred 2440 */ 2441 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 2442 long groupId, java.lang.String articleId, 2443 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2444 throws com.liferay.portal.kernel.exception.SystemException; 2445 2446 /** 2447 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2448 * 2449 * @param groupId the group ID 2450 * @param articleId the article ID 2451 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2452 * @return the last matching journal article 2453 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2454 * @throws SystemException if a system exception occurred 2455 */ 2456 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 2457 long groupId, java.lang.String articleId, 2458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2459 throws com.liferay.portal.kernel.exception.SystemException, 2460 com.liferay.portlet.journal.NoSuchArticleException; 2461 2462 /** 2463 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2464 * 2465 * @param groupId the group ID 2466 * @param articleId the article ID 2467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2468 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2469 * @throws SystemException if a system exception occurred 2470 */ 2471 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 2472 long groupId, java.lang.String articleId, 2473 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2474 throws com.liferay.portal.kernel.exception.SystemException; 2475 2476 /** 2477 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 2478 * 2479 * @param id the primary key of the current journal article 2480 * @param groupId the group ID 2481 * @param articleId the article ID 2482 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2483 * @return the previous, current, and next journal article 2484 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2485 * @throws SystemException if a system exception occurred 2486 */ 2487 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 2488 long id, long groupId, java.lang.String articleId, 2489 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2490 throws com.liferay.portal.kernel.exception.SystemException, 2491 com.liferay.portlet.journal.NoSuchArticleException; 2492 2493 /** 2494 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2495 * 2496 * @param groupId the group ID 2497 * @param articleId the article ID 2498 * @return the matching journal articles that the user has permission to view 2499 * @throws SystemException if a system exception occurred 2500 */ 2501 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2502 long groupId, java.lang.String articleId) 2503 throws com.liferay.portal.kernel.exception.SystemException; 2504 2505 /** 2506 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2507 * 2508 * <p> 2509 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2510 * </p> 2511 * 2512 * @param groupId the group ID 2513 * @param articleId the article ID 2514 * @param start the lower bound of the range of journal articles 2515 * @param end the upper bound of the range of journal articles (not inclusive) 2516 * @return the range of matching journal articles that the user has permission to view 2517 * @throws SystemException if a system exception occurred 2518 */ 2519 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2520 long groupId, java.lang.String articleId, int start, int end) 2521 throws com.liferay.portal.kernel.exception.SystemException; 2522 2523 /** 2524 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 2525 * 2526 * <p> 2527 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2528 * </p> 2529 * 2530 * @param groupId the group ID 2531 * @param articleId the article ID 2532 * @param start the lower bound of the range of journal articles 2533 * @param end the upper bound of the range of journal articles (not inclusive) 2534 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2535 * @return the ordered range of matching journal articles that the user has permission to view 2536 * @throws SystemException if a system exception occurred 2537 */ 2538 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2539 long groupId, java.lang.String articleId, int start, int end, 2540 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2541 throws com.liferay.portal.kernel.exception.SystemException; 2542 2543 /** 2544 * 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 = ?. 2545 * 2546 * @param id the primary key of the current journal article 2547 * @param groupId the group ID 2548 * @param articleId the article ID 2549 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2550 * @return the previous, current, and next journal article 2551 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2552 * @throws SystemException if a system exception occurred 2553 */ 2554 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 2555 long id, long groupId, java.lang.String articleId, 2556 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2557 throws com.liferay.portal.kernel.exception.SystemException, 2558 com.liferay.portlet.journal.NoSuchArticleException; 2559 2560 /** 2561 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2562 * 2563 * @param groupId the group ID 2564 * @param articleId the article ID 2565 * @throws SystemException if a system exception occurred 2566 */ 2567 public void removeByG_A(long groupId, java.lang.String articleId) 2568 throws com.liferay.portal.kernel.exception.SystemException; 2569 2570 /** 2571 * Returns the number of journal articles where groupId = ? and articleId = ?. 2572 * 2573 * @param groupId the group ID 2574 * @param articleId the article ID 2575 * @return the number of matching journal articles 2576 * @throws SystemException if a system exception occurred 2577 */ 2578 public int countByG_A(long groupId, java.lang.String articleId) 2579 throws com.liferay.portal.kernel.exception.SystemException; 2580 2581 /** 2582 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2583 * 2584 * @param groupId the group ID 2585 * @param articleId the article ID 2586 * @return the number of matching journal articles that the user has permission to view 2587 * @throws SystemException if a system exception occurred 2588 */ 2589 public int filterCountByG_A(long groupId, java.lang.String articleId) 2590 throws com.liferay.portal.kernel.exception.SystemException; 2591 2592 /** 2593 * Returns all the journal articles where groupId = ? and urlTitle = ?. 2594 * 2595 * @param groupId the group ID 2596 * @param urlTitle the url title 2597 * @return the matching journal articles 2598 * @throws SystemException if a system exception occurred 2599 */ 2600 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2601 long groupId, java.lang.String urlTitle) 2602 throws com.liferay.portal.kernel.exception.SystemException; 2603 2604 /** 2605 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 2606 * 2607 * <p> 2608 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2609 * </p> 2610 * 2611 * @param groupId the group ID 2612 * @param urlTitle the url title 2613 * @param start the lower bound of the range of journal articles 2614 * @param end the upper bound of the range of journal articles (not inclusive) 2615 * @return the range of matching journal articles 2616 * @throws SystemException if a system exception occurred 2617 */ 2618 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2619 long groupId, java.lang.String urlTitle, int start, int end) 2620 throws com.liferay.portal.kernel.exception.SystemException; 2621 2622 /** 2623 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 2624 * 2625 * <p> 2626 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2627 * </p> 2628 * 2629 * @param groupId the group ID 2630 * @param urlTitle the url title 2631 * @param start the lower bound of the range of journal articles 2632 * @param end the upper bound of the range of journal articles (not inclusive) 2633 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2634 * @return the ordered range of matching journal articles 2635 * @throws SystemException if a system exception occurred 2636 */ 2637 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2638 long groupId, java.lang.String urlTitle, int start, int end, 2639 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2640 throws com.liferay.portal.kernel.exception.SystemException; 2641 2642 /** 2643 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2644 * 2645 * @param groupId the group ID 2646 * @param urlTitle the url title 2647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2648 * @return the first matching journal article 2649 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2650 * @throws SystemException if a system exception occurred 2651 */ 2652 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 2653 long groupId, java.lang.String urlTitle, 2654 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2655 throws com.liferay.portal.kernel.exception.SystemException, 2656 com.liferay.portlet.journal.NoSuchArticleException; 2657 2658 /** 2659 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2660 * 2661 * @param groupId the group ID 2662 * @param urlTitle the url title 2663 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2664 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2665 * @throws SystemException if a system exception occurred 2666 */ 2667 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 2668 long groupId, java.lang.String urlTitle, 2669 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2670 throws com.liferay.portal.kernel.exception.SystemException; 2671 2672 /** 2673 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2674 * 2675 * @param groupId the group ID 2676 * @param urlTitle the url title 2677 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2678 * @return the last matching journal article 2679 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2680 * @throws SystemException if a system exception occurred 2681 */ 2682 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 2683 long groupId, java.lang.String urlTitle, 2684 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2685 throws com.liferay.portal.kernel.exception.SystemException, 2686 com.liferay.portlet.journal.NoSuchArticleException; 2687 2688 /** 2689 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2690 * 2691 * @param groupId the group ID 2692 * @param urlTitle the url title 2693 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2694 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2695 * @throws SystemException if a system exception occurred 2696 */ 2697 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 2698 long groupId, java.lang.String urlTitle, 2699 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2700 throws com.liferay.portal.kernel.exception.SystemException; 2701 2702 /** 2703 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 2704 * 2705 * @param id the primary key of the current journal article 2706 * @param groupId the group ID 2707 * @param urlTitle the url title 2708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2709 * @return the previous, current, and next journal article 2710 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2711 * @throws SystemException if a system exception occurred 2712 */ 2713 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 2714 long id, long groupId, java.lang.String urlTitle, 2715 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2716 throws com.liferay.portal.kernel.exception.SystemException, 2717 com.liferay.portlet.journal.NoSuchArticleException; 2718 2719 /** 2720 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2721 * 2722 * @param groupId the group ID 2723 * @param urlTitle the url title 2724 * @return the matching journal articles that the user has permission to view 2725 * @throws SystemException if a system exception occurred 2726 */ 2727 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2728 long groupId, java.lang.String urlTitle) 2729 throws com.liferay.portal.kernel.exception.SystemException; 2730 2731 /** 2732 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2733 * 2734 * <p> 2735 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2736 * </p> 2737 * 2738 * @param groupId the group ID 2739 * @param urlTitle the url title 2740 * @param start the lower bound of the range of journal articles 2741 * @param end the upper bound of the range of journal articles (not inclusive) 2742 * @return the range of matching journal articles that the user has permission to view 2743 * @throws SystemException if a system exception occurred 2744 */ 2745 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2746 long groupId, java.lang.String urlTitle, int start, int end) 2747 throws com.liferay.portal.kernel.exception.SystemException; 2748 2749 /** 2750 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 2751 * 2752 * <p> 2753 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2754 * </p> 2755 * 2756 * @param groupId the group ID 2757 * @param urlTitle the url title 2758 * @param start the lower bound of the range of journal articles 2759 * @param end the upper bound of the range of journal articles (not inclusive) 2760 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2761 * @return the ordered range of matching journal articles that the user has permission to view 2762 * @throws SystemException if a system exception occurred 2763 */ 2764 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2765 long groupId, java.lang.String urlTitle, int start, int end, 2766 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2767 throws com.liferay.portal.kernel.exception.SystemException; 2768 2769 /** 2770 * 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 = ?. 2771 * 2772 * @param id the primary key of the current journal article 2773 * @param groupId the group ID 2774 * @param urlTitle the url title 2775 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2776 * @return the previous, current, and next journal article 2777 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2778 * @throws SystemException if a system exception occurred 2779 */ 2780 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 2781 long id, long groupId, java.lang.String urlTitle, 2782 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2783 throws com.liferay.portal.kernel.exception.SystemException, 2784 com.liferay.portlet.journal.NoSuchArticleException; 2785 2786 /** 2787 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 2788 * 2789 * @param groupId the group ID 2790 * @param urlTitle the url title 2791 * @throws SystemException if a system exception occurred 2792 */ 2793 public void removeByG_UT(long groupId, java.lang.String urlTitle) 2794 throws com.liferay.portal.kernel.exception.SystemException; 2795 2796 /** 2797 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 2798 * 2799 * @param groupId the group ID 2800 * @param urlTitle the url title 2801 * @return the number of matching journal articles 2802 * @throws SystemException if a system exception occurred 2803 */ 2804 public int countByG_UT(long groupId, java.lang.String urlTitle) 2805 throws com.liferay.portal.kernel.exception.SystemException; 2806 2807 /** 2808 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2809 * 2810 * @param groupId the group ID 2811 * @param urlTitle the url title 2812 * @return the number of matching journal articles that the user has permission to view 2813 * @throws SystemException if a system exception occurred 2814 */ 2815 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 2816 throws com.liferay.portal.kernel.exception.SystemException; 2817 2818 /** 2819 * Returns all the journal articles where groupId = ? and structureId = ?. 2820 * 2821 * @param groupId the group ID 2822 * @param structureId the structure ID 2823 * @return the matching journal articles 2824 * @throws SystemException if a system exception occurred 2825 */ 2826 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2827 long groupId, java.lang.String structureId) 2828 throws com.liferay.portal.kernel.exception.SystemException; 2829 2830 /** 2831 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 2832 * 2833 * <p> 2834 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2835 * </p> 2836 * 2837 * @param groupId the group ID 2838 * @param structureId the structure ID 2839 * @param start the lower bound of the range of journal articles 2840 * @param end the upper bound of the range of journal articles (not inclusive) 2841 * @return the range of matching journal articles 2842 * @throws SystemException if a system exception occurred 2843 */ 2844 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2845 long groupId, java.lang.String structureId, int start, int end) 2846 throws com.liferay.portal.kernel.exception.SystemException; 2847 2848 /** 2849 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 2850 * 2851 * <p> 2852 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2853 * </p> 2854 * 2855 * @param groupId the group ID 2856 * @param structureId the structure ID 2857 * @param start the lower bound of the range of journal articles 2858 * @param end the upper bound of the range of journal articles (not inclusive) 2859 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2860 * @return the ordered range of matching journal articles 2861 * @throws SystemException if a system exception occurred 2862 */ 2863 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2864 long groupId, java.lang.String structureId, int start, int end, 2865 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2866 throws com.liferay.portal.kernel.exception.SystemException; 2867 2868 /** 2869 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2870 * 2871 * @param groupId the group ID 2872 * @param structureId the structure ID 2873 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2874 * @return the first matching journal article 2875 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2876 * @throws SystemException if a system exception occurred 2877 */ 2878 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 2879 long groupId, java.lang.String structureId, 2880 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2881 throws com.liferay.portal.kernel.exception.SystemException, 2882 com.liferay.portlet.journal.NoSuchArticleException; 2883 2884 /** 2885 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2886 * 2887 * @param groupId the group ID 2888 * @param structureId the structure ID 2889 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2890 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2891 * @throws SystemException if a system exception occurred 2892 */ 2893 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First( 2894 long groupId, java.lang.String structureId, 2895 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2896 throws com.liferay.portal.kernel.exception.SystemException; 2897 2898 /** 2899 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2900 * 2901 * @param groupId the group ID 2902 * @param structureId the structure ID 2903 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2904 * @return the last matching journal article 2905 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2906 * @throws SystemException if a system exception occurred 2907 */ 2908 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 2909 long groupId, java.lang.String structureId, 2910 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2911 throws com.liferay.portal.kernel.exception.SystemException, 2912 com.liferay.portlet.journal.NoSuchArticleException; 2913 2914 /** 2915 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2916 * 2917 * @param groupId the group ID 2918 * @param structureId the structure ID 2919 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2920 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2921 * @throws SystemException if a system exception occurred 2922 */ 2923 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last( 2924 long groupId, java.lang.String structureId, 2925 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2926 throws com.liferay.portal.kernel.exception.SystemException; 2927 2928 /** 2929 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 2930 * 2931 * @param id the primary key of the current journal article 2932 * @param groupId the group ID 2933 * @param structureId the structure ID 2934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2935 * @return the previous, current, and next journal article 2936 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2937 * @throws SystemException if a system exception occurred 2938 */ 2939 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 2940 long id, long groupId, java.lang.String structureId, 2941 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2942 throws com.liferay.portal.kernel.exception.SystemException, 2943 com.liferay.portlet.journal.NoSuchArticleException; 2944 2945 /** 2946 * Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2947 * 2948 * @param groupId the group ID 2949 * @param structureId the structure ID 2950 * @return the matching journal articles that the user has permission to view 2951 * @throws SystemException if a system exception occurred 2952 */ 2953 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2954 long groupId, java.lang.String structureId) 2955 throws com.liferay.portal.kernel.exception.SystemException; 2956 2957 /** 2958 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2959 * 2960 * <p> 2961 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2962 * </p> 2963 * 2964 * @param groupId the group ID 2965 * @param structureId the structure ID 2966 * @param start the lower bound of the range of journal articles 2967 * @param end the upper bound of the range of journal articles (not inclusive) 2968 * @return the range of matching journal articles that the user has permission to view 2969 * @throws SystemException if a system exception occurred 2970 */ 2971 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2972 long groupId, java.lang.String structureId, int start, int end) 2973 throws com.liferay.portal.kernel.exception.SystemException; 2974 2975 /** 2976 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 2977 * 2978 * <p> 2979 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2980 * </p> 2981 * 2982 * @param groupId the group ID 2983 * @param structureId the structure ID 2984 * @param start the lower bound of the range of journal articles 2985 * @param end the upper bound of the range of journal articles (not inclusive) 2986 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2987 * @return the ordered range of matching journal articles that the user has permission to view 2988 * @throws SystemException if a system exception occurred 2989 */ 2990 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2991 long groupId, java.lang.String structureId, int start, int end, 2992 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2993 throws com.liferay.portal.kernel.exception.SystemException; 2994 2995 /** 2996 * 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 = ?. 2997 * 2998 * @param id the primary key of the current journal article 2999 * @param groupId the group ID 3000 * @param structureId the structure ID 3001 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3002 * @return the previous, current, and next journal article 3003 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3004 * @throws SystemException if a system exception occurred 3005 */ 3006 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 3007 long id, long groupId, java.lang.String structureId, 3008 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3009 throws com.liferay.portal.kernel.exception.SystemException, 3010 com.liferay.portlet.journal.NoSuchArticleException; 3011 3012 /** 3013 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 3014 * 3015 * @param groupId the group ID 3016 * @param structureId the structure ID 3017 * @throws SystemException if a system exception occurred 3018 */ 3019 public void removeByG_S(long groupId, java.lang.String structureId) 3020 throws com.liferay.portal.kernel.exception.SystemException; 3021 3022 /** 3023 * Returns the number of journal articles where groupId = ? and structureId = ?. 3024 * 3025 * @param groupId the group ID 3026 * @param structureId the structure ID 3027 * @return the number of matching journal articles 3028 * @throws SystemException if a system exception occurred 3029 */ 3030 public int countByG_S(long groupId, java.lang.String structureId) 3031 throws com.liferay.portal.kernel.exception.SystemException; 3032 3033 /** 3034 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 3035 * 3036 * @param groupId the group ID 3037 * @param structureId the structure ID 3038 * @return the number of matching journal articles that the user has permission to view 3039 * @throws SystemException if a system exception occurred 3040 */ 3041 public int filterCountByG_S(long groupId, java.lang.String structureId) 3042 throws com.liferay.portal.kernel.exception.SystemException; 3043 3044 /** 3045 * Returns all the journal articles where groupId = ? and templateId = ?. 3046 * 3047 * @param groupId the group ID 3048 * @param templateId the template ID 3049 * @return the matching journal articles 3050 * @throws SystemException if a system exception occurred 3051 */ 3052 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 3053 long groupId, java.lang.String templateId) 3054 throws com.liferay.portal.kernel.exception.SystemException; 3055 3056 /** 3057 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 3058 * 3059 * <p> 3060 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3061 * </p> 3062 * 3063 * @param groupId the group ID 3064 * @param templateId the template ID 3065 * @param start the lower bound of the range of journal articles 3066 * @param end the upper bound of the range of journal articles (not inclusive) 3067 * @return the range of matching journal articles 3068 * @throws SystemException if a system exception occurred 3069 */ 3070 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 3071 long groupId, java.lang.String templateId, int start, int end) 3072 throws com.liferay.portal.kernel.exception.SystemException; 3073 3074 /** 3075 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 3076 * 3077 * <p> 3078 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3079 * </p> 3080 * 3081 * @param groupId the group ID 3082 * @param templateId the template ID 3083 * @param start the lower bound of the range of journal articles 3084 * @param end the upper bound of the range of journal articles (not inclusive) 3085 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3086 * @return the ordered range of matching journal articles 3087 * @throws SystemException if a system exception occurred 3088 */ 3089 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 3090 long groupId, java.lang.String templateId, int start, int end, 3091 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3092 throws com.liferay.portal.kernel.exception.SystemException; 3093 3094 /** 3095 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 3096 * 3097 * @param groupId the group ID 3098 * @param templateId the template ID 3099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3100 * @return the first matching journal article 3101 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3102 * @throws SystemException if a system exception occurred 3103 */ 3104 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 3105 long groupId, java.lang.String templateId, 3106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3107 throws com.liferay.portal.kernel.exception.SystemException, 3108 com.liferay.portlet.journal.NoSuchArticleException; 3109 3110 /** 3111 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 3112 * 3113 * @param groupId the group ID 3114 * @param templateId the template ID 3115 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3116 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3117 * @throws SystemException if a system exception occurred 3118 */ 3119 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First( 3120 long groupId, java.lang.String templateId, 3121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3122 throws com.liferay.portal.kernel.exception.SystemException; 3123 3124 /** 3125 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 3126 * 3127 * @param groupId the group ID 3128 * @param templateId the template ID 3129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3130 * @return the last matching journal article 3131 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3132 * @throws SystemException if a system exception occurred 3133 */ 3134 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 3135 long groupId, java.lang.String templateId, 3136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3137 throws com.liferay.portal.kernel.exception.SystemException, 3138 com.liferay.portlet.journal.NoSuchArticleException; 3139 3140 /** 3141 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 3142 * 3143 * @param groupId the group ID 3144 * @param templateId the template ID 3145 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3146 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3147 * @throws SystemException if a system exception occurred 3148 */ 3149 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last( 3150 long groupId, java.lang.String templateId, 3151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3152 throws com.liferay.portal.kernel.exception.SystemException; 3153 3154 /** 3155 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 3156 * 3157 * @param id the primary key of the current journal article 3158 * @param groupId the group ID 3159 * @param templateId the template ID 3160 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3161 * @return the previous, current, and next journal article 3162 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3163 * @throws SystemException if a system exception occurred 3164 */ 3165 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 3166 long id, long groupId, java.lang.String templateId, 3167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3168 throws com.liferay.portal.kernel.exception.SystemException, 3169 com.liferay.portlet.journal.NoSuchArticleException; 3170 3171 /** 3172 * Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 3173 * 3174 * @param groupId the group ID 3175 * @param templateId the template ID 3176 * @return the matching journal articles that the user has permission to view 3177 * @throws SystemException if a system exception occurred 3178 */ 3179 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3180 long groupId, java.lang.String templateId) 3181 throws com.liferay.portal.kernel.exception.SystemException; 3182 3183 /** 3184 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 3185 * 3186 * <p> 3187 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3188 * </p> 3189 * 3190 * @param groupId the group ID 3191 * @param templateId the template ID 3192 * @param start the lower bound of the range of journal articles 3193 * @param end the upper bound of the range of journal articles (not inclusive) 3194 * @return the range of matching journal articles that the user has permission to view 3195 * @throws SystemException if a system exception occurred 3196 */ 3197 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3198 long groupId, java.lang.String templateId, int start, int end) 3199 throws com.liferay.portal.kernel.exception.SystemException; 3200 3201 /** 3202 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 3203 * 3204 * <p> 3205 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3206 * </p> 3207 * 3208 * @param groupId the group ID 3209 * @param templateId the template ID 3210 * @param start the lower bound of the range of journal articles 3211 * @param end the upper bound of the range of journal articles (not inclusive) 3212 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3213 * @return the ordered range of matching journal articles that the user has permission to view 3214 * @throws SystemException if a system exception occurred 3215 */ 3216 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3217 long groupId, java.lang.String templateId, int start, int end, 3218 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3219 throws com.liferay.portal.kernel.exception.SystemException; 3220 3221 /** 3222 * 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 = ?. 3223 * 3224 * @param id the primary key of the current journal article 3225 * @param groupId the group ID 3226 * @param templateId the template ID 3227 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3228 * @return the previous, current, and next journal article 3229 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3230 * @throws SystemException if a system exception occurred 3231 */ 3232 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 3233 long id, long groupId, java.lang.String templateId, 3234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3235 throws com.liferay.portal.kernel.exception.SystemException, 3236 com.liferay.portlet.journal.NoSuchArticleException; 3237 3238 /** 3239 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 3240 * 3241 * @param groupId the group ID 3242 * @param templateId the template ID 3243 * @throws SystemException if a system exception occurred 3244 */ 3245 public void removeByG_T(long groupId, java.lang.String templateId) 3246 throws com.liferay.portal.kernel.exception.SystemException; 3247 3248 /** 3249 * Returns the number of journal articles where groupId = ? and templateId = ?. 3250 * 3251 * @param groupId the group ID 3252 * @param templateId the template ID 3253 * @return the number of matching journal articles 3254 * @throws SystemException if a system exception occurred 3255 */ 3256 public int countByG_T(long groupId, java.lang.String templateId) 3257 throws com.liferay.portal.kernel.exception.SystemException; 3258 3259 /** 3260 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 3261 * 3262 * @param groupId the group ID 3263 * @param templateId the template ID 3264 * @return the number of matching journal articles that the user has permission to view 3265 * @throws SystemException if a system exception occurred 3266 */ 3267 public int filterCountByG_T(long groupId, java.lang.String templateId) 3268 throws com.liferay.portal.kernel.exception.SystemException; 3269 3270 /** 3271 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 3272 * 3273 * @param groupId the group ID 3274 * @param layoutUuid the layout uuid 3275 * @return the matching journal articles 3276 * @throws SystemException if a system exception occurred 3277 */ 3278 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3279 long groupId, java.lang.String layoutUuid) 3280 throws com.liferay.portal.kernel.exception.SystemException; 3281 3282 /** 3283 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 3284 * 3285 * <p> 3286 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3287 * </p> 3288 * 3289 * @param groupId the group ID 3290 * @param layoutUuid the layout uuid 3291 * @param start the lower bound of the range of journal articles 3292 * @param end the upper bound of the range of journal articles (not inclusive) 3293 * @return the range of matching journal articles 3294 * @throws SystemException if a system exception occurred 3295 */ 3296 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3297 long groupId, java.lang.String layoutUuid, int start, int end) 3298 throws com.liferay.portal.kernel.exception.SystemException; 3299 3300 /** 3301 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 3302 * 3303 * <p> 3304 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3305 * </p> 3306 * 3307 * @param groupId the group ID 3308 * @param layoutUuid the layout uuid 3309 * @param start the lower bound of the range of journal articles 3310 * @param end the upper bound of the range of journal articles (not inclusive) 3311 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3312 * @return the ordered range of matching journal articles 3313 * @throws SystemException if a system exception occurred 3314 */ 3315 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3316 long groupId, java.lang.String layoutUuid, int start, int end, 3317 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3318 throws com.liferay.portal.kernel.exception.SystemException; 3319 3320 /** 3321 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3322 * 3323 * @param groupId the group ID 3324 * @param layoutUuid the layout uuid 3325 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3326 * @return the first matching journal article 3327 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3328 * @throws SystemException if a system exception occurred 3329 */ 3330 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 3331 long groupId, java.lang.String layoutUuid, 3332 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3333 throws com.liferay.portal.kernel.exception.SystemException, 3334 com.liferay.portlet.journal.NoSuchArticleException; 3335 3336 /** 3337 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3338 * 3339 * @param groupId the group ID 3340 * @param layoutUuid the layout uuid 3341 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3342 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3343 * @throws SystemException if a system exception occurred 3344 */ 3345 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 3346 long groupId, java.lang.String layoutUuid, 3347 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3348 throws com.liferay.portal.kernel.exception.SystemException; 3349 3350 /** 3351 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3352 * 3353 * @param groupId the group ID 3354 * @param layoutUuid the layout uuid 3355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3356 * @return the last matching journal article 3357 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3358 * @throws SystemException if a system exception occurred 3359 */ 3360 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 3361 long groupId, java.lang.String layoutUuid, 3362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3363 throws com.liferay.portal.kernel.exception.SystemException, 3364 com.liferay.portlet.journal.NoSuchArticleException; 3365 3366 /** 3367 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3368 * 3369 * @param groupId the group ID 3370 * @param layoutUuid the layout uuid 3371 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3372 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3373 * @throws SystemException if a system exception occurred 3374 */ 3375 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 3376 long groupId, java.lang.String layoutUuid, 3377 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3378 throws com.liferay.portal.kernel.exception.SystemException; 3379 3380 /** 3381 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 3382 * 3383 * @param id the primary key of the current journal article 3384 * @param groupId the group ID 3385 * @param layoutUuid the layout uuid 3386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3387 * @return the previous, current, and next journal article 3388 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3389 * @throws SystemException if a system exception occurred 3390 */ 3391 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 3392 long id, long groupId, java.lang.String layoutUuid, 3393 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3394 throws com.liferay.portal.kernel.exception.SystemException, 3395 com.liferay.portlet.journal.NoSuchArticleException; 3396 3397 /** 3398 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3399 * 3400 * @param groupId the group ID 3401 * @param layoutUuid the layout uuid 3402 * @return the matching journal articles that the user has permission to view 3403 * @throws SystemException if a system exception occurred 3404 */ 3405 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3406 long groupId, java.lang.String layoutUuid) 3407 throws com.liferay.portal.kernel.exception.SystemException; 3408 3409 /** 3410 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3411 * 3412 * <p> 3413 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3414 * </p> 3415 * 3416 * @param groupId the group ID 3417 * @param layoutUuid the layout uuid 3418 * @param start the lower bound of the range of journal articles 3419 * @param end the upper bound of the range of journal articles (not inclusive) 3420 * @return the range of matching journal articles that the user has permission to view 3421 * @throws SystemException if a system exception occurred 3422 */ 3423 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3424 long groupId, java.lang.String layoutUuid, int start, int end) 3425 throws com.liferay.portal.kernel.exception.SystemException; 3426 3427 /** 3428 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 3429 * 3430 * <p> 3431 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3432 * </p> 3433 * 3434 * @param groupId the group ID 3435 * @param layoutUuid the layout uuid 3436 * @param start the lower bound of the range of journal articles 3437 * @param end the upper bound of the range of journal articles (not inclusive) 3438 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3439 * @return the ordered range of matching journal articles that the user has permission to view 3440 * @throws SystemException if a system exception occurred 3441 */ 3442 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3443 long groupId, java.lang.String layoutUuid, int start, int end, 3444 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3445 throws com.liferay.portal.kernel.exception.SystemException; 3446 3447 /** 3448 * 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 = ?. 3449 * 3450 * @param id the primary key of the current journal article 3451 * @param groupId the group ID 3452 * @param layoutUuid the layout uuid 3453 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3454 * @return the previous, current, and next journal article 3455 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3456 * @throws SystemException if a system exception occurred 3457 */ 3458 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 3459 long id, long groupId, java.lang.String layoutUuid, 3460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3461 throws com.liferay.portal.kernel.exception.SystemException, 3462 com.liferay.portlet.journal.NoSuchArticleException; 3463 3464 /** 3465 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3466 * 3467 * @param groupId the group ID 3468 * @param layoutUuid the layout uuid 3469 * @throws SystemException if a system exception occurred 3470 */ 3471 public void removeByG_L(long groupId, java.lang.String layoutUuid) 3472 throws com.liferay.portal.kernel.exception.SystemException; 3473 3474 /** 3475 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 3476 * 3477 * @param groupId the group ID 3478 * @param layoutUuid the layout uuid 3479 * @return the number of matching journal articles 3480 * @throws SystemException if a system exception occurred 3481 */ 3482 public int countByG_L(long groupId, java.lang.String layoutUuid) 3483 throws com.liferay.portal.kernel.exception.SystemException; 3484 3485 /** 3486 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3487 * 3488 * @param groupId the group ID 3489 * @param layoutUuid the layout uuid 3490 * @return the number of matching journal articles that the user has permission to view 3491 * @throws SystemException if a system exception occurred 3492 */ 3493 public int filterCountByG_L(long groupId, java.lang.String layoutUuid) 3494 throws com.liferay.portal.kernel.exception.SystemException; 3495 3496 /** 3497 * Returns all the journal articles where groupId = ? and status = ?. 3498 * 3499 * @param groupId the group ID 3500 * @param status the status 3501 * @return the matching journal articles 3502 * @throws SystemException if a system exception occurred 3503 */ 3504 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3505 long groupId, int status) 3506 throws com.liferay.portal.kernel.exception.SystemException; 3507 3508 /** 3509 * Returns a range of all the journal articles where groupId = ? and status = ?. 3510 * 3511 * <p> 3512 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3513 * </p> 3514 * 3515 * @param groupId the group ID 3516 * @param status the status 3517 * @param start the lower bound of the range of journal articles 3518 * @param end the upper bound of the range of journal articles (not inclusive) 3519 * @return the range of matching journal articles 3520 * @throws SystemException if a system exception occurred 3521 */ 3522 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3523 long groupId, int status, int start, int end) 3524 throws com.liferay.portal.kernel.exception.SystemException; 3525 3526 /** 3527 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 3528 * 3529 * <p> 3530 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3531 * </p> 3532 * 3533 * @param groupId the group ID 3534 * @param status the status 3535 * @param start the lower bound of the range of journal articles 3536 * @param end the upper bound of the range of journal articles (not inclusive) 3537 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3538 * @return the ordered range of matching journal articles 3539 * @throws SystemException if a system exception occurred 3540 */ 3541 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3542 long groupId, int status, int start, int end, 3543 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3544 throws com.liferay.portal.kernel.exception.SystemException; 3545 3546 /** 3547 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3548 * 3549 * @param groupId the group ID 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 findByG_ST_First( 3557 long groupId, 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 first journal article in the ordered set where groupId = ? and status = ?. 3564 * 3565 * @param groupId the group ID 3566 * @param status the status 3567 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3568 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3569 * @throws SystemException if a system exception occurred 3570 */ 3571 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 3572 long groupId, int status, 3573 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3574 throws com.liferay.portal.kernel.exception.SystemException; 3575 3576 /** 3577 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3578 * 3579 * @param groupId the group ID 3580 * @param status the status 3581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3582 * @return the last matching journal article 3583 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3584 * @throws SystemException if a system exception occurred 3585 */ 3586 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 3587 long groupId, int status, 3588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3589 throws com.liferay.portal.kernel.exception.SystemException, 3590 com.liferay.portlet.journal.NoSuchArticleException; 3591 3592 /** 3593 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3594 * 3595 * @param groupId the group ID 3596 * @param status the status 3597 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3598 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3599 * @throws SystemException if a system exception occurred 3600 */ 3601 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 3602 long groupId, int status, 3603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3604 throws com.liferay.portal.kernel.exception.SystemException; 3605 3606 /** 3607 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 3608 * 3609 * @param id the primary key of the current journal article 3610 * @param groupId the group ID 3611 * @param status the status 3612 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3613 * @return the previous, current, and next journal article 3614 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3615 * @throws SystemException if a system exception occurred 3616 */ 3617 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 3618 long id, long groupId, int status, 3619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3620 throws com.liferay.portal.kernel.exception.SystemException, 3621 com.liferay.portlet.journal.NoSuchArticleException; 3622 3623 /** 3624 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 3625 * 3626 * @param groupId the group ID 3627 * @param status the status 3628 * @return the matching journal articles that the user has permission to view 3629 * @throws SystemException if a system exception occurred 3630 */ 3631 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3632 long groupId, int status) 3633 throws com.liferay.portal.kernel.exception.SystemException; 3634 3635 /** 3636 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3637 * 3638 * <p> 3639 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3640 * </p> 3641 * 3642 * @param groupId the group ID 3643 * @param status the status 3644 * @param start the lower bound of the range of journal articles 3645 * @param end the upper bound of the range of journal articles (not inclusive) 3646 * @return the range of matching journal articles that the user has permission to view 3647 * @throws SystemException if a system exception occurred 3648 */ 3649 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3650 long groupId, int status, int start, int end) 3651 throws com.liferay.portal.kernel.exception.SystemException; 3652 3653 /** 3654 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3655 * 3656 * <p> 3657 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3658 * </p> 3659 * 3660 * @param groupId the group ID 3661 * @param status the status 3662 * @param start the lower bound of the range of journal articles 3663 * @param end the upper bound of the range of journal articles (not inclusive) 3664 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3665 * @return the ordered range of matching journal articles that the user has permission to view 3666 * @throws SystemException if a system exception occurred 3667 */ 3668 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3669 long groupId, int status, int start, int end, 3670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3671 throws com.liferay.portal.kernel.exception.SystemException; 3672 3673 /** 3674 * 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 = ?. 3675 * 3676 * @param id the primary key of the current journal article 3677 * @param groupId the group ID 3678 * @param status the status 3679 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3680 * @return the previous, current, and next journal article 3681 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3682 * @throws SystemException if a system exception occurred 3683 */ 3684 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 3685 long id, long groupId, int status, 3686 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3687 throws com.liferay.portal.kernel.exception.SystemException, 3688 com.liferay.portlet.journal.NoSuchArticleException; 3689 3690 /** 3691 * Removes all the journal articles where groupId = ? and status = ? from the database. 3692 * 3693 * @param groupId the group ID 3694 * @param status the status 3695 * @throws SystemException if a system exception occurred 3696 */ 3697 public void removeByG_ST(long groupId, int status) 3698 throws com.liferay.portal.kernel.exception.SystemException; 3699 3700 /** 3701 * Returns the number of journal articles where groupId = ? and status = ?. 3702 * 3703 * @param groupId the group ID 3704 * @param status the status 3705 * @return the number of matching journal articles 3706 * @throws SystemException if a system exception occurred 3707 */ 3708 public int countByG_ST(long groupId, int status) 3709 throws com.liferay.portal.kernel.exception.SystemException; 3710 3711 /** 3712 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 3713 * 3714 * @param groupId the group ID 3715 * @param status the status 3716 * @return the number of matching journal articles that the user has permission to view 3717 * @throws SystemException if a system exception occurred 3718 */ 3719 public int filterCountByG_ST(long groupId, int status) 3720 throws com.liferay.portal.kernel.exception.SystemException; 3721 3722 /** 3723 * Returns all the journal articles where companyId = ? and version = ?. 3724 * 3725 * @param companyId the company ID 3726 * @param version the version 3727 * @return the matching journal articles 3728 * @throws SystemException if a system exception occurred 3729 */ 3730 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3731 long companyId, double version) 3732 throws com.liferay.portal.kernel.exception.SystemException; 3733 3734 /** 3735 * Returns a range of all the journal articles where companyId = ? and version = ?. 3736 * 3737 * <p> 3738 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3739 * </p> 3740 * 3741 * @param companyId the company ID 3742 * @param version the version 3743 * @param start the lower bound of the range of journal articles 3744 * @param end the upper bound of the range of journal articles (not inclusive) 3745 * @return the range of matching journal articles 3746 * @throws SystemException if a system exception occurred 3747 */ 3748 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3749 long companyId, double version, int start, int end) 3750 throws com.liferay.portal.kernel.exception.SystemException; 3751 3752 /** 3753 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 3754 * 3755 * <p> 3756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3757 * </p> 3758 * 3759 * @param companyId the company ID 3760 * @param version the version 3761 * @param start the lower bound of the range of journal articles 3762 * @param end the upper bound of the range of journal articles (not inclusive) 3763 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3764 * @return the ordered range of matching journal articles 3765 * @throws SystemException if a system exception occurred 3766 */ 3767 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3768 long companyId, double version, int start, int end, 3769 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3770 throws com.liferay.portal.kernel.exception.SystemException; 3771 3772 /** 3773 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3774 * 3775 * @param companyId the company ID 3776 * @param version the version 3777 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3778 * @return the first matching journal article 3779 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3780 * @throws SystemException if a system exception occurred 3781 */ 3782 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 3783 long companyId, double version, 3784 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3785 throws com.liferay.portal.kernel.exception.SystemException, 3786 com.liferay.portlet.journal.NoSuchArticleException; 3787 3788 /** 3789 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3790 * 3791 * @param companyId the company ID 3792 * @param version the version 3793 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3794 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3795 * @throws SystemException if a system exception occurred 3796 */ 3797 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 3798 long companyId, double version, 3799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3800 throws com.liferay.portal.kernel.exception.SystemException; 3801 3802 /** 3803 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3804 * 3805 * @param companyId the company ID 3806 * @param version the version 3807 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3808 * @return the last matching journal article 3809 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3810 * @throws SystemException if a system exception occurred 3811 */ 3812 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 3813 long companyId, double version, 3814 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3815 throws com.liferay.portal.kernel.exception.SystemException, 3816 com.liferay.portlet.journal.NoSuchArticleException; 3817 3818 /** 3819 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3820 * 3821 * @param companyId the company ID 3822 * @param version the version 3823 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3824 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3825 * @throws SystemException if a system exception occurred 3826 */ 3827 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 3828 long companyId, double version, 3829 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3830 throws com.liferay.portal.kernel.exception.SystemException; 3831 3832 /** 3833 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 3834 * 3835 * @param id the primary key of the current journal article 3836 * @param companyId the company ID 3837 * @param version the version 3838 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3839 * @return the previous, current, and next journal article 3840 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3841 * @throws SystemException if a system exception occurred 3842 */ 3843 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 3844 long id, long companyId, double version, 3845 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3846 throws com.liferay.portal.kernel.exception.SystemException, 3847 com.liferay.portlet.journal.NoSuchArticleException; 3848 3849 /** 3850 * Removes all the journal articles where companyId = ? and version = ? from the database. 3851 * 3852 * @param companyId the company ID 3853 * @param version the version 3854 * @throws SystemException if a system exception occurred 3855 */ 3856 public void removeByC_V(long companyId, double version) 3857 throws com.liferay.portal.kernel.exception.SystemException; 3858 3859 /** 3860 * Returns the number of journal articles where companyId = ? and version = ?. 3861 * 3862 * @param companyId the company ID 3863 * @param version the version 3864 * @return the number of matching journal articles 3865 * @throws SystemException if a system exception occurred 3866 */ 3867 public int countByC_V(long companyId, double version) 3868 throws com.liferay.portal.kernel.exception.SystemException; 3869 3870 /** 3871 * Returns all the journal articles where companyId = ? and status = ?. 3872 * 3873 * @param companyId the company ID 3874 * @param status the status 3875 * @return the matching journal articles 3876 * @throws SystemException if a system exception occurred 3877 */ 3878 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3879 long companyId, int status) 3880 throws com.liferay.portal.kernel.exception.SystemException; 3881 3882 /** 3883 * Returns a range of all the journal articles where companyId = ? and status = ?. 3884 * 3885 * <p> 3886 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3887 * </p> 3888 * 3889 * @param companyId the company ID 3890 * @param status the status 3891 * @param start the lower bound of the range of journal articles 3892 * @param end the upper bound of the range of journal articles (not inclusive) 3893 * @return the range of matching journal articles 3894 * @throws SystemException if a system exception occurred 3895 */ 3896 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3897 long companyId, int status, int start, int end) 3898 throws com.liferay.portal.kernel.exception.SystemException; 3899 3900 /** 3901 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 3902 * 3903 * <p> 3904 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3905 * </p> 3906 * 3907 * @param companyId the company ID 3908 * @param status the status 3909 * @param start the lower bound of the range of journal articles 3910 * @param end the upper bound of the range of journal articles (not inclusive) 3911 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3912 * @return the ordered range of matching journal articles 3913 * @throws SystemException if a system exception occurred 3914 */ 3915 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3916 long companyId, int status, int start, int end, 3917 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3918 throws com.liferay.portal.kernel.exception.SystemException; 3919 3920 /** 3921 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3922 * 3923 * @param companyId the company ID 3924 * @param status the status 3925 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3926 * @return the first matching journal article 3927 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3928 * @throws SystemException if a system exception occurred 3929 */ 3930 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 3931 long companyId, int status, 3932 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3933 throws com.liferay.portal.kernel.exception.SystemException, 3934 com.liferay.portlet.journal.NoSuchArticleException; 3935 3936 /** 3937 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3938 * 3939 * @param companyId the company ID 3940 * @param status the status 3941 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3942 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3943 * @throws SystemException if a system exception occurred 3944 */ 3945 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 3946 long companyId, int status, 3947 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3948 throws com.liferay.portal.kernel.exception.SystemException; 3949 3950 /** 3951 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3952 * 3953 * @param companyId the company ID 3954 * @param status the status 3955 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3956 * @return the last matching journal article 3957 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3958 * @throws SystemException if a system exception occurred 3959 */ 3960 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 3961 long companyId, int status, 3962 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3963 throws com.liferay.portal.kernel.exception.SystemException, 3964 com.liferay.portlet.journal.NoSuchArticleException; 3965 3966 /** 3967 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3968 * 3969 * @param companyId the company ID 3970 * @param status the status 3971 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3972 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3973 * @throws SystemException if a system exception occurred 3974 */ 3975 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 3976 long companyId, int status, 3977 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3978 throws com.liferay.portal.kernel.exception.SystemException; 3979 3980 /** 3981 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 3982 * 3983 * @param id the primary key of the current journal article 3984 * @param companyId the company ID 3985 * @param status the status 3986 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3987 * @return the previous, current, and next journal article 3988 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3989 * @throws SystemException if a system exception occurred 3990 */ 3991 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 3992 long id, long companyId, int status, 3993 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3994 throws com.liferay.portal.kernel.exception.SystemException, 3995 com.liferay.portlet.journal.NoSuchArticleException; 3996 3997 /** 3998 * Removes all the journal articles where companyId = ? and status = ? from the database. 3999 * 4000 * @param companyId the company ID 4001 * @param status the status 4002 * @throws SystemException if a system exception occurred 4003 */ 4004 public void removeByC_ST(long companyId, int status) 4005 throws com.liferay.portal.kernel.exception.SystemException; 4006 4007 /** 4008 * Returns the number of journal articles where companyId = ? and status = ?. 4009 * 4010 * @param companyId the company ID 4011 * @param status the status 4012 * @return the number of matching journal articles 4013 * @throws SystemException if a system exception occurred 4014 */ 4015 public int countByC_ST(long companyId, int status) 4016 throws com.liferay.portal.kernel.exception.SystemException; 4017 4018 /** 4019 * Returns all the journal articles where companyId = ? and status ≠ ?. 4020 * 4021 * @param companyId the company ID 4022 * @param status the status 4023 * @return the matching journal articles 4024 * @throws SystemException if a system exception occurred 4025 */ 4026 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4027 long companyId, int status) 4028 throws com.liferay.portal.kernel.exception.SystemException; 4029 4030 /** 4031 * Returns a range of all the journal articles where companyId = ? and status ≠ ?. 4032 * 4033 * <p> 4034 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4035 * </p> 4036 * 4037 * @param companyId the company ID 4038 * @param status the status 4039 * @param start the lower bound of the range of journal articles 4040 * @param end the upper bound of the range of journal articles (not inclusive) 4041 * @return the range of matching journal articles 4042 * @throws SystemException if a system exception occurred 4043 */ 4044 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4045 long companyId, int status, int start, int end) 4046 throws com.liferay.portal.kernel.exception.SystemException; 4047 4048 /** 4049 * Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?. 4050 * 4051 * <p> 4052 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4053 * </p> 4054 * 4055 * @param companyId the company ID 4056 * @param status the status 4057 * @param start the lower bound of the range of journal articles 4058 * @param end the upper bound of the range of journal articles (not inclusive) 4059 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4060 * @return the ordered range of matching journal articles 4061 * @throws SystemException if a system exception occurred 4062 */ 4063 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4064 long companyId, int status, int start, int end, 4065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4066 throws com.liferay.portal.kernel.exception.SystemException; 4067 4068 /** 4069 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 4070 * 4071 * @param companyId the company ID 4072 * @param status the status 4073 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4074 * @return the first matching journal article 4075 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4076 * @throws SystemException if a system exception occurred 4077 */ 4078 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First( 4079 long companyId, int status, 4080 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4081 throws com.liferay.portal.kernel.exception.SystemException, 4082 com.liferay.portlet.journal.NoSuchArticleException; 4083 4084 /** 4085 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 4086 * 4087 * @param companyId the company ID 4088 * @param status the status 4089 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4090 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4091 * @throws SystemException if a system exception occurred 4092 */ 4093 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First( 4094 long companyId, int status, 4095 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4096 throws com.liferay.portal.kernel.exception.SystemException; 4097 4098 /** 4099 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 4100 * 4101 * @param companyId the company ID 4102 * @param status the status 4103 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4104 * @return the last matching journal article 4105 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4106 * @throws SystemException if a system exception occurred 4107 */ 4108 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last( 4109 long companyId, int status, 4110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4111 throws com.liferay.portal.kernel.exception.SystemException, 4112 com.liferay.portlet.journal.NoSuchArticleException; 4113 4114 /** 4115 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 4116 * 4117 * @param companyId the company ID 4118 * @param status the status 4119 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4120 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4121 * @throws SystemException if a system exception occurred 4122 */ 4123 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last( 4124 long companyId, int status, 4125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4126 throws com.liferay.portal.kernel.exception.SystemException; 4127 4128 /** 4129 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?. 4130 * 4131 * @param id the primary key of the current journal article 4132 * @param companyId the company ID 4133 * @param status the status 4134 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4135 * @return the previous, current, and next journal article 4136 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4137 * @throws SystemException if a system exception occurred 4138 */ 4139 public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext( 4140 long id, long companyId, int status, 4141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4142 throws com.liferay.portal.kernel.exception.SystemException, 4143 com.liferay.portlet.journal.NoSuchArticleException; 4144 4145 /** 4146 * Removes all the journal articles where companyId = ? and status ≠ ? from the database. 4147 * 4148 * @param companyId the company ID 4149 * @param status the status 4150 * @throws SystemException if a system exception occurred 4151 */ 4152 public void removeByC_NotST(long companyId, int status) 4153 throws com.liferay.portal.kernel.exception.SystemException; 4154 4155 /** 4156 * Returns the number of journal articles where companyId = ? and status ≠ ?. 4157 * 4158 * @param companyId the company ID 4159 * @param status the status 4160 * @return the number of matching journal articles 4161 * @throws SystemException if a system exception occurred 4162 */ 4163 public int countByC_NotST(long companyId, int status) 4164 throws com.liferay.portal.kernel.exception.SystemException; 4165 4166 /** 4167 * Returns all the journal articles where displayDate < ? and status = ?. 4168 * 4169 * @param displayDate the display date 4170 * @param status the status 4171 * @return the matching journal articles 4172 * @throws SystemException if a system exception occurred 4173 */ 4174 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4175 java.util.Date displayDate, int status) 4176 throws com.liferay.portal.kernel.exception.SystemException; 4177 4178 /** 4179 * Returns a range of all the journal articles where displayDate < ? and status = ?. 4180 * 4181 * <p> 4182 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4183 * </p> 4184 * 4185 * @param displayDate the display date 4186 * @param status the status 4187 * @param start the lower bound of the range of journal articles 4188 * @param end the upper bound of the range of journal articles (not inclusive) 4189 * @return the range of matching journal articles 4190 * @throws SystemException if a system exception occurred 4191 */ 4192 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4193 java.util.Date displayDate, int status, int start, int end) 4194 throws com.liferay.portal.kernel.exception.SystemException; 4195 4196 /** 4197 * Returns an ordered range of all the journal articles where displayDate < ? and status = ?. 4198 * 4199 * <p> 4200 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4201 * </p> 4202 * 4203 * @param displayDate the display date 4204 * @param status the status 4205 * @param start the lower bound of the range of journal articles 4206 * @param end the upper bound of the range of journal articles (not inclusive) 4207 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4208 * @return the ordered range of matching journal articles 4209 * @throws SystemException if a system exception occurred 4210 */ 4211 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4212 java.util.Date displayDate, int status, int start, int end, 4213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4214 throws com.liferay.portal.kernel.exception.SystemException; 4215 4216 /** 4217 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4218 * 4219 * @param displayDate the display date 4220 * @param status the status 4221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4222 * @return the first matching journal article 4223 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4224 * @throws SystemException if a system exception occurred 4225 */ 4226 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First( 4227 java.util.Date displayDate, int status, 4228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4229 throws com.liferay.portal.kernel.exception.SystemException, 4230 com.liferay.portlet.journal.NoSuchArticleException; 4231 4232 /** 4233 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4234 * 4235 * @param displayDate the display date 4236 * @param status the status 4237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4238 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4239 * @throws SystemException if a system exception occurred 4240 */ 4241 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First( 4242 java.util.Date displayDate, int status, 4243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4244 throws com.liferay.portal.kernel.exception.SystemException; 4245 4246 /** 4247 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4248 * 4249 * @param displayDate the display date 4250 * @param status the status 4251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4252 * @return the last matching journal article 4253 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4254 * @throws SystemException if a system exception occurred 4255 */ 4256 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last( 4257 java.util.Date displayDate, int status, 4258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4259 throws com.liferay.portal.kernel.exception.SystemException, 4260 com.liferay.portlet.journal.NoSuchArticleException; 4261 4262 /** 4263 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4264 * 4265 * @param displayDate the display date 4266 * @param status the status 4267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4268 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4269 * @throws SystemException if a system exception occurred 4270 */ 4271 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last( 4272 java.util.Date displayDate, int status, 4273 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4274 throws com.liferay.portal.kernel.exception.SystemException; 4275 4276 /** 4277 * Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?. 4278 * 4279 * @param id the primary key of the current journal article 4280 * @param displayDate the display date 4281 * @param status the status 4282 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4283 * @return the previous, current, and next journal article 4284 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4285 * @throws SystemException if a system exception occurred 4286 */ 4287 public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext( 4288 long id, java.util.Date displayDate, int status, 4289 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4290 throws com.liferay.portal.kernel.exception.SystemException, 4291 com.liferay.portlet.journal.NoSuchArticleException; 4292 4293 /** 4294 * Removes all the journal articles where displayDate < ? and status = ? from the database. 4295 * 4296 * @param displayDate the display date 4297 * @param status the status 4298 * @throws SystemException if a system exception occurred 4299 */ 4300 public void removeByLtD_S(java.util.Date displayDate, int status) 4301 throws com.liferay.portal.kernel.exception.SystemException; 4302 4303 /** 4304 * Returns the number of journal articles where displayDate < ? and status = ?. 4305 * 4306 * @param displayDate the display date 4307 * @param status the status 4308 * @return the number of matching journal articles 4309 * @throws SystemException if a system exception occurred 4310 */ 4311 public int countByLtD_S(java.util.Date displayDate, int status) 4312 throws com.liferay.portal.kernel.exception.SystemException; 4313 4314 /** 4315 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4316 * 4317 * @param resourcePrimKey the resource prim key 4318 * @param indexable the indexable 4319 * @param status the status 4320 * @return the matching journal articles 4321 * @throws SystemException if a system exception occurred 4322 */ 4323 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4324 long resourcePrimKey, boolean indexable, int status) 4325 throws com.liferay.portal.kernel.exception.SystemException; 4326 4327 /** 4328 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4329 * 4330 * <p> 4331 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4332 * </p> 4333 * 4334 * @param resourcePrimKey the resource prim key 4335 * @param indexable the indexable 4336 * @param status the status 4337 * @param start the lower bound of the range of journal articles 4338 * @param end the upper bound of the range of journal articles (not inclusive) 4339 * @return the range of matching journal articles 4340 * @throws SystemException if a system exception occurred 4341 */ 4342 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4343 long resourcePrimKey, boolean indexable, int status, int start, int end) 4344 throws com.liferay.portal.kernel.exception.SystemException; 4345 4346 /** 4347 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4348 * 4349 * <p> 4350 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4351 * </p> 4352 * 4353 * @param resourcePrimKey the resource prim key 4354 * @param indexable the indexable 4355 * @param status the status 4356 * @param start the lower bound of the range of journal articles 4357 * @param end the upper bound of the range of journal articles (not inclusive) 4358 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4359 * @return the ordered range of matching journal articles 4360 * @throws SystemException if a system exception occurred 4361 */ 4362 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4363 long resourcePrimKey, boolean indexable, int status, int start, 4364 int end, 4365 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4366 throws com.liferay.portal.kernel.exception.SystemException; 4367 4368 /** 4369 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4370 * 4371 * @param resourcePrimKey the resource prim key 4372 * @param indexable the indexable 4373 * @param status the status 4374 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4375 * @return the first matching journal article 4376 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4377 * @throws SystemException if a system exception occurred 4378 */ 4379 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First( 4380 long resourcePrimKey, boolean indexable, int status, 4381 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4382 throws com.liferay.portal.kernel.exception.SystemException, 4383 com.liferay.portlet.journal.NoSuchArticleException; 4384 4385 /** 4386 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4387 * 4388 * @param resourcePrimKey the resource prim key 4389 * @param indexable the indexable 4390 * @param status the status 4391 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4392 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4393 * @throws SystemException if a system exception occurred 4394 */ 4395 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First( 4396 long resourcePrimKey, boolean indexable, int status, 4397 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4398 throws com.liferay.portal.kernel.exception.SystemException; 4399 4400 /** 4401 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4402 * 4403 * @param resourcePrimKey the resource prim key 4404 * @param indexable the indexable 4405 * @param status the status 4406 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4407 * @return the last matching journal article 4408 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4409 * @throws SystemException if a system exception occurred 4410 */ 4411 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last( 4412 long resourcePrimKey, boolean indexable, int status, 4413 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4414 throws com.liferay.portal.kernel.exception.SystemException, 4415 com.liferay.portlet.journal.NoSuchArticleException; 4416 4417 /** 4418 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4419 * 4420 * @param resourcePrimKey the resource prim key 4421 * @param indexable the indexable 4422 * @param status the status 4423 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4424 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4425 * @throws SystemException if a system exception occurred 4426 */ 4427 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last( 4428 long resourcePrimKey, boolean indexable, int status, 4429 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4430 throws com.liferay.portal.kernel.exception.SystemException; 4431 4432 /** 4433 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4434 * 4435 * @param id the primary key of the current journal article 4436 * @param resourcePrimKey the resource prim key 4437 * @param indexable the indexable 4438 * @param status the status 4439 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4440 * @return the previous, current, and next journal article 4441 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4442 * @throws SystemException if a system exception occurred 4443 */ 4444 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext( 4445 long id, long resourcePrimKey, boolean indexable, int status, 4446 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4447 throws com.liferay.portal.kernel.exception.SystemException, 4448 com.liferay.portlet.journal.NoSuchArticleException; 4449 4450 /** 4451 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4452 * 4453 * <p> 4454 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4455 * </p> 4456 * 4457 * @param resourcePrimKey the resource prim key 4458 * @param indexable the indexable 4459 * @param statuses the statuses 4460 * @return the matching journal articles 4461 * @throws SystemException if a system exception occurred 4462 */ 4463 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4464 long resourcePrimKey, boolean indexable, int[] statuses) 4465 throws com.liferay.portal.kernel.exception.SystemException; 4466 4467 /** 4468 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4469 * 4470 * <p> 4471 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4472 * </p> 4473 * 4474 * @param resourcePrimKey the resource prim key 4475 * @param indexable the indexable 4476 * @param statuses the statuses 4477 * @param start the lower bound of the range of journal articles 4478 * @param end the upper bound of the range of journal articles (not inclusive) 4479 * @return the range of matching journal articles 4480 * @throws SystemException if a system exception occurred 4481 */ 4482 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4483 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4484 int end) throws com.liferay.portal.kernel.exception.SystemException; 4485 4486 /** 4487 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4488 * 4489 * <p> 4490 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4491 * </p> 4492 * 4493 * @param resourcePrimKey the resource prim key 4494 * @param indexable the indexable 4495 * @param statuses the statuses 4496 * @param start the lower bound of the range of journal articles 4497 * @param end the upper bound of the range of journal articles (not inclusive) 4498 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4499 * @return the ordered range of matching journal articles 4500 * @throws SystemException if a system exception occurred 4501 */ 4502 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4503 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4504 int end, 4505 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4506 throws com.liferay.portal.kernel.exception.SystemException; 4507 4508 /** 4509 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database. 4510 * 4511 * @param resourcePrimKey the resource prim key 4512 * @param indexable the indexable 4513 * @param status the status 4514 * @throws SystemException if a system exception occurred 4515 */ 4516 public void removeByR_I_S(long resourcePrimKey, boolean indexable, 4517 int status) throws com.liferay.portal.kernel.exception.SystemException; 4518 4519 /** 4520 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4521 * 4522 * @param resourcePrimKey the resource prim key 4523 * @param indexable the indexable 4524 * @param status the status 4525 * @return the number of matching journal articles 4526 * @throws SystemException if a system exception occurred 4527 */ 4528 public int countByR_I_S(long resourcePrimKey, boolean indexable, int status) 4529 throws com.liferay.portal.kernel.exception.SystemException; 4530 4531 /** 4532 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4533 * 4534 * @param resourcePrimKey the resource prim key 4535 * @param indexable the indexable 4536 * @param statuses the statuses 4537 * @return the number of matching journal articles 4538 * @throws SystemException if a system exception occurred 4539 */ 4540 public int countByR_I_S(long resourcePrimKey, boolean indexable, 4541 int[] statuses) 4542 throws com.liferay.portal.kernel.exception.SystemException; 4543 4544 /** 4545 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4546 * 4547 * @param groupId the group ID 4548 * @param userId the user ID 4549 * @param classNameId the class name ID 4550 * @return the matching journal articles 4551 * @throws SystemException if a system exception occurred 4552 */ 4553 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4554 long groupId, long userId, long classNameId) 4555 throws com.liferay.portal.kernel.exception.SystemException; 4556 4557 /** 4558 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4559 * 4560 * <p> 4561 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4562 * </p> 4563 * 4564 * @param groupId the group ID 4565 * @param userId the user ID 4566 * @param classNameId the class name ID 4567 * @param start the lower bound of the range of journal articles 4568 * @param end the upper bound of the range of journal articles (not inclusive) 4569 * @return the range of matching journal articles 4570 * @throws SystemException if a system exception occurred 4571 */ 4572 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4573 long groupId, long userId, long classNameId, int start, int end) 4574 throws com.liferay.portal.kernel.exception.SystemException; 4575 4576 /** 4577 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4578 * 4579 * <p> 4580 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4581 * </p> 4582 * 4583 * @param groupId the group ID 4584 * @param userId the user ID 4585 * @param classNameId the class name ID 4586 * @param start the lower bound of the range of journal articles 4587 * @param end the upper bound of the range of journal articles (not inclusive) 4588 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4589 * @return the ordered range of matching journal articles 4590 * @throws SystemException if a system exception occurred 4591 */ 4592 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4593 long groupId, long userId, long classNameId, int start, int end, 4594 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4595 throws com.liferay.portal.kernel.exception.SystemException; 4596 4597 /** 4598 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4599 * 4600 * @param groupId the group ID 4601 * @param userId the user ID 4602 * @param classNameId the class name ID 4603 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4604 * @return the first matching journal article 4605 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4606 * @throws SystemException if a system exception occurred 4607 */ 4608 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 4609 long groupId, long userId, long classNameId, 4610 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4611 throws com.liferay.portal.kernel.exception.SystemException, 4612 com.liferay.portlet.journal.NoSuchArticleException; 4613 4614 /** 4615 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4616 * 4617 * @param groupId the group ID 4618 * @param userId the user ID 4619 * @param classNameId the class name ID 4620 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4621 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4622 * @throws SystemException if a system exception occurred 4623 */ 4624 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 4625 long groupId, long userId, long classNameId, 4626 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4627 throws com.liferay.portal.kernel.exception.SystemException; 4628 4629 /** 4630 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4631 * 4632 * @param groupId the group ID 4633 * @param userId the user ID 4634 * @param classNameId the class name ID 4635 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4636 * @return the last matching journal article 4637 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4638 * @throws SystemException if a system exception occurred 4639 */ 4640 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 4641 long groupId, long userId, long classNameId, 4642 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4643 throws com.liferay.portal.kernel.exception.SystemException, 4644 com.liferay.portlet.journal.NoSuchArticleException; 4645 4646 /** 4647 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4648 * 4649 * @param groupId the group ID 4650 * @param userId the user ID 4651 * @param classNameId the class name ID 4652 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4653 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4654 * @throws SystemException if a system exception occurred 4655 */ 4656 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 4657 long groupId, long userId, long classNameId, 4658 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4659 throws com.liferay.portal.kernel.exception.SystemException; 4660 4661 /** 4662 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4663 * 4664 * @param id the primary key of the current journal article 4665 * @param groupId the group ID 4666 * @param userId the user ID 4667 * @param classNameId the class name ID 4668 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4669 * @return the previous, current, and next journal article 4670 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4671 * @throws SystemException if a system exception occurred 4672 */ 4673 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 4674 long id, long groupId, long userId, long classNameId, 4675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4676 throws com.liferay.portal.kernel.exception.SystemException, 4677 com.liferay.portlet.journal.NoSuchArticleException; 4678 4679 /** 4680 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4681 * 4682 * @param groupId the group ID 4683 * @param userId the user ID 4684 * @param classNameId the class name ID 4685 * @return the matching journal articles that the user has permission to view 4686 * @throws SystemException if a system exception occurred 4687 */ 4688 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4689 long groupId, long userId, long classNameId) 4690 throws com.liferay.portal.kernel.exception.SystemException; 4691 4692 /** 4693 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4694 * 4695 * <p> 4696 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4697 * </p> 4698 * 4699 * @param groupId the group ID 4700 * @param userId the user ID 4701 * @param classNameId the class name ID 4702 * @param start the lower bound of the range of journal articles 4703 * @param end the upper bound of the range of journal articles (not inclusive) 4704 * @return the range of matching journal articles that the user has permission to view 4705 * @throws SystemException if a system exception occurred 4706 */ 4707 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4708 long groupId, long userId, long classNameId, int start, int end) 4709 throws com.liferay.portal.kernel.exception.SystemException; 4710 4711 /** 4712 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 4713 * 4714 * <p> 4715 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4716 * </p> 4717 * 4718 * @param groupId the group ID 4719 * @param userId the user ID 4720 * @param classNameId the class name ID 4721 * @param start the lower bound of the range of journal articles 4722 * @param end the upper bound of the range of journal articles (not inclusive) 4723 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4724 * @return the ordered range of matching journal articles that the user has permission to view 4725 * @throws SystemException if a system exception occurred 4726 */ 4727 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4728 long groupId, long userId, long classNameId, int start, int end, 4729 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4730 throws com.liferay.portal.kernel.exception.SystemException; 4731 4732 /** 4733 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4734 * 4735 * @param id the primary key of the current journal article 4736 * @param groupId the group ID 4737 * @param userId the user ID 4738 * @param classNameId the class name ID 4739 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4740 * @return the previous, current, and next journal article 4741 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4742 * @throws SystemException if a system exception occurred 4743 */ 4744 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 4745 long id, long groupId, long userId, long classNameId, 4746 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4747 throws com.liferay.portal.kernel.exception.SystemException, 4748 com.liferay.portlet.journal.NoSuchArticleException; 4749 4750 /** 4751 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 4752 * 4753 * @param groupId the group ID 4754 * @param userId the user ID 4755 * @param classNameId the class name ID 4756 * @throws SystemException if a system exception occurred 4757 */ 4758 public void removeByG_U_C(long groupId, long userId, long classNameId) 4759 throws com.liferay.portal.kernel.exception.SystemException; 4760 4761 /** 4762 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 4763 * 4764 * @param groupId the group ID 4765 * @param userId the user ID 4766 * @param classNameId the class name ID 4767 * @return the number of matching journal articles 4768 * @throws SystemException if a system exception occurred 4769 */ 4770 public int countByG_U_C(long groupId, long userId, long classNameId) 4771 throws com.liferay.portal.kernel.exception.SystemException; 4772 4773 /** 4774 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4775 * 4776 * @param groupId the group ID 4777 * @param userId the user ID 4778 * @param classNameId the class name ID 4779 * @return the number of matching journal articles that the user has permission to view 4780 * @throws SystemException if a system exception occurred 4781 */ 4782 public int filterCountByG_U_C(long groupId, long userId, long classNameId) 4783 throws com.liferay.portal.kernel.exception.SystemException; 4784 4785 /** 4786 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 4787 * 4788 * @param groupId the group ID 4789 * @param folderId the folder ID 4790 * @param status the status 4791 * @return the matching journal articles 4792 * @throws SystemException if a system exception occurred 4793 */ 4794 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4795 long groupId, long folderId, int status) 4796 throws com.liferay.portal.kernel.exception.SystemException; 4797 4798 /** 4799 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4800 * 4801 * <p> 4802 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4803 * </p> 4804 * 4805 * @param groupId the group ID 4806 * @param folderId the folder ID 4807 * @param status the status 4808 * @param start the lower bound of the range of journal articles 4809 * @param end the upper bound of the range of journal articles (not inclusive) 4810 * @return the range of matching journal articles 4811 * @throws SystemException if a system exception occurred 4812 */ 4813 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4814 long groupId, long folderId, int status, int start, int end) 4815 throws com.liferay.portal.kernel.exception.SystemException; 4816 4817 /** 4818 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4819 * 4820 * <p> 4821 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4822 * </p> 4823 * 4824 * @param groupId the group ID 4825 * @param folderId the folder ID 4826 * @param status the status 4827 * @param start the lower bound of the range of journal articles 4828 * @param end the upper bound of the range of journal articles (not inclusive) 4829 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4830 * @return the ordered range of matching journal articles 4831 * @throws SystemException if a system exception occurred 4832 */ 4833 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4834 long groupId, long folderId, int status, int start, int end, 4835 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4836 throws com.liferay.portal.kernel.exception.SystemException; 4837 4838 /** 4839 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4840 * 4841 * @param groupId the group ID 4842 * @param folderId the folder ID 4843 * @param status the status 4844 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4845 * @return the first matching journal article 4846 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4847 * @throws SystemException if a system exception occurred 4848 */ 4849 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 4850 long groupId, long folderId, int status, 4851 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4852 throws com.liferay.portal.kernel.exception.SystemException, 4853 com.liferay.portlet.journal.NoSuchArticleException; 4854 4855 /** 4856 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4857 * 4858 * @param groupId the group ID 4859 * @param folderId the folder ID 4860 * @param status the status 4861 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4862 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4863 * @throws SystemException if a system exception occurred 4864 */ 4865 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 4866 long groupId, long folderId, int status, 4867 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4868 throws com.liferay.portal.kernel.exception.SystemException; 4869 4870 /** 4871 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4872 * 4873 * @param groupId the group ID 4874 * @param folderId the folder ID 4875 * @param status the status 4876 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4877 * @return the last matching journal article 4878 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4879 * @throws SystemException if a system exception occurred 4880 */ 4881 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 4882 long groupId, long folderId, int status, 4883 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4884 throws com.liferay.portal.kernel.exception.SystemException, 4885 com.liferay.portlet.journal.NoSuchArticleException; 4886 4887 /** 4888 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4889 * 4890 * @param groupId the group ID 4891 * @param folderId the folder ID 4892 * @param status the status 4893 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4894 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4895 * @throws SystemException if a system exception occurred 4896 */ 4897 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 4898 long groupId, long folderId, int status, 4899 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4900 throws com.liferay.portal.kernel.exception.SystemException; 4901 4902 /** 4903 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4904 * 4905 * @param id the primary key of the current journal article 4906 * @param groupId the group ID 4907 * @param folderId the folder ID 4908 * @param status the status 4909 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4910 * @return the previous, current, and next journal article 4911 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4912 * @throws SystemException if a system exception occurred 4913 */ 4914 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 4915 long id, long groupId, long folderId, int status, 4916 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4917 throws com.liferay.portal.kernel.exception.SystemException, 4918 com.liferay.portlet.journal.NoSuchArticleException; 4919 4920 /** 4921 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4922 * 4923 * @param groupId the group ID 4924 * @param folderId the folder ID 4925 * @param status the status 4926 * @return the matching journal articles that the user has permission to view 4927 * @throws SystemException if a system exception occurred 4928 */ 4929 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4930 long groupId, long folderId, int status) 4931 throws com.liferay.portal.kernel.exception.SystemException; 4932 4933 /** 4934 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4935 * 4936 * <p> 4937 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4938 * </p> 4939 * 4940 * @param groupId the group ID 4941 * @param folderId the folder ID 4942 * @param status the status 4943 * @param start the lower bound of the range of journal articles 4944 * @param end the upper bound of the range of journal articles (not inclusive) 4945 * @return the range of matching journal articles that the user has permission to view 4946 * @throws SystemException if a system exception occurred 4947 */ 4948 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4949 long groupId, long folderId, int status, int start, int end) 4950 throws com.liferay.portal.kernel.exception.SystemException; 4951 4952 /** 4953 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 4954 * 4955 * <p> 4956 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4957 * </p> 4958 * 4959 * @param groupId the group ID 4960 * @param folderId the folder ID 4961 * @param status the status 4962 * @param start the lower bound of the range of journal articles 4963 * @param end the upper bound of the range of journal articles (not inclusive) 4964 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4965 * @return the ordered range of matching journal articles that the user has permission to view 4966 * @throws SystemException if a system exception occurred 4967 */ 4968 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4969 long groupId, long folderId, int status, int start, int end, 4970 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4971 throws com.liferay.portal.kernel.exception.SystemException; 4972 4973 /** 4974 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4975 * 4976 * @param id the primary key of the current journal article 4977 * @param groupId the group ID 4978 * @param folderId the folder ID 4979 * @param status the status 4980 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4981 * @return the previous, current, and next journal article 4982 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4983 * @throws SystemException if a system exception occurred 4984 */ 4985 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 4986 long id, long groupId, long folderId, int status, 4987 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4988 throws com.liferay.portal.kernel.exception.SystemException, 4989 com.liferay.portlet.journal.NoSuchArticleException; 4990 4991 /** 4992 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4993 * 4994 * @param groupId the group ID 4995 * @param folderId the folder ID 4996 * @param statuses the statuses 4997 * @return the matching journal articles that the user has permission to view 4998 * @throws SystemException if a system exception occurred 4999 */ 5000 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5001 long groupId, long folderId, int[] statuses) 5002 throws com.liferay.portal.kernel.exception.SystemException; 5003 5004 /** 5005 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5006 * 5007 * <p> 5008 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5009 * </p> 5010 * 5011 * @param groupId the group ID 5012 * @param folderId the folder ID 5013 * @param statuses the statuses 5014 * @param start the lower bound of the range of journal articles 5015 * @param end the upper bound of the range of journal articles (not inclusive) 5016 * @return the range of matching journal articles that the user has permission to view 5017 * @throws SystemException if a system exception occurred 5018 */ 5019 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5020 long groupId, long folderId, int[] statuses, int start, int end) 5021 throws com.liferay.portal.kernel.exception.SystemException; 5022 5023 /** 5024 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5025 * 5026 * <p> 5027 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5028 * </p> 5029 * 5030 * @param groupId the group ID 5031 * @param folderId the folder ID 5032 * @param statuses the statuses 5033 * @param start the lower bound of the range of journal articles 5034 * @param end the upper bound of the range of journal articles (not inclusive) 5035 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5036 * @return the ordered range of matching journal articles that the user has permission to view 5037 * @throws SystemException if a system exception occurred 5038 */ 5039 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5040 long groupId, long folderId, int[] statuses, int start, int end, 5041 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5042 throws com.liferay.portal.kernel.exception.SystemException; 5043 5044 /** 5045 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 5046 * 5047 * <p> 5048 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5049 * </p> 5050 * 5051 * @param groupId the group ID 5052 * @param folderId the folder ID 5053 * @param statuses the statuses 5054 * @return the matching journal articles 5055 * @throws SystemException if a system exception occurred 5056 */ 5057 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5058 long groupId, long folderId, int[] statuses) 5059 throws com.liferay.portal.kernel.exception.SystemException; 5060 5061 /** 5062 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 5063 * 5064 * <p> 5065 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5066 * </p> 5067 * 5068 * @param groupId the group ID 5069 * @param folderId the folder ID 5070 * @param statuses the statuses 5071 * @param start the lower bound of the range of journal articles 5072 * @param end the upper bound of the range of journal articles (not inclusive) 5073 * @return the range of matching journal articles 5074 * @throws SystemException if a system exception occurred 5075 */ 5076 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5077 long groupId, long folderId, int[] statuses, int start, int end) 5078 throws com.liferay.portal.kernel.exception.SystemException; 5079 5080 /** 5081 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 5082 * 5083 * <p> 5084 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5085 * </p> 5086 * 5087 * @param groupId the group ID 5088 * @param folderId the folder ID 5089 * @param statuses the statuses 5090 * @param start the lower bound of the range of journal articles 5091 * @param end the upper bound of the range of journal articles (not inclusive) 5092 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5093 * @return the ordered range of matching journal articles 5094 * @throws SystemException if a system exception occurred 5095 */ 5096 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5097 long groupId, long folderId, int[] statuses, int start, int end, 5098 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5099 throws com.liferay.portal.kernel.exception.SystemException; 5100 5101 /** 5102 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 5103 * 5104 * @param groupId the group ID 5105 * @param folderId the folder ID 5106 * @param status the status 5107 * @throws SystemException if a system exception occurred 5108 */ 5109 public void removeByG_F_ST(long groupId, long folderId, int status) 5110 throws com.liferay.portal.kernel.exception.SystemException; 5111 5112 /** 5113 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 5114 * 5115 * @param groupId the group ID 5116 * @param folderId the folder ID 5117 * @param status the status 5118 * @return the number of matching journal articles 5119 * @throws SystemException if a system exception occurred 5120 */ 5121 public int countByG_F_ST(long groupId, long folderId, int status) 5122 throws com.liferay.portal.kernel.exception.SystemException; 5123 5124 /** 5125 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 5126 * 5127 * @param groupId the group ID 5128 * @param folderId the folder ID 5129 * @param statuses the statuses 5130 * @return the number of matching journal articles 5131 * @throws SystemException if a system exception occurred 5132 */ 5133 public int countByG_F_ST(long groupId, long folderId, int[] statuses) 5134 throws com.liferay.portal.kernel.exception.SystemException; 5135 5136 /** 5137 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5138 * 5139 * @param groupId the group ID 5140 * @param folderId the folder ID 5141 * @param status the status 5142 * @return the number of matching journal articles that the user has permission to view 5143 * @throws SystemException if a system exception occurred 5144 */ 5145 public int filterCountByG_F_ST(long groupId, long folderId, int status) 5146 throws com.liferay.portal.kernel.exception.SystemException; 5147 5148 /** 5149 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5150 * 5151 * @param groupId the group ID 5152 * @param folderId the folder ID 5153 * @param statuses the statuses 5154 * @return the number of matching journal articles that the user has permission to view 5155 * @throws SystemException if a system exception occurred 5156 */ 5157 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses) 5158 throws com.liferay.portal.kernel.exception.SystemException; 5159 5160 /** 5161 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5162 * 5163 * @param groupId the group ID 5164 * @param classNameId the class name ID 5165 * @param classPK the class p k 5166 * @return the matching journal articles 5167 * @throws SystemException if a system exception occurred 5168 */ 5169 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5170 long groupId, long classNameId, long classPK) 5171 throws com.liferay.portal.kernel.exception.SystemException; 5172 5173 /** 5174 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5175 * 5176 * <p> 5177 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5178 * </p> 5179 * 5180 * @param groupId the group ID 5181 * @param classNameId the class name ID 5182 * @param classPK the class p k 5183 * @param start the lower bound of the range of journal articles 5184 * @param end the upper bound of the range of journal articles (not inclusive) 5185 * @return the range of matching journal articles 5186 * @throws SystemException if a system exception occurred 5187 */ 5188 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5189 long groupId, long classNameId, long classPK, int start, int end) 5190 throws com.liferay.portal.kernel.exception.SystemException; 5191 5192 /** 5193 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5194 * 5195 * <p> 5196 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5197 * </p> 5198 * 5199 * @param groupId the group ID 5200 * @param classNameId the class name ID 5201 * @param classPK the class p k 5202 * @param start the lower bound of the range of journal articles 5203 * @param end the upper bound of the range of journal articles (not inclusive) 5204 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5205 * @return the ordered range of matching journal articles 5206 * @throws SystemException if a system exception occurred 5207 */ 5208 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5209 long groupId, long classNameId, long classPK, int start, int end, 5210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5211 throws com.liferay.portal.kernel.exception.SystemException; 5212 5213 /** 5214 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5215 * 5216 * @param groupId the group ID 5217 * @param classNameId the class name ID 5218 * @param classPK the class p k 5219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5220 * @return the first matching journal article 5221 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5222 * @throws SystemException if a system exception occurred 5223 */ 5224 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 5225 long groupId, long classNameId, long classPK, 5226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5227 throws com.liferay.portal.kernel.exception.SystemException, 5228 com.liferay.portlet.journal.NoSuchArticleException; 5229 5230 /** 5231 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5232 * 5233 * @param groupId the group ID 5234 * @param classNameId the class name ID 5235 * @param classPK the class p k 5236 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5237 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5238 * @throws SystemException if a system exception occurred 5239 */ 5240 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 5241 long groupId, long classNameId, long classPK, 5242 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5243 throws com.liferay.portal.kernel.exception.SystemException; 5244 5245 /** 5246 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5247 * 5248 * @param groupId the group ID 5249 * @param classNameId the class name ID 5250 * @param classPK the class p k 5251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5252 * @return the last matching journal article 5253 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5254 * @throws SystemException if a system exception occurred 5255 */ 5256 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 5257 long groupId, long classNameId, long classPK, 5258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5259 throws com.liferay.portal.kernel.exception.SystemException, 5260 com.liferay.portlet.journal.NoSuchArticleException; 5261 5262 /** 5263 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5264 * 5265 * @param groupId the group ID 5266 * @param classNameId the class name ID 5267 * @param classPK the class p k 5268 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5269 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5270 * @throws SystemException if a system exception occurred 5271 */ 5272 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 5273 long groupId, long classNameId, long classPK, 5274 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5275 throws com.liferay.portal.kernel.exception.SystemException; 5276 5277 /** 5278 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5279 * 5280 * @param id the primary key of the current journal article 5281 * @param groupId the group ID 5282 * @param classNameId the class name ID 5283 * @param classPK the class p k 5284 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5285 * @return the previous, current, and next journal article 5286 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5287 * @throws SystemException if a system exception occurred 5288 */ 5289 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 5290 long id, long groupId, long classNameId, long classPK, 5291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5292 throws com.liferay.portal.kernel.exception.SystemException, 5293 com.liferay.portlet.journal.NoSuchArticleException; 5294 5295 /** 5296 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5297 * 5298 * @param groupId the group ID 5299 * @param classNameId the class name ID 5300 * @param classPK the class p k 5301 * @return the matching journal articles that the user has permission to view 5302 * @throws SystemException if a system exception occurred 5303 */ 5304 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5305 long groupId, long classNameId, long classPK) 5306 throws com.liferay.portal.kernel.exception.SystemException; 5307 5308 /** 5309 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5310 * 5311 * <p> 5312 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5313 * </p> 5314 * 5315 * @param groupId the group ID 5316 * @param classNameId the class name ID 5317 * @param classPK the class p k 5318 * @param start the lower bound of the range of journal articles 5319 * @param end the upper bound of the range of journal articles (not inclusive) 5320 * @return the range of matching journal articles that the user has permission to view 5321 * @throws SystemException if a system exception occurred 5322 */ 5323 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5324 long groupId, long classNameId, long classPK, int start, int end) 5325 throws com.liferay.portal.kernel.exception.SystemException; 5326 5327 /** 5328 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 5329 * 5330 * <p> 5331 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5332 * </p> 5333 * 5334 * @param groupId the group ID 5335 * @param classNameId the class name ID 5336 * @param classPK the class p k 5337 * @param start the lower bound of the range of journal articles 5338 * @param end the upper bound of the range of journal articles (not inclusive) 5339 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5340 * @return the ordered range of matching journal articles that the user has permission to view 5341 * @throws SystemException if a system exception occurred 5342 */ 5343 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5344 long groupId, long classNameId, long classPK, int start, int end, 5345 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5346 throws com.liferay.portal.kernel.exception.SystemException; 5347 5348 /** 5349 * 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 = ?. 5350 * 5351 * @param id the primary key of the current journal article 5352 * @param groupId the group ID 5353 * @param classNameId the class name ID 5354 * @param classPK the class p k 5355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5356 * @return the previous, current, and next journal article 5357 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5358 * @throws SystemException if a system exception occurred 5359 */ 5360 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 5361 long id, long groupId, long classNameId, long classPK, 5362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5363 throws com.liferay.portal.kernel.exception.SystemException, 5364 com.liferay.portlet.journal.NoSuchArticleException; 5365 5366 /** 5367 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 5368 * 5369 * @param groupId the group ID 5370 * @param classNameId the class name ID 5371 * @param classPK the class p k 5372 * @throws SystemException if a system exception occurred 5373 */ 5374 public void removeByG_C_C(long groupId, long classNameId, long classPK) 5375 throws com.liferay.portal.kernel.exception.SystemException; 5376 5377 /** 5378 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 5379 * 5380 * @param groupId the group ID 5381 * @param classNameId the class name ID 5382 * @param classPK the class p k 5383 * @return the number of matching journal articles 5384 * @throws SystemException if a system exception occurred 5385 */ 5386 public int countByG_C_C(long groupId, long classNameId, long classPK) 5387 throws com.liferay.portal.kernel.exception.SystemException; 5388 5389 /** 5390 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5391 * 5392 * @param groupId the group ID 5393 * @param classNameId the class name ID 5394 * @param classPK the class p k 5395 * @return the number of matching journal articles that the user has permission to view 5396 * @throws SystemException if a system exception occurred 5397 */ 5398 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 5399 throws com.liferay.portal.kernel.exception.SystemException; 5400 5401 /** 5402 * 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. 5403 * 5404 * @param groupId the group ID 5405 * @param classNameId the class name ID 5406 * @param structureId the structure ID 5407 * @return the matching journal article 5408 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5409 * @throws SystemException if a system exception occurred 5410 */ 5411 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 5412 long groupId, long classNameId, java.lang.String structureId) 5413 throws com.liferay.portal.kernel.exception.SystemException, 5414 com.liferay.portlet.journal.NoSuchArticleException; 5415 5416 /** 5417 * 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. 5418 * 5419 * @param groupId the group ID 5420 * @param classNameId the class name ID 5421 * @param structureId the structure ID 5422 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5423 * @throws SystemException if a system exception occurred 5424 */ 5425 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 5426 long groupId, long classNameId, java.lang.String structureId) 5427 throws com.liferay.portal.kernel.exception.SystemException; 5428 5429 /** 5430 * 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. 5431 * 5432 * @param groupId the group ID 5433 * @param classNameId the class name ID 5434 * @param structureId the structure ID 5435 * @param retrieveFromCache whether to use the finder cache 5436 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5437 * @throws SystemException if a system exception occurred 5438 */ 5439 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 5440 long groupId, long classNameId, java.lang.String structureId, 5441 boolean retrieveFromCache) 5442 throws com.liferay.portal.kernel.exception.SystemException; 5443 5444 /** 5445 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 5446 * 5447 * @param groupId the group ID 5448 * @param classNameId the class name ID 5449 * @param structureId the structure ID 5450 * @return the journal article that was removed 5451 * @throws SystemException if a system exception occurred 5452 */ 5453 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 5454 long groupId, long classNameId, java.lang.String structureId) 5455 throws com.liferay.portal.kernel.exception.SystemException, 5456 com.liferay.portlet.journal.NoSuchArticleException; 5457 5458 /** 5459 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 5460 * 5461 * @param groupId the group ID 5462 * @param classNameId the class name ID 5463 * @param structureId the structure ID 5464 * @return the number of matching journal articles 5465 * @throws SystemException if a system exception occurred 5466 */ 5467 public int countByG_C_S(long groupId, long classNameId, 5468 java.lang.String structureId) 5469 throws com.liferay.portal.kernel.exception.SystemException; 5470 5471 /** 5472 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5473 * 5474 * @param groupId the group ID 5475 * @param classNameId the class name ID 5476 * @param templateId the template ID 5477 * @return the matching journal articles 5478 * @throws SystemException if a system exception occurred 5479 */ 5480 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5481 long groupId, long classNameId, java.lang.String templateId) 5482 throws com.liferay.portal.kernel.exception.SystemException; 5483 5484 /** 5485 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5486 * 5487 * <p> 5488 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5489 * </p> 5490 * 5491 * @param groupId the group ID 5492 * @param classNameId the class name ID 5493 * @param templateId the template ID 5494 * @param start the lower bound of the range of journal articles 5495 * @param end the upper bound of the range of journal articles (not inclusive) 5496 * @return the range of matching journal articles 5497 * @throws SystemException if a system exception occurred 5498 */ 5499 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5500 long groupId, long classNameId, java.lang.String templateId, int start, 5501 int end) throws com.liferay.portal.kernel.exception.SystemException; 5502 5503 /** 5504 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5505 * 5506 * <p> 5507 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5508 * </p> 5509 * 5510 * @param groupId the group ID 5511 * @param classNameId the class name ID 5512 * @param templateId the template ID 5513 * @param start the lower bound of the range of journal articles 5514 * @param end the upper bound of the range of journal articles (not inclusive) 5515 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5516 * @return the ordered range of matching journal articles 5517 * @throws SystemException if a system exception occurred 5518 */ 5519 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5520 long groupId, long classNameId, java.lang.String templateId, int start, 5521 int end, 5522 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5523 throws com.liferay.portal.kernel.exception.SystemException; 5524 5525 /** 5526 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5527 * 5528 * @param groupId the group ID 5529 * @param classNameId the class name ID 5530 * @param templateId the template ID 5531 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5532 * @return the first matching journal article 5533 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5534 * @throws SystemException if a system exception occurred 5535 */ 5536 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 5537 long groupId, long classNameId, java.lang.String templateId, 5538 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5539 throws com.liferay.portal.kernel.exception.SystemException, 5540 com.liferay.portlet.journal.NoSuchArticleException; 5541 5542 /** 5543 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5544 * 5545 * @param groupId the group ID 5546 * @param classNameId the class name ID 5547 * @param templateId the template ID 5548 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5549 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5550 * @throws SystemException if a system exception occurred 5551 */ 5552 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 5553 long groupId, long classNameId, java.lang.String templateId, 5554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5555 throws com.liferay.portal.kernel.exception.SystemException; 5556 5557 /** 5558 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5559 * 5560 * @param groupId the group ID 5561 * @param classNameId the class name ID 5562 * @param templateId the template ID 5563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5564 * @return the last matching journal article 5565 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5566 * @throws SystemException if a system exception occurred 5567 */ 5568 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 5569 long groupId, long classNameId, java.lang.String templateId, 5570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5571 throws com.liferay.portal.kernel.exception.SystemException, 5572 com.liferay.portlet.journal.NoSuchArticleException; 5573 5574 /** 5575 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5576 * 5577 * @param groupId the group ID 5578 * @param classNameId the class name ID 5579 * @param templateId the template ID 5580 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5581 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5582 * @throws SystemException if a system exception occurred 5583 */ 5584 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 5585 long groupId, long classNameId, java.lang.String templateId, 5586 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5587 throws com.liferay.portal.kernel.exception.SystemException; 5588 5589 /** 5590 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5591 * 5592 * @param id the primary key of the current journal article 5593 * @param groupId the group ID 5594 * @param classNameId the class name ID 5595 * @param templateId the template ID 5596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5597 * @return the previous, current, and next journal article 5598 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5599 * @throws SystemException if a system exception occurred 5600 */ 5601 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 5602 long id, long groupId, long classNameId, java.lang.String templateId, 5603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5604 throws com.liferay.portal.kernel.exception.SystemException, 5605 com.liferay.portlet.journal.NoSuchArticleException; 5606 5607 /** 5608 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5609 * 5610 * @param groupId the group ID 5611 * @param classNameId the class name ID 5612 * @param templateId the template ID 5613 * @return the matching journal articles that the user has permission to view 5614 * @throws SystemException if a system exception occurred 5615 */ 5616 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5617 long groupId, long classNameId, java.lang.String templateId) 5618 throws com.liferay.portal.kernel.exception.SystemException; 5619 5620 /** 5621 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5622 * 5623 * <p> 5624 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5625 * </p> 5626 * 5627 * @param groupId the group ID 5628 * @param classNameId the class name ID 5629 * @param templateId the template ID 5630 * @param start the lower bound of the range of journal articles 5631 * @param end the upper bound of the range of journal articles (not inclusive) 5632 * @return the range of matching journal articles that the user has permission to view 5633 * @throws SystemException if a system exception occurred 5634 */ 5635 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5636 long groupId, long classNameId, java.lang.String templateId, int start, 5637 int end) throws com.liferay.portal.kernel.exception.SystemException; 5638 5639 /** 5640 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 5641 * 5642 * <p> 5643 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5644 * </p> 5645 * 5646 * @param groupId the group ID 5647 * @param classNameId the class name ID 5648 * @param templateId the template ID 5649 * @param start the lower bound of the range of journal articles 5650 * @param end the upper bound of the range of journal articles (not inclusive) 5651 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5652 * @return the ordered range of matching journal articles that the user has permission to view 5653 * @throws SystemException if a system exception occurred 5654 */ 5655 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5656 long groupId, long classNameId, java.lang.String templateId, int start, 5657 int end, 5658 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5659 throws com.liferay.portal.kernel.exception.SystemException; 5660 5661 /** 5662 * 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 = ?. 5663 * 5664 * @param id the primary key of the current journal article 5665 * @param groupId the group ID 5666 * @param classNameId the class name ID 5667 * @param templateId the template ID 5668 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5669 * @return the previous, current, and next journal article 5670 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5671 * @throws SystemException if a system exception occurred 5672 */ 5673 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 5674 long id, long groupId, long classNameId, java.lang.String templateId, 5675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5676 throws com.liferay.portal.kernel.exception.SystemException, 5677 com.liferay.portlet.journal.NoSuchArticleException; 5678 5679 /** 5680 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 5681 * 5682 * @param groupId the group ID 5683 * @param classNameId the class name ID 5684 * @param templateId the template ID 5685 * @throws SystemException if a system exception occurred 5686 */ 5687 public void removeByG_C_T(long groupId, long classNameId, 5688 java.lang.String templateId) 5689 throws com.liferay.portal.kernel.exception.SystemException; 5690 5691 /** 5692 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 5693 * 5694 * @param groupId the group ID 5695 * @param classNameId the class name ID 5696 * @param templateId the template ID 5697 * @return the number of matching journal articles 5698 * @throws SystemException if a system exception occurred 5699 */ 5700 public int countByG_C_T(long groupId, long classNameId, 5701 java.lang.String templateId) 5702 throws com.liferay.portal.kernel.exception.SystemException; 5703 5704 /** 5705 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5706 * 5707 * @param groupId the group ID 5708 * @param classNameId the class name ID 5709 * @param templateId the template ID 5710 * @return the number of matching journal articles that the user has permission to view 5711 * @throws SystemException if a system exception occurred 5712 */ 5713 public int filterCountByG_C_T(long groupId, long classNameId, 5714 java.lang.String templateId) 5715 throws com.liferay.portal.kernel.exception.SystemException; 5716 5717 /** 5718 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5719 * 5720 * @param groupId the group ID 5721 * @param classNameId the class name ID 5722 * @param layoutUuid the layout uuid 5723 * @return the matching journal articles 5724 * @throws SystemException if a system exception occurred 5725 */ 5726 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5727 long groupId, long classNameId, java.lang.String layoutUuid) 5728 throws com.liferay.portal.kernel.exception.SystemException; 5729 5730 /** 5731 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5732 * 5733 * <p> 5734 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5735 * </p> 5736 * 5737 * @param groupId the group ID 5738 * @param classNameId the class name ID 5739 * @param layoutUuid the layout uuid 5740 * @param start the lower bound of the range of journal articles 5741 * @param end the upper bound of the range of journal articles (not inclusive) 5742 * @return the range of matching journal articles 5743 * @throws SystemException if a system exception occurred 5744 */ 5745 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5746 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5747 int end) throws com.liferay.portal.kernel.exception.SystemException; 5748 5749 /** 5750 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5751 * 5752 * <p> 5753 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5754 * </p> 5755 * 5756 * @param groupId the group ID 5757 * @param classNameId the class name ID 5758 * @param layoutUuid the layout uuid 5759 * @param start the lower bound of the range of journal articles 5760 * @param end the upper bound of the range of journal articles (not inclusive) 5761 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5762 * @return the ordered range of matching journal articles 5763 * @throws SystemException if a system exception occurred 5764 */ 5765 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5766 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5767 int end, 5768 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5769 throws com.liferay.portal.kernel.exception.SystemException; 5770 5771 /** 5772 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5773 * 5774 * @param groupId the group ID 5775 * @param classNameId the class name ID 5776 * @param layoutUuid the layout uuid 5777 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5778 * @return the first matching journal article 5779 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5780 * @throws SystemException if a system exception occurred 5781 */ 5782 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 5783 long groupId, long classNameId, java.lang.String layoutUuid, 5784 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5785 throws com.liferay.portal.kernel.exception.SystemException, 5786 com.liferay.portlet.journal.NoSuchArticleException; 5787 5788 /** 5789 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5790 * 5791 * @param groupId the group ID 5792 * @param classNameId the class name ID 5793 * @param layoutUuid the layout uuid 5794 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5795 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5796 * @throws SystemException if a system exception occurred 5797 */ 5798 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 5799 long groupId, long classNameId, java.lang.String layoutUuid, 5800 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5801 throws com.liferay.portal.kernel.exception.SystemException; 5802 5803 /** 5804 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5805 * 5806 * @param groupId the group ID 5807 * @param classNameId the class name ID 5808 * @param layoutUuid the layout uuid 5809 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5810 * @return the last matching journal article 5811 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5812 * @throws SystemException if a system exception occurred 5813 */ 5814 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 5815 long groupId, long classNameId, java.lang.String layoutUuid, 5816 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5817 throws com.liferay.portal.kernel.exception.SystemException, 5818 com.liferay.portlet.journal.NoSuchArticleException; 5819 5820 /** 5821 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5822 * 5823 * @param groupId the group ID 5824 * @param classNameId the class name ID 5825 * @param layoutUuid the layout uuid 5826 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5827 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5828 * @throws SystemException if a system exception occurred 5829 */ 5830 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 5831 long groupId, long classNameId, java.lang.String layoutUuid, 5832 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5833 throws com.liferay.portal.kernel.exception.SystemException; 5834 5835 /** 5836 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5837 * 5838 * @param id the primary key of the current journal article 5839 * @param groupId the group ID 5840 * @param classNameId the class name ID 5841 * @param layoutUuid the layout uuid 5842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5843 * @return the previous, current, and next journal article 5844 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5845 * @throws SystemException if a system exception occurred 5846 */ 5847 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 5848 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5850 throws com.liferay.portal.kernel.exception.SystemException, 5851 com.liferay.portlet.journal.NoSuchArticleException; 5852 5853 /** 5854 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5855 * 5856 * @param groupId the group ID 5857 * @param classNameId the class name ID 5858 * @param layoutUuid the layout uuid 5859 * @return the matching journal articles that the user has permission to view 5860 * @throws SystemException if a system exception occurred 5861 */ 5862 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5863 long groupId, long classNameId, java.lang.String layoutUuid) 5864 throws com.liferay.portal.kernel.exception.SystemException; 5865 5866 /** 5867 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5868 * 5869 * <p> 5870 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5871 * </p> 5872 * 5873 * @param groupId the group ID 5874 * @param classNameId the class name ID 5875 * @param layoutUuid the layout uuid 5876 * @param start the lower bound of the range of journal articles 5877 * @param end the upper bound of the range of journal articles (not inclusive) 5878 * @return the range of matching journal articles that the user has permission to view 5879 * @throws SystemException if a system exception occurred 5880 */ 5881 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5882 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5883 int end) throws com.liferay.portal.kernel.exception.SystemException; 5884 5885 /** 5886 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5887 * 5888 * <p> 5889 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5890 * </p> 5891 * 5892 * @param groupId the group ID 5893 * @param classNameId the class name ID 5894 * @param layoutUuid the layout uuid 5895 * @param start the lower bound of the range of journal articles 5896 * @param end the upper bound of the range of journal articles (not inclusive) 5897 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5898 * @return the ordered range of matching journal articles that the user has permission to view 5899 * @throws SystemException if a system exception occurred 5900 */ 5901 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5902 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5903 int end, 5904 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5905 throws com.liferay.portal.kernel.exception.SystemException; 5906 5907 /** 5908 * 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 = ?. 5909 * 5910 * @param id the primary key of the current journal article 5911 * @param groupId the group ID 5912 * @param classNameId the class name ID 5913 * @param layoutUuid the layout uuid 5914 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5915 * @return the previous, current, and next journal article 5916 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5917 * @throws SystemException if a system exception occurred 5918 */ 5919 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 5920 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5921 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5922 throws com.liferay.portal.kernel.exception.SystemException, 5923 com.liferay.portlet.journal.NoSuchArticleException; 5924 5925 /** 5926 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5927 * 5928 * @param groupId the group ID 5929 * @param classNameId the class name ID 5930 * @param layoutUuid the layout uuid 5931 * @throws SystemException if a system exception occurred 5932 */ 5933 public void removeByG_C_L(long groupId, long classNameId, 5934 java.lang.String layoutUuid) 5935 throws com.liferay.portal.kernel.exception.SystemException; 5936 5937 /** 5938 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5939 * 5940 * @param groupId the group ID 5941 * @param classNameId the class name ID 5942 * @param layoutUuid the layout uuid 5943 * @return the number of matching journal articles 5944 * @throws SystemException if a system exception occurred 5945 */ 5946 public int countByG_C_L(long groupId, long classNameId, 5947 java.lang.String layoutUuid) 5948 throws com.liferay.portal.kernel.exception.SystemException; 5949 5950 /** 5951 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5952 * 5953 * @param groupId the group ID 5954 * @param classNameId the class name ID 5955 * @param layoutUuid the layout uuid 5956 * @return the number of matching journal articles that the user has permission to view 5957 * @throws SystemException if a system exception occurred 5958 */ 5959 public int filterCountByG_C_L(long groupId, long classNameId, 5960 java.lang.String layoutUuid) 5961 throws com.liferay.portal.kernel.exception.SystemException; 5962 5963 /** 5964 * 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. 5965 * 5966 * @param groupId the group ID 5967 * @param articleId the article ID 5968 * @param version the version 5969 * @return the matching journal article 5970 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5971 * @throws SystemException if a system exception occurred 5972 */ 5973 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 5974 long groupId, java.lang.String articleId, double version) 5975 throws com.liferay.portal.kernel.exception.SystemException, 5976 com.liferay.portlet.journal.NoSuchArticleException; 5977 5978 /** 5979 * 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. 5980 * 5981 * @param groupId the group ID 5982 * @param articleId the article ID 5983 * @param version the version 5984 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5985 * @throws SystemException if a system exception occurred 5986 */ 5987 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5988 long groupId, java.lang.String articleId, double version) 5989 throws com.liferay.portal.kernel.exception.SystemException; 5990 5991 /** 5992 * 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. 5993 * 5994 * @param groupId the group ID 5995 * @param articleId the article ID 5996 * @param version the version 5997 * @param retrieveFromCache whether to use the finder cache 5998 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5999 * @throws SystemException if a system exception occurred 6000 */ 6001 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 6002 long groupId, java.lang.String articleId, double version, 6003 boolean retrieveFromCache) 6004 throws com.liferay.portal.kernel.exception.SystemException; 6005 6006 /** 6007 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 6008 * 6009 * @param groupId the group ID 6010 * @param articleId the article ID 6011 * @param version the version 6012 * @return the journal article that was removed 6013 * @throws SystemException if a system exception occurred 6014 */ 6015 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 6016 long groupId, java.lang.String articleId, double version) 6017 throws com.liferay.portal.kernel.exception.SystemException, 6018 com.liferay.portlet.journal.NoSuchArticleException; 6019 6020 /** 6021 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 6022 * 6023 * @param groupId the group ID 6024 * @param articleId the article ID 6025 * @param version the version 6026 * @return the number of matching journal articles 6027 * @throws SystemException if a system exception occurred 6028 */ 6029 public int countByG_A_V(long groupId, java.lang.String articleId, 6030 double version) 6031 throws com.liferay.portal.kernel.exception.SystemException; 6032 6033 /** 6034 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 6035 * 6036 * @param groupId the group ID 6037 * @param articleId the article ID 6038 * @param status the status 6039 * @return the matching journal articles 6040 * @throws SystemException if a system exception occurred 6041 */ 6042 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6043 long groupId, java.lang.String articleId, int status) 6044 throws com.liferay.portal.kernel.exception.SystemException; 6045 6046 /** 6047 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 6048 * 6049 * <p> 6050 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6051 * </p> 6052 * 6053 * @param groupId the group ID 6054 * @param articleId the article ID 6055 * @param status the status 6056 * @param start the lower bound of the range of journal articles 6057 * @param end the upper bound of the range of journal articles (not inclusive) 6058 * @return the range of matching journal articles 6059 * @throws SystemException if a system exception occurred 6060 */ 6061 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6062 long groupId, java.lang.String articleId, int status, int start, int end) 6063 throws com.liferay.portal.kernel.exception.SystemException; 6064 6065 /** 6066 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 6067 * 6068 * <p> 6069 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6070 * </p> 6071 * 6072 * @param groupId the group ID 6073 * @param articleId the article ID 6074 * @param status the status 6075 * @param start the lower bound of the range of journal articles 6076 * @param end the upper bound of the range of journal articles (not inclusive) 6077 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6078 * @return the ordered range of matching journal articles 6079 * @throws SystemException if a system exception occurred 6080 */ 6081 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6082 long groupId, java.lang.String articleId, int status, int start, 6083 int end, 6084 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6085 throws com.liferay.portal.kernel.exception.SystemException; 6086 6087 /** 6088 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6089 * 6090 * @param groupId the group ID 6091 * @param articleId the article ID 6092 * @param status the status 6093 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6094 * @return the first matching journal article 6095 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6096 * @throws SystemException if a system exception occurred 6097 */ 6098 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 6099 long groupId, java.lang.String articleId, int status, 6100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6101 throws com.liferay.portal.kernel.exception.SystemException, 6102 com.liferay.portlet.journal.NoSuchArticleException; 6103 6104 /** 6105 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6106 * 6107 * @param groupId the group ID 6108 * @param articleId the article ID 6109 * @param status the status 6110 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6111 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6112 * @throws SystemException if a system exception occurred 6113 */ 6114 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 6115 long groupId, java.lang.String articleId, int status, 6116 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6117 throws com.liferay.portal.kernel.exception.SystemException; 6118 6119 /** 6120 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6121 * 6122 * @param groupId the group ID 6123 * @param articleId the article ID 6124 * @param status the status 6125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6126 * @return the last matching journal article 6127 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6128 * @throws SystemException if a system exception occurred 6129 */ 6130 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 6131 long groupId, java.lang.String articleId, int status, 6132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6133 throws com.liferay.portal.kernel.exception.SystemException, 6134 com.liferay.portlet.journal.NoSuchArticleException; 6135 6136 /** 6137 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6138 * 6139 * @param groupId the group ID 6140 * @param articleId the article ID 6141 * @param status the status 6142 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6143 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6144 * @throws SystemException if a system exception occurred 6145 */ 6146 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 6147 long groupId, java.lang.String articleId, int status, 6148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6149 throws com.liferay.portal.kernel.exception.SystemException; 6150 6151 /** 6152 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6153 * 6154 * @param id the primary key of the current journal article 6155 * @param groupId the group ID 6156 * @param articleId the article ID 6157 * @param status the status 6158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6159 * @return the previous, current, and next journal article 6160 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6161 * @throws SystemException if a system exception occurred 6162 */ 6163 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 6164 long id, long groupId, java.lang.String articleId, int status, 6165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6166 throws com.liferay.portal.kernel.exception.SystemException, 6167 com.liferay.portlet.journal.NoSuchArticleException; 6168 6169 /** 6170 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6171 * 6172 * @param groupId the group ID 6173 * @param articleId the article ID 6174 * @param status the status 6175 * @return the matching journal articles that the user has permission to view 6176 * @throws SystemException if a system exception occurred 6177 */ 6178 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6179 long groupId, java.lang.String articleId, int status) 6180 throws com.liferay.portal.kernel.exception.SystemException; 6181 6182 /** 6183 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6184 * 6185 * <p> 6186 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6187 * </p> 6188 * 6189 * @param groupId the group ID 6190 * @param articleId the article ID 6191 * @param status the status 6192 * @param start the lower bound of the range of journal articles 6193 * @param end the upper bound of the range of journal articles (not inclusive) 6194 * @return the range of matching journal articles that the user has permission to view 6195 * @throws SystemException if a system exception occurred 6196 */ 6197 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6198 long groupId, java.lang.String articleId, int status, int start, int end) 6199 throws com.liferay.portal.kernel.exception.SystemException; 6200 6201 /** 6202 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 6203 * 6204 * <p> 6205 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6206 * </p> 6207 * 6208 * @param groupId the group ID 6209 * @param articleId the article ID 6210 * @param status the status 6211 * @param start the lower bound of the range of journal articles 6212 * @param end the upper bound of the range of journal articles (not inclusive) 6213 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6214 * @return the ordered range of matching journal articles that the user has permission to view 6215 * @throws SystemException if a system exception occurred 6216 */ 6217 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6218 long groupId, java.lang.String articleId, int status, int start, 6219 int end, 6220 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6221 throws com.liferay.portal.kernel.exception.SystemException; 6222 6223 /** 6224 * 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 = ?. 6225 * 6226 * @param id the primary key of the current journal article 6227 * @param groupId the group ID 6228 * @param articleId the article ID 6229 * @param status the status 6230 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6231 * @return the previous, current, and next journal article 6232 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6233 * @throws SystemException if a system exception occurred 6234 */ 6235 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 6236 long id, long groupId, java.lang.String articleId, int status, 6237 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6238 throws com.liferay.portal.kernel.exception.SystemException, 6239 com.liferay.portlet.journal.NoSuchArticleException; 6240 6241 /** 6242 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6243 * 6244 * @param groupId the group ID 6245 * @param articleId the article ID 6246 * @param statuses the statuses 6247 * @return the matching journal articles that the user has permission to view 6248 * @throws SystemException if a system exception occurred 6249 */ 6250 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6251 long groupId, java.lang.String articleId, int[] statuses) 6252 throws com.liferay.portal.kernel.exception.SystemException; 6253 6254 /** 6255 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6256 * 6257 * <p> 6258 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6259 * </p> 6260 * 6261 * @param groupId the group ID 6262 * @param articleId the article ID 6263 * @param statuses the statuses 6264 * @param start the lower bound of the range of journal articles 6265 * @param end the upper bound of the range of journal articles (not inclusive) 6266 * @return the range of matching journal articles that the user has permission to view 6267 * @throws SystemException if a system exception occurred 6268 */ 6269 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6270 long groupId, java.lang.String articleId, int[] statuses, int start, 6271 int end) throws com.liferay.portal.kernel.exception.SystemException; 6272 6273 /** 6274 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6275 * 6276 * <p> 6277 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6278 * </p> 6279 * 6280 * @param groupId the group ID 6281 * @param articleId the article ID 6282 * @param statuses the statuses 6283 * @param start the lower bound of the range of journal articles 6284 * @param end the upper bound of the range of journal articles (not inclusive) 6285 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6286 * @return the ordered range of matching journal articles that the user has permission to view 6287 * @throws SystemException if a system exception occurred 6288 */ 6289 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6290 long groupId, java.lang.String articleId, int[] statuses, int start, 6291 int end, 6292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6293 throws com.liferay.portal.kernel.exception.SystemException; 6294 6295 /** 6296 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 6297 * 6298 * <p> 6299 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6300 * </p> 6301 * 6302 * @param groupId the group ID 6303 * @param articleId the article ID 6304 * @param statuses the statuses 6305 * @return the matching journal articles 6306 * @throws SystemException if a system exception occurred 6307 */ 6308 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6309 long groupId, java.lang.String articleId, int[] statuses) 6310 throws com.liferay.portal.kernel.exception.SystemException; 6311 6312 /** 6313 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 6314 * 6315 * <p> 6316 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6317 * </p> 6318 * 6319 * @param groupId the group ID 6320 * @param articleId the article ID 6321 * @param statuses the statuses 6322 * @param start the lower bound of the range of journal articles 6323 * @param end the upper bound of the range of journal articles (not inclusive) 6324 * @return the range of matching journal articles 6325 * @throws SystemException if a system exception occurred 6326 */ 6327 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6328 long groupId, java.lang.String articleId, int[] statuses, int start, 6329 int end) throws com.liferay.portal.kernel.exception.SystemException; 6330 6331 /** 6332 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 6333 * 6334 * <p> 6335 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6336 * </p> 6337 * 6338 * @param groupId the group ID 6339 * @param articleId the article ID 6340 * @param statuses the statuses 6341 * @param start the lower bound of the range of journal articles 6342 * @param end the upper bound of the range of journal articles (not inclusive) 6343 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6344 * @return the ordered range of matching journal articles 6345 * @throws SystemException if a system exception occurred 6346 */ 6347 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6348 long groupId, java.lang.String articleId, int[] statuses, int start, 6349 int end, 6350 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6351 throws com.liferay.portal.kernel.exception.SystemException; 6352 6353 /** 6354 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 6355 * 6356 * @param groupId the group ID 6357 * @param articleId the article ID 6358 * @param status the status 6359 * @throws SystemException if a system exception occurred 6360 */ 6361 public void removeByG_A_ST(long groupId, java.lang.String articleId, 6362 int status) throws com.liferay.portal.kernel.exception.SystemException; 6363 6364 /** 6365 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 6366 * 6367 * @param groupId the group ID 6368 * @param articleId the article ID 6369 * @param status the status 6370 * @return the number of matching journal articles 6371 * @throws SystemException if a system exception occurred 6372 */ 6373 public int countByG_A_ST(long groupId, java.lang.String articleId, 6374 int status) throws com.liferay.portal.kernel.exception.SystemException; 6375 6376 /** 6377 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 6378 * 6379 * @param groupId the group ID 6380 * @param articleId the article ID 6381 * @param statuses the statuses 6382 * @return the number of matching journal articles 6383 * @throws SystemException if a system exception occurred 6384 */ 6385 public int countByG_A_ST(long groupId, java.lang.String articleId, 6386 int[] statuses) 6387 throws com.liferay.portal.kernel.exception.SystemException; 6388 6389 /** 6390 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6391 * 6392 * @param groupId the group ID 6393 * @param articleId the article ID 6394 * @param status the status 6395 * @return the number of matching journal articles that the user has permission to view 6396 * @throws SystemException if a system exception occurred 6397 */ 6398 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 6399 int status) throws com.liferay.portal.kernel.exception.SystemException; 6400 6401 /** 6402 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6403 * 6404 * @param groupId the group ID 6405 * @param articleId the article ID 6406 * @param statuses the statuses 6407 * @return the number of matching journal articles that the user has permission to view 6408 * @throws SystemException if a system exception occurred 6409 */ 6410 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 6411 int[] statuses) 6412 throws com.liferay.portal.kernel.exception.SystemException; 6413 6414 /** 6415 * Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 6416 * 6417 * @param groupId the group ID 6418 * @param articleId the article ID 6419 * @param status the status 6420 * @return the matching journal articles 6421 * @throws SystemException if a system exception occurred 6422 */ 6423 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 6424 long groupId, java.lang.String articleId, int status) 6425 throws com.liferay.portal.kernel.exception.SystemException; 6426 6427 /** 6428 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 6429 * 6430 * <p> 6431 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6432 * </p> 6433 * 6434 * @param groupId the group ID 6435 * @param articleId the article ID 6436 * @param status the status 6437 * @param start the lower bound of the range of journal articles 6438 * @param end the upper bound of the range of journal articles (not inclusive) 6439 * @return the range of matching journal articles 6440 * @throws SystemException if a system exception occurred 6441 */ 6442 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 6443 long groupId, java.lang.String articleId, int status, int start, int end) 6444 throws com.liferay.portal.kernel.exception.SystemException; 6445 6446 /** 6447 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 6448 * 6449 * <p> 6450 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6451 * </p> 6452 * 6453 * @param groupId the group ID 6454 * @param articleId the article ID 6455 * @param status the status 6456 * @param start the lower bound of the range of journal articles 6457 * @param end the upper bound of the range of journal articles (not inclusive) 6458 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6459 * @return the ordered range of matching journal articles 6460 * @throws SystemException if a system exception occurred 6461 */ 6462 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 6463 long groupId, java.lang.String articleId, int status, int start, 6464 int end, 6465 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6466 throws com.liferay.portal.kernel.exception.SystemException; 6467 6468 /** 6469 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6470 * 6471 * @param groupId the group ID 6472 * @param articleId the article ID 6473 * @param status the status 6474 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6475 * @return the first matching journal article 6476 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6477 * @throws SystemException if a system exception occurred 6478 */ 6479 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First( 6480 long groupId, java.lang.String articleId, int status, 6481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6482 throws com.liferay.portal.kernel.exception.SystemException, 6483 com.liferay.portlet.journal.NoSuchArticleException; 6484 6485 /** 6486 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6487 * 6488 * @param groupId the group ID 6489 * @param articleId the article ID 6490 * @param status the status 6491 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6492 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6493 * @throws SystemException if a system exception occurred 6494 */ 6495 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First( 6496 long groupId, java.lang.String articleId, int status, 6497 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6498 throws com.liferay.portal.kernel.exception.SystemException; 6499 6500 /** 6501 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6502 * 6503 * @param groupId the group ID 6504 * @param articleId the article ID 6505 * @param status the status 6506 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6507 * @return the last matching journal article 6508 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6509 * @throws SystemException if a system exception occurred 6510 */ 6511 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last( 6512 long groupId, java.lang.String articleId, int status, 6513 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6514 throws com.liferay.portal.kernel.exception.SystemException, 6515 com.liferay.portlet.journal.NoSuchArticleException; 6516 6517 /** 6518 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6519 * 6520 * @param groupId the group ID 6521 * @param articleId the article ID 6522 * @param status the status 6523 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6524 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6525 * @throws SystemException if a system exception occurred 6526 */ 6527 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last( 6528 long groupId, java.lang.String articleId, int status, 6529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6530 throws com.liferay.portal.kernel.exception.SystemException; 6531 6532 /** 6533 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6534 * 6535 * @param id the primary key of the current journal article 6536 * @param groupId the group ID 6537 * @param articleId the article ID 6538 * @param status the status 6539 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6540 * @return the previous, current, and next journal article 6541 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6542 * @throws SystemException if a system exception occurred 6543 */ 6544 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext( 6545 long id, long groupId, java.lang.String articleId, int status, 6546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6547 throws com.liferay.portal.kernel.exception.SystemException, 6548 com.liferay.portlet.journal.NoSuchArticleException; 6549 6550 /** 6551 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 6552 * 6553 * @param groupId the group ID 6554 * @param articleId the article ID 6555 * @param status the status 6556 * @return the matching journal articles that the user has permission to view 6557 * @throws SystemException if a system exception occurred 6558 */ 6559 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 6560 long groupId, java.lang.String articleId, int status) 6561 throws com.liferay.portal.kernel.exception.SystemException; 6562 6563 /** 6564 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 6565 * 6566 * <p> 6567 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6568 * </p> 6569 * 6570 * @param groupId the group ID 6571 * @param articleId the article ID 6572 * @param status the status 6573 * @param start the lower bound of the range of journal articles 6574 * @param end the upper bound of the range of journal articles (not inclusive) 6575 * @return the range of matching journal articles that the user has permission to view 6576 * @throws SystemException if a system exception occurred 6577 */ 6578 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 6579 long groupId, java.lang.String articleId, int status, int start, int end) 6580 throws com.liferay.portal.kernel.exception.SystemException; 6581 6582 /** 6583 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?. 6584 * 6585 * <p> 6586 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6587 * </p> 6588 * 6589 * @param groupId the group ID 6590 * @param articleId the article ID 6591 * @param status the status 6592 * @param start the lower bound of the range of journal articles 6593 * @param end the upper bound of the range of journal articles (not inclusive) 6594 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6595 * @return the ordered range of matching journal articles that the user has permission to view 6596 * @throws SystemException if a system exception occurred 6597 */ 6598 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 6599 long groupId, java.lang.String articleId, int status, int start, 6600 int end, 6601 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6602 throws com.liferay.portal.kernel.exception.SystemException; 6603 6604 /** 6605 * 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 ≠ ?. 6606 * 6607 * @param id the primary key of the current journal article 6608 * @param groupId the group ID 6609 * @param articleId the article ID 6610 * @param status the status 6611 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6612 * @return the previous, current, and next journal article 6613 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6614 * @throws SystemException if a system exception occurred 6615 */ 6616 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext( 6617 long id, long groupId, java.lang.String articleId, int status, 6618 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6619 throws com.liferay.portal.kernel.exception.SystemException, 6620 com.liferay.portlet.journal.NoSuchArticleException; 6621 6622 /** 6623 * Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database. 6624 * 6625 * @param groupId the group ID 6626 * @param articleId the article ID 6627 * @param status the status 6628 * @throws SystemException if a system exception occurred 6629 */ 6630 public void removeByG_A_NotST(long groupId, java.lang.String articleId, 6631 int status) throws com.liferay.portal.kernel.exception.SystemException; 6632 6633 /** 6634 * Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?. 6635 * 6636 * @param groupId the group ID 6637 * @param articleId the article ID 6638 * @param status the status 6639 * @return the number of matching journal articles 6640 * @throws SystemException if a system exception occurred 6641 */ 6642 public int countByG_A_NotST(long groupId, java.lang.String articleId, 6643 int status) throws com.liferay.portal.kernel.exception.SystemException; 6644 6645 /** 6646 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 6647 * 6648 * @param groupId the group ID 6649 * @param articleId the article ID 6650 * @param status the status 6651 * @return the number of matching journal articles that the user has permission to view 6652 * @throws SystemException if a system exception occurred 6653 */ 6654 public int filterCountByG_A_NotST(long groupId, java.lang.String articleId, 6655 int status) throws com.liferay.portal.kernel.exception.SystemException; 6656 6657 /** 6658 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6659 * 6660 * @param groupId the group ID 6661 * @param urlTitle the url title 6662 * @param status the status 6663 * @return the matching journal articles 6664 * @throws SystemException if a system exception occurred 6665 */ 6666 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6667 long groupId, java.lang.String urlTitle, int status) 6668 throws com.liferay.portal.kernel.exception.SystemException; 6669 6670 /** 6671 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6672 * 6673 * <p> 6674 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6675 * </p> 6676 * 6677 * @param groupId the group ID 6678 * @param urlTitle the url title 6679 * @param status the status 6680 * @param start the lower bound of the range of journal articles 6681 * @param end the upper bound of the range of journal articles (not inclusive) 6682 * @return the range of matching journal articles 6683 * @throws SystemException if a system exception occurred 6684 */ 6685 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6686 long groupId, java.lang.String urlTitle, int status, int start, int end) 6687 throws com.liferay.portal.kernel.exception.SystemException; 6688 6689 /** 6690 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6691 * 6692 * <p> 6693 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6694 * </p> 6695 * 6696 * @param groupId the group ID 6697 * @param urlTitle the url title 6698 * @param status the status 6699 * @param start the lower bound of the range of journal articles 6700 * @param end the upper bound of the range of journal articles (not inclusive) 6701 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6702 * @return the ordered range of matching journal articles 6703 * @throws SystemException if a system exception occurred 6704 */ 6705 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6706 long groupId, java.lang.String urlTitle, int status, int start, 6707 int end, 6708 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6709 throws com.liferay.portal.kernel.exception.SystemException; 6710 6711 /** 6712 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6713 * 6714 * @param groupId the group ID 6715 * @param urlTitle the url title 6716 * @param status the status 6717 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6718 * @return the first matching journal article 6719 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6720 * @throws SystemException if a system exception occurred 6721 */ 6722 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 6723 long groupId, java.lang.String urlTitle, int status, 6724 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6725 throws com.liferay.portal.kernel.exception.SystemException, 6726 com.liferay.portlet.journal.NoSuchArticleException; 6727 6728 /** 6729 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6730 * 6731 * @param groupId the group ID 6732 * @param urlTitle the url title 6733 * @param status the status 6734 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6735 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6736 * @throws SystemException if a system exception occurred 6737 */ 6738 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 6739 long groupId, java.lang.String urlTitle, int status, 6740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6741 throws com.liferay.portal.kernel.exception.SystemException; 6742 6743 /** 6744 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6745 * 6746 * @param groupId the group ID 6747 * @param urlTitle the url title 6748 * @param status the status 6749 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6750 * @return the last matching journal article 6751 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6752 * @throws SystemException if a system exception occurred 6753 */ 6754 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 6755 long groupId, java.lang.String urlTitle, int status, 6756 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6757 throws com.liferay.portal.kernel.exception.SystemException, 6758 com.liferay.portlet.journal.NoSuchArticleException; 6759 6760 /** 6761 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6762 * 6763 * @param groupId the group ID 6764 * @param urlTitle the url title 6765 * @param status the status 6766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6767 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6768 * @throws SystemException if a system exception occurred 6769 */ 6770 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 6771 long groupId, java.lang.String urlTitle, int status, 6772 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6773 throws com.liferay.portal.kernel.exception.SystemException; 6774 6775 /** 6776 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6777 * 6778 * @param id the primary key of the current journal article 6779 * @param groupId the group ID 6780 * @param urlTitle the url title 6781 * @param status the status 6782 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6783 * @return the previous, current, and next journal article 6784 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6785 * @throws SystemException if a system exception occurred 6786 */ 6787 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 6788 long id, long groupId, java.lang.String urlTitle, int status, 6789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6790 throws com.liferay.portal.kernel.exception.SystemException, 6791 com.liferay.portlet.journal.NoSuchArticleException; 6792 6793 /** 6794 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6795 * 6796 * @param groupId the group ID 6797 * @param urlTitle the url title 6798 * @param status the status 6799 * @return the matching journal articles that the user has permission to view 6800 * @throws SystemException if a system exception occurred 6801 */ 6802 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6803 long groupId, java.lang.String urlTitle, int status) 6804 throws com.liferay.portal.kernel.exception.SystemException; 6805 6806 /** 6807 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6808 * 6809 * <p> 6810 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6811 * </p> 6812 * 6813 * @param groupId the group ID 6814 * @param urlTitle the url title 6815 * @param status the status 6816 * @param start the lower bound of the range of journal articles 6817 * @param end the upper bound of the range of journal articles (not inclusive) 6818 * @return the range of matching journal articles that the user has permission to view 6819 * @throws SystemException if a system exception occurred 6820 */ 6821 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6822 long groupId, java.lang.String urlTitle, int status, int start, int end) 6823 throws com.liferay.portal.kernel.exception.SystemException; 6824 6825 /** 6826 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 6827 * 6828 * <p> 6829 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6830 * </p> 6831 * 6832 * @param groupId the group ID 6833 * @param urlTitle the url title 6834 * @param status the status 6835 * @param start the lower bound of the range of journal articles 6836 * @param end the upper bound of the range of journal articles (not inclusive) 6837 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6838 * @return the ordered range of matching journal articles that the user has permission to view 6839 * @throws SystemException if a system exception occurred 6840 */ 6841 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6842 long groupId, java.lang.String urlTitle, int status, int start, 6843 int end, 6844 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6845 throws com.liferay.portal.kernel.exception.SystemException; 6846 6847 /** 6848 * 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 = ?. 6849 * 6850 * @param id the primary key of the current journal article 6851 * @param groupId the group ID 6852 * @param urlTitle the url title 6853 * @param status the status 6854 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6855 * @return the previous, current, and next journal article 6856 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6857 * @throws SystemException if a system exception occurred 6858 */ 6859 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 6860 long id, long groupId, java.lang.String urlTitle, int status, 6861 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6862 throws com.liferay.portal.kernel.exception.SystemException, 6863 com.liferay.portlet.journal.NoSuchArticleException; 6864 6865 /** 6866 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 6867 * 6868 * @param groupId the group ID 6869 * @param urlTitle the url title 6870 * @param status the status 6871 * @throws SystemException if a system exception occurred 6872 */ 6873 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 6874 int status) throws com.liferay.portal.kernel.exception.SystemException; 6875 6876 /** 6877 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 6878 * 6879 * @param groupId the group ID 6880 * @param urlTitle the url title 6881 * @param status the status 6882 * @return the number of matching journal articles 6883 * @throws SystemException if a system exception occurred 6884 */ 6885 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 6886 int status) throws com.liferay.portal.kernel.exception.SystemException; 6887 6888 /** 6889 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6890 * 6891 * @param groupId the group ID 6892 * @param urlTitle the url title 6893 * @param status the status 6894 * @return the number of matching journal articles that the user has permission to view 6895 * @throws SystemException if a system exception occurred 6896 */ 6897 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 6898 int status) throws com.liferay.portal.kernel.exception.SystemException; 6899 6900 /** 6901 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 6902 * 6903 * @param companyId the company ID 6904 * @param version the version 6905 * @param status the status 6906 * @return the matching journal articles 6907 * @throws SystemException if a system exception occurred 6908 */ 6909 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6910 long companyId, double version, int status) 6911 throws com.liferay.portal.kernel.exception.SystemException; 6912 6913 /** 6914 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 6915 * 6916 * <p> 6917 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6918 * </p> 6919 * 6920 * @param companyId the company ID 6921 * @param version the version 6922 * @param status the status 6923 * @param start the lower bound of the range of journal articles 6924 * @param end the upper bound of the range of journal articles (not inclusive) 6925 * @return the range of matching journal articles 6926 * @throws SystemException if a system exception occurred 6927 */ 6928 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6929 long companyId, double version, int status, int start, int end) 6930 throws com.liferay.portal.kernel.exception.SystemException; 6931 6932 /** 6933 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 6934 * 6935 * <p> 6936 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6937 * </p> 6938 * 6939 * @param companyId the company ID 6940 * @param version the version 6941 * @param status the status 6942 * @param start the lower bound of the range of journal articles 6943 * @param end the upper bound of the range of journal articles (not inclusive) 6944 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6945 * @return the ordered range of matching journal articles 6946 * @throws SystemException if a system exception occurred 6947 */ 6948 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6949 long companyId, double version, int status, int start, int end, 6950 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6951 throws com.liferay.portal.kernel.exception.SystemException; 6952 6953 /** 6954 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6955 * 6956 * @param companyId the company ID 6957 * @param version the version 6958 * @param status the status 6959 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6960 * @return the first matching journal article 6961 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6962 * @throws SystemException if a system exception occurred 6963 */ 6964 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 6965 long companyId, double version, int status, 6966 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6967 throws com.liferay.portal.kernel.exception.SystemException, 6968 com.liferay.portlet.journal.NoSuchArticleException; 6969 6970 /** 6971 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6972 * 6973 * @param companyId the company ID 6974 * @param version the version 6975 * @param status the status 6976 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6977 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6978 * @throws SystemException if a system exception occurred 6979 */ 6980 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 6981 long companyId, double version, int status, 6982 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6983 throws com.liferay.portal.kernel.exception.SystemException; 6984 6985 /** 6986 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6987 * 6988 * @param companyId the company ID 6989 * @param version the version 6990 * @param status the status 6991 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6992 * @return the last matching journal article 6993 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6994 * @throws SystemException if a system exception occurred 6995 */ 6996 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 6997 long companyId, double version, int status, 6998 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6999 throws com.liferay.portal.kernel.exception.SystemException, 7000 com.liferay.portlet.journal.NoSuchArticleException; 7001 7002 /** 7003 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 7004 * 7005 * @param companyId the company ID 7006 * @param version the version 7007 * @param status the status 7008 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7009 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 7010 * @throws SystemException if a system exception occurred 7011 */ 7012 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 7013 long companyId, double version, int status, 7014 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7015 throws com.liferay.portal.kernel.exception.SystemException; 7016 7017 /** 7018 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 7019 * 7020 * @param id the primary key of the current journal article 7021 * @param companyId the company ID 7022 * @param version the version 7023 * @param status the status 7024 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7025 * @return the previous, current, and next journal article 7026 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7027 * @throws SystemException if a system exception occurred 7028 */ 7029 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 7030 long id, long companyId, double version, int status, 7031 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7032 throws com.liferay.portal.kernel.exception.SystemException, 7033 com.liferay.portlet.journal.NoSuchArticleException; 7034 7035 /** 7036 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 7037 * 7038 * @param companyId the company ID 7039 * @param version the version 7040 * @param status the status 7041 * @throws SystemException if a system exception occurred 7042 */ 7043 public void removeByC_V_ST(long companyId, double version, int status) 7044 throws com.liferay.portal.kernel.exception.SystemException; 7045 7046 /** 7047 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 7048 * 7049 * @param companyId the company ID 7050 * @param version the version 7051 * @param status the status 7052 * @return the number of matching journal articles 7053 * @throws SystemException if a system exception occurred 7054 */ 7055 public int countByC_V_ST(long companyId, double version, int status) 7056 throws com.liferay.portal.kernel.exception.SystemException; 7057 7058 /** 7059 * Caches the journal article in the entity cache if it is enabled. 7060 * 7061 * @param journalArticle the journal article 7062 */ 7063 public void cacheResult( 7064 com.liferay.portlet.journal.model.JournalArticle journalArticle); 7065 7066 /** 7067 * Caches the journal articles in the entity cache if it is enabled. 7068 * 7069 * @param journalArticles the journal articles 7070 */ 7071 public void cacheResult( 7072 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 7073 7074 /** 7075 * Creates a new journal article with the primary key. Does not add the journal article to the database. 7076 * 7077 * @param id the primary key for the new journal article 7078 * @return the new journal article 7079 */ 7080 public com.liferay.portlet.journal.model.JournalArticle create(long id); 7081 7082 /** 7083 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 7084 * 7085 * @param id the primary key of the journal article 7086 * @return the journal article that was removed 7087 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7088 * @throws SystemException if a system exception occurred 7089 */ 7090 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 7091 throws com.liferay.portal.kernel.exception.SystemException, 7092 com.liferay.portlet.journal.NoSuchArticleException; 7093 7094 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 7095 com.liferay.portlet.journal.model.JournalArticle journalArticle) 7096 throws com.liferay.portal.kernel.exception.SystemException; 7097 7098 /** 7099 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 7100 * 7101 * @param id the primary key of the journal article 7102 * @return the journal article 7103 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7104 * @throws SystemException if a system exception occurred 7105 */ 7106 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 7107 long id) 7108 throws com.liferay.portal.kernel.exception.SystemException, 7109 com.liferay.portlet.journal.NoSuchArticleException; 7110 7111 /** 7112 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 7113 * 7114 * @param id the primary key of the journal article 7115 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 7116 * @throws SystemException if a system exception occurred 7117 */ 7118 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 7119 long id) throws com.liferay.portal.kernel.exception.SystemException; 7120 7121 /** 7122 * Returns all the journal articles. 7123 * 7124 * @return the journal articles 7125 * @throws SystemException if a system exception occurred 7126 */ 7127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 7128 throws com.liferay.portal.kernel.exception.SystemException; 7129 7130 /** 7131 * Returns a range of all the journal articles. 7132 * 7133 * <p> 7134 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7135 * </p> 7136 * 7137 * @param start the lower bound of the range of journal articles 7138 * @param end the upper bound of the range of journal articles (not inclusive) 7139 * @return the range of journal articles 7140 * @throws SystemException if a system exception occurred 7141 */ 7142 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 7143 int start, int end) 7144 throws com.liferay.portal.kernel.exception.SystemException; 7145 7146 /** 7147 * Returns an ordered range of all the journal articles. 7148 * 7149 * <p> 7150 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7151 * </p> 7152 * 7153 * @param start the lower bound of the range of journal articles 7154 * @param end the upper bound of the range of journal articles (not inclusive) 7155 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7156 * @return the ordered range of journal articles 7157 * @throws SystemException if a system exception occurred 7158 */ 7159 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 7160 int start, int end, 7161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7162 throws com.liferay.portal.kernel.exception.SystemException; 7163 7164 /** 7165 * Removes all the journal articles from the database. 7166 * 7167 * @throws SystemException if a system exception occurred 7168 */ 7169 public void removeAll() 7170 throws com.liferay.portal.kernel.exception.SystemException; 7171 7172 /** 7173 * Returns the number of journal articles. 7174 * 7175 * @return the number of journal articles 7176 * @throws SystemException if a system exception occurred 7177 */ 7178 public int countAll() 7179 throws com.liferay.portal.kernel.exception.SystemException; 7180 }