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