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 companyId = ? and status ≠ ?. 3869 * 3870 * @param companyId the company ID 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> findByC_NotST( 3876 long companyId, int status) 3877 throws com.liferay.portal.kernel.exception.SystemException; 3878 3879 /** 3880 * Returns a range of all the journal articles where companyId = ? 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 companyId the company ID 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> findByC_NotST( 3894 long companyId, 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 companyId = ? 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 companyId the company ID 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> findByC_NotST( 3913 long companyId, 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 companyId = ? and status ≠ ?. 3919 * 3920 * @param companyId the company ID 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 findByC_NotST_First( 3928 long companyId, 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 companyId = ? and status ≠ ?. 3935 * 3936 * @param companyId the company ID 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 fetchByC_NotST_First( 3943 long companyId, 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 companyId = ? and status ≠ ?. 3949 * 3950 * @param companyId the company ID 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 findByC_NotST_Last( 3958 long companyId, 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 companyId = ? and status ≠ ?. 3965 * 3966 * @param companyId the company ID 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 fetchByC_NotST_Last( 3973 long companyId, 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 companyId = ? and status ≠ ?. 3979 * 3980 * @param id the primary key of the current journal article 3981 * @param companyId the company ID 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[] findByC_NotST_PrevAndNext( 3989 long id, long companyId, 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 companyId = ? and status ≠ ? from the database. 3996 * 3997 * @param companyId the company ID 3998 * @param status the status 3999 * @throws SystemException if a system exception occurred 4000 */ 4001 public void removeByC_NotST(long companyId, int status) 4002 throws com.liferay.portal.kernel.exception.SystemException; 4003 4004 /** 4005 * Returns the number of journal articles where companyId = ? and status ≠ ?. 4006 * 4007 * @param companyId the company ID 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 countByC_NotST(long companyId, int status) 4013 throws com.liferay.portal.kernel.exception.SystemException; 4014 4015 /** 4016 * Returns all the journal articles where displayDate < ? and status = ?. 4017 * 4018 * @param displayDate the display date 4019 * @param status the status 4020 * @return the matching journal articles 4021 * @throws SystemException if a system exception occurred 4022 */ 4023 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4024 java.util.Date displayDate, int status) 4025 throws com.liferay.portal.kernel.exception.SystemException; 4026 4027 /** 4028 * Returns a range of all the journal articles where displayDate < ? and status = ?. 4029 * 4030 * <p> 4031 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4032 * </p> 4033 * 4034 * @param displayDate the display date 4035 * @param status the status 4036 * @param start the lower bound of the range of journal articles 4037 * @param end the upper bound of the range of journal articles (not inclusive) 4038 * @return the range of matching journal articles 4039 * @throws SystemException if a system exception occurred 4040 */ 4041 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4042 java.util.Date displayDate, int status, int start, int end) 4043 throws com.liferay.portal.kernel.exception.SystemException; 4044 4045 /** 4046 * Returns an ordered range of all the journal articles where displayDate < ? and status = ?. 4047 * 4048 * <p> 4049 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4050 * </p> 4051 * 4052 * @param displayDate the display date 4053 * @param status the status 4054 * @param start the lower bound of the range of journal articles 4055 * @param end the upper bound of the range of journal articles (not inclusive) 4056 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4057 * @return the ordered range of matching journal articles 4058 * @throws SystemException if a system exception occurred 4059 */ 4060 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4061 java.util.Date displayDate, int status, int start, int end, 4062 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4063 throws com.liferay.portal.kernel.exception.SystemException; 4064 4065 /** 4066 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4067 * 4068 * @param displayDate the display date 4069 * @param status the status 4070 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4071 * @return the first matching journal article 4072 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4073 * @throws SystemException if a system exception occurred 4074 */ 4075 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First( 4076 java.util.Date displayDate, int status, 4077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4078 throws com.liferay.portal.kernel.exception.SystemException, 4079 com.liferay.portlet.journal.NoSuchArticleException; 4080 4081 /** 4082 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4083 * 4084 * @param displayDate the display date 4085 * @param status the status 4086 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4087 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4088 * @throws SystemException if a system exception occurred 4089 */ 4090 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First( 4091 java.util.Date displayDate, int status, 4092 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4093 throws com.liferay.portal.kernel.exception.SystemException; 4094 4095 /** 4096 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4097 * 4098 * @param displayDate the display date 4099 * @param status the status 4100 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4101 * @return the last matching journal article 4102 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4103 * @throws SystemException if a system exception occurred 4104 */ 4105 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last( 4106 java.util.Date displayDate, int status, 4107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4108 throws com.liferay.portal.kernel.exception.SystemException, 4109 com.liferay.portlet.journal.NoSuchArticleException; 4110 4111 /** 4112 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4113 * 4114 * @param displayDate the display date 4115 * @param status the status 4116 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4117 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4118 * @throws SystemException if a system exception occurred 4119 */ 4120 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last( 4121 java.util.Date displayDate, int status, 4122 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4123 throws com.liferay.portal.kernel.exception.SystemException; 4124 4125 /** 4126 * Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?. 4127 * 4128 * @param id the primary key of the current journal article 4129 * @param displayDate the display date 4130 * @param status the status 4131 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4132 * @return the previous, current, and next journal article 4133 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4134 * @throws SystemException if a system exception occurred 4135 */ 4136 public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext( 4137 long id, java.util.Date displayDate, int status, 4138 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4139 throws com.liferay.portal.kernel.exception.SystemException, 4140 com.liferay.portlet.journal.NoSuchArticleException; 4141 4142 /** 4143 * Removes all the journal articles where displayDate < ? and status = ? from the database. 4144 * 4145 * @param displayDate the display date 4146 * @param status the status 4147 * @throws SystemException if a system exception occurred 4148 */ 4149 public void removeByLtD_S(java.util.Date displayDate, int status) 4150 throws com.liferay.portal.kernel.exception.SystemException; 4151 4152 /** 4153 * Returns the number of journal articles where displayDate < ? and status = ?. 4154 * 4155 * @param displayDate the display date 4156 * @param status the status 4157 * @return the number of matching journal articles 4158 * @throws SystemException if a system exception occurred 4159 */ 4160 public int countByLtD_S(java.util.Date displayDate, int status) 4161 throws com.liferay.portal.kernel.exception.SystemException; 4162 4163 /** 4164 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4165 * 4166 * @param resourcePrimKey the resource prim key 4167 * @param indexable the indexable 4168 * @param status the status 4169 * @return the matching journal articles 4170 * @throws SystemException if a system exception occurred 4171 */ 4172 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4173 long resourcePrimKey, boolean indexable, int status) 4174 throws com.liferay.portal.kernel.exception.SystemException; 4175 4176 /** 4177 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4178 * 4179 * <p> 4180 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4181 * </p> 4182 * 4183 * @param resourcePrimKey the resource prim key 4184 * @param indexable the indexable 4185 * @param status the status 4186 * @param start the lower bound of the range of journal articles 4187 * @param end the upper bound of the range of journal articles (not inclusive) 4188 * @return the range of matching journal articles 4189 * @throws SystemException if a system exception occurred 4190 */ 4191 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4192 long resourcePrimKey, boolean indexable, int status, int start, int end) 4193 throws com.liferay.portal.kernel.exception.SystemException; 4194 4195 /** 4196 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4197 * 4198 * <p> 4199 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4200 * </p> 4201 * 4202 * @param resourcePrimKey the resource prim key 4203 * @param indexable the indexable 4204 * @param status the status 4205 * @param start the lower bound of the range of journal articles 4206 * @param end the upper bound of the range of journal articles (not inclusive) 4207 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4208 * @return the ordered range of matching journal articles 4209 * @throws SystemException if a system exception occurred 4210 */ 4211 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4212 long resourcePrimKey, boolean indexable, int status, int start, 4213 int end, 4214 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4215 throws com.liferay.portal.kernel.exception.SystemException; 4216 4217 /** 4218 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4219 * 4220 * @param resourcePrimKey the resource prim key 4221 * @param indexable the indexable 4222 * @param status the status 4223 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4224 * @return the first matching journal article 4225 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4226 * @throws SystemException if a system exception occurred 4227 */ 4228 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First( 4229 long resourcePrimKey, boolean indexable, int status, 4230 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4231 throws com.liferay.portal.kernel.exception.SystemException, 4232 com.liferay.portlet.journal.NoSuchArticleException; 4233 4234 /** 4235 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4236 * 4237 * @param resourcePrimKey the resource prim key 4238 * @param indexable the indexable 4239 * @param status the status 4240 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4241 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4242 * @throws SystemException if a system exception occurred 4243 */ 4244 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First( 4245 long resourcePrimKey, boolean indexable, int status, 4246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4247 throws com.liferay.portal.kernel.exception.SystemException; 4248 4249 /** 4250 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4251 * 4252 * @param resourcePrimKey the resource prim key 4253 * @param indexable the indexable 4254 * @param status the status 4255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4256 * @return the last matching journal article 4257 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4258 * @throws SystemException if a system exception occurred 4259 */ 4260 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last( 4261 long resourcePrimKey, boolean indexable, int status, 4262 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4263 throws com.liferay.portal.kernel.exception.SystemException, 4264 com.liferay.portlet.journal.NoSuchArticleException; 4265 4266 /** 4267 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4268 * 4269 * @param resourcePrimKey the resource prim key 4270 * @param indexable the indexable 4271 * @param status the status 4272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4273 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4274 * @throws SystemException if a system exception occurred 4275 */ 4276 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last( 4277 long resourcePrimKey, boolean indexable, int status, 4278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4279 throws com.liferay.portal.kernel.exception.SystemException; 4280 4281 /** 4282 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4283 * 4284 * @param id the primary key of the current journal article 4285 * @param resourcePrimKey the resource prim key 4286 * @param indexable the indexable 4287 * @param status the status 4288 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4289 * @return the previous, current, and next journal article 4290 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4291 * @throws SystemException if a system exception occurred 4292 */ 4293 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext( 4294 long id, long resourcePrimKey, boolean indexable, int status, 4295 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4296 throws com.liferay.portal.kernel.exception.SystemException, 4297 com.liferay.portlet.journal.NoSuchArticleException; 4298 4299 /** 4300 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4301 * 4302 * <p> 4303 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4304 * </p> 4305 * 4306 * @param resourcePrimKey the resource prim key 4307 * @param indexable the indexable 4308 * @param statuses the statuses 4309 * @return the matching journal articles 4310 * @throws SystemException if a system exception occurred 4311 */ 4312 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4313 long resourcePrimKey, boolean indexable, int[] statuses) 4314 throws com.liferay.portal.kernel.exception.SystemException; 4315 4316 /** 4317 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4318 * 4319 * <p> 4320 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4321 * </p> 4322 * 4323 * @param resourcePrimKey the resource prim key 4324 * @param indexable the indexable 4325 * @param statuses the statuses 4326 * @param start the lower bound of the range of journal articles 4327 * @param end the upper bound of the range of journal articles (not inclusive) 4328 * @return the range of matching journal articles 4329 * @throws SystemException if a system exception occurred 4330 */ 4331 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4332 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4333 int end) throws com.liferay.portal.kernel.exception.SystemException; 4334 4335 /** 4336 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4337 * 4338 * <p> 4339 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4340 * </p> 4341 * 4342 * @param resourcePrimKey the resource prim key 4343 * @param indexable the indexable 4344 * @param statuses the statuses 4345 * @param start the lower bound of the range of journal articles 4346 * @param end the upper bound of the range of journal articles (not inclusive) 4347 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4348 * @return the ordered range of matching journal articles 4349 * @throws SystemException if a system exception occurred 4350 */ 4351 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4352 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4353 int end, 4354 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4355 throws com.liferay.portal.kernel.exception.SystemException; 4356 4357 /** 4358 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database. 4359 * 4360 * @param resourcePrimKey the resource prim key 4361 * @param indexable the indexable 4362 * @param status the status 4363 * @throws SystemException if a system exception occurred 4364 */ 4365 public void removeByR_I_S(long resourcePrimKey, boolean indexable, 4366 int status) throws com.liferay.portal.kernel.exception.SystemException; 4367 4368 /** 4369 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4370 * 4371 * @param resourcePrimKey the resource prim key 4372 * @param indexable the indexable 4373 * @param status the status 4374 * @return the number of matching journal articles 4375 * @throws SystemException if a system exception occurred 4376 */ 4377 public int countByR_I_S(long resourcePrimKey, boolean indexable, int status) 4378 throws com.liferay.portal.kernel.exception.SystemException; 4379 4380 /** 4381 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4382 * 4383 * @param resourcePrimKey the resource prim key 4384 * @param indexable the indexable 4385 * @param statuses the statuses 4386 * @return the number of matching journal articles 4387 * @throws SystemException if a system exception occurred 4388 */ 4389 public int countByR_I_S(long resourcePrimKey, boolean indexable, 4390 int[] statuses) 4391 throws com.liferay.portal.kernel.exception.SystemException; 4392 4393 /** 4394 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 4395 * 4396 * @param groupId the group ID 4397 * @param folderId the folder ID 4398 * @param status the status 4399 * @return the matching journal articles 4400 * @throws SystemException if a system exception occurred 4401 */ 4402 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4403 long groupId, long folderId, int status) 4404 throws com.liferay.portal.kernel.exception.SystemException; 4405 4406 /** 4407 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4408 * 4409 * <p> 4410 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4411 * </p> 4412 * 4413 * @param groupId the group ID 4414 * @param folderId the folder ID 4415 * @param status the status 4416 * @param start the lower bound of the range of journal articles 4417 * @param end the upper bound of the range of journal articles (not inclusive) 4418 * @return the range of matching journal articles 4419 * @throws SystemException if a system exception occurred 4420 */ 4421 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4422 long groupId, long folderId, int status, int start, int end) 4423 throws com.liferay.portal.kernel.exception.SystemException; 4424 4425 /** 4426 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4427 * 4428 * <p> 4429 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4430 * </p> 4431 * 4432 * @param groupId the group ID 4433 * @param folderId the folder ID 4434 * @param status the status 4435 * @param start the lower bound of the range of journal articles 4436 * @param end the upper bound of the range of journal articles (not inclusive) 4437 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4438 * @return the ordered range of matching journal articles 4439 * @throws SystemException if a system exception occurred 4440 */ 4441 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4442 long groupId, long folderId, int status, int start, int end, 4443 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4444 throws com.liferay.portal.kernel.exception.SystemException; 4445 4446 /** 4447 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4448 * 4449 * @param groupId the group ID 4450 * @param folderId the folder ID 4451 * @param status the status 4452 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4453 * @return the first matching journal article 4454 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4455 * @throws SystemException if a system exception occurred 4456 */ 4457 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 4458 long groupId, long folderId, int status, 4459 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4460 throws com.liferay.portal.kernel.exception.SystemException, 4461 com.liferay.portlet.journal.NoSuchArticleException; 4462 4463 /** 4464 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4465 * 4466 * @param groupId the group ID 4467 * @param folderId the folder ID 4468 * @param status the status 4469 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4470 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4471 * @throws SystemException if a system exception occurred 4472 */ 4473 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 4474 long groupId, long folderId, int status, 4475 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4476 throws com.liferay.portal.kernel.exception.SystemException; 4477 4478 /** 4479 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4480 * 4481 * @param groupId the group ID 4482 * @param folderId the folder ID 4483 * @param status the status 4484 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4485 * @return the last matching journal article 4486 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4487 * @throws SystemException if a system exception occurred 4488 */ 4489 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 4490 long groupId, long folderId, int status, 4491 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4492 throws com.liferay.portal.kernel.exception.SystemException, 4493 com.liferay.portlet.journal.NoSuchArticleException; 4494 4495 /** 4496 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4497 * 4498 * @param groupId the group ID 4499 * @param folderId the folder ID 4500 * @param status the status 4501 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4502 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4503 * @throws SystemException if a system exception occurred 4504 */ 4505 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 4506 long groupId, long folderId, int status, 4507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4508 throws com.liferay.portal.kernel.exception.SystemException; 4509 4510 /** 4511 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4512 * 4513 * @param id the primary key of the current journal article 4514 * @param groupId the group ID 4515 * @param folderId the folder ID 4516 * @param status the status 4517 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4518 * @return the previous, current, and next journal article 4519 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4520 * @throws SystemException if a system exception occurred 4521 */ 4522 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 4523 long id, long groupId, long folderId, int status, 4524 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4525 throws com.liferay.portal.kernel.exception.SystemException, 4526 com.liferay.portlet.journal.NoSuchArticleException; 4527 4528 /** 4529 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4530 * 4531 * @param groupId the group ID 4532 * @param folderId the folder ID 4533 * @param status the status 4534 * @return the matching journal articles that the user has permission to view 4535 * @throws SystemException if a system exception occurred 4536 */ 4537 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4538 long groupId, long folderId, int status) 4539 throws com.liferay.portal.kernel.exception.SystemException; 4540 4541 /** 4542 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4543 * 4544 * <p> 4545 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4546 * </p> 4547 * 4548 * @param groupId the group ID 4549 * @param folderId the folder ID 4550 * @param status the status 4551 * @param start the lower bound of the range of journal articles 4552 * @param end the upper bound of the range of journal articles (not inclusive) 4553 * @return the range of matching journal articles that the user has permission to view 4554 * @throws SystemException if a system exception occurred 4555 */ 4556 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4557 long groupId, long folderId, int status, int start, int end) 4558 throws com.liferay.portal.kernel.exception.SystemException; 4559 4560 /** 4561 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 4562 * 4563 * <p> 4564 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4565 * </p> 4566 * 4567 * @param groupId the group ID 4568 * @param folderId the folder ID 4569 * @param status the status 4570 * @param start the lower bound of the range of journal articles 4571 * @param end the upper bound of the range of journal articles (not inclusive) 4572 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4573 * @return the ordered range of matching journal articles that the user has permission to view 4574 * @throws SystemException if a system exception occurred 4575 */ 4576 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4577 long groupId, long folderId, int status, int start, int end, 4578 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4579 throws com.liferay.portal.kernel.exception.SystemException; 4580 4581 /** 4582 * 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 = ?. 4583 * 4584 * @param id the primary key of the current journal article 4585 * @param groupId the group ID 4586 * @param folderId the folder ID 4587 * @param status the status 4588 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4589 * @return the previous, current, and next journal article 4590 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4591 * @throws SystemException if a system exception occurred 4592 */ 4593 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 4594 long id, long groupId, long folderId, int status, 4595 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4596 throws com.liferay.portal.kernel.exception.SystemException, 4597 com.liferay.portlet.journal.NoSuchArticleException; 4598 4599 /** 4600 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4601 * 4602 * @param groupId the group ID 4603 * @param folderId the folder ID 4604 * @param statuses the statuses 4605 * @return the matching journal articles that the user has permission to view 4606 * @throws SystemException if a system exception occurred 4607 */ 4608 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4609 long groupId, long folderId, int[] statuses) 4610 throws com.liferay.portal.kernel.exception.SystemException; 4611 4612 /** 4613 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4614 * 4615 * <p> 4616 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4617 * </p> 4618 * 4619 * @param groupId the group ID 4620 * @param folderId the folder ID 4621 * @param statuses the statuses 4622 * @param start the lower bound of the range of journal articles 4623 * @param end the upper bound of the range of journal articles (not inclusive) 4624 * @return the range of matching journal articles that the user has permission to view 4625 * @throws SystemException if a system exception occurred 4626 */ 4627 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4628 long groupId, long folderId, int[] statuses, int start, int end) 4629 throws com.liferay.portal.kernel.exception.SystemException; 4630 4631 /** 4632 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4633 * 4634 * <p> 4635 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4636 * </p> 4637 * 4638 * @param groupId the group ID 4639 * @param folderId the folder ID 4640 * @param statuses the statuses 4641 * @param start the lower bound of the range of journal articles 4642 * @param end the upper bound of the range of journal articles (not inclusive) 4643 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4644 * @return the ordered range of matching journal articles that the user has permission to view 4645 * @throws SystemException if a system exception occurred 4646 */ 4647 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4648 long groupId, long folderId, int[] statuses, int start, int end, 4649 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4650 throws com.liferay.portal.kernel.exception.SystemException; 4651 4652 /** 4653 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 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 folderId the folder ID 4661 * @param statuses the statuses 4662 * @return the matching journal articles 4663 * @throws SystemException if a system exception occurred 4664 */ 4665 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4666 long groupId, long folderId, int[] statuses) 4667 throws com.liferay.portal.kernel.exception.SystemException; 4668 4669 /** 4670 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4671 * 4672 * <p> 4673 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4674 * </p> 4675 * 4676 * @param groupId the group ID 4677 * @param folderId the folder ID 4678 * @param statuses the statuses 4679 * @param start the lower bound of the range of journal articles 4680 * @param end the upper bound of the range of journal articles (not inclusive) 4681 * @return the range of matching journal articles 4682 * @throws SystemException if a system exception occurred 4683 */ 4684 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4685 long groupId, long folderId, int[] statuses, int start, int end) 4686 throws com.liferay.portal.kernel.exception.SystemException; 4687 4688 /** 4689 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4690 * 4691 * <p> 4692 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4693 * </p> 4694 * 4695 * @param groupId the group ID 4696 * @param folderId the folder ID 4697 * @param statuses the statuses 4698 * @param start the lower bound of the range of journal articles 4699 * @param end the upper bound of the range of journal articles (not inclusive) 4700 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4701 * @return the ordered range of matching journal articles 4702 * @throws SystemException if a system exception occurred 4703 */ 4704 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4705 long groupId, long folderId, int[] statuses, int start, int end, 4706 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4707 throws com.liferay.portal.kernel.exception.SystemException; 4708 4709 /** 4710 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 4711 * 4712 * @param groupId the group ID 4713 * @param folderId the folder ID 4714 * @param status the status 4715 * @throws SystemException if a system exception occurred 4716 */ 4717 public void removeByG_F_ST(long groupId, long folderId, int status) 4718 throws com.liferay.portal.kernel.exception.SystemException; 4719 4720 /** 4721 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 4722 * 4723 * @param groupId the group ID 4724 * @param folderId the folder ID 4725 * @param status the status 4726 * @return the number of matching journal articles 4727 * @throws SystemException if a system exception occurred 4728 */ 4729 public int countByG_F_ST(long groupId, long folderId, int status) 4730 throws com.liferay.portal.kernel.exception.SystemException; 4731 4732 /** 4733 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 4734 * 4735 * @param groupId the group ID 4736 * @param folderId the folder ID 4737 * @param statuses the statuses 4738 * @return the number of matching journal articles 4739 * @throws SystemException if a system exception occurred 4740 */ 4741 public int countByG_F_ST(long groupId, long folderId, int[] statuses) 4742 throws com.liferay.portal.kernel.exception.SystemException; 4743 4744 /** 4745 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4746 * 4747 * @param groupId the group ID 4748 * @param folderId the folder ID 4749 * @param status the status 4750 * @return the number of matching journal articles that the user has permission to view 4751 * @throws SystemException if a system exception occurred 4752 */ 4753 public int filterCountByG_F_ST(long groupId, long folderId, int status) 4754 throws com.liferay.portal.kernel.exception.SystemException; 4755 4756 /** 4757 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4758 * 4759 * @param groupId the group ID 4760 * @param folderId the folder ID 4761 * @param statuses the statuses 4762 * @return the number of matching journal articles that the user has permission to view 4763 * @throws SystemException if a system exception occurred 4764 */ 4765 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses) 4766 throws com.liferay.portal.kernel.exception.SystemException; 4767 4768 /** 4769 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4770 * 4771 * @param groupId the group ID 4772 * @param classNameId the class name ID 4773 * @param classPK the class p k 4774 * @return the matching journal articles 4775 * @throws SystemException if a system exception occurred 4776 */ 4777 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4778 long groupId, long classNameId, long classPK) 4779 throws com.liferay.portal.kernel.exception.SystemException; 4780 4781 /** 4782 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4783 * 4784 * <p> 4785 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4786 * </p> 4787 * 4788 * @param groupId the group ID 4789 * @param classNameId the class name ID 4790 * @param classPK the class p k 4791 * @param start the lower bound of the range of journal articles 4792 * @param end the upper bound of the range of journal articles (not inclusive) 4793 * @return the range of matching journal articles 4794 * @throws SystemException if a system exception occurred 4795 */ 4796 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4797 long groupId, long classNameId, long classPK, int start, int end) 4798 throws com.liferay.portal.kernel.exception.SystemException; 4799 4800 /** 4801 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4802 * 4803 * <p> 4804 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4805 * </p> 4806 * 4807 * @param groupId the group ID 4808 * @param classNameId the class name ID 4809 * @param classPK the class p k 4810 * @param start the lower bound of the range of journal articles 4811 * @param end the upper bound of the range of journal articles (not inclusive) 4812 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4813 * @return the ordered range of matching journal articles 4814 * @throws SystemException if a system exception occurred 4815 */ 4816 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4817 long groupId, long classNameId, long classPK, int start, int end, 4818 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4819 throws com.liferay.portal.kernel.exception.SystemException; 4820 4821 /** 4822 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4823 * 4824 * @param groupId the group ID 4825 * @param classNameId the class name ID 4826 * @param classPK the class p k 4827 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4828 * @return the first matching journal article 4829 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4830 * @throws SystemException if a system exception occurred 4831 */ 4832 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 4833 long groupId, long classNameId, long classPK, 4834 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4835 throws com.liferay.portal.kernel.exception.SystemException, 4836 com.liferay.portlet.journal.NoSuchArticleException; 4837 4838 /** 4839 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4840 * 4841 * @param groupId the group ID 4842 * @param classNameId the class name ID 4843 * @param classPK the class p k 4844 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4845 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4846 * @throws SystemException if a system exception occurred 4847 */ 4848 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 4849 long groupId, long classNameId, long classPK, 4850 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4851 throws com.liferay.portal.kernel.exception.SystemException; 4852 4853 /** 4854 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4855 * 4856 * @param groupId the group ID 4857 * @param classNameId the class name ID 4858 * @param classPK the class p k 4859 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4860 * @return the last matching journal article 4861 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4862 * @throws SystemException if a system exception occurred 4863 */ 4864 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 4865 long groupId, long classNameId, long classPK, 4866 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4867 throws com.liferay.portal.kernel.exception.SystemException, 4868 com.liferay.portlet.journal.NoSuchArticleException; 4869 4870 /** 4871 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4872 * 4873 * @param groupId the group ID 4874 * @param classNameId the class name ID 4875 * @param classPK the class p k 4876 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4877 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4878 * @throws SystemException if a system exception occurred 4879 */ 4880 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 4881 long groupId, long classNameId, long classPK, 4882 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4883 throws com.liferay.portal.kernel.exception.SystemException; 4884 4885 /** 4886 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4887 * 4888 * @param id the primary key of the current journal article 4889 * @param groupId the group ID 4890 * @param classNameId the class name ID 4891 * @param classPK the class p k 4892 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4893 * @return the previous, current, and next journal article 4894 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4895 * @throws SystemException if a system exception occurred 4896 */ 4897 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 4898 long id, long groupId, long classNameId, long classPK, 4899 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4900 throws com.liferay.portal.kernel.exception.SystemException, 4901 com.liferay.portlet.journal.NoSuchArticleException; 4902 4903 /** 4904 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4905 * 4906 * @param groupId the group ID 4907 * @param classNameId the class name ID 4908 * @param classPK the class p k 4909 * @return the matching journal articles that the user has permission to view 4910 * @throws SystemException if a system exception occurred 4911 */ 4912 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4913 long groupId, long classNameId, long classPK) 4914 throws com.liferay.portal.kernel.exception.SystemException; 4915 4916 /** 4917 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4918 * 4919 * <p> 4920 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4921 * </p> 4922 * 4923 * @param groupId the group ID 4924 * @param classNameId the class name ID 4925 * @param classPK the class p k 4926 * @param start the lower bound of the range of journal articles 4927 * @param end the upper bound of the range of journal articles (not inclusive) 4928 * @return the range of matching journal articles that the user has permission to view 4929 * @throws SystemException if a system exception occurred 4930 */ 4931 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4932 long groupId, long classNameId, long classPK, int start, int end) 4933 throws com.liferay.portal.kernel.exception.SystemException; 4934 4935 /** 4936 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 4937 * 4938 * <p> 4939 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 4940 * </p> 4941 * 4942 * @param groupId the group ID 4943 * @param classNameId the class name ID 4944 * @param classPK the class p k 4945 * @param start the lower bound of the range of journal articles 4946 * @param end the upper bound of the range of journal articles (not inclusive) 4947 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4948 * @return the ordered range of matching journal articles that the user has permission to view 4949 * @throws SystemException if a system exception occurred 4950 */ 4951 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4952 long groupId, long classNameId, long classPK, int start, int end, 4953 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4954 throws com.liferay.portal.kernel.exception.SystemException; 4955 4956 /** 4957 * 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 = ?. 4958 * 4959 * @param id the primary key of the current journal article 4960 * @param groupId the group ID 4961 * @param classNameId the class name ID 4962 * @param classPK the class p k 4963 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4964 * @return the previous, current, and next journal article 4965 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4966 * @throws SystemException if a system exception occurred 4967 */ 4968 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 4969 long id, long groupId, long classNameId, long classPK, 4970 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4971 throws com.liferay.portal.kernel.exception.SystemException, 4972 com.liferay.portlet.journal.NoSuchArticleException; 4973 4974 /** 4975 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 4976 * 4977 * @param groupId the group ID 4978 * @param classNameId the class name ID 4979 * @param classPK the class p k 4980 * @throws SystemException if a system exception occurred 4981 */ 4982 public void removeByG_C_C(long groupId, long classNameId, long classPK) 4983 throws com.liferay.portal.kernel.exception.SystemException; 4984 4985 /** 4986 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 4987 * 4988 * @param groupId the group ID 4989 * @param classNameId the class name ID 4990 * @param classPK the class p k 4991 * @return the number of matching journal articles 4992 * @throws SystemException if a system exception occurred 4993 */ 4994 public int countByG_C_C(long groupId, long classNameId, long classPK) 4995 throws com.liferay.portal.kernel.exception.SystemException; 4996 4997 /** 4998 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4999 * 5000 * @param groupId the group ID 5001 * @param classNameId the class name ID 5002 * @param classPK the class p k 5003 * @return the number of matching journal articles that the user has permission to view 5004 * @throws SystemException if a system exception occurred 5005 */ 5006 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 5007 throws com.liferay.portal.kernel.exception.SystemException; 5008 5009 /** 5010 * 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. 5011 * 5012 * @param groupId the group ID 5013 * @param classNameId the class name ID 5014 * @param structureId the structure ID 5015 * @return the matching journal article 5016 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5017 * @throws SystemException if a system exception occurred 5018 */ 5019 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 5020 long groupId, long classNameId, java.lang.String structureId) 5021 throws com.liferay.portal.kernel.exception.SystemException, 5022 com.liferay.portlet.journal.NoSuchArticleException; 5023 5024 /** 5025 * 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. 5026 * 5027 * @param groupId the group ID 5028 * @param classNameId the class name ID 5029 * @param structureId the structure ID 5030 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5031 * @throws SystemException if a system exception occurred 5032 */ 5033 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 5034 long groupId, long classNameId, java.lang.String structureId) 5035 throws com.liferay.portal.kernel.exception.SystemException; 5036 5037 /** 5038 * 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. 5039 * 5040 * @param groupId the group ID 5041 * @param classNameId the class name ID 5042 * @param structureId the structure ID 5043 * @param retrieveFromCache whether to use the finder cache 5044 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5045 * @throws SystemException if a system exception occurred 5046 */ 5047 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 5048 long groupId, long classNameId, java.lang.String structureId, 5049 boolean retrieveFromCache) 5050 throws com.liferay.portal.kernel.exception.SystemException; 5051 5052 /** 5053 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 5054 * 5055 * @param groupId the group ID 5056 * @param classNameId the class name ID 5057 * @param structureId the structure ID 5058 * @return the journal article that was removed 5059 * @throws SystemException if a system exception occurred 5060 */ 5061 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 5062 long groupId, long classNameId, java.lang.String structureId) 5063 throws com.liferay.portal.kernel.exception.SystemException, 5064 com.liferay.portlet.journal.NoSuchArticleException; 5065 5066 /** 5067 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 5068 * 5069 * @param groupId the group ID 5070 * @param classNameId the class name ID 5071 * @param structureId the structure ID 5072 * @return the number of matching journal articles 5073 * @throws SystemException if a system exception occurred 5074 */ 5075 public int countByG_C_S(long groupId, long classNameId, 5076 java.lang.String structureId) 5077 throws com.liferay.portal.kernel.exception.SystemException; 5078 5079 /** 5080 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5081 * 5082 * @param groupId the group ID 5083 * @param classNameId the class name ID 5084 * @param templateId the template ID 5085 * @return the matching journal articles 5086 * @throws SystemException if a system exception occurred 5087 */ 5088 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5089 long groupId, long classNameId, java.lang.String templateId) 5090 throws com.liferay.portal.kernel.exception.SystemException; 5091 5092 /** 5093 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5094 * 5095 * <p> 5096 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5097 * </p> 5098 * 5099 * @param groupId the group ID 5100 * @param classNameId the class name ID 5101 * @param templateId the template ID 5102 * @param start the lower bound of the range of journal articles 5103 * @param end the upper bound of the range of journal articles (not inclusive) 5104 * @return the range of matching journal articles 5105 * @throws SystemException if a system exception occurred 5106 */ 5107 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5108 long groupId, long classNameId, java.lang.String templateId, int start, 5109 int end) throws com.liferay.portal.kernel.exception.SystemException; 5110 5111 /** 5112 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5113 * 5114 * <p> 5115 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5116 * </p> 5117 * 5118 * @param groupId the group ID 5119 * @param classNameId the class name ID 5120 * @param templateId the template ID 5121 * @param start the lower bound of the range of journal articles 5122 * @param end the upper bound of the range of journal articles (not inclusive) 5123 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5124 * @return the ordered range of matching journal articles 5125 * @throws SystemException if a system exception occurred 5126 */ 5127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5128 long groupId, long classNameId, java.lang.String templateId, int start, 5129 int end, 5130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5131 throws com.liferay.portal.kernel.exception.SystemException; 5132 5133 /** 5134 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5135 * 5136 * @param groupId the group ID 5137 * @param classNameId the class name ID 5138 * @param templateId the template ID 5139 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5140 * @return the first matching journal article 5141 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5142 * @throws SystemException if a system exception occurred 5143 */ 5144 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 5145 long groupId, long classNameId, java.lang.String templateId, 5146 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5147 throws com.liferay.portal.kernel.exception.SystemException, 5148 com.liferay.portlet.journal.NoSuchArticleException; 5149 5150 /** 5151 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5152 * 5153 * @param groupId the group ID 5154 * @param classNameId the class name ID 5155 * @param templateId the template ID 5156 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5157 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5158 * @throws SystemException if a system exception occurred 5159 */ 5160 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 5161 long groupId, long classNameId, java.lang.String templateId, 5162 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5163 throws com.liferay.portal.kernel.exception.SystemException; 5164 5165 /** 5166 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5167 * 5168 * @param groupId the group ID 5169 * @param classNameId the class name ID 5170 * @param templateId the template ID 5171 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5172 * @return the last matching journal article 5173 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5174 * @throws SystemException if a system exception occurred 5175 */ 5176 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 5177 long groupId, long classNameId, java.lang.String templateId, 5178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5179 throws com.liferay.portal.kernel.exception.SystemException, 5180 com.liferay.portlet.journal.NoSuchArticleException; 5181 5182 /** 5183 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5184 * 5185 * @param groupId the group ID 5186 * @param classNameId the class name ID 5187 * @param templateId the template ID 5188 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5189 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5190 * @throws SystemException if a system exception occurred 5191 */ 5192 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 5193 long groupId, long classNameId, java.lang.String templateId, 5194 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5195 throws com.liferay.portal.kernel.exception.SystemException; 5196 5197 /** 5198 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5199 * 5200 * @param id the primary key of the current journal article 5201 * @param groupId the group ID 5202 * @param classNameId the class name ID 5203 * @param templateId the template ID 5204 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5205 * @return the previous, current, and next journal article 5206 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5207 * @throws SystemException if a system exception occurred 5208 */ 5209 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 5210 long id, long groupId, long classNameId, java.lang.String templateId, 5211 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5212 throws com.liferay.portal.kernel.exception.SystemException, 5213 com.liferay.portlet.journal.NoSuchArticleException; 5214 5215 /** 5216 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5217 * 5218 * @param groupId the group ID 5219 * @param classNameId the class name ID 5220 * @param templateId the template ID 5221 * @return the matching journal articles that the user has permission to view 5222 * @throws SystemException if a system exception occurred 5223 */ 5224 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5225 long groupId, long classNameId, java.lang.String templateId) 5226 throws com.liferay.portal.kernel.exception.SystemException; 5227 5228 /** 5229 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5230 * 5231 * <p> 5232 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5233 * </p> 5234 * 5235 * @param groupId the group ID 5236 * @param classNameId the class name ID 5237 * @param templateId the template ID 5238 * @param start the lower bound of the range of journal articles 5239 * @param end the upper bound of the range of journal articles (not inclusive) 5240 * @return the range of matching journal articles that the user has permission to view 5241 * @throws SystemException if a system exception occurred 5242 */ 5243 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5244 long groupId, long classNameId, java.lang.String templateId, int start, 5245 int end) throws com.liferay.portal.kernel.exception.SystemException; 5246 5247 /** 5248 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 5249 * 5250 * <p> 5251 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5252 * </p> 5253 * 5254 * @param groupId the group ID 5255 * @param classNameId the class name ID 5256 * @param templateId the template ID 5257 * @param start the lower bound of the range of journal articles 5258 * @param end the upper bound of the range of journal articles (not inclusive) 5259 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5260 * @return the ordered range of matching journal articles that the user has permission to view 5261 * @throws SystemException if a system exception occurred 5262 */ 5263 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5264 long groupId, long classNameId, java.lang.String templateId, int start, 5265 int end, 5266 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5267 throws com.liferay.portal.kernel.exception.SystemException; 5268 5269 /** 5270 * 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 = ?. 5271 * 5272 * @param id the primary key of the current journal article 5273 * @param groupId the group ID 5274 * @param classNameId the class name ID 5275 * @param templateId the template ID 5276 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5277 * @return the previous, current, and next journal article 5278 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5279 * @throws SystemException if a system exception occurred 5280 */ 5281 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 5282 long id, long groupId, long classNameId, java.lang.String templateId, 5283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5284 throws com.liferay.portal.kernel.exception.SystemException, 5285 com.liferay.portlet.journal.NoSuchArticleException; 5286 5287 /** 5288 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 5289 * 5290 * @param groupId the group ID 5291 * @param classNameId the class name ID 5292 * @param templateId the template ID 5293 * @throws SystemException if a system exception occurred 5294 */ 5295 public void removeByG_C_T(long groupId, long classNameId, 5296 java.lang.String templateId) 5297 throws com.liferay.portal.kernel.exception.SystemException; 5298 5299 /** 5300 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 5301 * 5302 * @param groupId the group ID 5303 * @param classNameId the class name ID 5304 * @param templateId the template ID 5305 * @return the number of matching journal articles 5306 * @throws SystemException if a system exception occurred 5307 */ 5308 public int countByG_C_T(long groupId, long classNameId, 5309 java.lang.String templateId) 5310 throws com.liferay.portal.kernel.exception.SystemException; 5311 5312 /** 5313 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5314 * 5315 * @param groupId the group ID 5316 * @param classNameId the class name ID 5317 * @param templateId the template ID 5318 * @return the number of matching journal articles that the user has permission to view 5319 * @throws SystemException if a system exception occurred 5320 */ 5321 public int filterCountByG_C_T(long groupId, long classNameId, 5322 java.lang.String templateId) 5323 throws com.liferay.portal.kernel.exception.SystemException; 5324 5325 /** 5326 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5327 * 5328 * @param groupId the group ID 5329 * @param classNameId the class name ID 5330 * @param layoutUuid the layout uuid 5331 * @return the matching journal articles 5332 * @throws SystemException if a system exception occurred 5333 */ 5334 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5335 long groupId, long classNameId, java.lang.String layoutUuid) 5336 throws com.liferay.portal.kernel.exception.SystemException; 5337 5338 /** 5339 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5340 * 5341 * <p> 5342 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5343 * </p> 5344 * 5345 * @param groupId the group ID 5346 * @param classNameId the class name ID 5347 * @param layoutUuid the layout uuid 5348 * @param start the lower bound of the range of journal articles 5349 * @param end the upper bound of the range of journal articles (not inclusive) 5350 * @return the range of matching journal articles 5351 * @throws SystemException if a system exception occurred 5352 */ 5353 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5354 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5355 int end) throws com.liferay.portal.kernel.exception.SystemException; 5356 5357 /** 5358 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5359 * 5360 * <p> 5361 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5362 * </p> 5363 * 5364 * @param groupId the group ID 5365 * @param classNameId the class name ID 5366 * @param layoutUuid the layout uuid 5367 * @param start the lower bound of the range of journal articles 5368 * @param end the upper bound of the range of journal articles (not inclusive) 5369 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5370 * @return the ordered range of matching journal articles 5371 * @throws SystemException if a system exception occurred 5372 */ 5373 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5374 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5375 int end, 5376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5377 throws com.liferay.portal.kernel.exception.SystemException; 5378 5379 /** 5380 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5381 * 5382 * @param groupId the group ID 5383 * @param classNameId the class name ID 5384 * @param layoutUuid the layout uuid 5385 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5386 * @return the first matching journal article 5387 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5388 * @throws SystemException if a system exception occurred 5389 */ 5390 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 5391 long groupId, long classNameId, java.lang.String layoutUuid, 5392 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5393 throws com.liferay.portal.kernel.exception.SystemException, 5394 com.liferay.portlet.journal.NoSuchArticleException; 5395 5396 /** 5397 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5398 * 5399 * @param groupId the group ID 5400 * @param classNameId the class name ID 5401 * @param layoutUuid the layout uuid 5402 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5403 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5404 * @throws SystemException if a system exception occurred 5405 */ 5406 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 5407 long groupId, long classNameId, java.lang.String layoutUuid, 5408 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5409 throws com.liferay.portal.kernel.exception.SystemException; 5410 5411 /** 5412 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5413 * 5414 * @param groupId the group ID 5415 * @param classNameId the class name ID 5416 * @param layoutUuid the layout uuid 5417 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5418 * @return the last matching journal article 5419 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5420 * @throws SystemException if a system exception occurred 5421 */ 5422 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 5423 long groupId, long classNameId, java.lang.String layoutUuid, 5424 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5425 throws com.liferay.portal.kernel.exception.SystemException, 5426 com.liferay.portlet.journal.NoSuchArticleException; 5427 5428 /** 5429 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5430 * 5431 * @param groupId the group ID 5432 * @param classNameId the class name ID 5433 * @param layoutUuid the layout uuid 5434 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5435 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5436 * @throws SystemException if a system exception occurred 5437 */ 5438 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 5439 long groupId, long classNameId, java.lang.String layoutUuid, 5440 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5441 throws com.liferay.portal.kernel.exception.SystemException; 5442 5443 /** 5444 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5445 * 5446 * @param id the primary key of the current journal article 5447 * @param groupId the group ID 5448 * @param classNameId the class name ID 5449 * @param layoutUuid the layout uuid 5450 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5451 * @return the previous, current, and next journal article 5452 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5453 * @throws SystemException if a system exception occurred 5454 */ 5455 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 5456 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5457 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5458 throws com.liferay.portal.kernel.exception.SystemException, 5459 com.liferay.portlet.journal.NoSuchArticleException; 5460 5461 /** 5462 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5463 * 5464 * @param groupId the group ID 5465 * @param classNameId the class name ID 5466 * @param layoutUuid the layout uuid 5467 * @return the matching journal articles that the user has permission to view 5468 * @throws SystemException if a system exception occurred 5469 */ 5470 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5471 long groupId, long classNameId, java.lang.String layoutUuid) 5472 throws com.liferay.portal.kernel.exception.SystemException; 5473 5474 /** 5475 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5476 * 5477 * <p> 5478 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5479 * </p> 5480 * 5481 * @param groupId the group ID 5482 * @param classNameId the class name ID 5483 * @param layoutUuid the layout uuid 5484 * @param start the lower bound of the range of journal articles 5485 * @param end the upper bound of the range of journal articles (not inclusive) 5486 * @return the range of matching journal articles that the user has permission to view 5487 * @throws SystemException if a system exception occurred 5488 */ 5489 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5490 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5491 int end) throws com.liferay.portal.kernel.exception.SystemException; 5492 5493 /** 5494 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5495 * 5496 * <p> 5497 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5498 * </p> 5499 * 5500 * @param groupId the group ID 5501 * @param classNameId the class name ID 5502 * @param layoutUuid the layout uuid 5503 * @param start the lower bound of the range of journal articles 5504 * @param end the upper bound of the range of journal articles (not inclusive) 5505 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5506 * @return the ordered range of matching journal articles that the user has permission to view 5507 * @throws SystemException if a system exception occurred 5508 */ 5509 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5510 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5511 int end, 5512 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5513 throws com.liferay.portal.kernel.exception.SystemException; 5514 5515 /** 5516 * 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 = ?. 5517 * 5518 * @param id the primary key of the current journal article 5519 * @param groupId the group ID 5520 * @param classNameId the class name ID 5521 * @param layoutUuid the layout uuid 5522 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5523 * @return the previous, current, and next journal article 5524 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5525 * @throws SystemException if a system exception occurred 5526 */ 5527 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 5528 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5530 throws com.liferay.portal.kernel.exception.SystemException, 5531 com.liferay.portlet.journal.NoSuchArticleException; 5532 5533 /** 5534 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5535 * 5536 * @param groupId the group ID 5537 * @param classNameId the class name ID 5538 * @param layoutUuid the layout uuid 5539 * @throws SystemException if a system exception occurred 5540 */ 5541 public void removeByG_C_L(long groupId, long classNameId, 5542 java.lang.String layoutUuid) 5543 throws com.liferay.portal.kernel.exception.SystemException; 5544 5545 /** 5546 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5547 * 5548 * @param groupId the group ID 5549 * @param classNameId the class name ID 5550 * @param layoutUuid the layout uuid 5551 * @return the number of matching journal articles 5552 * @throws SystemException if a system exception occurred 5553 */ 5554 public int countByG_C_L(long groupId, long classNameId, 5555 java.lang.String layoutUuid) 5556 throws com.liferay.portal.kernel.exception.SystemException; 5557 5558 /** 5559 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5560 * 5561 * @param groupId the group ID 5562 * @param classNameId the class name ID 5563 * @param layoutUuid the layout uuid 5564 * @return the number of matching journal articles that the user has permission to view 5565 * @throws SystemException if a system exception occurred 5566 */ 5567 public int filterCountByG_C_L(long groupId, long classNameId, 5568 java.lang.String layoutUuid) 5569 throws com.liferay.portal.kernel.exception.SystemException; 5570 5571 /** 5572 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5573 * 5574 * @param groupId the group ID 5575 * @param userId the user ID 5576 * @param classNameId the class name ID 5577 * @return the matching journal articles 5578 * @throws SystemException if a system exception occurred 5579 */ 5580 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5581 long groupId, long userId, long classNameId) 5582 throws com.liferay.portal.kernel.exception.SystemException; 5583 5584 /** 5585 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5586 * 5587 * <p> 5588 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5589 * </p> 5590 * 5591 * @param groupId the group ID 5592 * @param userId the user ID 5593 * @param classNameId the class name ID 5594 * @param start the lower bound of the range of journal articles 5595 * @param end the upper bound of the range of journal articles (not inclusive) 5596 * @return the range of matching journal articles 5597 * @throws SystemException if a system exception occurred 5598 */ 5599 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5600 long groupId, long userId, long classNameId, int start, int end) 5601 throws com.liferay.portal.kernel.exception.SystemException; 5602 5603 /** 5604 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5605 * 5606 * <p> 5607 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5608 * </p> 5609 * 5610 * @param groupId the group ID 5611 * @param userId the user ID 5612 * @param classNameId the class name ID 5613 * @param start the lower bound of the range of journal articles 5614 * @param end the upper bound of the range of journal articles (not inclusive) 5615 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5616 * @return the ordered range of matching journal articles 5617 * @throws SystemException if a system exception occurred 5618 */ 5619 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5620 long groupId, long userId, long classNameId, int start, int end, 5621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5622 throws com.liferay.portal.kernel.exception.SystemException; 5623 5624 /** 5625 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5626 * 5627 * @param groupId the group ID 5628 * @param userId the user ID 5629 * @param classNameId the class name ID 5630 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5631 * @return the first matching journal article 5632 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5633 * @throws SystemException if a system exception occurred 5634 */ 5635 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 5636 long groupId, long userId, long classNameId, 5637 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5638 throws com.liferay.portal.kernel.exception.SystemException, 5639 com.liferay.portlet.journal.NoSuchArticleException; 5640 5641 /** 5642 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5643 * 5644 * @param groupId the group ID 5645 * @param userId the user ID 5646 * @param classNameId the class name ID 5647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5648 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5649 * @throws SystemException if a system exception occurred 5650 */ 5651 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 5652 long groupId, long userId, long classNameId, 5653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5654 throws com.liferay.portal.kernel.exception.SystemException; 5655 5656 /** 5657 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5658 * 5659 * @param groupId the group ID 5660 * @param userId the user ID 5661 * @param classNameId the class name ID 5662 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5663 * @return the last matching journal article 5664 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5665 * @throws SystemException if a system exception occurred 5666 */ 5667 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 5668 long groupId, long userId, long classNameId, 5669 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5670 throws com.liferay.portal.kernel.exception.SystemException, 5671 com.liferay.portlet.journal.NoSuchArticleException; 5672 5673 /** 5674 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5675 * 5676 * @param groupId the group ID 5677 * @param userId the user ID 5678 * @param classNameId the class name ID 5679 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5680 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5681 * @throws SystemException if a system exception occurred 5682 */ 5683 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 5684 long groupId, long userId, long classNameId, 5685 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5686 throws com.liferay.portal.kernel.exception.SystemException; 5687 5688 /** 5689 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5690 * 5691 * @param id the primary key of the current journal article 5692 * @param groupId the group ID 5693 * @param userId the user ID 5694 * @param classNameId the class name ID 5695 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5696 * @return the previous, current, and next journal article 5697 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5698 * @throws SystemException if a system exception occurred 5699 */ 5700 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 5701 long id, long groupId, long userId, long classNameId, 5702 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5703 throws com.liferay.portal.kernel.exception.SystemException, 5704 com.liferay.portlet.journal.NoSuchArticleException; 5705 5706 /** 5707 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5708 * 5709 * @param groupId the group ID 5710 * @param userId the user ID 5711 * @param classNameId the class name ID 5712 * @return the matching journal articles that the user has permission to view 5713 * @throws SystemException if a system exception occurred 5714 */ 5715 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5716 long groupId, long userId, long classNameId) 5717 throws com.liferay.portal.kernel.exception.SystemException; 5718 5719 /** 5720 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5721 * 5722 * <p> 5723 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5724 * </p> 5725 * 5726 * @param groupId the group ID 5727 * @param userId the user ID 5728 * @param classNameId the class name ID 5729 * @param start the lower bound of the range of journal articles 5730 * @param end the upper bound of the range of journal articles (not inclusive) 5731 * @return the range of matching journal articles that the user has permission to view 5732 * @throws SystemException if a system exception occurred 5733 */ 5734 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5735 long groupId, long userId, long classNameId, int start, int end) 5736 throws com.liferay.portal.kernel.exception.SystemException; 5737 5738 /** 5739 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 5740 * 5741 * <p> 5742 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5743 * </p> 5744 * 5745 * @param groupId the group ID 5746 * @param userId the user ID 5747 * @param classNameId the class name ID 5748 * @param start the lower bound of the range of journal articles 5749 * @param end the upper bound of the range of journal articles (not inclusive) 5750 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5751 * @return the ordered range of matching journal articles that the user has permission to view 5752 * @throws SystemException if a system exception occurred 5753 */ 5754 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5755 long groupId, long userId, long classNameId, int start, int end, 5756 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5757 throws com.liferay.portal.kernel.exception.SystemException; 5758 5759 /** 5760 * 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 = ?. 5761 * 5762 * @param id the primary key of the current journal article 5763 * @param groupId the group ID 5764 * @param userId the user ID 5765 * @param classNameId the class name ID 5766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5767 * @return the previous, current, and next journal article 5768 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5769 * @throws SystemException if a system exception occurred 5770 */ 5771 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 5772 long id, long groupId, long userId, long classNameId, 5773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5774 throws com.liferay.portal.kernel.exception.SystemException, 5775 com.liferay.portlet.journal.NoSuchArticleException; 5776 5777 /** 5778 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 5779 * 5780 * @param groupId the group ID 5781 * @param userId the user ID 5782 * @param classNameId the class name ID 5783 * @throws SystemException if a system exception occurred 5784 */ 5785 public void removeByG_U_C(long groupId, long userId, long classNameId) 5786 throws com.liferay.portal.kernel.exception.SystemException; 5787 5788 /** 5789 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 5790 * 5791 * @param groupId the group ID 5792 * @param userId the user ID 5793 * @param classNameId the class name ID 5794 * @return the number of matching journal articles 5795 * @throws SystemException if a system exception occurred 5796 */ 5797 public int countByG_U_C(long groupId, long userId, long classNameId) 5798 throws com.liferay.portal.kernel.exception.SystemException; 5799 5800 /** 5801 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5802 * 5803 * @param groupId the group ID 5804 * @param userId the user ID 5805 * @param classNameId the class name ID 5806 * @return the number of matching journal articles that the user has permission to view 5807 * @throws SystemException if a system exception occurred 5808 */ 5809 public int filterCountByG_U_C(long groupId, long userId, long classNameId) 5810 throws com.liferay.portal.kernel.exception.SystemException; 5811 5812 /** 5813 * 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. 5814 * 5815 * @param groupId the group ID 5816 * @param articleId the article ID 5817 * @param version the version 5818 * @return the matching journal article 5819 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5820 * @throws SystemException if a system exception occurred 5821 */ 5822 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 5823 long groupId, java.lang.String articleId, double version) 5824 throws com.liferay.portal.kernel.exception.SystemException, 5825 com.liferay.portlet.journal.NoSuchArticleException; 5826 5827 /** 5828 * 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. 5829 * 5830 * @param groupId the group ID 5831 * @param articleId the article ID 5832 * @param version the version 5833 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5834 * @throws SystemException if a system exception occurred 5835 */ 5836 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5837 long groupId, java.lang.String articleId, double version) 5838 throws com.liferay.portal.kernel.exception.SystemException; 5839 5840 /** 5841 * 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. 5842 * 5843 * @param groupId the group ID 5844 * @param articleId the article ID 5845 * @param version the version 5846 * @param retrieveFromCache whether to use the finder cache 5847 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5848 * @throws SystemException if a system exception occurred 5849 */ 5850 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5851 long groupId, java.lang.String articleId, double version, 5852 boolean retrieveFromCache) 5853 throws com.liferay.portal.kernel.exception.SystemException; 5854 5855 /** 5856 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 5857 * 5858 * @param groupId the group ID 5859 * @param articleId the article ID 5860 * @param version the version 5861 * @return the journal article that was removed 5862 * @throws SystemException if a system exception occurred 5863 */ 5864 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 5865 long groupId, java.lang.String articleId, double version) 5866 throws com.liferay.portal.kernel.exception.SystemException, 5867 com.liferay.portlet.journal.NoSuchArticleException; 5868 5869 /** 5870 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 5871 * 5872 * @param groupId the group ID 5873 * @param articleId the article ID 5874 * @param version the version 5875 * @return the number of matching journal articles 5876 * @throws SystemException if a system exception occurred 5877 */ 5878 public int countByG_A_V(long groupId, java.lang.String articleId, 5879 double version) 5880 throws com.liferay.portal.kernel.exception.SystemException; 5881 5882 /** 5883 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 5884 * 5885 * @param groupId the group ID 5886 * @param articleId the article ID 5887 * @param status the status 5888 * @return the matching journal articles 5889 * @throws SystemException if a system exception occurred 5890 */ 5891 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5892 long groupId, java.lang.String articleId, int status) 5893 throws com.liferay.portal.kernel.exception.SystemException; 5894 5895 /** 5896 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5897 * 5898 * <p> 5899 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5900 * </p> 5901 * 5902 * @param groupId the group ID 5903 * @param articleId the article ID 5904 * @param status the status 5905 * @param start the lower bound of the range of journal articles 5906 * @param end the upper bound of the range of journal articles (not inclusive) 5907 * @return the range of matching journal articles 5908 * @throws SystemException if a system exception occurred 5909 */ 5910 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5911 long groupId, java.lang.String articleId, int status, int start, int end) 5912 throws com.liferay.portal.kernel.exception.SystemException; 5913 5914 /** 5915 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5916 * 5917 * <p> 5918 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 5919 * </p> 5920 * 5921 * @param groupId the group ID 5922 * @param articleId the article ID 5923 * @param status the status 5924 * @param start the lower bound of the range of journal articles 5925 * @param end the upper bound of the range of journal articles (not inclusive) 5926 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5927 * @return the ordered range of matching journal articles 5928 * @throws SystemException if a system exception occurred 5929 */ 5930 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5931 long groupId, java.lang.String articleId, int status, int start, 5932 int end, 5933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5934 throws com.liferay.portal.kernel.exception.SystemException; 5935 5936 /** 5937 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5938 * 5939 * @param groupId the group ID 5940 * @param articleId the article ID 5941 * @param status the status 5942 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5943 * @return the first matching journal article 5944 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5945 * @throws SystemException if a system exception occurred 5946 */ 5947 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 5948 long groupId, java.lang.String articleId, int status, 5949 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5950 throws com.liferay.portal.kernel.exception.SystemException, 5951 com.liferay.portlet.journal.NoSuchArticleException; 5952 5953 /** 5954 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5955 * 5956 * @param groupId the group ID 5957 * @param articleId the article ID 5958 * @param status the status 5959 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5960 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5961 * @throws SystemException if a system exception occurred 5962 */ 5963 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 5964 long groupId, java.lang.String articleId, int status, 5965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5966 throws com.liferay.portal.kernel.exception.SystemException; 5967 5968 /** 5969 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5970 * 5971 * @param groupId the group ID 5972 * @param articleId the article ID 5973 * @param status the status 5974 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5975 * @return the last matching journal article 5976 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5977 * @throws SystemException if a system exception occurred 5978 */ 5979 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 5980 long groupId, java.lang.String articleId, int status, 5981 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5982 throws com.liferay.portal.kernel.exception.SystemException, 5983 com.liferay.portlet.journal.NoSuchArticleException; 5984 5985 /** 5986 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5987 * 5988 * @param groupId the group ID 5989 * @param articleId the article ID 5990 * @param status the status 5991 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5992 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5993 * @throws SystemException if a system exception occurred 5994 */ 5995 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 5996 long groupId, java.lang.String articleId, int status, 5997 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5998 throws com.liferay.portal.kernel.exception.SystemException; 5999 6000 /** 6001 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6002 * 6003 * @param id the primary key of the current journal article 6004 * @param groupId the group ID 6005 * @param articleId the article ID 6006 * @param status the status 6007 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6008 * @return the previous, current, and next journal article 6009 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6010 * @throws SystemException if a system exception occurred 6011 */ 6012 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 6013 long id, long groupId, java.lang.String articleId, int status, 6014 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6015 throws com.liferay.portal.kernel.exception.SystemException, 6016 com.liferay.portlet.journal.NoSuchArticleException; 6017 6018 /** 6019 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6020 * 6021 * @param groupId the group ID 6022 * @param articleId the article ID 6023 * @param status the status 6024 * @return the matching journal articles that the user has permission to view 6025 * @throws SystemException if a system exception occurred 6026 */ 6027 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6028 long groupId, java.lang.String articleId, int status) 6029 throws com.liferay.portal.kernel.exception.SystemException; 6030 6031 /** 6032 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6033 * 6034 * <p> 6035 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6036 * </p> 6037 * 6038 * @param groupId the group ID 6039 * @param articleId the article ID 6040 * @param status the status 6041 * @param start the lower bound of the range of journal articles 6042 * @param end the upper bound of the range of journal articles (not inclusive) 6043 * @return the range of matching journal articles that the user has permission to view 6044 * @throws SystemException if a system exception occurred 6045 */ 6046 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6047 long groupId, java.lang.String articleId, int status, int start, int end) 6048 throws com.liferay.portal.kernel.exception.SystemException; 6049 6050 /** 6051 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 6052 * 6053 * <p> 6054 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6055 * </p> 6056 * 6057 * @param groupId the group ID 6058 * @param articleId the article ID 6059 * @param status the status 6060 * @param start the lower bound of the range of journal articles 6061 * @param end the upper bound of the range of journal articles (not inclusive) 6062 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6063 * @return the ordered range of matching journal articles that the user has permission to view 6064 * @throws SystemException if a system exception occurred 6065 */ 6066 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6067 long groupId, java.lang.String articleId, int status, int start, 6068 int end, 6069 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6070 throws com.liferay.portal.kernel.exception.SystemException; 6071 6072 /** 6073 * 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 = ?. 6074 * 6075 * @param id the primary key of the current journal article 6076 * @param groupId the group ID 6077 * @param articleId the article ID 6078 * @param status the status 6079 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6080 * @return the previous, current, and next journal article 6081 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6082 * @throws SystemException if a system exception occurred 6083 */ 6084 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 6085 long id, long groupId, java.lang.String articleId, int status, 6086 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6087 throws com.liferay.portal.kernel.exception.SystemException, 6088 com.liferay.portlet.journal.NoSuchArticleException; 6089 6090 /** 6091 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6092 * 6093 * @param groupId the group ID 6094 * @param articleId the article ID 6095 * @param statuses the statuses 6096 * @return the matching journal articles that the user has permission to view 6097 * @throws SystemException if a system exception occurred 6098 */ 6099 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6100 long groupId, java.lang.String articleId, int[] statuses) 6101 throws com.liferay.portal.kernel.exception.SystemException; 6102 6103 /** 6104 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6105 * 6106 * <p> 6107 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6108 * </p> 6109 * 6110 * @param groupId the group ID 6111 * @param articleId the article ID 6112 * @param statuses the statuses 6113 * @param start the lower bound of the range of journal articles 6114 * @param end the upper bound of the range of journal articles (not inclusive) 6115 * @return the range of matching journal articles that the user has permission to view 6116 * @throws SystemException if a system exception occurred 6117 */ 6118 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6119 long groupId, java.lang.String articleId, int[] statuses, int start, 6120 int end) throws com.liferay.portal.kernel.exception.SystemException; 6121 6122 /** 6123 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6124 * 6125 * <p> 6126 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6127 * </p> 6128 * 6129 * @param groupId the group ID 6130 * @param articleId the article ID 6131 * @param statuses the statuses 6132 * @param start the lower bound of the range of journal articles 6133 * @param end the upper bound of the range of journal articles (not inclusive) 6134 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6135 * @return the ordered range of matching journal articles that the user has permission to view 6136 * @throws SystemException if a system exception occurred 6137 */ 6138 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6139 long groupId, java.lang.String articleId, int[] statuses, int start, 6140 int end, 6141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6142 throws com.liferay.portal.kernel.exception.SystemException; 6143 6144 /** 6145 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 6146 * 6147 * <p> 6148 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6149 * </p> 6150 * 6151 * @param groupId the group ID 6152 * @param articleId the article ID 6153 * @param statuses the statuses 6154 * @return the matching journal articles 6155 * @throws SystemException if a system exception occurred 6156 */ 6157 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6158 long groupId, java.lang.String articleId, int[] statuses) 6159 throws com.liferay.portal.kernel.exception.SystemException; 6160 6161 /** 6162 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 6163 * 6164 * <p> 6165 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6166 * </p> 6167 * 6168 * @param groupId the group ID 6169 * @param articleId the article ID 6170 * @param statuses the statuses 6171 * @param start the lower bound of the range of journal articles 6172 * @param end the upper bound of the range of journal articles (not inclusive) 6173 * @return the range of matching journal articles 6174 * @throws SystemException if a system exception occurred 6175 */ 6176 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6177 long groupId, java.lang.String articleId, int[] statuses, int start, 6178 int end) throws com.liferay.portal.kernel.exception.SystemException; 6179 6180 /** 6181 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 6182 * 6183 * <p> 6184 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6185 * </p> 6186 * 6187 * @param groupId the group ID 6188 * @param articleId the article ID 6189 * @param statuses the statuses 6190 * @param start the lower bound of the range of journal articles 6191 * @param end the upper bound of the range of journal articles (not inclusive) 6192 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6193 * @return the ordered range of matching journal articles 6194 * @throws SystemException if a system exception occurred 6195 */ 6196 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6197 long groupId, java.lang.String articleId, int[] statuses, int start, 6198 int end, 6199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6200 throws com.liferay.portal.kernel.exception.SystemException; 6201 6202 /** 6203 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 6204 * 6205 * @param groupId the group ID 6206 * @param articleId the article ID 6207 * @param status the status 6208 * @throws SystemException if a system exception occurred 6209 */ 6210 public void removeByG_A_ST(long groupId, java.lang.String articleId, 6211 int status) throws com.liferay.portal.kernel.exception.SystemException; 6212 6213 /** 6214 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 6215 * 6216 * @param groupId the group ID 6217 * @param articleId the article ID 6218 * @param status the status 6219 * @return the number of matching journal articles 6220 * @throws SystemException if a system exception occurred 6221 */ 6222 public int countByG_A_ST(long groupId, java.lang.String articleId, 6223 int status) throws com.liferay.portal.kernel.exception.SystemException; 6224 6225 /** 6226 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 6227 * 6228 * @param groupId the group ID 6229 * @param articleId the article ID 6230 * @param statuses the statuses 6231 * @return the number of matching journal articles 6232 * @throws SystemException if a system exception occurred 6233 */ 6234 public int countByG_A_ST(long groupId, java.lang.String articleId, 6235 int[] statuses) 6236 throws com.liferay.portal.kernel.exception.SystemException; 6237 6238 /** 6239 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6240 * 6241 * @param groupId the group ID 6242 * @param articleId the article ID 6243 * @param status the status 6244 * @return the number of matching journal articles that the user has permission to view 6245 * @throws SystemException if a system exception occurred 6246 */ 6247 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 6248 int status) throws com.liferay.portal.kernel.exception.SystemException; 6249 6250 /** 6251 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6252 * 6253 * @param groupId the group ID 6254 * @param articleId the article ID 6255 * @param statuses the statuses 6256 * @return the number of matching journal articles that the user has permission to view 6257 * @throws SystemException if a system exception occurred 6258 */ 6259 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 6260 int[] statuses) 6261 throws com.liferay.portal.kernel.exception.SystemException; 6262 6263 /** 6264 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6265 * 6266 * @param groupId the group ID 6267 * @param urlTitle the url title 6268 * @param status the status 6269 * @return the matching journal articles 6270 * @throws SystemException if a system exception occurred 6271 */ 6272 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6273 long groupId, java.lang.String urlTitle, int status) 6274 throws com.liferay.portal.kernel.exception.SystemException; 6275 6276 /** 6277 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6278 * 6279 * <p> 6280 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6281 * </p> 6282 * 6283 * @param groupId the group ID 6284 * @param urlTitle the url title 6285 * @param status the status 6286 * @param start the lower bound of the range of journal articles 6287 * @param end the upper bound of the range of journal articles (not inclusive) 6288 * @return the range of matching journal articles 6289 * @throws SystemException if a system exception occurred 6290 */ 6291 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6292 long groupId, java.lang.String urlTitle, int status, int start, int end) 6293 throws com.liferay.portal.kernel.exception.SystemException; 6294 6295 /** 6296 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6297 * 6298 * <p> 6299 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6300 * </p> 6301 * 6302 * @param groupId the group ID 6303 * @param urlTitle the url title 6304 * @param status the status 6305 * @param start the lower bound of the range of journal articles 6306 * @param end the upper bound of the range of journal articles (not inclusive) 6307 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6308 * @return the ordered range of matching journal articles 6309 * @throws SystemException if a system exception occurred 6310 */ 6311 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6312 long groupId, java.lang.String urlTitle, int status, int start, 6313 int end, 6314 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6315 throws com.liferay.portal.kernel.exception.SystemException; 6316 6317 /** 6318 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6319 * 6320 * @param groupId the group ID 6321 * @param urlTitle the url title 6322 * @param status the status 6323 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6324 * @return the first matching journal article 6325 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6326 * @throws SystemException if a system exception occurred 6327 */ 6328 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 6329 long groupId, java.lang.String urlTitle, int status, 6330 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6331 throws com.liferay.portal.kernel.exception.SystemException, 6332 com.liferay.portlet.journal.NoSuchArticleException; 6333 6334 /** 6335 * Returns the first journal article in the ordered set 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 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6341 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6342 * @throws SystemException if a system exception occurred 6343 */ 6344 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 6345 long groupId, java.lang.String urlTitle, int status, 6346 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6347 throws com.liferay.portal.kernel.exception.SystemException; 6348 6349 /** 6350 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6351 * 6352 * @param groupId the group ID 6353 * @param urlTitle the url title 6354 * @param status the status 6355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6356 * @return the last matching journal article 6357 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6358 * @throws SystemException if a system exception occurred 6359 */ 6360 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 6361 long groupId, java.lang.String urlTitle, int status, 6362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6363 throws com.liferay.portal.kernel.exception.SystemException, 6364 com.liferay.portlet.journal.NoSuchArticleException; 6365 6366 /** 6367 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6368 * 6369 * @param groupId the group ID 6370 * @param urlTitle the url title 6371 * @param status the status 6372 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6373 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6374 * @throws SystemException if a system exception occurred 6375 */ 6376 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 6377 long groupId, java.lang.String urlTitle, int status, 6378 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6379 throws com.liferay.portal.kernel.exception.SystemException; 6380 6381 /** 6382 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6383 * 6384 * @param id the primary key of the current journal article 6385 * @param groupId the group ID 6386 * @param urlTitle the url title 6387 * @param status the status 6388 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6389 * @return the previous, current, and next journal article 6390 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6391 * @throws SystemException if a system exception occurred 6392 */ 6393 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 6394 long id, long groupId, java.lang.String urlTitle, int status, 6395 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6396 throws com.liferay.portal.kernel.exception.SystemException, 6397 com.liferay.portlet.journal.NoSuchArticleException; 6398 6399 /** 6400 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6401 * 6402 * @param groupId the group ID 6403 * @param urlTitle the url title 6404 * @param status the status 6405 * @return the matching journal articles that the user has permission to view 6406 * @throws SystemException if a system exception occurred 6407 */ 6408 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6409 long groupId, java.lang.String urlTitle, int status) 6410 throws com.liferay.portal.kernel.exception.SystemException; 6411 6412 /** 6413 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6414 * 6415 * <p> 6416 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6417 * </p> 6418 * 6419 * @param groupId the group ID 6420 * @param urlTitle the url title 6421 * @param status the status 6422 * @param start the lower bound of the range of journal articles 6423 * @param end the upper bound of the range of journal articles (not inclusive) 6424 * @return the range of matching journal articles that the user has permission to view 6425 * @throws SystemException if a system exception occurred 6426 */ 6427 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6428 long groupId, java.lang.String urlTitle, int status, int start, int end) 6429 throws com.liferay.portal.kernel.exception.SystemException; 6430 6431 /** 6432 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 6433 * 6434 * <p> 6435 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6436 * </p> 6437 * 6438 * @param groupId the group ID 6439 * @param urlTitle the url title 6440 * @param status the status 6441 * @param start the lower bound of the range of journal articles 6442 * @param end the upper bound of the range of journal articles (not inclusive) 6443 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6444 * @return the ordered range of matching journal articles that the user has permission to view 6445 * @throws SystemException if a system exception occurred 6446 */ 6447 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6448 long groupId, java.lang.String urlTitle, int status, int start, 6449 int end, 6450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6451 throws com.liferay.portal.kernel.exception.SystemException; 6452 6453 /** 6454 * 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 = ?. 6455 * 6456 * @param id the primary key of the current journal article 6457 * @param groupId the group ID 6458 * @param urlTitle the url title 6459 * @param status the status 6460 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6461 * @return the previous, current, and next journal article 6462 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6463 * @throws SystemException if a system exception occurred 6464 */ 6465 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 6466 long id, long groupId, java.lang.String urlTitle, int status, 6467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6468 throws com.liferay.portal.kernel.exception.SystemException, 6469 com.liferay.portlet.journal.NoSuchArticleException; 6470 6471 /** 6472 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 6473 * 6474 * @param groupId the group ID 6475 * @param urlTitle the url title 6476 * @param status the status 6477 * @throws SystemException if a system exception occurred 6478 */ 6479 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 6480 int status) throws com.liferay.portal.kernel.exception.SystemException; 6481 6482 /** 6483 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 6484 * 6485 * @param groupId the group ID 6486 * @param urlTitle the url title 6487 * @param status the status 6488 * @return the number of matching journal articles 6489 * @throws SystemException if a system exception occurred 6490 */ 6491 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 6492 int status) throws com.liferay.portal.kernel.exception.SystemException; 6493 6494 /** 6495 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6496 * 6497 * @param groupId the group ID 6498 * @param urlTitle the url title 6499 * @param status the status 6500 * @return the number of matching journal articles that the user has permission to view 6501 * @throws SystemException if a system exception occurred 6502 */ 6503 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 6504 int status) throws com.liferay.portal.kernel.exception.SystemException; 6505 6506 /** 6507 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 6508 * 6509 * @param companyId the company ID 6510 * @param version the version 6511 * @param status the status 6512 * @return the matching journal articles 6513 * @throws SystemException if a system exception occurred 6514 */ 6515 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6516 long companyId, double version, int status) 6517 throws com.liferay.portal.kernel.exception.SystemException; 6518 6519 /** 6520 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 6521 * 6522 * <p> 6523 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6524 * </p> 6525 * 6526 * @param companyId the company ID 6527 * @param version the version 6528 * @param status the status 6529 * @param start the lower bound of the range of journal articles 6530 * @param end the upper bound of the range of journal articles (not inclusive) 6531 * @return the range of matching journal articles 6532 * @throws SystemException if a system exception occurred 6533 */ 6534 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6535 long companyId, double version, int status, int start, int end) 6536 throws com.liferay.portal.kernel.exception.SystemException; 6537 6538 /** 6539 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 6540 * 6541 * <p> 6542 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6543 * </p> 6544 * 6545 * @param companyId the company ID 6546 * @param version the version 6547 * @param status the status 6548 * @param start the lower bound of the range of journal articles 6549 * @param end the upper bound of the range of journal articles (not inclusive) 6550 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6551 * @return the ordered range of matching journal articles 6552 * @throws SystemException if a system exception occurred 6553 */ 6554 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6555 long companyId, double version, int status, int start, int end, 6556 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6557 throws com.liferay.portal.kernel.exception.SystemException; 6558 6559 /** 6560 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6561 * 6562 * @param companyId the company ID 6563 * @param version the version 6564 * @param status the status 6565 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6566 * @return the first matching journal article 6567 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6568 * @throws SystemException if a system exception occurred 6569 */ 6570 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 6571 long companyId, double version, int status, 6572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6573 throws com.liferay.portal.kernel.exception.SystemException, 6574 com.liferay.portlet.journal.NoSuchArticleException; 6575 6576 /** 6577 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6578 * 6579 * @param companyId the company ID 6580 * @param version the version 6581 * @param status the status 6582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6583 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6584 * @throws SystemException if a system exception occurred 6585 */ 6586 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 6587 long companyId, double version, int status, 6588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6589 throws com.liferay.portal.kernel.exception.SystemException; 6590 6591 /** 6592 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6593 * 6594 * @param companyId the company ID 6595 * @param version the version 6596 * @param status the status 6597 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6598 * @return the last matching journal article 6599 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6600 * @throws SystemException if a system exception occurred 6601 */ 6602 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 6603 long companyId, double version, int status, 6604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6605 throws com.liferay.portal.kernel.exception.SystemException, 6606 com.liferay.portlet.journal.NoSuchArticleException; 6607 6608 /** 6609 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6610 * 6611 * @param companyId the company ID 6612 * @param version the version 6613 * @param status the status 6614 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6615 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6616 * @throws SystemException if a system exception occurred 6617 */ 6618 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 6619 long companyId, double version, int status, 6620 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6621 throws com.liferay.portal.kernel.exception.SystemException; 6622 6623 /** 6624 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 6625 * 6626 * @param id the primary key of the current journal article 6627 * @param companyId the company ID 6628 * @param version the version 6629 * @param status the status 6630 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6631 * @return the previous, current, and next journal article 6632 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6633 * @throws SystemException if a system exception occurred 6634 */ 6635 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 6636 long id, long companyId, double version, int status, 6637 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6638 throws com.liferay.portal.kernel.exception.SystemException, 6639 com.liferay.portlet.journal.NoSuchArticleException; 6640 6641 /** 6642 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 6643 * 6644 * @param companyId the company ID 6645 * @param version the version 6646 * @param status the status 6647 * @throws SystemException if a system exception occurred 6648 */ 6649 public void removeByC_V_ST(long companyId, double version, int status) 6650 throws com.liferay.portal.kernel.exception.SystemException; 6651 6652 /** 6653 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 6654 * 6655 * @param companyId the company ID 6656 * @param version the version 6657 * @param status the status 6658 * @return the number of matching journal articles 6659 * @throws SystemException if a system exception occurred 6660 */ 6661 public int countByC_V_ST(long companyId, double version, int status) 6662 throws com.liferay.portal.kernel.exception.SystemException; 6663 6664 /** 6665 * Caches the journal article in the entity cache if it is enabled. 6666 * 6667 * @param journalArticle the journal article 6668 */ 6669 public void cacheResult( 6670 com.liferay.portlet.journal.model.JournalArticle journalArticle); 6671 6672 /** 6673 * Caches the journal articles in the entity cache if it is enabled. 6674 * 6675 * @param journalArticles the journal articles 6676 */ 6677 public void cacheResult( 6678 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 6679 6680 /** 6681 * Creates a new journal article with the primary key. Does not add the journal article to the database. 6682 * 6683 * @param id the primary key for the new journal article 6684 * @return the new journal article 6685 */ 6686 public com.liferay.portlet.journal.model.JournalArticle create(long id); 6687 6688 /** 6689 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 6690 * 6691 * @param id the primary key of the journal article 6692 * @return the journal article that was removed 6693 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6694 * @throws SystemException if a system exception occurred 6695 */ 6696 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 6697 throws com.liferay.portal.kernel.exception.SystemException, 6698 com.liferay.portlet.journal.NoSuchArticleException; 6699 6700 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 6701 com.liferay.portlet.journal.model.JournalArticle journalArticle) 6702 throws com.liferay.portal.kernel.exception.SystemException; 6703 6704 /** 6705 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 6706 * 6707 * @param id the primary key of the journal article 6708 * @return the journal article 6709 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6710 * @throws SystemException if a system exception occurred 6711 */ 6712 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 6713 long id) 6714 throws com.liferay.portal.kernel.exception.SystemException, 6715 com.liferay.portlet.journal.NoSuchArticleException; 6716 6717 /** 6718 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 6719 * 6720 * @param id the primary key of the journal article 6721 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 6722 * @throws SystemException if a system exception occurred 6723 */ 6724 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 6725 long id) throws com.liferay.portal.kernel.exception.SystemException; 6726 6727 /** 6728 * Returns all the journal articles. 6729 * 6730 * @return the journal articles 6731 * @throws SystemException if a system exception occurred 6732 */ 6733 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 6734 throws com.liferay.portal.kernel.exception.SystemException; 6735 6736 /** 6737 * Returns a range of all the journal articles. 6738 * 6739 * <p> 6740 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6741 * </p> 6742 * 6743 * @param start the lower bound of the range of journal articles 6744 * @param end the upper bound of the range of journal articles (not inclusive) 6745 * @return the range of journal articles 6746 * @throws SystemException if a system exception occurred 6747 */ 6748 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6749 int start, int end) 6750 throws com.liferay.portal.kernel.exception.SystemException; 6751 6752 /** 6753 * Returns an ordered range of all the journal articles. 6754 * 6755 * <p> 6756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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. 6757 * </p> 6758 * 6759 * @param start the lower bound of the range of journal articles 6760 * @param end the upper bound of the range of journal articles (not inclusive) 6761 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6762 * @return the ordered range of journal articles 6763 * @throws SystemException if a system exception occurred 6764 */ 6765 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6766 int start, int end, 6767 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6768 throws com.liferay.portal.kernel.exception.SystemException; 6769 6770 /** 6771 * Removes all the journal articles from the database. 6772 * 6773 * @throws SystemException if a system exception occurred 6774 */ 6775 public void removeAll() 6776 throws com.liferay.portal.kernel.exception.SystemException; 6777 6778 /** 6779 * Returns the number of journal articles. 6780 * 6781 * @return the number of journal articles 6782 * @throws SystemException if a system exception occurred 6783 */ 6784 public int countAll() 6785 throws com.liferay.portal.kernel.exception.SystemException; 6786 }