001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.journal.model.JournalArticle; 022 023 /** 024 * The persistence interface for the journal article service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see JournalArticlePersistenceImpl 032 * @see JournalArticleUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the journal articles where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching journal articles 048 * @throws SystemException if a system exception occurred 049 */ 050 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 051 java.lang.String uuid) 052 throws com.liferay.portal.kernel.exception.SystemException; 053 054 /** 055 * Returns a range of all the journal articles where uuid = ?. 056 * 057 * <p> 058 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 059 * </p> 060 * 061 * @param uuid the uuid 062 * @param start the lower bound of the range of journal articles 063 * @param end the upper bound of the range of journal articles (not inclusive) 064 * @return the range of matching journal articles 065 * @throws SystemException if a system exception occurred 066 */ 067 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 068 java.lang.String uuid, int start, int end) 069 throws com.liferay.portal.kernel.exception.SystemException; 070 071 /** 072 * Returns an ordered range of all the journal articles where uuid = ?. 073 * 074 * <p> 075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 076 * </p> 077 * 078 * @param uuid the uuid 079 * @param start the lower bound of the range of journal articles 080 * @param end the upper bound of the range of journal articles (not inclusive) 081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 082 * @return the ordered range of matching journal articles 083 * @throws SystemException if a system exception occurred 084 */ 085 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 086 java.lang.String uuid, int start, int end, 087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 088 throws com.liferay.portal.kernel.exception.SystemException; 089 090 /** 091 * Returns the first journal article in the ordered set where uuid = ?. 092 * 093 * @param uuid the uuid 094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 095 * @return the first matching journal article 096 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 100 java.lang.String uuid, 101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 102 throws com.liferay.portal.kernel.exception.SystemException, 103 com.liferay.portlet.journal.NoSuchArticleException; 104 105 /** 106 * Returns the first journal article in the ordered set where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 111 * @throws SystemException if a system exception occurred 112 */ 113 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First( 114 java.lang.String uuid, 115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns the last journal article in the ordered set where uuid = ?. 120 * 121 * @param uuid the uuid 122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 123 * @return the last matching journal article 124 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 125 * @throws SystemException if a system exception occurred 126 */ 127 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 128 java.lang.String uuid, 129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 130 throws com.liferay.portal.kernel.exception.SystemException, 131 com.liferay.portlet.journal.NoSuchArticleException; 132 133 /** 134 * Returns the last journal article in the ordered set where uuid = ?. 135 * 136 * @param uuid the uuid 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 139 * @throws SystemException if a system exception occurred 140 */ 141 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last( 142 java.lang.String uuid, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 148 * 149 * @param id the primary key of the current journal article 150 * @param uuid the uuid 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next journal article 153 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 157 long id, java.lang.String uuid, 158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 159 throws com.liferay.portal.kernel.exception.SystemException, 160 com.liferay.portlet.journal.NoSuchArticleException; 161 162 /** 163 * Removes all the journal articles where uuid = ? from the database. 164 * 165 * @param uuid the uuid 166 * @throws SystemException if a system exception occurred 167 */ 168 public void removeByUuid(java.lang.String uuid) 169 throws com.liferay.portal.kernel.exception.SystemException; 170 171 /** 172 * Returns the number of journal articles where uuid = ?. 173 * 174 * @param uuid the uuid 175 * @return the number of matching journal articles 176 * @throws SystemException if a system exception occurred 177 */ 178 public int countByUuid(java.lang.String uuid) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 183 * 184 * @param uuid the uuid 185 * @param groupId the group ID 186 * @return the matching journal article 187 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 188 * @throws SystemException if a system exception occurred 189 */ 190 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 191 java.lang.String uuid, long groupId) 192 throws com.liferay.portal.kernel.exception.SystemException, 193 com.liferay.portlet.journal.NoSuchArticleException; 194 195 /** 196 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 197 * 198 * @param uuid the uuid 199 * @param groupId the group ID 200 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 204 java.lang.String uuid, long groupId) 205 throws com.liferay.portal.kernel.exception.SystemException; 206 207 /** 208 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 209 * 210 * @param uuid the uuid 211 * @param groupId the group ID 212 * @param retrieveFromCache whether to use the finder cache 213 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 214 * @throws SystemException if a system exception occurred 215 */ 216 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 217 java.lang.String uuid, long groupId, boolean retrieveFromCache) 218 throws com.liferay.portal.kernel.exception.SystemException; 219 220 /** 221 * Removes the journal article where uuid = ? and groupId = ? from the database. 222 * 223 * @param uuid the uuid 224 * @param groupId the group ID 225 * @return the journal article that was removed 226 * @throws SystemException if a system exception occurred 227 */ 228 public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G( 229 java.lang.String uuid, long groupId) 230 throws com.liferay.portal.kernel.exception.SystemException, 231 com.liferay.portlet.journal.NoSuchArticleException; 232 233 /** 234 * Returns the number of journal articles where uuid = ? and groupId = ?. 235 * 236 * @param uuid the uuid 237 * @param groupId the group ID 238 * @return the number of matching journal articles 239 * @throws SystemException if a system exception occurred 240 */ 241 public int countByUUID_G(java.lang.String uuid, long groupId) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Returns all the journal articles where uuid = ? and companyId = ?. 246 * 247 * @param uuid the uuid 248 * @param companyId the company ID 249 * @return the matching journal articles 250 * @throws SystemException if a system exception occurred 251 */ 252 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 253 java.lang.String uuid, long companyId) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns a range of all the journal articles where uuid = ? and companyId = ?. 258 * 259 * <p> 260 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 261 * </p> 262 * 263 * @param uuid the uuid 264 * @param companyId the company ID 265 * @param start the lower bound of the range of journal articles 266 * @param end the upper bound of the range of journal articles (not inclusive) 267 * @return the range of matching journal articles 268 * @throws SystemException if a system exception occurred 269 */ 270 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 271 java.lang.String uuid, long companyId, int start, int end) 272 throws com.liferay.portal.kernel.exception.SystemException; 273 274 /** 275 * Returns an ordered range of all the journal articles where uuid = ? and companyId = ?. 276 * 277 * <p> 278 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 279 * </p> 280 * 281 * @param uuid the uuid 282 * @param companyId the company ID 283 * @param start the lower bound of the range of journal articles 284 * @param end the upper bound of the range of journal articles (not inclusive) 285 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 286 * @return the ordered range of matching journal articles 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 290 java.lang.String uuid, long companyId, int start, int end, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException; 293 294 /** 295 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 296 * 297 * @param uuid the uuid 298 * @param companyId the company ID 299 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 300 * @return the first matching journal article 301 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 302 * @throws SystemException if a system exception occurred 303 */ 304 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First( 305 java.lang.String uuid, long companyId, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException, 308 com.liferay.portlet.journal.NoSuchArticleException; 309 310 /** 311 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 312 * 313 * @param uuid the uuid 314 * @param companyId the company ID 315 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 316 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First( 320 java.lang.String uuid, long companyId, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException; 323 324 /** 325 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 326 * 327 * @param uuid the uuid 328 * @param companyId the company ID 329 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 330 * @return the last matching journal article 331 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 332 * @throws SystemException if a system exception occurred 333 */ 334 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last( 335 java.lang.String uuid, long companyId, 336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 337 throws com.liferay.portal.kernel.exception.SystemException, 338 com.liferay.portlet.journal.NoSuchArticleException; 339 340 /** 341 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 342 * 343 * @param uuid the uuid 344 * @param companyId the company ID 345 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 346 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last( 350 java.lang.String uuid, long companyId, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException; 353 354 /** 355 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?. 356 * 357 * @param id the primary key of the current journal article 358 * @param uuid the uuid 359 * @param companyId the company ID 360 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 361 * @return the previous, current, and next journal article 362 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 363 * @throws SystemException if a system exception occurred 364 */ 365 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext( 366 long id, java.lang.String uuid, long companyId, 367 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 368 throws com.liferay.portal.kernel.exception.SystemException, 369 com.liferay.portlet.journal.NoSuchArticleException; 370 371 /** 372 * Removes all the journal articles where uuid = ? and companyId = ? from the database. 373 * 374 * @param uuid the uuid 375 * @param companyId the company ID 376 * @throws SystemException if a system exception occurred 377 */ 378 public void removeByUuid_C(java.lang.String uuid, long companyId) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Returns the number of journal articles where uuid = ? and companyId = ?. 383 * 384 * @param uuid the uuid 385 * @param companyId the company ID 386 * @return the number of matching journal articles 387 * @throws SystemException if a system exception occurred 388 */ 389 public int countByUuid_C(java.lang.String uuid, long companyId) 390 throws com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Returns all the journal articles where resourcePrimKey = ?. 394 * 395 * @param resourcePrimKey the resource prim key 396 * @return the matching journal articles 397 * @throws SystemException if a system exception occurred 398 */ 399 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 400 long resourcePrimKey) 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Returns a range of all the journal articles where resourcePrimKey = ?. 405 * 406 * <p> 407 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 408 * </p> 409 * 410 * @param resourcePrimKey the resource prim key 411 * @param start the lower bound of the range of journal articles 412 * @param end the upper bound of the range of journal articles (not inclusive) 413 * @return the range of matching journal articles 414 * @throws SystemException if a system exception occurred 415 */ 416 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 417 long resourcePrimKey, int start, int end) 418 throws com.liferay.portal.kernel.exception.SystemException; 419 420 /** 421 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 422 * 423 * <p> 424 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 425 * </p> 426 * 427 * @param resourcePrimKey the resource prim key 428 * @param start the lower bound of the range of journal articles 429 * @param end the upper bound of the range of journal articles (not inclusive) 430 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 431 * @return the ordered range of matching journal articles 432 * @throws SystemException if a system exception occurred 433 */ 434 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 435 long resourcePrimKey, int start, int end, 436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 437 throws com.liferay.portal.kernel.exception.SystemException; 438 439 /** 440 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 441 * 442 * @param resourcePrimKey the resource prim key 443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 444 * @return the first matching journal article 445 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 446 * @throws SystemException if a system exception occurred 447 */ 448 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 449 long resourcePrimKey, 450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 451 throws com.liferay.portal.kernel.exception.SystemException, 452 com.liferay.portlet.journal.NoSuchArticleException; 453 454 /** 455 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 456 * 457 * @param resourcePrimKey the resource prim key 458 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 459 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 460 * @throws SystemException if a system exception occurred 461 */ 462 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First( 463 long resourcePrimKey, 464 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 469 * 470 * @param resourcePrimKey the resource prim key 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 472 * @return the last matching journal article 473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 474 * @throws SystemException if a system exception occurred 475 */ 476 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 477 long resourcePrimKey, 478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 479 throws com.liferay.portal.kernel.exception.SystemException, 480 com.liferay.portlet.journal.NoSuchArticleException; 481 482 /** 483 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 484 * 485 * @param resourcePrimKey the resource prim key 486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 487 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 488 * @throws SystemException if a system exception occurred 489 */ 490 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last( 491 long resourcePrimKey, 492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 493 throws com.liferay.portal.kernel.exception.SystemException; 494 495 /** 496 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 497 * 498 * @param id the primary key of the current journal article 499 * @param resourcePrimKey the resource prim key 500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 501 * @return the previous, current, and next journal article 502 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 503 * @throws SystemException if a system exception occurred 504 */ 505 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 506 long id, long resourcePrimKey, 507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 508 throws com.liferay.portal.kernel.exception.SystemException, 509 com.liferay.portlet.journal.NoSuchArticleException; 510 511 /** 512 * Removes all the journal articles where resourcePrimKey = ? from the database. 513 * 514 * @param resourcePrimKey the resource prim key 515 * @throws SystemException if a system exception occurred 516 */ 517 public void removeByResourcePrimKey(long resourcePrimKey) 518 throws com.liferay.portal.kernel.exception.SystemException; 519 520 /** 521 * Returns the number of journal articles where resourcePrimKey = ?. 522 * 523 * @param resourcePrimKey the resource prim key 524 * @return the number of matching journal articles 525 * @throws SystemException if a system exception occurred 526 */ 527 public int countByResourcePrimKey(long resourcePrimKey) 528 throws com.liferay.portal.kernel.exception.SystemException; 529 530 /** 531 * Returns all the journal articles where groupId = ?. 532 * 533 * @param groupId the group ID 534 * @return the matching journal articles 535 * @throws SystemException if a system exception occurred 536 */ 537 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 538 long groupId) 539 throws com.liferay.portal.kernel.exception.SystemException; 540 541 /** 542 * Returns a range of all the journal articles where groupId = ?. 543 * 544 * <p> 545 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 546 * </p> 547 * 548 * @param groupId the group ID 549 * @param start the lower bound of the range of journal articles 550 * @param end the upper bound of the range of journal articles (not inclusive) 551 * @return the range of matching journal articles 552 * @throws SystemException if a system exception occurred 553 */ 554 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 555 long groupId, int start, int end) 556 throws com.liferay.portal.kernel.exception.SystemException; 557 558 /** 559 * Returns an ordered range of all the journal articles where groupId = ?. 560 * 561 * <p> 562 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 563 * </p> 564 * 565 * @param groupId the group ID 566 * @param start the lower bound of the range of journal articles 567 * @param end the upper bound of the range of journal articles (not inclusive) 568 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 569 * @return the ordered range of matching journal articles 570 * @throws SystemException if a system exception occurred 571 */ 572 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 573 long groupId, int start, int end, 574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 575 throws com.liferay.portal.kernel.exception.SystemException; 576 577 /** 578 * Returns the first journal article in the ordered set where groupId = ?. 579 * 580 * @param groupId the group ID 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the first matching journal article 583 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 587 long groupId, 588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 589 throws com.liferay.portal.kernel.exception.SystemException, 590 com.liferay.portlet.journal.NoSuchArticleException; 591 592 /** 593 * Returns the first journal article in the ordered set where groupId = ?. 594 * 595 * @param groupId the group ID 596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 597 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 598 * @throws SystemException if a system exception occurred 599 */ 600 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First( 601 long groupId, 602 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 603 throws com.liferay.portal.kernel.exception.SystemException; 604 605 /** 606 * Returns the last journal article in the ordered set where groupId = ?. 607 * 608 * @param groupId the group ID 609 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 610 * @return the last matching journal article 611 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 612 * @throws SystemException if a system exception occurred 613 */ 614 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 615 long groupId, 616 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 617 throws com.liferay.portal.kernel.exception.SystemException, 618 com.liferay.portlet.journal.NoSuchArticleException; 619 620 /** 621 * Returns the last journal article in the ordered set where groupId = ?. 622 * 623 * @param groupId the group ID 624 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 625 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 626 * @throws SystemException if a system exception occurred 627 */ 628 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last( 629 long groupId, 630 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 631 throws com.liferay.portal.kernel.exception.SystemException; 632 633 /** 634 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 635 * 636 * @param id the primary key of the current journal article 637 * @param groupId the group ID 638 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 639 * @return the previous, current, and next journal article 640 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 641 * @throws SystemException if a system exception occurred 642 */ 643 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 644 long id, long groupId, 645 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 646 throws com.liferay.portal.kernel.exception.SystemException, 647 com.liferay.portlet.journal.NoSuchArticleException; 648 649 /** 650 * Returns all the journal articles that the user has permission to view where groupId = ?. 651 * 652 * @param groupId the group ID 653 * @return the matching journal articles that the user has permission to view 654 * @throws SystemException if a system exception occurred 655 */ 656 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 657 long groupId) 658 throws com.liferay.portal.kernel.exception.SystemException; 659 660 /** 661 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 662 * 663 * <p> 664 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 665 * </p> 666 * 667 * @param groupId the group ID 668 * @param start the lower bound of the range of journal articles 669 * @param end the upper bound of the range of journal articles (not inclusive) 670 * @return the range of matching journal articles that the user has permission to view 671 * @throws SystemException if a system exception occurred 672 */ 673 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 674 long groupId, int start, int end) 675 throws com.liferay.portal.kernel.exception.SystemException; 676 677 /** 678 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 679 * 680 * <p> 681 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 682 * </p> 683 * 684 * @param groupId the group ID 685 * @param start the lower bound of the range of journal articles 686 * @param end the upper bound of the range of journal articles (not inclusive) 687 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 688 * @return the ordered range of matching journal articles that the user has permission to view 689 * @throws SystemException if a system exception occurred 690 */ 691 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 692 long groupId, int start, int end, 693 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 694 throws com.liferay.portal.kernel.exception.SystemException; 695 696 /** 697 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?. 698 * 699 * @param id the primary key of the current journal article 700 * @param groupId the group ID 701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 702 * @return the previous, current, and next journal article 703 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 704 * @throws SystemException if a system exception occurred 705 */ 706 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 707 long id, long groupId, 708 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 709 throws com.liferay.portal.kernel.exception.SystemException, 710 com.liferay.portlet.journal.NoSuchArticleException; 711 712 /** 713 * Removes all the journal articles where groupId = ? from the database. 714 * 715 * @param groupId the group ID 716 * @throws SystemException if a system exception occurred 717 */ 718 public void removeByGroupId(long groupId) 719 throws com.liferay.portal.kernel.exception.SystemException; 720 721 /** 722 * Returns the number of journal articles where groupId = ?. 723 * 724 * @param groupId the group ID 725 * @return the number of matching journal articles 726 * @throws SystemException if a system exception occurred 727 */ 728 public int countByGroupId(long groupId) 729 throws com.liferay.portal.kernel.exception.SystemException; 730 731 /** 732 * Returns the number of journal articles that the user has permission to view where groupId = ?. 733 * 734 * @param groupId the group ID 735 * @return the number of matching journal articles that the user has permission to view 736 * @throws SystemException if a system exception occurred 737 */ 738 public int filterCountByGroupId(long groupId) 739 throws com.liferay.portal.kernel.exception.SystemException; 740 741 /** 742 * Returns all the journal articles where companyId = ?. 743 * 744 * @param companyId the company ID 745 * @return the matching journal articles 746 * @throws SystemException if a system exception occurred 747 */ 748 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 749 long companyId) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Returns a range of all the journal articles where companyId = ?. 754 * 755 * <p> 756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 757 * </p> 758 * 759 * @param companyId the company ID 760 * @param start the lower bound of the range of journal articles 761 * @param end the upper bound of the range of journal articles (not inclusive) 762 * @return the range of matching journal articles 763 * @throws SystemException if a system exception occurred 764 */ 765 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 766 long companyId, int start, int end) 767 throws com.liferay.portal.kernel.exception.SystemException; 768 769 /** 770 * Returns an ordered range of all the journal articles where companyId = ?. 771 * 772 * <p> 773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 774 * </p> 775 * 776 * @param companyId the company ID 777 * @param start the lower bound of the range of journal articles 778 * @param end the upper bound of the range of journal articles (not inclusive) 779 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 780 * @return the ordered range of matching journal articles 781 * @throws SystemException if a system exception occurred 782 */ 783 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 784 long companyId, int start, int end, 785 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 786 throws com.liferay.portal.kernel.exception.SystemException; 787 788 /** 789 * Returns the first journal article in the ordered set where companyId = ?. 790 * 791 * @param companyId the company ID 792 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 793 * @return the first matching journal article 794 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 795 * @throws SystemException if a system exception occurred 796 */ 797 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 798 long companyId, 799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 800 throws com.liferay.portal.kernel.exception.SystemException, 801 com.liferay.portlet.journal.NoSuchArticleException; 802 803 /** 804 * Returns the first journal article in the ordered set where companyId = ?. 805 * 806 * @param companyId the company ID 807 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 808 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 809 * @throws SystemException if a system exception occurred 810 */ 811 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First( 812 long companyId, 813 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 814 throws com.liferay.portal.kernel.exception.SystemException; 815 816 /** 817 * Returns the last journal article in the ordered set where companyId = ?. 818 * 819 * @param companyId the company ID 820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 821 * @return the last matching journal article 822 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 826 long companyId, 827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 828 throws com.liferay.portal.kernel.exception.SystemException, 829 com.liferay.portlet.journal.NoSuchArticleException; 830 831 /** 832 * Returns the last journal article in the ordered set where companyId = ?. 833 * 834 * @param companyId the company ID 835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 836 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 837 * @throws SystemException if a system exception occurred 838 */ 839 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last( 840 long companyId, 841 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 842 throws com.liferay.portal.kernel.exception.SystemException; 843 844 /** 845 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 846 * 847 * @param id the primary key of the current journal article 848 * @param companyId the company ID 849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 850 * @return the previous, current, and next journal article 851 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 852 * @throws SystemException if a system exception occurred 853 */ 854 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 855 long id, long companyId, 856 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 857 throws com.liferay.portal.kernel.exception.SystemException, 858 com.liferay.portlet.journal.NoSuchArticleException; 859 860 /** 861 * Removes all the journal articles where companyId = ? from the database. 862 * 863 * @param companyId the company ID 864 * @throws SystemException if a system exception occurred 865 */ 866 public void removeByCompanyId(long companyId) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * Returns the number of journal articles where companyId = ?. 871 * 872 * @param companyId the company ID 873 * @return the number of matching journal articles 874 * @throws SystemException if a system exception occurred 875 */ 876 public int countByCompanyId(long companyId) 877 throws com.liferay.portal.kernel.exception.SystemException; 878 879 /** 880 * Returns all the journal articles where structureId = ?. 881 * 882 * @param structureId the structure ID 883 * @return the matching journal articles 884 * @throws SystemException if a system exception occurred 885 */ 886 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 887 java.lang.String structureId) 888 throws com.liferay.portal.kernel.exception.SystemException; 889 890 /** 891 * Returns a range of all the journal articles where structureId = ?. 892 * 893 * <p> 894 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 895 * </p> 896 * 897 * @param structureId the structure ID 898 * @param start the lower bound of the range of journal articles 899 * @param end the upper bound of the range of journal articles (not inclusive) 900 * @return the range of matching journal articles 901 * @throws SystemException if a system exception occurred 902 */ 903 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 904 java.lang.String structureId, int start, int end) 905 throws com.liferay.portal.kernel.exception.SystemException; 906 907 /** 908 * Returns an ordered range of all the journal articles where structureId = ?. 909 * 910 * <p> 911 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 912 * </p> 913 * 914 * @param structureId the structure ID 915 * @param start the lower bound of the range of journal articles 916 * @param end the upper bound of the range of journal articles (not inclusive) 917 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 918 * @return the ordered range of matching journal articles 919 * @throws SystemException if a system exception occurred 920 */ 921 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 922 java.lang.String structureId, int start, int end, 923 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 924 throws com.liferay.portal.kernel.exception.SystemException; 925 926 /** 927 * Returns the first journal article in the ordered set where structureId = ?. 928 * 929 * @param structureId the structure ID 930 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 931 * @return the first matching journal article 932 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 933 * @throws SystemException if a system exception occurred 934 */ 935 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First( 936 java.lang.String structureId, 937 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 938 throws com.liferay.portal.kernel.exception.SystemException, 939 com.liferay.portlet.journal.NoSuchArticleException; 940 941 /** 942 * Returns the first journal article in the ordered set where structureId = ?. 943 * 944 * @param structureId the structure ID 945 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 946 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 947 * @throws SystemException if a system exception occurred 948 */ 949 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First( 950 java.lang.String structureId, 951 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 952 throws com.liferay.portal.kernel.exception.SystemException; 953 954 /** 955 * Returns the last journal article in the ordered set where structureId = ?. 956 * 957 * @param structureId the structure ID 958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 959 * @return the last matching journal article 960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 961 * @throws SystemException if a system exception occurred 962 */ 963 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last( 964 java.lang.String structureId, 965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 966 throws com.liferay.portal.kernel.exception.SystemException, 967 com.liferay.portlet.journal.NoSuchArticleException; 968 969 /** 970 * Returns the last journal article in the ordered set where structureId = ?. 971 * 972 * @param structureId the structure ID 973 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 974 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 975 * @throws SystemException if a system exception occurred 976 */ 977 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last( 978 java.lang.String structureId, 979 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 980 throws com.liferay.portal.kernel.exception.SystemException; 981 982 /** 983 * Returns the journal articles before and after the current journal article in the ordered set where structureId = ?. 984 * 985 * @param id the primary key of the current journal article 986 * @param structureId the structure ID 987 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 988 * @return the previous, current, and next journal article 989 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 990 * @throws SystemException if a system exception occurred 991 */ 992 public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext( 993 long id, java.lang.String structureId, 994 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 995 throws com.liferay.portal.kernel.exception.SystemException, 996 com.liferay.portlet.journal.NoSuchArticleException; 997 998 /** 999 * Returns all the journal articles where structureId = any ?. 1000 * 1001 * <p> 1002 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1003 * </p> 1004 * 1005 * @param structureIds the structure IDs 1006 * @return the matching journal articles 1007 * @throws SystemException if a system exception occurred 1008 */ 1009 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 1010 java.lang.String[] structureIds) 1011 throws com.liferay.portal.kernel.exception.SystemException; 1012 1013 /** 1014 * Returns a range of all the journal articles where structureId = any ?. 1015 * 1016 * <p> 1017 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1018 * </p> 1019 * 1020 * @param structureIds the structure IDs 1021 * @param start the lower bound of the range of journal articles 1022 * @param end the upper bound of the range of journal articles (not inclusive) 1023 * @return the range of matching journal articles 1024 * @throws SystemException if a system exception occurred 1025 */ 1026 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 1027 java.lang.String[] structureIds, int start, int end) 1028 throws com.liferay.portal.kernel.exception.SystemException; 1029 1030 /** 1031 * Returns an ordered range of all the journal articles where structureId = any ?. 1032 * 1033 * <p> 1034 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1035 * </p> 1036 * 1037 * @param structureIds the structure IDs 1038 * @param start the lower bound of the range of journal articles 1039 * @param end the upper bound of the range of journal articles (not inclusive) 1040 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1041 * @return the ordered range of matching journal articles 1042 * @throws SystemException if a system exception occurred 1043 */ 1044 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 1045 java.lang.String[] structureIds, int start, int end, 1046 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1047 throws com.liferay.portal.kernel.exception.SystemException; 1048 1049 /** 1050 * Removes all the journal articles where structureId = ? from the database. 1051 * 1052 * @param structureId the structure ID 1053 * @throws SystemException if a system exception occurred 1054 */ 1055 public void removeByStructureId(java.lang.String structureId) 1056 throws com.liferay.portal.kernel.exception.SystemException; 1057 1058 /** 1059 * Returns the number of journal articles where structureId = ?. 1060 * 1061 * @param structureId the structure ID 1062 * @return the number of matching journal articles 1063 * @throws SystemException if a system exception occurred 1064 */ 1065 public int countByStructureId(java.lang.String structureId) 1066 throws com.liferay.portal.kernel.exception.SystemException; 1067 1068 /** 1069 * Returns the number of journal articles where structureId = any ?. 1070 * 1071 * @param structureIds the structure IDs 1072 * @return the number of matching journal articles 1073 * @throws SystemException if a system exception occurred 1074 */ 1075 public int countByStructureId(java.lang.String[] structureIds) 1076 throws com.liferay.portal.kernel.exception.SystemException; 1077 1078 /** 1079 * Returns all the journal articles where templateId = ?. 1080 * 1081 * @param templateId the template ID 1082 * @return the matching journal articles 1083 * @throws SystemException if a system exception occurred 1084 */ 1085 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1086 java.lang.String templateId) 1087 throws com.liferay.portal.kernel.exception.SystemException; 1088 1089 /** 1090 * Returns a range of all the journal articles where templateId = ?. 1091 * 1092 * <p> 1093 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1094 * </p> 1095 * 1096 * @param templateId the template ID 1097 * @param start the lower bound of the range of journal articles 1098 * @param end the upper bound of the range of journal articles (not inclusive) 1099 * @return the range of matching journal articles 1100 * @throws SystemException if a system exception occurred 1101 */ 1102 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1103 java.lang.String templateId, int start, int end) 1104 throws com.liferay.portal.kernel.exception.SystemException; 1105 1106 /** 1107 * Returns an ordered range of all the journal articles where templateId = ?. 1108 * 1109 * <p> 1110 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1111 * </p> 1112 * 1113 * @param templateId the template ID 1114 * @param start the lower bound of the range of journal articles 1115 * @param end the upper bound of the range of journal articles (not inclusive) 1116 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1117 * @return the ordered range of matching journal articles 1118 * @throws SystemException if a system exception occurred 1119 */ 1120 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1121 java.lang.String templateId, int start, int end, 1122 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1123 throws com.liferay.portal.kernel.exception.SystemException; 1124 1125 /** 1126 * Returns the first journal article in the ordered set where templateId = ?. 1127 * 1128 * @param templateId the template ID 1129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1130 * @return the first matching journal article 1131 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1132 * @throws SystemException if a system exception occurred 1133 */ 1134 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 1135 java.lang.String templateId, 1136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1137 throws com.liferay.portal.kernel.exception.SystemException, 1138 com.liferay.portlet.journal.NoSuchArticleException; 1139 1140 /** 1141 * Returns the first journal article in the ordered set where templateId = ?. 1142 * 1143 * @param templateId the template ID 1144 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1145 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1146 * @throws SystemException if a system exception occurred 1147 */ 1148 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First( 1149 java.lang.String templateId, 1150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1151 throws com.liferay.portal.kernel.exception.SystemException; 1152 1153 /** 1154 * Returns the last journal article in the ordered set where templateId = ?. 1155 * 1156 * @param templateId the template ID 1157 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1158 * @return the last matching journal article 1159 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1160 * @throws SystemException if a system exception occurred 1161 */ 1162 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 1163 java.lang.String templateId, 1164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1165 throws com.liferay.portal.kernel.exception.SystemException, 1166 com.liferay.portlet.journal.NoSuchArticleException; 1167 1168 /** 1169 * Returns the last journal article in the ordered set where templateId = ?. 1170 * 1171 * @param templateId the template ID 1172 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1173 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1174 * @throws SystemException if a system exception occurred 1175 */ 1176 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last( 1177 java.lang.String templateId, 1178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1179 throws com.liferay.portal.kernel.exception.SystemException; 1180 1181 /** 1182 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 1183 * 1184 * @param id the primary key of the current journal article 1185 * @param templateId the template ID 1186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1187 * @return the previous, current, and next journal article 1188 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1189 * @throws SystemException if a system exception occurred 1190 */ 1191 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 1192 long id, java.lang.String templateId, 1193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1194 throws com.liferay.portal.kernel.exception.SystemException, 1195 com.liferay.portlet.journal.NoSuchArticleException; 1196 1197 /** 1198 * Removes all the journal articles where templateId = ? from the database. 1199 * 1200 * @param templateId the template ID 1201 * @throws SystemException if a system exception occurred 1202 */ 1203 public void removeByTemplateId(java.lang.String templateId) 1204 throws com.liferay.portal.kernel.exception.SystemException; 1205 1206 /** 1207 * Returns the number of journal articles where templateId = ?. 1208 * 1209 * @param templateId the template ID 1210 * @return the number of matching journal articles 1211 * @throws SystemException if a system exception occurred 1212 */ 1213 public int countByTemplateId(java.lang.String templateId) 1214 throws com.liferay.portal.kernel.exception.SystemException; 1215 1216 /** 1217 * Returns all the journal articles where layoutUuid = ?. 1218 * 1219 * @param layoutUuid the layout uuid 1220 * @return the matching journal articles 1221 * @throws SystemException if a system exception occurred 1222 */ 1223 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1224 java.lang.String layoutUuid) 1225 throws com.liferay.portal.kernel.exception.SystemException; 1226 1227 /** 1228 * Returns a range of all the journal articles where layoutUuid = ?. 1229 * 1230 * <p> 1231 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1232 * </p> 1233 * 1234 * @param layoutUuid the layout uuid 1235 * @param start the lower bound of the range of journal articles 1236 * @param end the upper bound of the range of journal articles (not inclusive) 1237 * @return the range of matching journal articles 1238 * @throws SystemException if a system exception occurred 1239 */ 1240 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1241 java.lang.String layoutUuid, int start, int end) 1242 throws com.liferay.portal.kernel.exception.SystemException; 1243 1244 /** 1245 * Returns an ordered range of all the journal articles where layoutUuid = ?. 1246 * 1247 * <p> 1248 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1249 * </p> 1250 * 1251 * @param layoutUuid the layout uuid 1252 * @param start the lower bound of the range of journal articles 1253 * @param end the upper bound of the range of journal articles (not inclusive) 1254 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1255 * @return the ordered range of matching journal articles 1256 * @throws SystemException if a system exception occurred 1257 */ 1258 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1259 java.lang.String layoutUuid, int start, int end, 1260 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1261 throws com.liferay.portal.kernel.exception.SystemException; 1262 1263 /** 1264 * Returns the first journal article in the ordered set where layoutUuid = ?. 1265 * 1266 * @param layoutUuid the layout uuid 1267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1268 * @return the first matching journal article 1269 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1270 * @throws SystemException if a system exception occurred 1271 */ 1272 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First( 1273 java.lang.String layoutUuid, 1274 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1275 throws com.liferay.portal.kernel.exception.SystemException, 1276 com.liferay.portlet.journal.NoSuchArticleException; 1277 1278 /** 1279 * Returns the first journal article in the ordered set where layoutUuid = ?. 1280 * 1281 * @param layoutUuid the layout uuid 1282 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1283 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1284 * @throws SystemException if a system exception occurred 1285 */ 1286 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First( 1287 java.lang.String layoutUuid, 1288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1289 throws com.liferay.portal.kernel.exception.SystemException; 1290 1291 /** 1292 * Returns the last journal article in the ordered set where layoutUuid = ?. 1293 * 1294 * @param layoutUuid the layout uuid 1295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1296 * @return the last matching journal article 1297 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1298 * @throws SystemException if a system exception occurred 1299 */ 1300 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last( 1301 java.lang.String layoutUuid, 1302 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1303 throws com.liferay.portal.kernel.exception.SystemException, 1304 com.liferay.portlet.journal.NoSuchArticleException; 1305 1306 /** 1307 * Returns the last journal article in the ordered set where layoutUuid = ?. 1308 * 1309 * @param layoutUuid the layout uuid 1310 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1311 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1312 * @throws SystemException if a system exception occurred 1313 */ 1314 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last( 1315 java.lang.String layoutUuid, 1316 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1317 throws com.liferay.portal.kernel.exception.SystemException; 1318 1319 /** 1320 * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?. 1321 * 1322 * @param id the primary key of the current journal article 1323 * @param layoutUuid the layout uuid 1324 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1325 * @return the previous, current, and next journal article 1326 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1327 * @throws SystemException if a system exception occurred 1328 */ 1329 public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext( 1330 long id, java.lang.String layoutUuid, 1331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1332 throws com.liferay.portal.kernel.exception.SystemException, 1333 com.liferay.portlet.journal.NoSuchArticleException; 1334 1335 /** 1336 * Removes all the journal articles where layoutUuid = ? from the database. 1337 * 1338 * @param layoutUuid the layout uuid 1339 * @throws SystemException if a system exception occurred 1340 */ 1341 public void removeByLayoutUuid(java.lang.String layoutUuid) 1342 throws com.liferay.portal.kernel.exception.SystemException; 1343 1344 /** 1345 * Returns the number of journal articles where layoutUuid = ?. 1346 * 1347 * @param layoutUuid the layout uuid 1348 * @return the number of matching journal articles 1349 * @throws SystemException if a system exception occurred 1350 */ 1351 public int countByLayoutUuid(java.lang.String layoutUuid) 1352 throws com.liferay.portal.kernel.exception.SystemException; 1353 1354 /** 1355 * Returns all the journal articles where smallImageId = ?. 1356 * 1357 * @param smallImageId the small image ID 1358 * @return the matching journal articles 1359 * @throws SystemException if a system exception occurred 1360 */ 1361 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1362 long smallImageId) 1363 throws com.liferay.portal.kernel.exception.SystemException; 1364 1365 /** 1366 * Returns a range of all the journal articles where smallImageId = ?. 1367 * 1368 * <p> 1369 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1370 * </p> 1371 * 1372 * @param smallImageId the small image ID 1373 * @param start the lower bound of the range of journal articles 1374 * @param end the upper bound of the range of journal articles (not inclusive) 1375 * @return the range of matching journal articles 1376 * @throws SystemException if a system exception occurred 1377 */ 1378 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1379 long smallImageId, int start, int end) 1380 throws com.liferay.portal.kernel.exception.SystemException; 1381 1382 /** 1383 * Returns an ordered range of all the journal articles where smallImageId = ?. 1384 * 1385 * <p> 1386 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1387 * </p> 1388 * 1389 * @param smallImageId the small image ID 1390 * @param start the lower bound of the range of journal articles 1391 * @param end the upper bound of the range of journal articles (not inclusive) 1392 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1393 * @return the ordered range of matching journal articles 1394 * @throws SystemException if a system exception occurred 1395 */ 1396 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1397 long smallImageId, int start, int end, 1398 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1399 throws com.liferay.portal.kernel.exception.SystemException; 1400 1401 /** 1402 * Returns the first journal article in the ordered set where smallImageId = ?. 1403 * 1404 * @param smallImageId the small image ID 1405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1406 * @return the first matching journal article 1407 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1408 * @throws SystemException if a system exception occurred 1409 */ 1410 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 1411 long smallImageId, 1412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1413 throws com.liferay.portal.kernel.exception.SystemException, 1414 com.liferay.portlet.journal.NoSuchArticleException; 1415 1416 /** 1417 * Returns the first journal article in the ordered set where smallImageId = ?. 1418 * 1419 * @param smallImageId the small image ID 1420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1421 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1422 * @throws SystemException if a system exception occurred 1423 */ 1424 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 1425 long smallImageId, 1426 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1427 throws com.liferay.portal.kernel.exception.SystemException; 1428 1429 /** 1430 * Returns the last journal article in the ordered set where smallImageId = ?. 1431 * 1432 * @param smallImageId the small image ID 1433 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1434 * @return the last matching journal article 1435 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1436 * @throws SystemException if a system exception occurred 1437 */ 1438 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1439 long smallImageId, 1440 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1441 throws com.liferay.portal.kernel.exception.SystemException, 1442 com.liferay.portlet.journal.NoSuchArticleException; 1443 1444 /** 1445 * Returns the last journal article in the ordered set where smallImageId = ?. 1446 * 1447 * @param smallImageId the small image ID 1448 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1449 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1450 * @throws SystemException if a system exception occurred 1451 */ 1452 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1453 long smallImageId, 1454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1455 throws com.liferay.portal.kernel.exception.SystemException; 1456 1457 /** 1458 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1459 * 1460 * @param id the primary key of the current journal article 1461 * @param smallImageId the small image ID 1462 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1463 * @return the previous, current, and next journal article 1464 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1465 * @throws SystemException if a system exception occurred 1466 */ 1467 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1468 long id, long smallImageId, 1469 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1470 throws com.liferay.portal.kernel.exception.SystemException, 1471 com.liferay.portlet.journal.NoSuchArticleException; 1472 1473 /** 1474 * Removes all the journal articles where smallImageId = ? from the database. 1475 * 1476 * @param smallImageId the small image ID 1477 * @throws SystemException if a system exception occurred 1478 */ 1479 public void removeBySmallImageId(long smallImageId) 1480 throws com.liferay.portal.kernel.exception.SystemException; 1481 1482 /** 1483 * Returns the number of journal articles where smallImageId = ?. 1484 * 1485 * @param smallImageId the small image ID 1486 * @return the number of matching journal articles 1487 * @throws SystemException if a system exception occurred 1488 */ 1489 public int countBySmallImageId(long smallImageId) 1490 throws com.liferay.portal.kernel.exception.SystemException; 1491 1492 /** 1493 * Returns all the journal articles where resourcePrimKey = ? and indexable = ?. 1494 * 1495 * @param resourcePrimKey the resource prim key 1496 * @param indexable the indexable 1497 * @return the matching journal articles 1498 * @throws SystemException if a system exception occurred 1499 */ 1500 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1501 long resourcePrimKey, boolean indexable) 1502 throws com.liferay.portal.kernel.exception.SystemException; 1503 1504 /** 1505 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1506 * 1507 * <p> 1508 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1509 * </p> 1510 * 1511 * @param resourcePrimKey the resource prim key 1512 * @param indexable the indexable 1513 * @param start the lower bound of the range of journal articles 1514 * @param end the upper bound of the range of journal articles (not inclusive) 1515 * @return the range of matching journal articles 1516 * @throws SystemException if a system exception occurred 1517 */ 1518 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1519 long resourcePrimKey, boolean indexable, int start, int end) 1520 throws com.liferay.portal.kernel.exception.SystemException; 1521 1522 /** 1523 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1524 * 1525 * <p> 1526 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1527 * </p> 1528 * 1529 * @param resourcePrimKey the resource prim key 1530 * @param indexable the indexable 1531 * @param start the lower bound of the range of journal articles 1532 * @param end the upper bound of the range of journal articles (not inclusive) 1533 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1534 * @return the ordered range of matching journal articles 1535 * @throws SystemException if a system exception occurred 1536 */ 1537 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1538 long resourcePrimKey, boolean indexable, int start, int end, 1539 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1540 throws com.liferay.portal.kernel.exception.SystemException; 1541 1542 /** 1543 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1544 * 1545 * @param resourcePrimKey the resource prim key 1546 * @param indexable the indexable 1547 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1548 * @return the first matching journal article 1549 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1550 * @throws SystemException if a system exception occurred 1551 */ 1552 public com.liferay.portlet.journal.model.JournalArticle findByR_I_First( 1553 long resourcePrimKey, boolean indexable, 1554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1555 throws com.liferay.portal.kernel.exception.SystemException, 1556 com.liferay.portlet.journal.NoSuchArticleException; 1557 1558 /** 1559 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1560 * 1561 * @param resourcePrimKey the resource prim key 1562 * @param indexable the indexable 1563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1564 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1565 * @throws SystemException if a system exception occurred 1566 */ 1567 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_First( 1568 long resourcePrimKey, boolean indexable, 1569 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1570 throws com.liferay.portal.kernel.exception.SystemException; 1571 1572 /** 1573 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1574 * 1575 * @param resourcePrimKey the resource prim key 1576 * @param indexable the indexable 1577 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1578 * @return the last matching journal article 1579 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1580 * @throws SystemException if a system exception occurred 1581 */ 1582 public com.liferay.portlet.journal.model.JournalArticle findByR_I_Last( 1583 long resourcePrimKey, boolean indexable, 1584 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1585 throws com.liferay.portal.kernel.exception.SystemException, 1586 com.liferay.portlet.journal.NoSuchArticleException; 1587 1588 /** 1589 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1590 * 1591 * @param resourcePrimKey the resource prim key 1592 * @param indexable the indexable 1593 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1594 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1595 * @throws SystemException if a system exception occurred 1596 */ 1597 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_Last( 1598 long resourcePrimKey, boolean indexable, 1599 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1600 throws com.liferay.portal.kernel.exception.SystemException; 1601 1602 /** 1603 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1604 * 1605 * @param id the primary key of the current journal article 1606 * @param resourcePrimKey the resource prim key 1607 * @param indexable the indexable 1608 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1609 * @return the previous, current, and next journal article 1610 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1611 * @throws SystemException if a system exception occurred 1612 */ 1613 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_PrevAndNext( 1614 long id, long resourcePrimKey, boolean indexable, 1615 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1616 throws com.liferay.portal.kernel.exception.SystemException, 1617 com.liferay.portlet.journal.NoSuchArticleException; 1618 1619 /** 1620 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database. 1621 * 1622 * @param resourcePrimKey the resource prim key 1623 * @param indexable the indexable 1624 * @throws SystemException if a system exception occurred 1625 */ 1626 public void removeByR_I(long resourcePrimKey, boolean indexable) 1627 throws com.liferay.portal.kernel.exception.SystemException; 1628 1629 /** 1630 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ?. 1631 * 1632 * @param resourcePrimKey the resource prim key 1633 * @param indexable the indexable 1634 * @return the number of matching journal articles 1635 * @throws SystemException if a system exception occurred 1636 */ 1637 public int countByR_I(long resourcePrimKey, boolean indexable) 1638 throws com.liferay.portal.kernel.exception.SystemException; 1639 1640 /** 1641 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1642 * 1643 * @param resourcePrimKey the resource prim key 1644 * @param status the status 1645 * @return the matching journal articles 1646 * @throws SystemException if a system exception occurred 1647 */ 1648 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1649 long resourcePrimKey, int status) 1650 throws com.liferay.portal.kernel.exception.SystemException; 1651 1652 /** 1653 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1654 * 1655 * <p> 1656 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1657 * </p> 1658 * 1659 * @param resourcePrimKey the resource prim key 1660 * @param status the status 1661 * @param start the lower bound of the range of journal articles 1662 * @param end the upper bound of the range of journal articles (not inclusive) 1663 * @return the range of matching journal articles 1664 * @throws SystemException if a system exception occurred 1665 */ 1666 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1667 long resourcePrimKey, int status, int start, int end) 1668 throws com.liferay.portal.kernel.exception.SystemException; 1669 1670 /** 1671 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1672 * 1673 * <p> 1674 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1675 * </p> 1676 * 1677 * @param resourcePrimKey the resource prim key 1678 * @param status the status 1679 * @param start the lower bound of the range of journal articles 1680 * @param end the upper bound of the range of journal articles (not inclusive) 1681 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1682 * @return the ordered range of matching journal articles 1683 * @throws SystemException if a system exception occurred 1684 */ 1685 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1686 long resourcePrimKey, int status, int start, int end, 1687 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1688 throws com.liferay.portal.kernel.exception.SystemException; 1689 1690 /** 1691 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1692 * 1693 * @param resourcePrimKey the resource prim key 1694 * @param status the status 1695 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1696 * @return the first matching journal article 1697 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1698 * @throws SystemException if a system exception occurred 1699 */ 1700 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1701 long resourcePrimKey, int status, 1702 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1703 throws com.liferay.portal.kernel.exception.SystemException, 1704 com.liferay.portlet.journal.NoSuchArticleException; 1705 1706 /** 1707 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1708 * 1709 * @param resourcePrimKey the resource prim key 1710 * @param status the status 1711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1712 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1713 * @throws SystemException if a system exception occurred 1714 */ 1715 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1716 long resourcePrimKey, int status, 1717 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1718 throws com.liferay.portal.kernel.exception.SystemException; 1719 1720 /** 1721 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1722 * 1723 * @param resourcePrimKey the resource prim key 1724 * @param status the status 1725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1726 * @return the last matching journal article 1727 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1728 * @throws SystemException if a system exception occurred 1729 */ 1730 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1731 long resourcePrimKey, int status, 1732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1733 throws com.liferay.portal.kernel.exception.SystemException, 1734 com.liferay.portlet.journal.NoSuchArticleException; 1735 1736 /** 1737 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1738 * 1739 * @param resourcePrimKey the resource prim key 1740 * @param status the status 1741 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1742 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1743 * @throws SystemException if a system exception occurred 1744 */ 1745 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1746 long resourcePrimKey, int status, 1747 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1748 throws com.liferay.portal.kernel.exception.SystemException; 1749 1750 /** 1751 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1752 * 1753 * @param id the primary key of the current journal article 1754 * @param resourcePrimKey the resource prim key 1755 * @param status the status 1756 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1757 * @return the previous, current, and next journal article 1758 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1759 * @throws SystemException if a system exception occurred 1760 */ 1761 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1762 long id, long resourcePrimKey, int status, 1763 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1764 throws com.liferay.portal.kernel.exception.SystemException, 1765 com.liferay.portlet.journal.NoSuchArticleException; 1766 1767 /** 1768 * Returns all the journal articles where resourcePrimKey = ? and status = any ?. 1769 * 1770 * <p> 1771 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1772 * </p> 1773 * 1774 * @param resourcePrimKey the resource prim key 1775 * @param statuses the statuses 1776 * @return the matching journal articles 1777 * @throws SystemException if a system exception occurred 1778 */ 1779 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1780 long resourcePrimKey, int[] statuses) 1781 throws com.liferay.portal.kernel.exception.SystemException; 1782 1783 /** 1784 * Returns a range of all the journal articles where resourcePrimKey = ? and status = any ?. 1785 * 1786 * <p> 1787 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1788 * </p> 1789 * 1790 * @param resourcePrimKey the resource prim key 1791 * @param statuses the statuses 1792 * @param start the lower bound of the range of journal articles 1793 * @param end the upper bound of the range of journal articles (not inclusive) 1794 * @return the range of matching journal articles 1795 * @throws SystemException if a system exception occurred 1796 */ 1797 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1798 long resourcePrimKey, int[] statuses, int start, int end) 1799 throws com.liferay.portal.kernel.exception.SystemException; 1800 1801 /** 1802 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = any ?. 1803 * 1804 * <p> 1805 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1806 * </p> 1807 * 1808 * @param resourcePrimKey the resource prim key 1809 * @param statuses the statuses 1810 * @param start the lower bound of the range of journal articles 1811 * @param end the upper bound of the range of journal articles (not inclusive) 1812 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1813 * @return the ordered range of matching journal articles 1814 * @throws SystemException if a system exception occurred 1815 */ 1816 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1817 long resourcePrimKey, int[] statuses, int start, int end, 1818 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1819 throws com.liferay.portal.kernel.exception.SystemException; 1820 1821 /** 1822 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 1823 * 1824 * @param resourcePrimKey the resource prim key 1825 * @param status the status 1826 * @throws SystemException if a system exception occurred 1827 */ 1828 public void removeByR_ST(long resourcePrimKey, int status) 1829 throws com.liferay.portal.kernel.exception.SystemException; 1830 1831 /** 1832 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 1833 * 1834 * @param resourcePrimKey the resource prim key 1835 * @param status the status 1836 * @return the number of matching journal articles 1837 * @throws SystemException if a system exception occurred 1838 */ 1839 public int countByR_ST(long resourcePrimKey, int status) 1840 throws com.liferay.portal.kernel.exception.SystemException; 1841 1842 /** 1843 * Returns the number of journal articles where resourcePrimKey = ? and status = any ?. 1844 * 1845 * @param resourcePrimKey the resource prim key 1846 * @param statuses the statuses 1847 * @return the number of matching journal articles 1848 * @throws SystemException if a system exception occurred 1849 */ 1850 public int countByR_ST(long resourcePrimKey, int[] statuses) 1851 throws com.liferay.portal.kernel.exception.SystemException; 1852 1853 /** 1854 * Returns all the journal articles where groupId = ? and userId = ?. 1855 * 1856 * @param groupId the group ID 1857 * @param userId the user ID 1858 * @return the matching journal articles 1859 * @throws SystemException if a system exception occurred 1860 */ 1861 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1862 long groupId, long userId) 1863 throws com.liferay.portal.kernel.exception.SystemException; 1864 1865 /** 1866 * Returns a range of all the journal articles where groupId = ? and userId = ?. 1867 * 1868 * <p> 1869 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1870 * </p> 1871 * 1872 * @param groupId the group ID 1873 * @param userId the user ID 1874 * @param start the lower bound of the range of journal articles 1875 * @param end the upper bound of the range of journal articles (not inclusive) 1876 * @return the range of matching journal articles 1877 * @throws SystemException if a system exception occurred 1878 */ 1879 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1880 long groupId, long userId, int start, int end) 1881 throws com.liferay.portal.kernel.exception.SystemException; 1882 1883 /** 1884 * Returns an ordered range of all the journal articles where groupId = ? and userId = ?. 1885 * 1886 * <p> 1887 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1888 * </p> 1889 * 1890 * @param groupId the group ID 1891 * @param userId the user ID 1892 * @param start the lower bound of the range of journal articles 1893 * @param end the upper bound of the range of journal articles (not inclusive) 1894 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1895 * @return the ordered range of matching journal articles 1896 * @throws SystemException if a system exception occurred 1897 */ 1898 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1899 long groupId, long userId, int start, int end, 1900 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1901 throws com.liferay.portal.kernel.exception.SystemException; 1902 1903 /** 1904 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1905 * 1906 * @param groupId the group ID 1907 * @param userId the user ID 1908 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1909 * @return the first matching journal article 1910 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1911 * @throws SystemException if a system exception occurred 1912 */ 1913 public com.liferay.portlet.journal.model.JournalArticle findByG_U_First( 1914 long groupId, long userId, 1915 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1916 throws com.liferay.portal.kernel.exception.SystemException, 1917 com.liferay.portlet.journal.NoSuchArticleException; 1918 1919 /** 1920 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1921 * 1922 * @param groupId the group ID 1923 * @param userId the user ID 1924 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1925 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1926 * @throws SystemException if a system exception occurred 1927 */ 1928 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First( 1929 long groupId, long userId, 1930 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1931 throws com.liferay.portal.kernel.exception.SystemException; 1932 1933 /** 1934 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1935 * 1936 * @param groupId the group ID 1937 * @param userId the user ID 1938 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1939 * @return the last matching journal article 1940 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1941 * @throws SystemException if a system exception occurred 1942 */ 1943 public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last( 1944 long groupId, long userId, 1945 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1946 throws com.liferay.portal.kernel.exception.SystemException, 1947 com.liferay.portlet.journal.NoSuchArticleException; 1948 1949 /** 1950 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1951 * 1952 * @param groupId the group ID 1953 * @param userId the user ID 1954 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1955 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1956 * @throws SystemException if a system exception occurred 1957 */ 1958 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last( 1959 long groupId, long userId, 1960 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1961 throws com.liferay.portal.kernel.exception.SystemException; 1962 1963 /** 1964 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?. 1965 * 1966 * @param id the primary key of the current journal article 1967 * @param groupId the group ID 1968 * @param userId the user ID 1969 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1970 * @return the previous, current, and next journal article 1971 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1972 * @throws SystemException if a system exception occurred 1973 */ 1974 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext( 1975 long id, long groupId, long userId, 1976 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1977 throws com.liferay.portal.kernel.exception.SystemException, 1978 com.liferay.portlet.journal.NoSuchArticleException; 1979 1980 /** 1981 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1982 * 1983 * @param groupId the group ID 1984 * @param userId the user ID 1985 * @return the matching journal articles that the user has permission to view 1986 * @throws SystemException if a system exception occurred 1987 */ 1988 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1989 long groupId, long userId) 1990 throws com.liferay.portal.kernel.exception.SystemException; 1991 1992 /** 1993 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1994 * 1995 * <p> 1996 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1997 * </p> 1998 * 1999 * @param groupId the group ID 2000 * @param userId the user ID 2001 * @param start the lower bound of the range of journal articles 2002 * @param end the upper bound of the range of journal articles (not inclusive) 2003 * @return the range of matching journal articles that the user has permission to view 2004 * @throws SystemException if a system exception occurred 2005 */ 2006 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 2007 long groupId, long userId, int start, int end) 2008 throws com.liferay.portal.kernel.exception.SystemException; 2009 2010 /** 2011 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?. 2012 * 2013 * <p> 2014 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2015 * </p> 2016 * 2017 * @param groupId the group ID 2018 * @param userId the user ID 2019 * @param start the lower bound of the range of journal articles 2020 * @param end the upper bound of the range of journal articles (not inclusive) 2021 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2022 * @return the ordered range of matching journal articles that the user has permission to view 2023 * @throws SystemException if a system exception occurred 2024 */ 2025 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 2026 long groupId, long userId, int start, int end, 2027 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2028 throws com.liferay.portal.kernel.exception.SystemException; 2029 2030 /** 2031 * 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 = ?. 2032 * 2033 * @param id the primary key of the current journal article 2034 * @param groupId the group ID 2035 * @param userId the user ID 2036 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2037 * @return the previous, current, and next journal article 2038 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2039 * @throws SystemException if a system exception occurred 2040 */ 2041 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext( 2042 long id, long groupId, long userId, 2043 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2044 throws com.liferay.portal.kernel.exception.SystemException, 2045 com.liferay.portlet.journal.NoSuchArticleException; 2046 2047 /** 2048 * Removes all the journal articles where groupId = ? and userId = ? from the database. 2049 * 2050 * @param groupId the group ID 2051 * @param userId the user ID 2052 * @throws SystemException if a system exception occurred 2053 */ 2054 public void removeByG_U(long groupId, long userId) 2055 throws com.liferay.portal.kernel.exception.SystemException; 2056 2057 /** 2058 * Returns the number of journal articles where groupId = ? and userId = ?. 2059 * 2060 * @param groupId the group ID 2061 * @param userId the user ID 2062 * @return the number of matching journal articles 2063 * @throws SystemException if a system exception occurred 2064 */ 2065 public int countByG_U(long groupId, long userId) 2066 throws com.liferay.portal.kernel.exception.SystemException; 2067 2068 /** 2069 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?. 2070 * 2071 * @param groupId the group ID 2072 * @param userId the user ID 2073 * @return the number of matching journal articles that the user has permission to view 2074 * @throws SystemException if a system exception occurred 2075 */ 2076 public int filterCountByG_U(long groupId, long userId) 2077 throws com.liferay.portal.kernel.exception.SystemException; 2078 2079 /** 2080 * Returns all the journal articles where groupId = ? and folderId = ?. 2081 * 2082 * @param groupId the group ID 2083 * @param folderId the folder ID 2084 * @return the matching journal articles 2085 * @throws SystemException if a system exception occurred 2086 */ 2087 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2088 long groupId, long folderId) 2089 throws com.liferay.portal.kernel.exception.SystemException; 2090 2091 /** 2092 * Returns a range of all the journal articles where groupId = ? and folderId = ?. 2093 * 2094 * <p> 2095 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2096 * </p> 2097 * 2098 * @param groupId the group ID 2099 * @param folderId the folder ID 2100 * @param start the lower bound of the range of journal articles 2101 * @param end the upper bound of the range of journal articles (not inclusive) 2102 * @return the range of matching journal articles 2103 * @throws SystemException if a system exception occurred 2104 */ 2105 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2106 long groupId, long folderId, int start, int end) 2107 throws com.liferay.portal.kernel.exception.SystemException; 2108 2109 /** 2110 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ?. 2111 * 2112 * <p> 2113 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2114 * </p> 2115 * 2116 * @param groupId the group ID 2117 * @param folderId the folder ID 2118 * @param start the lower bound of the range of journal articles 2119 * @param end the upper bound of the range of journal articles (not inclusive) 2120 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2121 * @return the ordered range of matching journal articles 2122 * @throws SystemException if a system exception occurred 2123 */ 2124 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2125 long groupId, long folderId, int start, int end, 2126 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2127 throws com.liferay.portal.kernel.exception.SystemException; 2128 2129 /** 2130 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 2131 * 2132 * @param groupId the group ID 2133 * @param folderId the folder ID 2134 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2135 * @return the first matching journal article 2136 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2137 * @throws SystemException if a system exception occurred 2138 */ 2139 public com.liferay.portlet.journal.model.JournalArticle findByG_F_First( 2140 long groupId, long folderId, 2141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2142 throws com.liferay.portal.kernel.exception.SystemException, 2143 com.liferay.portlet.journal.NoSuchArticleException; 2144 2145 /** 2146 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 2147 * 2148 * @param groupId the group ID 2149 * @param folderId the folder ID 2150 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2151 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2152 * @throws SystemException if a system exception occurred 2153 */ 2154 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First( 2155 long groupId, long folderId, 2156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2157 throws com.liferay.portal.kernel.exception.SystemException; 2158 2159 /** 2160 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 2161 * 2162 * @param groupId the group ID 2163 * @param folderId the folder ID 2164 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2165 * @return the last matching journal article 2166 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2167 * @throws SystemException if a system exception occurred 2168 */ 2169 public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last( 2170 long groupId, long folderId, 2171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2172 throws com.liferay.portal.kernel.exception.SystemException, 2173 com.liferay.portlet.journal.NoSuchArticleException; 2174 2175 /** 2176 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 2177 * 2178 * @param groupId the group ID 2179 * @param folderId the folder ID 2180 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2181 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2182 * @throws SystemException if a system exception occurred 2183 */ 2184 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last( 2185 long groupId, long folderId, 2186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2187 throws com.liferay.portal.kernel.exception.SystemException; 2188 2189 /** 2190 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?. 2191 * 2192 * @param id the primary key of the current journal article 2193 * @param groupId the group ID 2194 * @param folderId the folder ID 2195 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2196 * @return the previous, current, and next journal article 2197 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2198 * @throws SystemException if a system exception occurred 2199 */ 2200 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext( 2201 long id, long groupId, long folderId, 2202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2203 throws com.liferay.portal.kernel.exception.SystemException, 2204 com.liferay.portlet.journal.NoSuchArticleException; 2205 2206 /** 2207 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 2208 * 2209 * @param groupId the group ID 2210 * @param folderId the folder ID 2211 * @return the matching journal articles that the user has permission to view 2212 * @throws SystemException if a system exception occurred 2213 */ 2214 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2215 long groupId, long folderId) 2216 throws com.liferay.portal.kernel.exception.SystemException; 2217 2218 /** 2219 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 2220 * 2221 * <p> 2222 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2223 * </p> 2224 * 2225 * @param groupId the group ID 2226 * @param folderId the folder ID 2227 * @param start the lower bound of the range of journal articles 2228 * @param end the upper bound of the range of journal articles (not inclusive) 2229 * @return the range of matching journal articles that the user has permission to view 2230 * @throws SystemException if a system exception occurred 2231 */ 2232 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2233 long groupId, long folderId, int start, int end) 2234 throws com.liferay.portal.kernel.exception.SystemException; 2235 2236 /** 2237 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?. 2238 * 2239 * <p> 2240 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2241 * </p> 2242 * 2243 * @param groupId the group ID 2244 * @param folderId the folder ID 2245 * @param start the lower bound of the range of journal articles 2246 * @param end the upper bound of the range of journal articles (not inclusive) 2247 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2248 * @return the ordered range of matching journal articles that the user has permission to view 2249 * @throws SystemException if a system exception occurred 2250 */ 2251 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2252 long groupId, long folderId, int start, int end, 2253 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2254 throws com.liferay.portal.kernel.exception.SystemException; 2255 2256 /** 2257 * 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 = ?. 2258 * 2259 * @param id the primary key of the current journal article 2260 * @param groupId the group ID 2261 * @param folderId the folder ID 2262 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2263 * @return the previous, current, and next journal article 2264 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2265 * @throws SystemException if a system exception occurred 2266 */ 2267 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext( 2268 long id, long groupId, long folderId, 2269 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2270 throws com.liferay.portal.kernel.exception.SystemException, 2271 com.liferay.portlet.journal.NoSuchArticleException; 2272 2273 /** 2274 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2275 * 2276 * @param groupId the group ID 2277 * @param folderIds the folder IDs 2278 * @return the matching journal articles that the user has permission to view 2279 * @throws SystemException if a system exception occurred 2280 */ 2281 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2282 long groupId, long[] folderIds) 2283 throws com.liferay.portal.kernel.exception.SystemException; 2284 2285 /** 2286 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2287 * 2288 * <p> 2289 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2290 * </p> 2291 * 2292 * @param groupId the group ID 2293 * @param folderIds the folder IDs 2294 * @param start the lower bound of the range of journal articles 2295 * @param end the upper bound of the range of journal articles (not inclusive) 2296 * @return the range of matching journal articles that the user has permission to view 2297 * @throws SystemException if a system exception occurred 2298 */ 2299 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2300 long groupId, long[] folderIds, int start, int end) 2301 throws com.liferay.portal.kernel.exception.SystemException; 2302 2303 /** 2304 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2305 * 2306 * <p> 2307 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2308 * </p> 2309 * 2310 * @param groupId the group ID 2311 * @param folderIds the folder IDs 2312 * @param start the lower bound of the range of journal articles 2313 * @param end the upper bound of the range of journal articles (not inclusive) 2314 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2315 * @return the ordered range of matching journal articles that the user has permission to view 2316 * @throws SystemException if a system exception occurred 2317 */ 2318 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2319 long groupId, long[] folderIds, int start, int end, 2320 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2321 throws com.liferay.portal.kernel.exception.SystemException; 2322 2323 /** 2324 * Returns all the journal articles where groupId = ? and folderId = any ?. 2325 * 2326 * <p> 2327 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2328 * </p> 2329 * 2330 * @param groupId the group ID 2331 * @param folderIds the folder IDs 2332 * @return the matching journal articles 2333 * @throws SystemException if a system exception occurred 2334 */ 2335 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2336 long groupId, long[] folderIds) 2337 throws com.liferay.portal.kernel.exception.SystemException; 2338 2339 /** 2340 * Returns a range of all the journal articles where groupId = ? and folderId = any ?. 2341 * 2342 * <p> 2343 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2344 * </p> 2345 * 2346 * @param groupId the group ID 2347 * @param folderIds the folder IDs 2348 * @param start the lower bound of the range of journal articles 2349 * @param end the upper bound of the range of journal articles (not inclusive) 2350 * @return the range of matching journal articles 2351 * @throws SystemException if a system exception occurred 2352 */ 2353 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2354 long groupId, long[] folderIds, int start, int end) 2355 throws com.liferay.portal.kernel.exception.SystemException; 2356 2357 /** 2358 * Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?. 2359 * 2360 * <p> 2361 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2362 * </p> 2363 * 2364 * @param groupId the group ID 2365 * @param folderIds the folder IDs 2366 * @param start the lower bound of the range of journal articles 2367 * @param end the upper bound of the range of journal articles (not inclusive) 2368 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2369 * @return the ordered range of matching journal articles 2370 * @throws SystemException if a system exception occurred 2371 */ 2372 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2373 long groupId, long[] folderIds, int start, int end, 2374 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2375 throws com.liferay.portal.kernel.exception.SystemException; 2376 2377 /** 2378 * Removes all the journal articles where groupId = ? and folderId = ? from the database. 2379 * 2380 * @param groupId the group ID 2381 * @param folderId the folder ID 2382 * @throws SystemException if a system exception occurred 2383 */ 2384 public void removeByG_F(long groupId, long folderId) 2385 throws com.liferay.portal.kernel.exception.SystemException; 2386 2387 /** 2388 * Returns the number of journal articles where groupId = ? and folderId = ?. 2389 * 2390 * @param groupId the group ID 2391 * @param folderId the folder ID 2392 * @return the number of matching journal articles 2393 * @throws SystemException if a system exception occurred 2394 */ 2395 public int countByG_F(long groupId, long folderId) 2396 throws com.liferay.portal.kernel.exception.SystemException; 2397 2398 /** 2399 * Returns the number of journal articles where groupId = ? and folderId = any ?. 2400 * 2401 * @param groupId the group ID 2402 * @param folderIds the folder IDs 2403 * @return the number of matching journal articles 2404 * @throws SystemException if a system exception occurred 2405 */ 2406 public int countByG_F(long groupId, long[] folderIds) 2407 throws com.liferay.portal.kernel.exception.SystemException; 2408 2409 /** 2410 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2411 * 2412 * @param groupId the group ID 2413 * @param folderId the folder ID 2414 * @return the number of matching journal articles that the user has permission to view 2415 * @throws SystemException if a system exception occurred 2416 */ 2417 public int filterCountByG_F(long groupId, long folderId) 2418 throws com.liferay.portal.kernel.exception.SystemException; 2419 2420 /** 2421 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2422 * 2423 * @param groupId the group ID 2424 * @param folderIds the folder IDs 2425 * @return the number of matching journal articles that the user has permission to view 2426 * @throws SystemException if a system exception occurred 2427 */ 2428 public int filterCountByG_F(long groupId, long[] folderIds) 2429 throws com.liferay.portal.kernel.exception.SystemException; 2430 2431 /** 2432 * Returns all the journal articles where groupId = ? and articleId = ?. 2433 * 2434 * @param groupId the group ID 2435 * @param articleId the article ID 2436 * @return the matching journal articles 2437 * @throws SystemException if a system exception occurred 2438 */ 2439 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2440 long groupId, java.lang.String articleId) 2441 throws com.liferay.portal.kernel.exception.SystemException; 2442 2443 /** 2444 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 2445 * 2446 * <p> 2447 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2448 * </p> 2449 * 2450 * @param groupId the group ID 2451 * @param articleId the article ID 2452 * @param start the lower bound of the range of journal articles 2453 * @param end the upper bound of the range of journal articles (not inclusive) 2454 * @return the range of matching journal articles 2455 * @throws SystemException if a system exception occurred 2456 */ 2457 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2458 long groupId, java.lang.String articleId, int start, int end) 2459 throws com.liferay.portal.kernel.exception.SystemException; 2460 2461 /** 2462 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 2463 * 2464 * <p> 2465 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2466 * </p> 2467 * 2468 * @param groupId the group ID 2469 * @param articleId the article ID 2470 * @param start the lower bound of the range of journal articles 2471 * @param end the upper bound of the range of journal articles (not inclusive) 2472 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2473 * @return the ordered range of matching journal articles 2474 * @throws SystemException if a system exception occurred 2475 */ 2476 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2477 long groupId, java.lang.String articleId, int start, int end, 2478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2479 throws com.liferay.portal.kernel.exception.SystemException; 2480 2481 /** 2482 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2483 * 2484 * @param groupId the group ID 2485 * @param articleId the article ID 2486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2487 * @return the first matching journal article 2488 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2489 * @throws SystemException if a system exception occurred 2490 */ 2491 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 2492 long groupId, java.lang.String articleId, 2493 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2494 throws com.liferay.portal.kernel.exception.SystemException, 2495 com.liferay.portlet.journal.NoSuchArticleException; 2496 2497 /** 2498 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2499 * 2500 * @param groupId the group ID 2501 * @param articleId the article ID 2502 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2503 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2504 * @throws SystemException if a system exception occurred 2505 */ 2506 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 2507 long groupId, java.lang.String articleId, 2508 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2509 throws com.liferay.portal.kernel.exception.SystemException; 2510 2511 /** 2512 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2513 * 2514 * @param groupId the group ID 2515 * @param articleId the article ID 2516 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2517 * @return the last matching journal article 2518 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2519 * @throws SystemException if a system exception occurred 2520 */ 2521 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 2522 long groupId, java.lang.String articleId, 2523 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2524 throws com.liferay.portal.kernel.exception.SystemException, 2525 com.liferay.portlet.journal.NoSuchArticleException; 2526 2527 /** 2528 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2529 * 2530 * @param groupId the group ID 2531 * @param articleId the article ID 2532 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2533 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2534 * @throws SystemException if a system exception occurred 2535 */ 2536 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 2537 long groupId, java.lang.String articleId, 2538 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2539 throws com.liferay.portal.kernel.exception.SystemException; 2540 2541 /** 2542 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 2543 * 2544 * @param id the primary key of the current journal article 2545 * @param groupId the group ID 2546 * @param articleId the article ID 2547 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2548 * @return the previous, current, and next journal article 2549 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2550 * @throws SystemException if a system exception occurred 2551 */ 2552 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 2553 long id, long groupId, java.lang.String articleId, 2554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2555 throws com.liferay.portal.kernel.exception.SystemException, 2556 com.liferay.portlet.journal.NoSuchArticleException; 2557 2558 /** 2559 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2560 * 2561 * @param groupId the group ID 2562 * @param articleId the article ID 2563 * @return the matching journal articles that the user has permission to view 2564 * @throws SystemException if a system exception occurred 2565 */ 2566 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2567 long groupId, java.lang.String articleId) 2568 throws com.liferay.portal.kernel.exception.SystemException; 2569 2570 /** 2571 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2572 * 2573 * <p> 2574 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2575 * </p> 2576 * 2577 * @param groupId the group ID 2578 * @param articleId the article ID 2579 * @param start the lower bound of the range of journal articles 2580 * @param end the upper bound of the range of journal articles (not inclusive) 2581 * @return the range of matching journal articles that the user has permission to view 2582 * @throws SystemException if a system exception occurred 2583 */ 2584 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2585 long groupId, java.lang.String articleId, int start, int end) 2586 throws com.liferay.portal.kernel.exception.SystemException; 2587 2588 /** 2589 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 2590 * 2591 * <p> 2592 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2593 * </p> 2594 * 2595 * @param groupId the group ID 2596 * @param articleId the article ID 2597 * @param start the lower bound of the range of journal articles 2598 * @param end the upper bound of the range of journal articles (not inclusive) 2599 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2600 * @return the ordered range of matching journal articles that the user has permission to view 2601 * @throws SystemException if a system exception occurred 2602 */ 2603 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2604 long groupId, java.lang.String articleId, int start, int end, 2605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2606 throws com.liferay.portal.kernel.exception.SystemException; 2607 2608 /** 2609 * 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 = ?. 2610 * 2611 * @param id the primary key of the current journal article 2612 * @param groupId the group ID 2613 * @param articleId the article ID 2614 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2615 * @return the previous, current, and next journal article 2616 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2617 * @throws SystemException if a system exception occurred 2618 */ 2619 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 2620 long id, long groupId, java.lang.String articleId, 2621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2622 throws com.liferay.portal.kernel.exception.SystemException, 2623 com.liferay.portlet.journal.NoSuchArticleException; 2624 2625 /** 2626 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2627 * 2628 * @param groupId the group ID 2629 * @param articleId the article ID 2630 * @throws SystemException if a system exception occurred 2631 */ 2632 public void removeByG_A(long groupId, java.lang.String articleId) 2633 throws com.liferay.portal.kernel.exception.SystemException; 2634 2635 /** 2636 * Returns the number of journal articles where groupId = ? and articleId = ?. 2637 * 2638 * @param groupId the group ID 2639 * @param articleId the article ID 2640 * @return the number of matching journal articles 2641 * @throws SystemException if a system exception occurred 2642 */ 2643 public int countByG_A(long groupId, java.lang.String articleId) 2644 throws com.liferay.portal.kernel.exception.SystemException; 2645 2646 /** 2647 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2648 * 2649 * @param groupId the group ID 2650 * @param articleId the article ID 2651 * @return the number of matching journal articles that the user has permission to view 2652 * @throws SystemException if a system exception occurred 2653 */ 2654 public int filterCountByG_A(long groupId, java.lang.String articleId) 2655 throws com.liferay.portal.kernel.exception.SystemException; 2656 2657 /** 2658 * Returns all the journal articles where groupId = ? and urlTitle = ?. 2659 * 2660 * @param groupId the group ID 2661 * @param urlTitle the url title 2662 * @return the matching journal articles 2663 * @throws SystemException if a system exception occurred 2664 */ 2665 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2666 long groupId, java.lang.String urlTitle) 2667 throws com.liferay.portal.kernel.exception.SystemException; 2668 2669 /** 2670 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 2671 * 2672 * <p> 2673 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2674 * </p> 2675 * 2676 * @param groupId the group ID 2677 * @param urlTitle the url title 2678 * @param start the lower bound of the range of journal articles 2679 * @param end the upper bound of the range of journal articles (not inclusive) 2680 * @return the range of matching journal articles 2681 * @throws SystemException if a system exception occurred 2682 */ 2683 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2684 long groupId, java.lang.String urlTitle, int start, int end) 2685 throws com.liferay.portal.kernel.exception.SystemException; 2686 2687 /** 2688 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 2689 * 2690 * <p> 2691 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2692 * </p> 2693 * 2694 * @param groupId the group ID 2695 * @param urlTitle the url title 2696 * @param start the lower bound of the range of journal articles 2697 * @param end the upper bound of the range of journal articles (not inclusive) 2698 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2699 * @return the ordered range of matching journal articles 2700 * @throws SystemException if a system exception occurred 2701 */ 2702 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2703 long groupId, java.lang.String urlTitle, int start, int end, 2704 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2705 throws com.liferay.portal.kernel.exception.SystemException; 2706 2707 /** 2708 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2709 * 2710 * @param groupId the group ID 2711 * @param urlTitle the url title 2712 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2713 * @return the first matching journal article 2714 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2715 * @throws SystemException if a system exception occurred 2716 */ 2717 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 2718 long groupId, java.lang.String urlTitle, 2719 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2720 throws com.liferay.portal.kernel.exception.SystemException, 2721 com.liferay.portlet.journal.NoSuchArticleException; 2722 2723 /** 2724 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2725 * 2726 * @param groupId the group ID 2727 * @param urlTitle the url title 2728 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2729 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2730 * @throws SystemException if a system exception occurred 2731 */ 2732 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 2733 long groupId, java.lang.String urlTitle, 2734 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2735 throws com.liferay.portal.kernel.exception.SystemException; 2736 2737 /** 2738 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2739 * 2740 * @param groupId the group ID 2741 * @param urlTitle the url title 2742 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2743 * @return the last matching journal article 2744 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2745 * @throws SystemException if a system exception occurred 2746 */ 2747 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 2748 long groupId, java.lang.String urlTitle, 2749 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2750 throws com.liferay.portal.kernel.exception.SystemException, 2751 com.liferay.portlet.journal.NoSuchArticleException; 2752 2753 /** 2754 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2755 * 2756 * @param groupId the group ID 2757 * @param urlTitle the url title 2758 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2759 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2760 * @throws SystemException if a system exception occurred 2761 */ 2762 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 2763 long groupId, java.lang.String urlTitle, 2764 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2765 throws com.liferay.portal.kernel.exception.SystemException; 2766 2767 /** 2768 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 2769 * 2770 * @param id the primary key of the current journal article 2771 * @param groupId the group ID 2772 * @param urlTitle the url title 2773 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2774 * @return the previous, current, and next journal article 2775 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2776 * @throws SystemException if a system exception occurred 2777 */ 2778 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 2779 long id, long groupId, java.lang.String urlTitle, 2780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2781 throws com.liferay.portal.kernel.exception.SystemException, 2782 com.liferay.portlet.journal.NoSuchArticleException; 2783 2784 /** 2785 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2786 * 2787 * @param groupId the group ID 2788 * @param urlTitle the url title 2789 * @return the matching journal articles that the user has permission to view 2790 * @throws SystemException if a system exception occurred 2791 */ 2792 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2793 long groupId, java.lang.String urlTitle) 2794 throws com.liferay.portal.kernel.exception.SystemException; 2795 2796 /** 2797 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2798 * 2799 * <p> 2800 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2801 * </p> 2802 * 2803 * @param groupId the group ID 2804 * @param urlTitle the url title 2805 * @param start the lower bound of the range of journal articles 2806 * @param end the upper bound of the range of journal articles (not inclusive) 2807 * @return the range of matching journal articles that the user has permission to view 2808 * @throws SystemException if a system exception occurred 2809 */ 2810 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2811 long groupId, java.lang.String urlTitle, int start, int end) 2812 throws com.liferay.portal.kernel.exception.SystemException; 2813 2814 /** 2815 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 2816 * 2817 * <p> 2818 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2819 * </p> 2820 * 2821 * @param groupId the group ID 2822 * @param urlTitle the url title 2823 * @param start the lower bound of the range of journal articles 2824 * @param end the upper bound of the range of journal articles (not inclusive) 2825 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2826 * @return the ordered range of matching journal articles that the user has permission to view 2827 * @throws SystemException if a system exception occurred 2828 */ 2829 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2830 long groupId, java.lang.String urlTitle, int start, int end, 2831 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2832 throws com.liferay.portal.kernel.exception.SystemException; 2833 2834 /** 2835 * 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 = ?. 2836 * 2837 * @param id the primary key of the current journal article 2838 * @param groupId the group ID 2839 * @param urlTitle the url title 2840 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2841 * @return the previous, current, and next journal article 2842 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2843 * @throws SystemException if a system exception occurred 2844 */ 2845 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 2846 long id, long groupId, java.lang.String urlTitle, 2847 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2848 throws com.liferay.portal.kernel.exception.SystemException, 2849 com.liferay.portlet.journal.NoSuchArticleException; 2850 2851 /** 2852 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 2853 * 2854 * @param groupId the group ID 2855 * @param urlTitle the url title 2856 * @throws SystemException if a system exception occurred 2857 */ 2858 public void removeByG_UT(long groupId, java.lang.String urlTitle) 2859 throws com.liferay.portal.kernel.exception.SystemException; 2860 2861 /** 2862 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 2863 * 2864 * @param groupId the group ID 2865 * @param urlTitle the url title 2866 * @return the number of matching journal articles 2867 * @throws SystemException if a system exception occurred 2868 */ 2869 public int countByG_UT(long groupId, java.lang.String urlTitle) 2870 throws com.liferay.portal.kernel.exception.SystemException; 2871 2872 /** 2873 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2874 * 2875 * @param groupId the group ID 2876 * @param urlTitle the url title 2877 * @return the number of matching journal articles that the user has permission to view 2878 * @throws SystemException if a system exception occurred 2879 */ 2880 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 2881 throws com.liferay.portal.kernel.exception.SystemException; 2882 2883 /** 2884 * Returns all the journal articles where groupId = ? and structureId = ?. 2885 * 2886 * @param groupId the group ID 2887 * @param structureId the structure ID 2888 * @return the matching journal articles 2889 * @throws SystemException if a system exception occurred 2890 */ 2891 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2892 long groupId, java.lang.String structureId) 2893 throws com.liferay.portal.kernel.exception.SystemException; 2894 2895 /** 2896 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 2897 * 2898 * <p> 2899 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2900 * </p> 2901 * 2902 * @param groupId the group ID 2903 * @param structureId the structure ID 2904 * @param start the lower bound of the range of journal articles 2905 * @param end the upper bound of the range of journal articles (not inclusive) 2906 * @return the range of matching journal articles 2907 * @throws SystemException if a system exception occurred 2908 */ 2909 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2910 long groupId, java.lang.String structureId, int start, int end) 2911 throws com.liferay.portal.kernel.exception.SystemException; 2912 2913 /** 2914 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 2915 * 2916 * <p> 2917 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2918 * </p> 2919 * 2920 * @param groupId the group ID 2921 * @param structureId the structure ID 2922 * @param start the lower bound of the range of journal articles 2923 * @param end the upper bound of the range of journal articles (not inclusive) 2924 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2925 * @return the ordered range of matching journal articles 2926 * @throws SystemException if a system exception occurred 2927 */ 2928 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2929 long groupId, java.lang.String structureId, int start, int end, 2930 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2931 throws com.liferay.portal.kernel.exception.SystemException; 2932 2933 /** 2934 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2935 * 2936 * @param groupId the group ID 2937 * @param structureId the structure ID 2938 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2939 * @return the first matching journal article 2940 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2941 * @throws SystemException if a system exception occurred 2942 */ 2943 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 2944 long groupId, java.lang.String structureId, 2945 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2946 throws com.liferay.portal.kernel.exception.SystemException, 2947 com.liferay.portlet.journal.NoSuchArticleException; 2948 2949 /** 2950 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2951 * 2952 * @param groupId the group ID 2953 * @param structureId the structure ID 2954 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2955 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2956 * @throws SystemException if a system exception occurred 2957 */ 2958 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First( 2959 long groupId, java.lang.String structureId, 2960 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2961 throws com.liferay.portal.kernel.exception.SystemException; 2962 2963 /** 2964 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2965 * 2966 * @param groupId the group ID 2967 * @param structureId the structure ID 2968 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2969 * @return the last matching journal article 2970 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2971 * @throws SystemException if a system exception occurred 2972 */ 2973 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 2974 long groupId, java.lang.String structureId, 2975 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2976 throws com.liferay.portal.kernel.exception.SystemException, 2977 com.liferay.portlet.journal.NoSuchArticleException; 2978 2979 /** 2980 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2981 * 2982 * @param groupId the group ID 2983 * @param structureId the structure ID 2984 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2985 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2986 * @throws SystemException if a system exception occurred 2987 */ 2988 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last( 2989 long groupId, java.lang.String structureId, 2990 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2991 throws com.liferay.portal.kernel.exception.SystemException; 2992 2993 /** 2994 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 2995 * 2996 * @param id the primary key of the current journal article 2997 * @param groupId the group ID 2998 * @param structureId the structure ID 2999 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3000 * @return the previous, current, and next journal article 3001 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3002 * @throws SystemException if a system exception occurred 3003 */ 3004 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 3005 long id, long groupId, java.lang.String structureId, 3006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3007 throws com.liferay.portal.kernel.exception.SystemException, 3008 com.liferay.portlet.journal.NoSuchArticleException; 3009 3010 /** 3011 * Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 3012 * 3013 * @param groupId the group ID 3014 * @param structureId the structure ID 3015 * @return the matching journal articles that the user has permission to view 3016 * @throws SystemException if a system exception occurred 3017 */ 3018 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 3019 long groupId, java.lang.String structureId) 3020 throws com.liferay.portal.kernel.exception.SystemException; 3021 3022 /** 3023 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 3024 * 3025 * <p> 3026 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3027 * </p> 3028 * 3029 * @param groupId the group ID 3030 * @param structureId the structure ID 3031 * @param start the lower bound of the range of journal articles 3032 * @param end the upper bound of the range of journal articles (not inclusive) 3033 * @return the range of matching journal articles that the user has permission to view 3034 * @throws SystemException if a system exception occurred 3035 */ 3036 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 3037 long groupId, java.lang.String structureId, int start, int end) 3038 throws com.liferay.portal.kernel.exception.SystemException; 3039 3040 /** 3041 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 3042 * 3043 * <p> 3044 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3045 * </p> 3046 * 3047 * @param groupId the group ID 3048 * @param structureId the structure ID 3049 * @param start the lower bound of the range of journal articles 3050 * @param end the upper bound of the range of journal articles (not inclusive) 3051 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3052 * @return the ordered range of matching journal articles that the user has permission to view 3053 * @throws SystemException if a system exception occurred 3054 */ 3055 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 3056 long groupId, java.lang.String structureId, int start, int end, 3057 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3058 throws com.liferay.portal.kernel.exception.SystemException; 3059 3060 /** 3061 * 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 = ?. 3062 * 3063 * @param id the primary key of the current journal article 3064 * @param groupId the group ID 3065 * @param structureId the structure ID 3066 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3067 * @return the previous, current, and next journal article 3068 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3069 * @throws SystemException if a system exception occurred 3070 */ 3071 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 3072 long id, long groupId, java.lang.String structureId, 3073 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3074 throws com.liferay.portal.kernel.exception.SystemException, 3075 com.liferay.portlet.journal.NoSuchArticleException; 3076 3077 /** 3078 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 3079 * 3080 * @param groupId the group ID 3081 * @param structureId the structure ID 3082 * @throws SystemException if a system exception occurred 3083 */ 3084 public void removeByG_S(long groupId, java.lang.String structureId) 3085 throws com.liferay.portal.kernel.exception.SystemException; 3086 3087 /** 3088 * Returns the number of journal articles where groupId = ? and structureId = ?. 3089 * 3090 * @param groupId the group ID 3091 * @param structureId the structure ID 3092 * @return the number of matching journal articles 3093 * @throws SystemException if a system exception occurred 3094 */ 3095 public int countByG_S(long groupId, java.lang.String structureId) 3096 throws com.liferay.portal.kernel.exception.SystemException; 3097 3098 /** 3099 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 3100 * 3101 * @param groupId the group ID 3102 * @param structureId the structure ID 3103 * @return the number of matching journal articles that the user has permission to view 3104 * @throws SystemException if a system exception occurred 3105 */ 3106 public int filterCountByG_S(long groupId, java.lang.String structureId) 3107 throws com.liferay.portal.kernel.exception.SystemException; 3108 3109 /** 3110 * Returns all the journal articles where groupId = ? and templateId = ?. 3111 * 3112 * @param groupId the group ID 3113 * @param templateId the template ID 3114 * @return the matching journal articles 3115 * @throws SystemException if a system exception occurred 3116 */ 3117 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 3118 long groupId, java.lang.String templateId) 3119 throws com.liferay.portal.kernel.exception.SystemException; 3120 3121 /** 3122 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 3123 * 3124 * <p> 3125 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3126 * </p> 3127 * 3128 * @param groupId the group ID 3129 * @param templateId the template ID 3130 * @param start the lower bound of the range of journal articles 3131 * @param end the upper bound of the range of journal articles (not inclusive) 3132 * @return the range of matching journal articles 3133 * @throws SystemException if a system exception occurred 3134 */ 3135 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 3136 long groupId, java.lang.String templateId, int start, int end) 3137 throws com.liferay.portal.kernel.exception.SystemException; 3138 3139 /** 3140 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 3141 * 3142 * <p> 3143 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3144 * </p> 3145 * 3146 * @param groupId the group ID 3147 * @param templateId the template ID 3148 * @param start the lower bound of the range of journal articles 3149 * @param end the upper bound of the range of journal articles (not inclusive) 3150 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3151 * @return the ordered range of matching journal articles 3152 * @throws SystemException if a system exception occurred 3153 */ 3154 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 3155 long groupId, java.lang.String templateId, int start, int end, 3156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3157 throws com.liferay.portal.kernel.exception.SystemException; 3158 3159 /** 3160 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 3161 * 3162 * @param groupId the group ID 3163 * @param templateId the template ID 3164 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3165 * @return the first matching journal article 3166 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3167 * @throws SystemException if a system exception occurred 3168 */ 3169 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 3170 long groupId, java.lang.String templateId, 3171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3172 throws com.liferay.portal.kernel.exception.SystemException, 3173 com.liferay.portlet.journal.NoSuchArticleException; 3174 3175 /** 3176 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 3177 * 3178 * @param groupId the group ID 3179 * @param templateId the template ID 3180 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3181 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3182 * @throws SystemException if a system exception occurred 3183 */ 3184 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First( 3185 long groupId, java.lang.String templateId, 3186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3187 throws com.liferay.portal.kernel.exception.SystemException; 3188 3189 /** 3190 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 3191 * 3192 * @param groupId the group ID 3193 * @param templateId the template ID 3194 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3195 * @return the last matching journal article 3196 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3197 * @throws SystemException if a system exception occurred 3198 */ 3199 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 3200 long groupId, java.lang.String templateId, 3201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3202 throws com.liferay.portal.kernel.exception.SystemException, 3203 com.liferay.portlet.journal.NoSuchArticleException; 3204 3205 /** 3206 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 3207 * 3208 * @param groupId the group ID 3209 * @param templateId the template ID 3210 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3211 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3212 * @throws SystemException if a system exception occurred 3213 */ 3214 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last( 3215 long groupId, java.lang.String templateId, 3216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3217 throws com.liferay.portal.kernel.exception.SystemException; 3218 3219 /** 3220 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 3221 * 3222 * @param id the primary key of the current journal article 3223 * @param groupId the group ID 3224 * @param templateId the template ID 3225 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3226 * @return the previous, current, and next journal article 3227 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3228 * @throws SystemException if a system exception occurred 3229 */ 3230 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 3231 long id, long groupId, java.lang.String templateId, 3232 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3233 throws com.liferay.portal.kernel.exception.SystemException, 3234 com.liferay.portlet.journal.NoSuchArticleException; 3235 3236 /** 3237 * Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 3238 * 3239 * @param groupId the group ID 3240 * @param templateId the template ID 3241 * @return the matching journal articles that the user has permission to view 3242 * @throws SystemException if a system exception occurred 3243 */ 3244 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3245 long groupId, java.lang.String templateId) 3246 throws com.liferay.portal.kernel.exception.SystemException; 3247 3248 /** 3249 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 3250 * 3251 * <p> 3252 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3253 * </p> 3254 * 3255 * @param groupId the group ID 3256 * @param templateId the template ID 3257 * @param start the lower bound of the range of journal articles 3258 * @param end the upper bound of the range of journal articles (not inclusive) 3259 * @return the range of matching journal articles that the user has permission to view 3260 * @throws SystemException if a system exception occurred 3261 */ 3262 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3263 long groupId, java.lang.String templateId, int start, int end) 3264 throws com.liferay.portal.kernel.exception.SystemException; 3265 3266 /** 3267 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 3268 * 3269 * <p> 3270 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3271 * </p> 3272 * 3273 * @param groupId the group ID 3274 * @param templateId the template ID 3275 * @param start the lower bound of the range of journal articles 3276 * @param end the upper bound of the range of journal articles (not inclusive) 3277 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3278 * @return the ordered range of matching journal articles that the user has permission to view 3279 * @throws SystemException if a system exception occurred 3280 */ 3281 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3282 long groupId, java.lang.String templateId, int start, int end, 3283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3284 throws com.liferay.portal.kernel.exception.SystemException; 3285 3286 /** 3287 * 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 = ?. 3288 * 3289 * @param id the primary key of the current journal article 3290 * @param groupId the group ID 3291 * @param templateId the template ID 3292 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3293 * @return the previous, current, and next journal article 3294 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3295 * @throws SystemException if a system exception occurred 3296 */ 3297 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 3298 long id, long groupId, java.lang.String templateId, 3299 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3300 throws com.liferay.portal.kernel.exception.SystemException, 3301 com.liferay.portlet.journal.NoSuchArticleException; 3302 3303 /** 3304 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 3305 * 3306 * @param groupId the group ID 3307 * @param templateId the template ID 3308 * @throws SystemException if a system exception occurred 3309 */ 3310 public void removeByG_T(long groupId, java.lang.String templateId) 3311 throws com.liferay.portal.kernel.exception.SystemException; 3312 3313 /** 3314 * Returns the number of journal articles where groupId = ? and templateId = ?. 3315 * 3316 * @param groupId the group ID 3317 * @param templateId the template ID 3318 * @return the number of matching journal articles 3319 * @throws SystemException if a system exception occurred 3320 */ 3321 public int countByG_T(long groupId, java.lang.String templateId) 3322 throws com.liferay.portal.kernel.exception.SystemException; 3323 3324 /** 3325 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 3326 * 3327 * @param groupId the group ID 3328 * @param templateId the template ID 3329 * @return the number of matching journal articles that the user has permission to view 3330 * @throws SystemException if a system exception occurred 3331 */ 3332 public int filterCountByG_T(long groupId, java.lang.String templateId) 3333 throws com.liferay.portal.kernel.exception.SystemException; 3334 3335 /** 3336 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 3337 * 3338 * @param groupId the group ID 3339 * @param layoutUuid the layout uuid 3340 * @return the matching journal articles 3341 * @throws SystemException if a system exception occurred 3342 */ 3343 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3344 long groupId, java.lang.String layoutUuid) 3345 throws com.liferay.portal.kernel.exception.SystemException; 3346 3347 /** 3348 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 3349 * 3350 * <p> 3351 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3352 * </p> 3353 * 3354 * @param groupId the group ID 3355 * @param layoutUuid the layout uuid 3356 * @param start the lower bound of the range of journal articles 3357 * @param end the upper bound of the range of journal articles (not inclusive) 3358 * @return the range of matching journal articles 3359 * @throws SystemException if a system exception occurred 3360 */ 3361 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3362 long groupId, java.lang.String layoutUuid, int start, int end) 3363 throws com.liferay.portal.kernel.exception.SystemException; 3364 3365 /** 3366 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 3367 * 3368 * <p> 3369 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3370 * </p> 3371 * 3372 * @param groupId the group ID 3373 * @param layoutUuid the layout uuid 3374 * @param start the lower bound of the range of journal articles 3375 * @param end the upper bound of the range of journal articles (not inclusive) 3376 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3377 * @return the ordered range of matching journal articles 3378 * @throws SystemException if a system exception occurred 3379 */ 3380 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3381 long groupId, java.lang.String layoutUuid, int start, int end, 3382 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3383 throws com.liferay.portal.kernel.exception.SystemException; 3384 3385 /** 3386 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3387 * 3388 * @param groupId the group ID 3389 * @param layoutUuid the layout uuid 3390 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3391 * @return the first matching journal article 3392 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3393 * @throws SystemException if a system exception occurred 3394 */ 3395 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 3396 long groupId, java.lang.String layoutUuid, 3397 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3398 throws com.liferay.portal.kernel.exception.SystemException, 3399 com.liferay.portlet.journal.NoSuchArticleException; 3400 3401 /** 3402 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3403 * 3404 * @param groupId the group ID 3405 * @param layoutUuid the layout uuid 3406 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3407 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3408 * @throws SystemException if a system exception occurred 3409 */ 3410 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 3411 long groupId, java.lang.String layoutUuid, 3412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3413 throws com.liferay.portal.kernel.exception.SystemException; 3414 3415 /** 3416 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3417 * 3418 * @param groupId the group ID 3419 * @param layoutUuid the layout uuid 3420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3421 * @return the last matching journal article 3422 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3423 * @throws SystemException if a system exception occurred 3424 */ 3425 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 3426 long groupId, java.lang.String layoutUuid, 3427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3428 throws com.liferay.portal.kernel.exception.SystemException, 3429 com.liferay.portlet.journal.NoSuchArticleException; 3430 3431 /** 3432 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3433 * 3434 * @param groupId the group ID 3435 * @param layoutUuid the layout uuid 3436 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3437 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3438 * @throws SystemException if a system exception occurred 3439 */ 3440 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 3441 long groupId, java.lang.String layoutUuid, 3442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3443 throws com.liferay.portal.kernel.exception.SystemException; 3444 3445 /** 3446 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 3447 * 3448 * @param id the primary key of the current journal article 3449 * @param groupId the group ID 3450 * @param layoutUuid the layout uuid 3451 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3452 * @return the previous, current, and next journal article 3453 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3454 * @throws SystemException if a system exception occurred 3455 */ 3456 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 3457 long id, long groupId, java.lang.String layoutUuid, 3458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3459 throws com.liferay.portal.kernel.exception.SystemException, 3460 com.liferay.portlet.journal.NoSuchArticleException; 3461 3462 /** 3463 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3464 * 3465 * @param groupId the group ID 3466 * @param layoutUuid the layout uuid 3467 * @return the matching journal articles that the user has permission to view 3468 * @throws SystemException if a system exception occurred 3469 */ 3470 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3471 long groupId, java.lang.String layoutUuid) 3472 throws com.liferay.portal.kernel.exception.SystemException; 3473 3474 /** 3475 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3476 * 3477 * <p> 3478 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3479 * </p> 3480 * 3481 * @param groupId the group ID 3482 * @param layoutUuid the layout uuid 3483 * @param start the lower bound of the range of journal articles 3484 * @param end the upper bound of the range of journal articles (not inclusive) 3485 * @return the range of matching journal articles that the user has permission to view 3486 * @throws SystemException if a system exception occurred 3487 */ 3488 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3489 long groupId, java.lang.String layoutUuid, int start, int end) 3490 throws com.liferay.portal.kernel.exception.SystemException; 3491 3492 /** 3493 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 3494 * 3495 * <p> 3496 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3497 * </p> 3498 * 3499 * @param groupId the group ID 3500 * @param layoutUuid the layout uuid 3501 * @param start the lower bound of the range of journal articles 3502 * @param end the upper bound of the range of journal articles (not inclusive) 3503 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3504 * @return the ordered range of matching journal articles that the user has permission to view 3505 * @throws SystemException if a system exception occurred 3506 */ 3507 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3508 long groupId, java.lang.String layoutUuid, int start, int end, 3509 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3510 throws com.liferay.portal.kernel.exception.SystemException; 3511 3512 /** 3513 * 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 = ?. 3514 * 3515 * @param id the primary key of the current journal article 3516 * @param groupId the group ID 3517 * @param layoutUuid the layout uuid 3518 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3519 * @return the previous, current, and next journal article 3520 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3521 * @throws SystemException if a system exception occurred 3522 */ 3523 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 3524 long id, long groupId, java.lang.String layoutUuid, 3525 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3526 throws com.liferay.portal.kernel.exception.SystemException, 3527 com.liferay.portlet.journal.NoSuchArticleException; 3528 3529 /** 3530 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3531 * 3532 * @param groupId the group ID 3533 * @param layoutUuid the layout uuid 3534 * @throws SystemException if a system exception occurred 3535 */ 3536 public void removeByG_L(long groupId, java.lang.String layoutUuid) 3537 throws com.liferay.portal.kernel.exception.SystemException; 3538 3539 /** 3540 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 3541 * 3542 * @param groupId the group ID 3543 * @param layoutUuid the layout uuid 3544 * @return the number of matching journal articles 3545 * @throws SystemException if a system exception occurred 3546 */ 3547 public int countByG_L(long groupId, java.lang.String layoutUuid) 3548 throws com.liferay.portal.kernel.exception.SystemException; 3549 3550 /** 3551 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3552 * 3553 * @param groupId the group ID 3554 * @param layoutUuid the layout uuid 3555 * @return the number of matching journal articles that the user has permission to view 3556 * @throws SystemException if a system exception occurred 3557 */ 3558 public int filterCountByG_L(long groupId, java.lang.String layoutUuid) 3559 throws com.liferay.portal.kernel.exception.SystemException; 3560 3561 /** 3562 * Returns all the journal articles where groupId = ? and status = ?. 3563 * 3564 * @param groupId the group ID 3565 * @param status the status 3566 * @return the matching journal articles 3567 * @throws SystemException if a system exception occurred 3568 */ 3569 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3570 long groupId, int status) 3571 throws com.liferay.portal.kernel.exception.SystemException; 3572 3573 /** 3574 * Returns a range of all the journal articles where groupId = ? and status = ?. 3575 * 3576 * <p> 3577 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3578 * </p> 3579 * 3580 * @param groupId the group ID 3581 * @param status the status 3582 * @param start the lower bound of the range of journal articles 3583 * @param end the upper bound of the range of journal articles (not inclusive) 3584 * @return the range of matching journal articles 3585 * @throws SystemException if a system exception occurred 3586 */ 3587 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3588 long groupId, int status, int start, int end) 3589 throws com.liferay.portal.kernel.exception.SystemException; 3590 3591 /** 3592 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 3593 * 3594 * <p> 3595 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3596 * </p> 3597 * 3598 * @param groupId the group ID 3599 * @param status the status 3600 * @param start the lower bound of the range of journal articles 3601 * @param end the upper bound of the range of journal articles (not inclusive) 3602 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3603 * @return the ordered range of matching journal articles 3604 * @throws SystemException if a system exception occurred 3605 */ 3606 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3607 long groupId, int status, int start, int end, 3608 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3609 throws com.liferay.portal.kernel.exception.SystemException; 3610 3611 /** 3612 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3613 * 3614 * @param groupId the group ID 3615 * @param status the status 3616 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3617 * @return the first matching journal article 3618 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3619 * @throws SystemException if a system exception occurred 3620 */ 3621 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 3622 long groupId, int status, 3623 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3624 throws com.liferay.portal.kernel.exception.SystemException, 3625 com.liferay.portlet.journal.NoSuchArticleException; 3626 3627 /** 3628 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3629 * 3630 * @param groupId the group ID 3631 * @param status the status 3632 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3633 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3634 * @throws SystemException if a system exception occurred 3635 */ 3636 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 3637 long groupId, int status, 3638 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3639 throws com.liferay.portal.kernel.exception.SystemException; 3640 3641 /** 3642 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3643 * 3644 * @param groupId the group ID 3645 * @param status the status 3646 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3647 * @return the last matching journal article 3648 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3649 * @throws SystemException if a system exception occurred 3650 */ 3651 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 3652 long groupId, int status, 3653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3654 throws com.liferay.portal.kernel.exception.SystemException, 3655 com.liferay.portlet.journal.NoSuchArticleException; 3656 3657 /** 3658 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3659 * 3660 * @param groupId the group ID 3661 * @param status the status 3662 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3663 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3664 * @throws SystemException if a system exception occurred 3665 */ 3666 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 3667 long groupId, int status, 3668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3669 throws com.liferay.portal.kernel.exception.SystemException; 3670 3671 /** 3672 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 3673 * 3674 * @param id the primary key of the current journal article 3675 * @param groupId the group ID 3676 * @param status the status 3677 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3678 * @return the previous, current, and next journal article 3679 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3680 * @throws SystemException if a system exception occurred 3681 */ 3682 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 3683 long id, long groupId, int status, 3684 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3685 throws com.liferay.portal.kernel.exception.SystemException, 3686 com.liferay.portlet.journal.NoSuchArticleException; 3687 3688 /** 3689 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 3690 * 3691 * @param groupId the group ID 3692 * @param status the status 3693 * @return the matching journal articles that the user has permission to view 3694 * @throws SystemException if a system exception occurred 3695 */ 3696 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3697 long groupId, int status) 3698 throws com.liferay.portal.kernel.exception.SystemException; 3699 3700 /** 3701 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3702 * 3703 * <p> 3704 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3705 * </p> 3706 * 3707 * @param groupId the group ID 3708 * @param status the status 3709 * @param start the lower bound of the range of journal articles 3710 * @param end the upper bound of the range of journal articles (not inclusive) 3711 * @return the range of matching journal articles that the user has permission to view 3712 * @throws SystemException if a system exception occurred 3713 */ 3714 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3715 long groupId, int status, int start, int end) 3716 throws com.liferay.portal.kernel.exception.SystemException; 3717 3718 /** 3719 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3720 * 3721 * <p> 3722 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3723 * </p> 3724 * 3725 * @param groupId the group ID 3726 * @param status the status 3727 * @param start the lower bound of the range of journal articles 3728 * @param end the upper bound of the range of journal articles (not inclusive) 3729 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3730 * @return the ordered range of matching journal articles that the user has permission to view 3731 * @throws SystemException if a system exception occurred 3732 */ 3733 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3734 long groupId, int status, int start, int end, 3735 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3736 throws com.liferay.portal.kernel.exception.SystemException; 3737 3738 /** 3739 * 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 = ?. 3740 * 3741 * @param id the primary key of the current journal article 3742 * @param groupId the group ID 3743 * @param status the status 3744 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3745 * @return the previous, current, and next journal article 3746 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3747 * @throws SystemException if a system exception occurred 3748 */ 3749 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 3750 long id, long groupId, int status, 3751 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3752 throws com.liferay.portal.kernel.exception.SystemException, 3753 com.liferay.portlet.journal.NoSuchArticleException; 3754 3755 /** 3756 * Removes all the journal articles where groupId = ? and status = ? from the database. 3757 * 3758 * @param groupId the group ID 3759 * @param status the status 3760 * @throws SystemException if a system exception occurred 3761 */ 3762 public void removeByG_ST(long groupId, int status) 3763 throws com.liferay.portal.kernel.exception.SystemException; 3764 3765 /** 3766 * Returns the number of journal articles where groupId = ? and status = ?. 3767 * 3768 * @param groupId the group ID 3769 * @param status the status 3770 * @return the number of matching journal articles 3771 * @throws SystemException if a system exception occurred 3772 */ 3773 public int countByG_ST(long groupId, int status) 3774 throws com.liferay.portal.kernel.exception.SystemException; 3775 3776 /** 3777 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 3778 * 3779 * @param groupId the group ID 3780 * @param status the status 3781 * @return the number of matching journal articles that the user has permission to view 3782 * @throws SystemException if a system exception occurred 3783 */ 3784 public int filterCountByG_ST(long groupId, int status) 3785 throws com.liferay.portal.kernel.exception.SystemException; 3786 3787 /** 3788 * Returns all the journal articles where companyId = ? and version = ?. 3789 * 3790 * @param companyId the company ID 3791 * @param version the version 3792 * @return the matching journal articles 3793 * @throws SystemException if a system exception occurred 3794 */ 3795 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3796 long companyId, double version) 3797 throws com.liferay.portal.kernel.exception.SystemException; 3798 3799 /** 3800 * Returns a range of all the journal articles where companyId = ? and version = ?. 3801 * 3802 * <p> 3803 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3804 * </p> 3805 * 3806 * @param companyId the company ID 3807 * @param version the version 3808 * @param start the lower bound of the range of journal articles 3809 * @param end the upper bound of the range of journal articles (not inclusive) 3810 * @return the range of matching journal articles 3811 * @throws SystemException if a system exception occurred 3812 */ 3813 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3814 long companyId, double version, int start, int end) 3815 throws com.liferay.portal.kernel.exception.SystemException; 3816 3817 /** 3818 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 3819 * 3820 * <p> 3821 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3822 * </p> 3823 * 3824 * @param companyId the company ID 3825 * @param version the version 3826 * @param start the lower bound of the range of journal articles 3827 * @param end the upper bound of the range of journal articles (not inclusive) 3828 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3829 * @return the ordered range of matching journal articles 3830 * @throws SystemException if a system exception occurred 3831 */ 3832 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3833 long companyId, double version, int start, int end, 3834 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3835 throws com.liferay.portal.kernel.exception.SystemException; 3836 3837 /** 3838 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3839 * 3840 * @param companyId the company ID 3841 * @param version the version 3842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3843 * @return the first matching journal article 3844 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3845 * @throws SystemException if a system exception occurred 3846 */ 3847 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 3848 long companyId, double version, 3849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3850 throws com.liferay.portal.kernel.exception.SystemException, 3851 com.liferay.portlet.journal.NoSuchArticleException; 3852 3853 /** 3854 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3855 * 3856 * @param companyId the company ID 3857 * @param version the version 3858 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3859 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3860 * @throws SystemException if a system exception occurred 3861 */ 3862 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 3863 long companyId, double version, 3864 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3865 throws com.liferay.portal.kernel.exception.SystemException; 3866 3867 /** 3868 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3869 * 3870 * @param companyId the company ID 3871 * @param version the version 3872 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3873 * @return the last matching journal article 3874 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3875 * @throws SystemException if a system exception occurred 3876 */ 3877 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 3878 long companyId, double version, 3879 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3880 throws com.liferay.portal.kernel.exception.SystemException, 3881 com.liferay.portlet.journal.NoSuchArticleException; 3882 3883 /** 3884 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3885 * 3886 * @param companyId the company ID 3887 * @param version the version 3888 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3889 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3890 * @throws SystemException if a system exception occurred 3891 */ 3892 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 3893 long companyId, double version, 3894 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3895 throws com.liferay.portal.kernel.exception.SystemException; 3896 3897 /** 3898 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 3899 * 3900 * @param id the primary key of the current journal article 3901 * @param companyId the company ID 3902 * @param version the version 3903 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3904 * @return the previous, current, and next journal article 3905 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3906 * @throws SystemException if a system exception occurred 3907 */ 3908 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 3909 long id, long companyId, double version, 3910 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3911 throws com.liferay.portal.kernel.exception.SystemException, 3912 com.liferay.portlet.journal.NoSuchArticleException; 3913 3914 /** 3915 * Removes all the journal articles where companyId = ? and version = ? from the database. 3916 * 3917 * @param companyId the company ID 3918 * @param version the version 3919 * @throws SystemException if a system exception occurred 3920 */ 3921 public void removeByC_V(long companyId, double version) 3922 throws com.liferay.portal.kernel.exception.SystemException; 3923 3924 /** 3925 * Returns the number of journal articles where companyId = ? and version = ?. 3926 * 3927 * @param companyId the company ID 3928 * @param version the version 3929 * @return the number of matching journal articles 3930 * @throws SystemException if a system exception occurred 3931 */ 3932 public int countByC_V(long companyId, double version) 3933 throws com.liferay.portal.kernel.exception.SystemException; 3934 3935 /** 3936 * Returns all the journal articles where companyId = ? and status = ?. 3937 * 3938 * @param companyId the company ID 3939 * @param status the status 3940 * @return the matching journal articles 3941 * @throws SystemException if a system exception occurred 3942 */ 3943 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3944 long companyId, int status) 3945 throws com.liferay.portal.kernel.exception.SystemException; 3946 3947 /** 3948 * Returns a range of all the journal articles where companyId = ? and status = ?. 3949 * 3950 * <p> 3951 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3952 * </p> 3953 * 3954 * @param companyId the company ID 3955 * @param status the status 3956 * @param start the lower bound of the range of journal articles 3957 * @param end the upper bound of the range of journal articles (not inclusive) 3958 * @return the range of matching journal articles 3959 * @throws SystemException if a system exception occurred 3960 */ 3961 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3962 long companyId, int status, int start, int end) 3963 throws com.liferay.portal.kernel.exception.SystemException; 3964 3965 /** 3966 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 3967 * 3968 * <p> 3969 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3970 * </p> 3971 * 3972 * @param companyId the company ID 3973 * @param status the status 3974 * @param start the lower bound of the range of journal articles 3975 * @param end the upper bound of the range of journal articles (not inclusive) 3976 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3977 * @return the ordered range of matching journal articles 3978 * @throws SystemException if a system exception occurred 3979 */ 3980 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3981 long companyId, int status, int start, int end, 3982 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3983 throws com.liferay.portal.kernel.exception.SystemException; 3984 3985 /** 3986 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3987 * 3988 * @param companyId the company ID 3989 * @param status the status 3990 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3991 * @return the first matching journal article 3992 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3993 * @throws SystemException if a system exception occurred 3994 */ 3995 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 3996 long companyId, int status, 3997 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3998 throws com.liferay.portal.kernel.exception.SystemException, 3999 com.liferay.portlet.journal.NoSuchArticleException; 4000 4001 /** 4002 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 4003 * 4004 * @param companyId the company ID 4005 * @param status the status 4006 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4007 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4008 * @throws SystemException if a system exception occurred 4009 */ 4010 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 4011 long companyId, int status, 4012 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4013 throws com.liferay.portal.kernel.exception.SystemException; 4014 4015 /** 4016 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 4017 * 4018 * @param companyId the company ID 4019 * @param status the status 4020 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4021 * @return the last matching journal article 4022 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4023 * @throws SystemException if a system exception occurred 4024 */ 4025 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 4026 long companyId, int status, 4027 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4028 throws com.liferay.portal.kernel.exception.SystemException, 4029 com.liferay.portlet.journal.NoSuchArticleException; 4030 4031 /** 4032 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 4033 * 4034 * @param companyId the company ID 4035 * @param status the status 4036 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4037 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4038 * @throws SystemException if a system exception occurred 4039 */ 4040 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 4041 long companyId, int status, 4042 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4043 throws com.liferay.portal.kernel.exception.SystemException; 4044 4045 /** 4046 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 4047 * 4048 * @param id the primary key of the current journal article 4049 * @param companyId the company ID 4050 * @param status the status 4051 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4052 * @return the previous, current, and next journal article 4053 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4054 * @throws SystemException if a system exception occurred 4055 */ 4056 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 4057 long id, long companyId, int status, 4058 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4059 throws com.liferay.portal.kernel.exception.SystemException, 4060 com.liferay.portlet.journal.NoSuchArticleException; 4061 4062 /** 4063 * Removes all the journal articles where companyId = ? and status = ? from the database. 4064 * 4065 * @param companyId the company ID 4066 * @param status the status 4067 * @throws SystemException if a system exception occurred 4068 */ 4069 public void removeByC_ST(long companyId, int status) 4070 throws com.liferay.portal.kernel.exception.SystemException; 4071 4072 /** 4073 * Returns the number of journal articles where companyId = ? and status = ?. 4074 * 4075 * @param companyId the company ID 4076 * @param status the status 4077 * @return the number of matching journal articles 4078 * @throws SystemException if a system exception occurred 4079 */ 4080 public int countByC_ST(long companyId, int status) 4081 throws com.liferay.portal.kernel.exception.SystemException; 4082 4083 /** 4084 * Returns all the journal articles where companyId = ? and status ≠ ?. 4085 * 4086 * @param companyId the company ID 4087 * @param status the status 4088 * @return the matching journal articles 4089 * @throws SystemException if a system exception occurred 4090 */ 4091 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4092 long companyId, int status) 4093 throws com.liferay.portal.kernel.exception.SystemException; 4094 4095 /** 4096 * Returns a range of all the journal articles where companyId = ? and status ≠ ?. 4097 * 4098 * <p> 4099 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4100 * </p> 4101 * 4102 * @param companyId the company ID 4103 * @param status the status 4104 * @param start the lower bound of the range of journal articles 4105 * @param end the upper bound of the range of journal articles (not inclusive) 4106 * @return the range of matching journal articles 4107 * @throws SystemException if a system exception occurred 4108 */ 4109 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4110 long companyId, int status, int start, int end) 4111 throws com.liferay.portal.kernel.exception.SystemException; 4112 4113 /** 4114 * Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?. 4115 * 4116 * <p> 4117 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4118 * </p> 4119 * 4120 * @param companyId the company ID 4121 * @param status the status 4122 * @param start the lower bound of the range of journal articles 4123 * @param end the upper bound of the range of journal articles (not inclusive) 4124 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4125 * @return the ordered range of matching journal articles 4126 * @throws SystemException if a system exception occurred 4127 */ 4128 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4129 long companyId, int status, int start, int end, 4130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4131 throws com.liferay.portal.kernel.exception.SystemException; 4132 4133 /** 4134 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 4135 * 4136 * @param companyId the company ID 4137 * @param status the status 4138 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4139 * @return the first matching journal article 4140 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4141 * @throws SystemException if a system exception occurred 4142 */ 4143 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First( 4144 long companyId, int status, 4145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4146 throws com.liferay.portal.kernel.exception.SystemException, 4147 com.liferay.portlet.journal.NoSuchArticleException; 4148 4149 /** 4150 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 4151 * 4152 * @param companyId the company ID 4153 * @param status the status 4154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4155 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4156 * @throws SystemException if a system exception occurred 4157 */ 4158 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First( 4159 long companyId, int status, 4160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4161 throws com.liferay.portal.kernel.exception.SystemException; 4162 4163 /** 4164 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 4165 * 4166 * @param companyId the company ID 4167 * @param status the status 4168 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4169 * @return the last matching journal article 4170 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4171 * @throws SystemException if a system exception occurred 4172 */ 4173 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last( 4174 long companyId, int status, 4175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4176 throws com.liferay.portal.kernel.exception.SystemException, 4177 com.liferay.portlet.journal.NoSuchArticleException; 4178 4179 /** 4180 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 4181 * 4182 * @param companyId the company ID 4183 * @param status the status 4184 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4185 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4186 * @throws SystemException if a system exception occurred 4187 */ 4188 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last( 4189 long companyId, int status, 4190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4191 throws com.liferay.portal.kernel.exception.SystemException; 4192 4193 /** 4194 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?. 4195 * 4196 * @param id the primary key of the current journal article 4197 * @param companyId the company ID 4198 * @param status the status 4199 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4200 * @return the previous, current, and next journal article 4201 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4202 * @throws SystemException if a system exception occurred 4203 */ 4204 public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext( 4205 long id, long companyId, int status, 4206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4207 throws com.liferay.portal.kernel.exception.SystemException, 4208 com.liferay.portlet.journal.NoSuchArticleException; 4209 4210 /** 4211 * Removes all the journal articles where companyId = ? and status ≠ ? from the database. 4212 * 4213 * @param companyId the company ID 4214 * @param status the status 4215 * @throws SystemException if a system exception occurred 4216 */ 4217 public void removeByC_NotST(long companyId, int status) 4218 throws com.liferay.portal.kernel.exception.SystemException; 4219 4220 /** 4221 * Returns the number of journal articles where companyId = ? and status ≠ ?. 4222 * 4223 * @param companyId the company ID 4224 * @param status the status 4225 * @return the number of matching journal articles 4226 * @throws SystemException if a system exception occurred 4227 */ 4228 public int countByC_NotST(long companyId, int status) 4229 throws com.liferay.portal.kernel.exception.SystemException; 4230 4231 /** 4232 * Returns all the journal articles where displayDate < ? and status = ?. 4233 * 4234 * @param displayDate the display date 4235 * @param status the status 4236 * @return the matching journal articles 4237 * @throws SystemException if a system exception occurred 4238 */ 4239 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4240 java.util.Date displayDate, int status) 4241 throws com.liferay.portal.kernel.exception.SystemException; 4242 4243 /** 4244 * Returns a range of all the journal articles where displayDate < ? and status = ?. 4245 * 4246 * <p> 4247 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4248 * </p> 4249 * 4250 * @param displayDate the display date 4251 * @param status the status 4252 * @param start the lower bound of the range of journal articles 4253 * @param end the upper bound of the range of journal articles (not inclusive) 4254 * @return the range of matching journal articles 4255 * @throws SystemException if a system exception occurred 4256 */ 4257 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4258 java.util.Date displayDate, int status, int start, int end) 4259 throws com.liferay.portal.kernel.exception.SystemException; 4260 4261 /** 4262 * Returns an ordered range of all the journal articles where displayDate < ? and status = ?. 4263 * 4264 * <p> 4265 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4266 * </p> 4267 * 4268 * @param displayDate the display date 4269 * @param status the status 4270 * @param start the lower bound of the range of journal articles 4271 * @param end the upper bound of the range of journal articles (not inclusive) 4272 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4273 * @return the ordered range of matching journal articles 4274 * @throws SystemException if a system exception occurred 4275 */ 4276 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4277 java.util.Date displayDate, int status, int start, int end, 4278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4279 throws com.liferay.portal.kernel.exception.SystemException; 4280 4281 /** 4282 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4283 * 4284 * @param displayDate the display date 4285 * @param status the status 4286 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4287 * @return the first matching journal article 4288 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4289 * @throws SystemException if a system exception occurred 4290 */ 4291 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First( 4292 java.util.Date displayDate, int status, 4293 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4294 throws com.liferay.portal.kernel.exception.SystemException, 4295 com.liferay.portlet.journal.NoSuchArticleException; 4296 4297 /** 4298 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4299 * 4300 * @param displayDate the display date 4301 * @param status the status 4302 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4303 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4304 * @throws SystemException if a system exception occurred 4305 */ 4306 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First( 4307 java.util.Date displayDate, int status, 4308 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4309 throws com.liferay.portal.kernel.exception.SystemException; 4310 4311 /** 4312 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4313 * 4314 * @param displayDate the display date 4315 * @param status the status 4316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4317 * @return the last matching journal article 4318 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4319 * @throws SystemException if a system exception occurred 4320 */ 4321 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last( 4322 java.util.Date displayDate, int status, 4323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4324 throws com.liferay.portal.kernel.exception.SystemException, 4325 com.liferay.portlet.journal.NoSuchArticleException; 4326 4327 /** 4328 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4329 * 4330 * @param displayDate the display date 4331 * @param status the status 4332 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4333 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4334 * @throws SystemException if a system exception occurred 4335 */ 4336 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last( 4337 java.util.Date displayDate, int status, 4338 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4339 throws com.liferay.portal.kernel.exception.SystemException; 4340 4341 /** 4342 * Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?. 4343 * 4344 * @param id the primary key of the current journal article 4345 * @param displayDate the display date 4346 * @param status the status 4347 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4348 * @return the previous, current, and next journal article 4349 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4350 * @throws SystemException if a system exception occurred 4351 */ 4352 public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext( 4353 long id, java.util.Date displayDate, int status, 4354 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4355 throws com.liferay.portal.kernel.exception.SystemException, 4356 com.liferay.portlet.journal.NoSuchArticleException; 4357 4358 /** 4359 * Removes all the journal articles where displayDate < ? and status = ? from the database. 4360 * 4361 * @param displayDate the display date 4362 * @param status the status 4363 * @throws SystemException if a system exception occurred 4364 */ 4365 public void removeByLtD_S(java.util.Date displayDate, int status) 4366 throws com.liferay.portal.kernel.exception.SystemException; 4367 4368 /** 4369 * Returns the number of journal articles where displayDate < ? and status = ?. 4370 * 4371 * @param displayDate the display date 4372 * @param status the status 4373 * @return the number of matching journal articles 4374 * @throws SystemException if a system exception occurred 4375 */ 4376 public int countByLtD_S(java.util.Date displayDate, int status) 4377 throws com.liferay.portal.kernel.exception.SystemException; 4378 4379 /** 4380 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4381 * 4382 * @param resourcePrimKey the resource prim key 4383 * @param indexable the indexable 4384 * @param status the status 4385 * @return the matching journal articles 4386 * @throws SystemException if a system exception occurred 4387 */ 4388 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4389 long resourcePrimKey, boolean indexable, int status) 4390 throws com.liferay.portal.kernel.exception.SystemException; 4391 4392 /** 4393 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4394 * 4395 * <p> 4396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4397 * </p> 4398 * 4399 * @param resourcePrimKey the resource prim key 4400 * @param indexable the indexable 4401 * @param status the status 4402 * @param start the lower bound of the range of journal articles 4403 * @param end the upper bound of the range of journal articles (not inclusive) 4404 * @return the range of matching journal articles 4405 * @throws SystemException if a system exception occurred 4406 */ 4407 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4408 long resourcePrimKey, boolean indexable, int status, int start, int end) 4409 throws com.liferay.portal.kernel.exception.SystemException; 4410 4411 /** 4412 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4413 * 4414 * <p> 4415 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4416 * </p> 4417 * 4418 * @param resourcePrimKey the resource prim key 4419 * @param indexable the indexable 4420 * @param status the status 4421 * @param start the lower bound of the range of journal articles 4422 * @param end the upper bound of the range of journal articles (not inclusive) 4423 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4424 * @return the ordered range of matching journal articles 4425 * @throws SystemException if a system exception occurred 4426 */ 4427 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4428 long resourcePrimKey, boolean indexable, int status, int start, 4429 int end, 4430 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4431 throws com.liferay.portal.kernel.exception.SystemException; 4432 4433 /** 4434 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4435 * 4436 * @param resourcePrimKey the resource prim key 4437 * @param indexable the indexable 4438 * @param status the status 4439 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4440 * @return the first matching journal article 4441 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4442 * @throws SystemException if a system exception occurred 4443 */ 4444 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First( 4445 long resourcePrimKey, boolean indexable, int status, 4446 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4447 throws com.liferay.portal.kernel.exception.SystemException, 4448 com.liferay.portlet.journal.NoSuchArticleException; 4449 4450 /** 4451 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4452 * 4453 * @param resourcePrimKey the resource prim key 4454 * @param indexable the indexable 4455 * @param status the status 4456 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4457 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4458 * @throws SystemException if a system exception occurred 4459 */ 4460 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First( 4461 long resourcePrimKey, boolean indexable, int status, 4462 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4463 throws com.liferay.portal.kernel.exception.SystemException; 4464 4465 /** 4466 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4467 * 4468 * @param resourcePrimKey the resource prim key 4469 * @param indexable the indexable 4470 * @param status the status 4471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4472 * @return the last matching journal article 4473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4474 * @throws SystemException if a system exception occurred 4475 */ 4476 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last( 4477 long resourcePrimKey, boolean indexable, int status, 4478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4479 throws com.liferay.portal.kernel.exception.SystemException, 4480 com.liferay.portlet.journal.NoSuchArticleException; 4481 4482 /** 4483 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4484 * 4485 * @param resourcePrimKey the resource prim key 4486 * @param indexable the indexable 4487 * @param status the status 4488 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4489 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4490 * @throws SystemException if a system exception occurred 4491 */ 4492 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last( 4493 long resourcePrimKey, boolean indexable, int status, 4494 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4495 throws com.liferay.portal.kernel.exception.SystemException; 4496 4497 /** 4498 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4499 * 4500 * @param id the primary key of the current journal article 4501 * @param resourcePrimKey the resource prim key 4502 * @param indexable the indexable 4503 * @param status the status 4504 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4505 * @return the previous, current, and next journal article 4506 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4507 * @throws SystemException if a system exception occurred 4508 */ 4509 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext( 4510 long id, long resourcePrimKey, boolean indexable, int status, 4511 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4512 throws com.liferay.portal.kernel.exception.SystemException, 4513 com.liferay.portlet.journal.NoSuchArticleException; 4514 4515 /** 4516 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4517 * 4518 * <p> 4519 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4520 * </p> 4521 * 4522 * @param resourcePrimKey the resource prim key 4523 * @param indexable the indexable 4524 * @param statuses the statuses 4525 * @return the matching journal articles 4526 * @throws SystemException if a system exception occurred 4527 */ 4528 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4529 long resourcePrimKey, boolean indexable, int[] statuses) 4530 throws com.liferay.portal.kernel.exception.SystemException; 4531 4532 /** 4533 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4534 * 4535 * <p> 4536 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4537 * </p> 4538 * 4539 * @param resourcePrimKey the resource prim key 4540 * @param indexable the indexable 4541 * @param statuses the statuses 4542 * @param start the lower bound of the range of journal articles 4543 * @param end the upper bound of the range of journal articles (not inclusive) 4544 * @return the range of matching journal articles 4545 * @throws SystemException if a system exception occurred 4546 */ 4547 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4548 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4549 int end) throws com.liferay.portal.kernel.exception.SystemException; 4550 4551 /** 4552 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4553 * 4554 * <p> 4555 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4556 * </p> 4557 * 4558 * @param resourcePrimKey the resource prim key 4559 * @param indexable the indexable 4560 * @param statuses the statuses 4561 * @param start the lower bound of the range of journal articles 4562 * @param end the upper bound of the range of journal articles (not inclusive) 4563 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4564 * @return the ordered range of matching journal articles 4565 * @throws SystemException if a system exception occurred 4566 */ 4567 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4568 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4569 int end, 4570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4571 throws com.liferay.portal.kernel.exception.SystemException; 4572 4573 /** 4574 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database. 4575 * 4576 * @param resourcePrimKey the resource prim key 4577 * @param indexable the indexable 4578 * @param status the status 4579 * @throws SystemException if a system exception occurred 4580 */ 4581 public void removeByR_I_S(long resourcePrimKey, boolean indexable, 4582 int status) throws com.liferay.portal.kernel.exception.SystemException; 4583 4584 /** 4585 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4586 * 4587 * @param resourcePrimKey the resource prim key 4588 * @param indexable the indexable 4589 * @param status the status 4590 * @return the number of matching journal articles 4591 * @throws SystemException if a system exception occurred 4592 */ 4593 public int countByR_I_S(long resourcePrimKey, boolean indexable, int status) 4594 throws com.liferay.portal.kernel.exception.SystemException; 4595 4596 /** 4597 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4598 * 4599 * @param resourcePrimKey the resource prim key 4600 * @param indexable the indexable 4601 * @param statuses the statuses 4602 * @return the number of matching journal articles 4603 * @throws SystemException if a system exception occurred 4604 */ 4605 public int countByR_I_S(long resourcePrimKey, boolean indexable, 4606 int[] statuses) 4607 throws com.liferay.portal.kernel.exception.SystemException; 4608 4609 /** 4610 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4611 * 4612 * @param groupId the group ID 4613 * @param userId the user ID 4614 * @param classNameId the class name ID 4615 * @return the matching journal articles 4616 * @throws SystemException if a system exception occurred 4617 */ 4618 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4619 long groupId, long userId, long classNameId) 4620 throws com.liferay.portal.kernel.exception.SystemException; 4621 4622 /** 4623 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4624 * 4625 * <p> 4626 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4627 * </p> 4628 * 4629 * @param groupId the group ID 4630 * @param userId the user ID 4631 * @param classNameId the class name ID 4632 * @param start the lower bound of the range of journal articles 4633 * @param end the upper bound of the range of journal articles (not inclusive) 4634 * @return the range of matching journal articles 4635 * @throws SystemException if a system exception occurred 4636 */ 4637 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4638 long groupId, long userId, long classNameId, int start, int end) 4639 throws com.liferay.portal.kernel.exception.SystemException; 4640 4641 /** 4642 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4643 * 4644 * <p> 4645 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4646 * </p> 4647 * 4648 * @param groupId the group ID 4649 * @param userId the user ID 4650 * @param classNameId the class name ID 4651 * @param start the lower bound of the range of journal articles 4652 * @param end the upper bound of the range of journal articles (not inclusive) 4653 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4654 * @return the ordered range of matching journal articles 4655 * @throws SystemException if a system exception occurred 4656 */ 4657 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4658 long groupId, long userId, long classNameId, int start, int end, 4659 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4660 throws com.liferay.portal.kernel.exception.SystemException; 4661 4662 /** 4663 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4664 * 4665 * @param groupId the group ID 4666 * @param userId the user ID 4667 * @param classNameId the class name ID 4668 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4669 * @return the first matching journal article 4670 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4671 * @throws SystemException if a system exception occurred 4672 */ 4673 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 4674 long groupId, long userId, long classNameId, 4675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4676 throws com.liferay.portal.kernel.exception.SystemException, 4677 com.liferay.portlet.journal.NoSuchArticleException; 4678 4679 /** 4680 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4681 * 4682 * @param groupId the group ID 4683 * @param userId the user ID 4684 * @param classNameId the class name ID 4685 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4686 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4687 * @throws SystemException if a system exception occurred 4688 */ 4689 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 4690 long groupId, long userId, long classNameId, 4691 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4692 throws com.liferay.portal.kernel.exception.SystemException; 4693 4694 /** 4695 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4696 * 4697 * @param groupId the group ID 4698 * @param userId the user ID 4699 * @param classNameId the class name ID 4700 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4701 * @return the last matching journal article 4702 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4703 * @throws SystemException if a system exception occurred 4704 */ 4705 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 4706 long groupId, long userId, long classNameId, 4707 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4708 throws com.liferay.portal.kernel.exception.SystemException, 4709 com.liferay.portlet.journal.NoSuchArticleException; 4710 4711 /** 4712 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4713 * 4714 * @param groupId the group ID 4715 * @param userId the user ID 4716 * @param classNameId the class name ID 4717 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4718 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4719 * @throws SystemException if a system exception occurred 4720 */ 4721 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 4722 long groupId, long userId, long classNameId, 4723 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4724 throws com.liferay.portal.kernel.exception.SystemException; 4725 4726 /** 4727 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4728 * 4729 * @param id the primary key of the current journal article 4730 * @param groupId the group ID 4731 * @param userId the user ID 4732 * @param classNameId the class name ID 4733 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4734 * @return the previous, current, and next journal article 4735 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4736 * @throws SystemException if a system exception occurred 4737 */ 4738 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 4739 long id, long groupId, long userId, long classNameId, 4740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4741 throws com.liferay.portal.kernel.exception.SystemException, 4742 com.liferay.portlet.journal.NoSuchArticleException; 4743 4744 /** 4745 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4746 * 4747 * @param groupId the group ID 4748 * @param userId the user ID 4749 * @param classNameId the class name ID 4750 * @return the matching journal articles that the user has permission to view 4751 * @throws SystemException if a system exception occurred 4752 */ 4753 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4754 long groupId, long userId, long classNameId) 4755 throws com.liferay.portal.kernel.exception.SystemException; 4756 4757 /** 4758 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4759 * 4760 * <p> 4761 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4762 * </p> 4763 * 4764 * @param groupId the group ID 4765 * @param userId the user ID 4766 * @param classNameId the class name ID 4767 * @param start the lower bound of the range of journal articles 4768 * @param end the upper bound of the range of journal articles (not inclusive) 4769 * @return the range of matching journal articles that the user has permission to view 4770 * @throws SystemException if a system exception occurred 4771 */ 4772 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4773 long groupId, long userId, long classNameId, int start, int end) 4774 throws com.liferay.portal.kernel.exception.SystemException; 4775 4776 /** 4777 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 4778 * 4779 * <p> 4780 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4781 * </p> 4782 * 4783 * @param groupId the group ID 4784 * @param userId the user ID 4785 * @param classNameId the class name ID 4786 * @param start the lower bound of the range of journal articles 4787 * @param end the upper bound of the range of journal articles (not inclusive) 4788 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4789 * @return the ordered range of matching journal articles that the user has permission to view 4790 * @throws SystemException if a system exception occurred 4791 */ 4792 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4793 long groupId, long userId, long classNameId, int start, int end, 4794 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4795 throws com.liferay.portal.kernel.exception.SystemException; 4796 4797 /** 4798 * 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 = ?. 4799 * 4800 * @param id the primary key of the current journal article 4801 * @param groupId the group ID 4802 * @param userId the user ID 4803 * @param classNameId the class name ID 4804 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4805 * @return the previous, current, and next journal article 4806 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4807 * @throws SystemException if a system exception occurred 4808 */ 4809 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 4810 long id, long groupId, long userId, long classNameId, 4811 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4812 throws com.liferay.portal.kernel.exception.SystemException, 4813 com.liferay.portlet.journal.NoSuchArticleException; 4814 4815 /** 4816 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 4817 * 4818 * @param groupId the group ID 4819 * @param userId the user ID 4820 * @param classNameId the class name ID 4821 * @throws SystemException if a system exception occurred 4822 */ 4823 public void removeByG_U_C(long groupId, long userId, long classNameId) 4824 throws com.liferay.portal.kernel.exception.SystemException; 4825 4826 /** 4827 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 4828 * 4829 * @param groupId the group ID 4830 * @param userId the user ID 4831 * @param classNameId the class name ID 4832 * @return the number of matching journal articles 4833 * @throws SystemException if a system exception occurred 4834 */ 4835 public int countByG_U_C(long groupId, long userId, long classNameId) 4836 throws com.liferay.portal.kernel.exception.SystemException; 4837 4838 /** 4839 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4840 * 4841 * @param groupId the group ID 4842 * @param userId the user ID 4843 * @param classNameId the class name ID 4844 * @return the number of matching journal articles that the user has permission to view 4845 * @throws SystemException if a system exception occurred 4846 */ 4847 public int filterCountByG_U_C(long groupId, long userId, long classNameId) 4848 throws com.liferay.portal.kernel.exception.SystemException; 4849 4850 /** 4851 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 4852 * 4853 * @param groupId the group ID 4854 * @param folderId the folder ID 4855 * @param status the status 4856 * @return the matching journal articles 4857 * @throws SystemException if a system exception occurred 4858 */ 4859 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4860 long groupId, long folderId, int status) 4861 throws com.liferay.portal.kernel.exception.SystemException; 4862 4863 /** 4864 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4865 * 4866 * <p> 4867 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4868 * </p> 4869 * 4870 * @param groupId the group ID 4871 * @param folderId the folder ID 4872 * @param status the status 4873 * @param start the lower bound of the range of journal articles 4874 * @param end the upper bound of the range of journal articles (not inclusive) 4875 * @return the range of matching journal articles 4876 * @throws SystemException if a system exception occurred 4877 */ 4878 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4879 long groupId, long folderId, int status, int start, int end) 4880 throws com.liferay.portal.kernel.exception.SystemException; 4881 4882 /** 4883 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4884 * 4885 * <p> 4886 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4887 * </p> 4888 * 4889 * @param groupId the group ID 4890 * @param folderId the folder ID 4891 * @param status the status 4892 * @param start the lower bound of the range of journal articles 4893 * @param end the upper bound of the range of journal articles (not inclusive) 4894 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4895 * @return the ordered range of matching journal articles 4896 * @throws SystemException if a system exception occurred 4897 */ 4898 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4899 long groupId, long folderId, int status, int start, int end, 4900 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4901 throws com.liferay.portal.kernel.exception.SystemException; 4902 4903 /** 4904 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4905 * 4906 * @param groupId the group ID 4907 * @param folderId the folder ID 4908 * @param status the status 4909 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4910 * @return the first matching journal article 4911 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4912 * @throws SystemException if a system exception occurred 4913 */ 4914 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 4915 long groupId, long folderId, int status, 4916 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4917 throws com.liferay.portal.kernel.exception.SystemException, 4918 com.liferay.portlet.journal.NoSuchArticleException; 4919 4920 /** 4921 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4922 * 4923 * @param groupId the group ID 4924 * @param folderId the folder ID 4925 * @param status the status 4926 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4927 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4928 * @throws SystemException if a system exception occurred 4929 */ 4930 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 4931 long groupId, long folderId, int status, 4932 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4933 throws com.liferay.portal.kernel.exception.SystemException; 4934 4935 /** 4936 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4937 * 4938 * @param groupId the group ID 4939 * @param folderId the folder ID 4940 * @param status the status 4941 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4942 * @return the last matching journal article 4943 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4944 * @throws SystemException if a system exception occurred 4945 */ 4946 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 4947 long groupId, long folderId, int status, 4948 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4949 throws com.liferay.portal.kernel.exception.SystemException, 4950 com.liferay.portlet.journal.NoSuchArticleException; 4951 4952 /** 4953 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4954 * 4955 * @param groupId the group ID 4956 * @param folderId the folder ID 4957 * @param status the status 4958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4959 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4960 * @throws SystemException if a system exception occurred 4961 */ 4962 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 4963 long groupId, long folderId, int status, 4964 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4965 throws com.liferay.portal.kernel.exception.SystemException; 4966 4967 /** 4968 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4969 * 4970 * @param id the primary key of the current journal article 4971 * @param groupId the group ID 4972 * @param folderId the folder ID 4973 * @param status the status 4974 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4975 * @return the previous, current, and next journal article 4976 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4977 * @throws SystemException if a system exception occurred 4978 */ 4979 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 4980 long id, long groupId, long folderId, int status, 4981 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4982 throws com.liferay.portal.kernel.exception.SystemException, 4983 com.liferay.portlet.journal.NoSuchArticleException; 4984 4985 /** 4986 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4987 * 4988 * @param groupId the group ID 4989 * @param folderId the folder ID 4990 * @param status the status 4991 * @return the matching journal articles that the user has permission to view 4992 * @throws SystemException if a system exception occurred 4993 */ 4994 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4995 long groupId, long folderId, int status) 4996 throws com.liferay.portal.kernel.exception.SystemException; 4997 4998 /** 4999 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5000 * 5001 * <p> 5002 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5003 * </p> 5004 * 5005 * @param groupId the group ID 5006 * @param folderId the folder ID 5007 * @param status the status 5008 * @param start the lower bound of the range of journal articles 5009 * @param end the upper bound of the range of journal articles (not inclusive) 5010 * @return the range of matching journal articles that the user has permission to view 5011 * @throws SystemException if a system exception occurred 5012 */ 5013 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5014 long groupId, long folderId, int status, int start, int end) 5015 throws com.liferay.portal.kernel.exception.SystemException; 5016 5017 /** 5018 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 5019 * 5020 * <p> 5021 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5022 * </p> 5023 * 5024 * @param groupId the group ID 5025 * @param folderId the folder ID 5026 * @param status the status 5027 * @param start the lower bound of the range of journal articles 5028 * @param end the upper bound of the range of journal articles (not inclusive) 5029 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5030 * @return the ordered range of matching journal articles that the user has permission to view 5031 * @throws SystemException if a system exception occurred 5032 */ 5033 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5034 long groupId, long folderId, int status, int start, int end, 5035 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5036 throws com.liferay.portal.kernel.exception.SystemException; 5037 5038 /** 5039 * 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 = ?. 5040 * 5041 * @param id the primary key of the current journal article 5042 * @param groupId the group ID 5043 * @param folderId the folder ID 5044 * @param status the status 5045 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5046 * @return the previous, current, and next journal article 5047 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5048 * @throws SystemException if a system exception occurred 5049 */ 5050 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 5051 long id, long groupId, long folderId, int status, 5052 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5053 throws com.liferay.portal.kernel.exception.SystemException, 5054 com.liferay.portlet.journal.NoSuchArticleException; 5055 5056 /** 5057 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5058 * 5059 * @param groupId the group ID 5060 * @param folderId the folder ID 5061 * @param statuses the statuses 5062 * @return the matching journal articles that the user has permission to view 5063 * @throws SystemException if a system exception occurred 5064 */ 5065 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5066 long groupId, long folderId, int[] statuses) 5067 throws com.liferay.portal.kernel.exception.SystemException; 5068 5069 /** 5070 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5071 * 5072 * <p> 5073 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5074 * </p> 5075 * 5076 * @param groupId the group ID 5077 * @param folderId the folder ID 5078 * @param statuses the statuses 5079 * @param start the lower bound of the range of journal articles 5080 * @param end the upper bound of the range of journal articles (not inclusive) 5081 * @return the range of matching journal articles that the user has permission to view 5082 * @throws SystemException if a system exception occurred 5083 */ 5084 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5085 long groupId, long folderId, int[] statuses, int start, int end) 5086 throws com.liferay.portal.kernel.exception.SystemException; 5087 5088 /** 5089 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5090 * 5091 * <p> 5092 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5093 * </p> 5094 * 5095 * @param groupId the group ID 5096 * @param folderId the folder ID 5097 * @param statuses the statuses 5098 * @param start the lower bound of the range of journal articles 5099 * @param end the upper bound of the range of journal articles (not inclusive) 5100 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5101 * @return the ordered range of matching journal articles that the user has permission to view 5102 * @throws SystemException if a system exception occurred 5103 */ 5104 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5105 long groupId, long folderId, int[] statuses, int start, int end, 5106 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5107 throws com.liferay.portal.kernel.exception.SystemException; 5108 5109 /** 5110 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 5111 * 5112 * <p> 5113 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5114 * </p> 5115 * 5116 * @param groupId the group ID 5117 * @param folderId the folder ID 5118 * @param statuses the statuses 5119 * @return the matching journal articles 5120 * @throws SystemException if a system exception occurred 5121 */ 5122 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5123 long groupId, long folderId, int[] statuses) 5124 throws com.liferay.portal.kernel.exception.SystemException; 5125 5126 /** 5127 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 5128 * 5129 * <p> 5130 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5131 * </p> 5132 * 5133 * @param groupId the group ID 5134 * @param folderId the folder ID 5135 * @param statuses the statuses 5136 * @param start the lower bound of the range of journal articles 5137 * @param end the upper bound of the range of journal articles (not inclusive) 5138 * @return the range of matching journal articles 5139 * @throws SystemException if a system exception occurred 5140 */ 5141 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5142 long groupId, long folderId, int[] statuses, int start, int end) 5143 throws com.liferay.portal.kernel.exception.SystemException; 5144 5145 /** 5146 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 5147 * 5148 * <p> 5149 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5150 * </p> 5151 * 5152 * @param groupId the group ID 5153 * @param folderId the folder ID 5154 * @param statuses the statuses 5155 * @param start the lower bound of the range of journal articles 5156 * @param end the upper bound of the range of journal articles (not inclusive) 5157 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5158 * @return the ordered range of matching journal articles 5159 * @throws SystemException if a system exception occurred 5160 */ 5161 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5162 long groupId, long folderId, int[] statuses, int start, int end, 5163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5164 throws com.liferay.portal.kernel.exception.SystemException; 5165 5166 /** 5167 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 5168 * 5169 * @param groupId the group ID 5170 * @param folderId the folder ID 5171 * @param status the status 5172 * @throws SystemException if a system exception occurred 5173 */ 5174 public void removeByG_F_ST(long groupId, long folderId, int status) 5175 throws com.liferay.portal.kernel.exception.SystemException; 5176 5177 /** 5178 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 5179 * 5180 * @param groupId the group ID 5181 * @param folderId the folder ID 5182 * @param status the status 5183 * @return the number of matching journal articles 5184 * @throws SystemException if a system exception occurred 5185 */ 5186 public int countByG_F_ST(long groupId, long folderId, int status) 5187 throws com.liferay.portal.kernel.exception.SystemException; 5188 5189 /** 5190 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 5191 * 5192 * @param groupId the group ID 5193 * @param folderId the folder ID 5194 * @param statuses the statuses 5195 * @return the number of matching journal articles 5196 * @throws SystemException if a system exception occurred 5197 */ 5198 public int countByG_F_ST(long groupId, long folderId, int[] statuses) 5199 throws com.liferay.portal.kernel.exception.SystemException; 5200 5201 /** 5202 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5203 * 5204 * @param groupId the group ID 5205 * @param folderId the folder ID 5206 * @param status the status 5207 * @return the number of matching journal articles that the user has permission to view 5208 * @throws SystemException if a system exception occurred 5209 */ 5210 public int filterCountByG_F_ST(long groupId, long folderId, int status) 5211 throws com.liferay.portal.kernel.exception.SystemException; 5212 5213 /** 5214 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5215 * 5216 * @param groupId the group ID 5217 * @param folderId the folder ID 5218 * @param statuses the statuses 5219 * @return the number of matching journal articles that the user has permission to view 5220 * @throws SystemException if a system exception occurred 5221 */ 5222 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses) 5223 throws com.liferay.portal.kernel.exception.SystemException; 5224 5225 /** 5226 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5227 * 5228 * @param groupId the group ID 5229 * @param classNameId the class name ID 5230 * @param classPK the class p k 5231 * @return the matching journal articles 5232 * @throws SystemException if a system exception occurred 5233 */ 5234 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5235 long groupId, long classNameId, long classPK) 5236 throws com.liferay.portal.kernel.exception.SystemException; 5237 5238 /** 5239 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5240 * 5241 * <p> 5242 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5243 * </p> 5244 * 5245 * @param groupId the group ID 5246 * @param classNameId the class name ID 5247 * @param classPK the class p k 5248 * @param start the lower bound of the range of journal articles 5249 * @param end the upper bound of the range of journal articles (not inclusive) 5250 * @return the range of matching journal articles 5251 * @throws SystemException if a system exception occurred 5252 */ 5253 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5254 long groupId, long classNameId, long classPK, int start, int end) 5255 throws com.liferay.portal.kernel.exception.SystemException; 5256 5257 /** 5258 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5259 * 5260 * <p> 5261 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5262 * </p> 5263 * 5264 * @param groupId the group ID 5265 * @param classNameId the class name ID 5266 * @param classPK the class p k 5267 * @param start the lower bound of the range of journal articles 5268 * @param end the upper bound of the range of journal articles (not inclusive) 5269 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5270 * @return the ordered range of matching journal articles 5271 * @throws SystemException if a system exception occurred 5272 */ 5273 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5274 long groupId, long classNameId, long classPK, int start, int end, 5275 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5276 throws com.liferay.portal.kernel.exception.SystemException; 5277 5278 /** 5279 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5280 * 5281 * @param groupId the group ID 5282 * @param classNameId the class name ID 5283 * @param classPK the class p k 5284 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5285 * @return the first matching journal article 5286 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5287 * @throws SystemException if a system exception occurred 5288 */ 5289 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 5290 long groupId, long classNameId, long classPK, 5291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5292 throws com.liferay.portal.kernel.exception.SystemException, 5293 com.liferay.portlet.journal.NoSuchArticleException; 5294 5295 /** 5296 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5297 * 5298 * @param groupId the group ID 5299 * @param classNameId the class name ID 5300 * @param classPK the class p k 5301 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5302 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5303 * @throws SystemException if a system exception occurred 5304 */ 5305 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 5306 long groupId, long classNameId, long classPK, 5307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5308 throws com.liferay.portal.kernel.exception.SystemException; 5309 5310 /** 5311 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5312 * 5313 * @param groupId the group ID 5314 * @param classNameId the class name ID 5315 * @param classPK the class p k 5316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5317 * @return the last matching journal article 5318 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5319 * @throws SystemException if a system exception occurred 5320 */ 5321 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 5322 long groupId, long classNameId, long classPK, 5323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5324 throws com.liferay.portal.kernel.exception.SystemException, 5325 com.liferay.portlet.journal.NoSuchArticleException; 5326 5327 /** 5328 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5329 * 5330 * @param groupId the group ID 5331 * @param classNameId the class name ID 5332 * @param classPK the class p k 5333 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5334 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5335 * @throws SystemException if a system exception occurred 5336 */ 5337 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 5338 long groupId, long classNameId, long classPK, 5339 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5340 throws com.liferay.portal.kernel.exception.SystemException; 5341 5342 /** 5343 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5344 * 5345 * @param id the primary key of the current journal article 5346 * @param groupId the group ID 5347 * @param classNameId the class name ID 5348 * @param classPK the class p k 5349 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5350 * @return the previous, current, and next journal article 5351 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5352 * @throws SystemException if a system exception occurred 5353 */ 5354 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 5355 long id, long groupId, long classNameId, long classPK, 5356 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5357 throws com.liferay.portal.kernel.exception.SystemException, 5358 com.liferay.portlet.journal.NoSuchArticleException; 5359 5360 /** 5361 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5362 * 5363 * @param groupId the group ID 5364 * @param classNameId the class name ID 5365 * @param classPK the class p k 5366 * @return the matching journal articles that the user has permission to view 5367 * @throws SystemException if a system exception occurred 5368 */ 5369 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5370 long groupId, long classNameId, long classPK) 5371 throws com.liferay.portal.kernel.exception.SystemException; 5372 5373 /** 5374 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5375 * 5376 * <p> 5377 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5378 * </p> 5379 * 5380 * @param groupId the group ID 5381 * @param classNameId the class name ID 5382 * @param classPK the class p k 5383 * @param start the lower bound of the range of journal articles 5384 * @param end the upper bound of the range of journal articles (not inclusive) 5385 * @return the range of matching journal articles that the user has permission to view 5386 * @throws SystemException if a system exception occurred 5387 */ 5388 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5389 long groupId, long classNameId, long classPK, int start, int end) 5390 throws com.liferay.portal.kernel.exception.SystemException; 5391 5392 /** 5393 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 5394 * 5395 * <p> 5396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5397 * </p> 5398 * 5399 * @param groupId the group ID 5400 * @param classNameId the class name ID 5401 * @param classPK the class p k 5402 * @param start the lower bound of the range of journal articles 5403 * @param end the upper bound of the range of journal articles (not inclusive) 5404 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5405 * @return the ordered range of matching journal articles that the user has permission to view 5406 * @throws SystemException if a system exception occurred 5407 */ 5408 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5409 long groupId, long classNameId, long classPK, int start, int end, 5410 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5411 throws com.liferay.portal.kernel.exception.SystemException; 5412 5413 /** 5414 * 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 = ?. 5415 * 5416 * @param id the primary key of the current journal article 5417 * @param groupId the group ID 5418 * @param classNameId the class name ID 5419 * @param classPK the class p k 5420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5421 * @return the previous, current, and next journal article 5422 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5423 * @throws SystemException if a system exception occurred 5424 */ 5425 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 5426 long id, long groupId, long classNameId, long classPK, 5427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5428 throws com.liferay.portal.kernel.exception.SystemException, 5429 com.liferay.portlet.journal.NoSuchArticleException; 5430 5431 /** 5432 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 5433 * 5434 * @param groupId the group ID 5435 * @param classNameId the class name ID 5436 * @param classPK the class p k 5437 * @throws SystemException if a system exception occurred 5438 */ 5439 public void removeByG_C_C(long groupId, long classNameId, long classPK) 5440 throws com.liferay.portal.kernel.exception.SystemException; 5441 5442 /** 5443 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 5444 * 5445 * @param groupId the group ID 5446 * @param classNameId the class name ID 5447 * @param classPK the class p k 5448 * @return the number of matching journal articles 5449 * @throws SystemException if a system exception occurred 5450 */ 5451 public int countByG_C_C(long groupId, long classNameId, long classPK) 5452 throws com.liferay.portal.kernel.exception.SystemException; 5453 5454 /** 5455 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5456 * 5457 * @param groupId the group ID 5458 * @param classNameId the class name ID 5459 * @param classPK the class p k 5460 * @return the number of matching journal articles that the user has permission to view 5461 * @throws SystemException if a system exception occurred 5462 */ 5463 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 5464 throws com.liferay.portal.kernel.exception.SystemException; 5465 5466 /** 5467 * 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. 5468 * 5469 * @param groupId the group ID 5470 * @param classNameId the class name ID 5471 * @param structureId the structure ID 5472 * @return the matching journal article 5473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5474 * @throws SystemException if a system exception occurred 5475 */ 5476 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 5477 long groupId, long classNameId, java.lang.String structureId) 5478 throws com.liferay.portal.kernel.exception.SystemException, 5479 com.liferay.portlet.journal.NoSuchArticleException; 5480 5481 /** 5482 * 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. 5483 * 5484 * @param groupId the group ID 5485 * @param classNameId the class name ID 5486 * @param structureId the structure ID 5487 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5488 * @throws SystemException if a system exception occurred 5489 */ 5490 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 5491 long groupId, long classNameId, java.lang.String structureId) 5492 throws com.liferay.portal.kernel.exception.SystemException; 5493 5494 /** 5495 * 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. 5496 * 5497 * @param groupId the group ID 5498 * @param classNameId the class name ID 5499 * @param structureId the structure ID 5500 * @param retrieveFromCache whether to use the finder cache 5501 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5502 * @throws SystemException if a system exception occurred 5503 */ 5504 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 5505 long groupId, long classNameId, java.lang.String structureId, 5506 boolean retrieveFromCache) 5507 throws com.liferay.portal.kernel.exception.SystemException; 5508 5509 /** 5510 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 5511 * 5512 * @param groupId the group ID 5513 * @param classNameId the class name ID 5514 * @param structureId the structure ID 5515 * @return the journal article that was removed 5516 * @throws SystemException if a system exception occurred 5517 */ 5518 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 5519 long groupId, long classNameId, java.lang.String structureId) 5520 throws com.liferay.portal.kernel.exception.SystemException, 5521 com.liferay.portlet.journal.NoSuchArticleException; 5522 5523 /** 5524 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 5525 * 5526 * @param groupId the group ID 5527 * @param classNameId the class name ID 5528 * @param structureId the structure ID 5529 * @return the number of matching journal articles 5530 * @throws SystemException if a system exception occurred 5531 */ 5532 public int countByG_C_S(long groupId, long classNameId, 5533 java.lang.String structureId) 5534 throws com.liferay.portal.kernel.exception.SystemException; 5535 5536 /** 5537 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5538 * 5539 * @param groupId the group ID 5540 * @param classNameId the class name ID 5541 * @param templateId the template ID 5542 * @return the matching journal articles 5543 * @throws SystemException if a system exception occurred 5544 */ 5545 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5546 long groupId, long classNameId, java.lang.String templateId) 5547 throws com.liferay.portal.kernel.exception.SystemException; 5548 5549 /** 5550 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5551 * 5552 * <p> 5553 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5554 * </p> 5555 * 5556 * @param groupId the group ID 5557 * @param classNameId the class name ID 5558 * @param templateId the template ID 5559 * @param start the lower bound of the range of journal articles 5560 * @param end the upper bound of the range of journal articles (not inclusive) 5561 * @return the range of matching journal articles 5562 * @throws SystemException if a system exception occurred 5563 */ 5564 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5565 long groupId, long classNameId, java.lang.String templateId, int start, 5566 int end) throws com.liferay.portal.kernel.exception.SystemException; 5567 5568 /** 5569 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 5570 * 5571 * <p> 5572 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5573 * </p> 5574 * 5575 * @param groupId the group ID 5576 * @param classNameId the class name ID 5577 * @param templateId the template ID 5578 * @param start the lower bound of the range of journal articles 5579 * @param end the upper bound of the range of journal articles (not inclusive) 5580 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5581 * @return the ordered range of matching journal articles 5582 * @throws SystemException if a system exception occurred 5583 */ 5584 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 5585 long groupId, long classNameId, java.lang.String templateId, int start, 5586 int end, 5587 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5588 throws com.liferay.portal.kernel.exception.SystemException; 5589 5590 /** 5591 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5592 * 5593 * @param groupId the group ID 5594 * @param classNameId the class name ID 5595 * @param templateId the template ID 5596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5597 * @return the first matching journal article 5598 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5599 * @throws SystemException if a system exception occurred 5600 */ 5601 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 5602 long groupId, long classNameId, java.lang.String templateId, 5603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5604 throws com.liferay.portal.kernel.exception.SystemException, 5605 com.liferay.portlet.journal.NoSuchArticleException; 5606 5607 /** 5608 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5609 * 5610 * @param groupId the group ID 5611 * @param classNameId the class name ID 5612 * @param templateId the template ID 5613 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5614 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5615 * @throws SystemException if a system exception occurred 5616 */ 5617 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 5618 long groupId, long classNameId, java.lang.String templateId, 5619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5620 throws com.liferay.portal.kernel.exception.SystemException; 5621 5622 /** 5623 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5624 * 5625 * @param groupId the group ID 5626 * @param classNameId the class name ID 5627 * @param templateId the template ID 5628 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5629 * @return the last matching journal article 5630 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5631 * @throws SystemException if a system exception occurred 5632 */ 5633 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 5634 long groupId, long classNameId, java.lang.String templateId, 5635 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5636 throws com.liferay.portal.kernel.exception.SystemException, 5637 com.liferay.portlet.journal.NoSuchArticleException; 5638 5639 /** 5640 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5641 * 5642 * @param groupId the group ID 5643 * @param classNameId the class name ID 5644 * @param templateId the template ID 5645 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5646 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5647 * @throws SystemException if a system exception occurred 5648 */ 5649 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 5650 long groupId, long classNameId, java.lang.String templateId, 5651 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5652 throws com.liferay.portal.kernel.exception.SystemException; 5653 5654 /** 5655 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5656 * 5657 * @param id the primary key of the current journal article 5658 * @param groupId the group ID 5659 * @param classNameId the class name ID 5660 * @param templateId the template ID 5661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5662 * @return the previous, current, and next journal article 5663 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5664 * @throws SystemException if a system exception occurred 5665 */ 5666 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 5667 long id, long groupId, long classNameId, java.lang.String templateId, 5668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5669 throws com.liferay.portal.kernel.exception.SystemException, 5670 com.liferay.portlet.journal.NoSuchArticleException; 5671 5672 /** 5673 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5674 * 5675 * @param groupId the group ID 5676 * @param classNameId the class name ID 5677 * @param templateId the template ID 5678 * @return the matching journal articles that the user has permission to view 5679 * @throws SystemException if a system exception occurred 5680 */ 5681 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5682 long groupId, long classNameId, java.lang.String templateId) 5683 throws com.liferay.portal.kernel.exception.SystemException; 5684 5685 /** 5686 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5687 * 5688 * <p> 5689 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5690 * </p> 5691 * 5692 * @param groupId the group ID 5693 * @param classNameId the class name ID 5694 * @param templateId the template ID 5695 * @param start the lower bound of the range of journal articles 5696 * @param end the upper bound of the range of journal articles (not inclusive) 5697 * @return the range of matching journal articles that the user has permission to view 5698 * @throws SystemException if a system exception occurred 5699 */ 5700 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5701 long groupId, long classNameId, java.lang.String templateId, int start, 5702 int end) throws com.liferay.portal.kernel.exception.SystemException; 5703 5704 /** 5705 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 5706 * 5707 * <p> 5708 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5709 * </p> 5710 * 5711 * @param groupId the group ID 5712 * @param classNameId the class name ID 5713 * @param templateId the template ID 5714 * @param start the lower bound of the range of journal articles 5715 * @param end the upper bound of the range of journal articles (not inclusive) 5716 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5717 * @return the ordered range of matching journal articles that the user has permission to view 5718 * @throws SystemException if a system exception occurred 5719 */ 5720 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5721 long groupId, long classNameId, java.lang.String templateId, int start, 5722 int end, 5723 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5724 throws com.liferay.portal.kernel.exception.SystemException; 5725 5726 /** 5727 * 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 = ?. 5728 * 5729 * @param id the primary key of the current journal article 5730 * @param groupId the group ID 5731 * @param classNameId the class name ID 5732 * @param templateId the template ID 5733 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5734 * @return the previous, current, and next journal article 5735 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5736 * @throws SystemException if a system exception occurred 5737 */ 5738 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 5739 long id, long groupId, long classNameId, java.lang.String templateId, 5740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5741 throws com.liferay.portal.kernel.exception.SystemException, 5742 com.liferay.portlet.journal.NoSuchArticleException; 5743 5744 /** 5745 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 5746 * 5747 * @param groupId the group ID 5748 * @param classNameId the class name ID 5749 * @param templateId the template ID 5750 * @throws SystemException if a system exception occurred 5751 */ 5752 public void removeByG_C_T(long groupId, long classNameId, 5753 java.lang.String templateId) 5754 throws com.liferay.portal.kernel.exception.SystemException; 5755 5756 /** 5757 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 5758 * 5759 * @param groupId the group ID 5760 * @param classNameId the class name ID 5761 * @param templateId the template ID 5762 * @return the number of matching journal articles 5763 * @throws SystemException if a system exception occurred 5764 */ 5765 public int countByG_C_T(long groupId, long classNameId, 5766 java.lang.String templateId) 5767 throws com.liferay.portal.kernel.exception.SystemException; 5768 5769 /** 5770 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5771 * 5772 * @param groupId the group ID 5773 * @param classNameId the class name ID 5774 * @param templateId the template ID 5775 * @return the number of matching journal articles that the user has permission to view 5776 * @throws SystemException if a system exception occurred 5777 */ 5778 public int filterCountByG_C_T(long groupId, long classNameId, 5779 java.lang.String templateId) 5780 throws com.liferay.portal.kernel.exception.SystemException; 5781 5782 /** 5783 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5784 * 5785 * @param groupId the group ID 5786 * @param classNameId the class name ID 5787 * @param layoutUuid the layout uuid 5788 * @return the matching journal articles 5789 * @throws SystemException if a system exception occurred 5790 */ 5791 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5792 long groupId, long classNameId, java.lang.String layoutUuid) 5793 throws com.liferay.portal.kernel.exception.SystemException; 5794 5795 /** 5796 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5797 * 5798 * <p> 5799 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5800 * </p> 5801 * 5802 * @param groupId the group ID 5803 * @param classNameId the class name ID 5804 * @param layoutUuid the layout uuid 5805 * @param start the lower bound of the range of journal articles 5806 * @param end the upper bound of the range of journal articles (not inclusive) 5807 * @return the range of matching journal articles 5808 * @throws SystemException if a system exception occurred 5809 */ 5810 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5811 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5812 int end) throws com.liferay.portal.kernel.exception.SystemException; 5813 5814 /** 5815 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5816 * 5817 * <p> 5818 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5819 * </p> 5820 * 5821 * @param groupId the group ID 5822 * @param classNameId the class name ID 5823 * @param layoutUuid the layout uuid 5824 * @param start the lower bound of the range of journal articles 5825 * @param end the upper bound of the range of journal articles (not inclusive) 5826 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5827 * @return the ordered range of matching journal articles 5828 * @throws SystemException if a system exception occurred 5829 */ 5830 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5831 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5832 int end, 5833 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5834 throws com.liferay.portal.kernel.exception.SystemException; 5835 5836 /** 5837 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5838 * 5839 * @param groupId the group ID 5840 * @param classNameId the class name ID 5841 * @param layoutUuid the layout uuid 5842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5843 * @return the first matching journal article 5844 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5845 * @throws SystemException if a system exception occurred 5846 */ 5847 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 5848 long groupId, long classNameId, java.lang.String layoutUuid, 5849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5850 throws com.liferay.portal.kernel.exception.SystemException, 5851 com.liferay.portlet.journal.NoSuchArticleException; 5852 5853 /** 5854 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5855 * 5856 * @param groupId the group ID 5857 * @param classNameId the class name ID 5858 * @param layoutUuid the layout uuid 5859 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5860 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5861 * @throws SystemException if a system exception occurred 5862 */ 5863 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 5864 long groupId, long classNameId, java.lang.String layoutUuid, 5865 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5866 throws com.liferay.portal.kernel.exception.SystemException; 5867 5868 /** 5869 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5870 * 5871 * @param groupId the group ID 5872 * @param classNameId the class name ID 5873 * @param layoutUuid the layout uuid 5874 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5875 * @return the last matching journal article 5876 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5877 * @throws SystemException if a system exception occurred 5878 */ 5879 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 5880 long groupId, long classNameId, java.lang.String layoutUuid, 5881 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5882 throws com.liferay.portal.kernel.exception.SystemException, 5883 com.liferay.portlet.journal.NoSuchArticleException; 5884 5885 /** 5886 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5887 * 5888 * @param groupId the group ID 5889 * @param classNameId the class name ID 5890 * @param layoutUuid the layout uuid 5891 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5892 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5893 * @throws SystemException if a system exception occurred 5894 */ 5895 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 5896 long groupId, long classNameId, java.lang.String layoutUuid, 5897 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5898 throws com.liferay.portal.kernel.exception.SystemException; 5899 5900 /** 5901 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5902 * 5903 * @param id the primary key of the current journal article 5904 * @param groupId the group ID 5905 * @param classNameId the class name ID 5906 * @param layoutUuid the layout uuid 5907 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5908 * @return the previous, current, and next journal article 5909 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5910 * @throws SystemException if a system exception occurred 5911 */ 5912 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 5913 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5914 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5915 throws com.liferay.portal.kernel.exception.SystemException, 5916 com.liferay.portlet.journal.NoSuchArticleException; 5917 5918 /** 5919 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5920 * 5921 * @param groupId the group ID 5922 * @param classNameId the class name ID 5923 * @param layoutUuid the layout uuid 5924 * @return the matching journal articles that the user has permission to view 5925 * @throws SystemException if a system exception occurred 5926 */ 5927 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5928 long groupId, long classNameId, java.lang.String layoutUuid) 5929 throws com.liferay.portal.kernel.exception.SystemException; 5930 5931 /** 5932 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5933 * 5934 * <p> 5935 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5936 * </p> 5937 * 5938 * @param groupId the group ID 5939 * @param classNameId the class name ID 5940 * @param layoutUuid the layout uuid 5941 * @param start the lower bound of the range of journal articles 5942 * @param end the upper bound of the range of journal articles (not inclusive) 5943 * @return the range of matching journal articles that the user has permission to view 5944 * @throws SystemException if a system exception occurred 5945 */ 5946 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5947 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5948 int end) throws com.liferay.portal.kernel.exception.SystemException; 5949 5950 /** 5951 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5952 * 5953 * <p> 5954 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5955 * </p> 5956 * 5957 * @param groupId the group ID 5958 * @param classNameId the class name ID 5959 * @param layoutUuid the layout uuid 5960 * @param start the lower bound of the range of journal articles 5961 * @param end the upper bound of the range of journal articles (not inclusive) 5962 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5963 * @return the ordered range of matching journal articles that the user has permission to view 5964 * @throws SystemException if a system exception occurred 5965 */ 5966 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5967 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5968 int end, 5969 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5970 throws com.liferay.portal.kernel.exception.SystemException; 5971 5972 /** 5973 * 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 = ?. 5974 * 5975 * @param id the primary key of the current journal article 5976 * @param groupId the group ID 5977 * @param classNameId the class name ID 5978 * @param layoutUuid the layout uuid 5979 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5980 * @return the previous, current, and next journal article 5981 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5982 * @throws SystemException if a system exception occurred 5983 */ 5984 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 5985 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5986 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5987 throws com.liferay.portal.kernel.exception.SystemException, 5988 com.liferay.portlet.journal.NoSuchArticleException; 5989 5990 /** 5991 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5992 * 5993 * @param groupId the group ID 5994 * @param classNameId the class name ID 5995 * @param layoutUuid the layout uuid 5996 * @throws SystemException if a system exception occurred 5997 */ 5998 public void removeByG_C_L(long groupId, long classNameId, 5999 java.lang.String layoutUuid) 6000 throws com.liferay.portal.kernel.exception.SystemException; 6001 6002 /** 6003 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 6004 * 6005 * @param groupId the group ID 6006 * @param classNameId the class name ID 6007 * @param layoutUuid the layout uuid 6008 * @return the number of matching journal articles 6009 * @throws SystemException if a system exception occurred 6010 */ 6011 public int countByG_C_L(long groupId, long classNameId, 6012 java.lang.String layoutUuid) 6013 throws com.liferay.portal.kernel.exception.SystemException; 6014 6015 /** 6016 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 6017 * 6018 * @param groupId the group ID 6019 * @param classNameId the class name ID 6020 * @param layoutUuid the layout uuid 6021 * @return the number of matching journal articles that the user has permission to view 6022 * @throws SystemException if a system exception occurred 6023 */ 6024 public int filterCountByG_C_L(long groupId, long classNameId, 6025 java.lang.String layoutUuid) 6026 throws com.liferay.portal.kernel.exception.SystemException; 6027 6028 /** 6029 * 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. 6030 * 6031 * @param groupId the group ID 6032 * @param articleId the article ID 6033 * @param version the version 6034 * @return the matching journal article 6035 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6036 * @throws SystemException if a system exception occurred 6037 */ 6038 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 6039 long groupId, java.lang.String articleId, double version) 6040 throws com.liferay.portal.kernel.exception.SystemException, 6041 com.liferay.portlet.journal.NoSuchArticleException; 6042 6043 /** 6044 * 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. 6045 * 6046 * @param groupId the group ID 6047 * @param articleId the article ID 6048 * @param version the version 6049 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 6050 * @throws SystemException if a system exception occurred 6051 */ 6052 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 6053 long groupId, java.lang.String articleId, double version) 6054 throws com.liferay.portal.kernel.exception.SystemException; 6055 6056 /** 6057 * 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. 6058 * 6059 * @param groupId the group ID 6060 * @param articleId the article ID 6061 * @param version the version 6062 * @param retrieveFromCache whether to use the finder cache 6063 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 6064 * @throws SystemException if a system exception occurred 6065 */ 6066 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 6067 long groupId, java.lang.String articleId, double version, 6068 boolean retrieveFromCache) 6069 throws com.liferay.portal.kernel.exception.SystemException; 6070 6071 /** 6072 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 6073 * 6074 * @param groupId the group ID 6075 * @param articleId the article ID 6076 * @param version the version 6077 * @return the journal article that was removed 6078 * @throws SystemException if a system exception occurred 6079 */ 6080 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 6081 long groupId, java.lang.String articleId, double version) 6082 throws com.liferay.portal.kernel.exception.SystemException, 6083 com.liferay.portlet.journal.NoSuchArticleException; 6084 6085 /** 6086 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 6087 * 6088 * @param groupId the group ID 6089 * @param articleId the article ID 6090 * @param version the version 6091 * @return the number of matching journal articles 6092 * @throws SystemException if a system exception occurred 6093 */ 6094 public int countByG_A_V(long groupId, java.lang.String articleId, 6095 double version) 6096 throws com.liferay.portal.kernel.exception.SystemException; 6097 6098 /** 6099 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 6100 * 6101 * @param groupId the group ID 6102 * @param articleId the article ID 6103 * @param status the status 6104 * @return the matching journal articles 6105 * @throws SystemException if a system exception occurred 6106 */ 6107 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6108 long groupId, java.lang.String articleId, int status) 6109 throws com.liferay.portal.kernel.exception.SystemException; 6110 6111 /** 6112 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 6113 * 6114 * <p> 6115 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6116 * </p> 6117 * 6118 * @param groupId the group ID 6119 * @param articleId the article ID 6120 * @param status the status 6121 * @param start the lower bound of the range of journal articles 6122 * @param end the upper bound of the range of journal articles (not inclusive) 6123 * @return the range of matching journal articles 6124 * @throws SystemException if a system exception occurred 6125 */ 6126 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6127 long groupId, java.lang.String articleId, int status, int start, int end) 6128 throws com.liferay.portal.kernel.exception.SystemException; 6129 6130 /** 6131 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 6132 * 6133 * <p> 6134 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6135 * </p> 6136 * 6137 * @param groupId the group ID 6138 * @param articleId the article ID 6139 * @param status the status 6140 * @param start the lower bound of the range of journal articles 6141 * @param end the upper bound of the range of journal articles (not inclusive) 6142 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6143 * @return the ordered range of matching journal articles 6144 * @throws SystemException if a system exception occurred 6145 */ 6146 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6147 long groupId, java.lang.String articleId, int status, int start, 6148 int end, 6149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6150 throws com.liferay.portal.kernel.exception.SystemException; 6151 6152 /** 6153 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6154 * 6155 * @param groupId the group ID 6156 * @param articleId the article ID 6157 * @param status the status 6158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6159 * @return the first matching journal article 6160 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6161 * @throws SystemException if a system exception occurred 6162 */ 6163 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 6164 long groupId, java.lang.String articleId, int status, 6165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6166 throws com.liferay.portal.kernel.exception.SystemException, 6167 com.liferay.portlet.journal.NoSuchArticleException; 6168 6169 /** 6170 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6171 * 6172 * @param groupId the group ID 6173 * @param articleId the article ID 6174 * @param status the status 6175 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6176 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6177 * @throws SystemException if a system exception occurred 6178 */ 6179 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 6180 long groupId, java.lang.String articleId, int status, 6181 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6182 throws com.liferay.portal.kernel.exception.SystemException; 6183 6184 /** 6185 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6186 * 6187 * @param groupId the group ID 6188 * @param articleId the article ID 6189 * @param status the status 6190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6191 * @return the last matching journal article 6192 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6193 * @throws SystemException if a system exception occurred 6194 */ 6195 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 6196 long groupId, java.lang.String articleId, int status, 6197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6198 throws com.liferay.portal.kernel.exception.SystemException, 6199 com.liferay.portlet.journal.NoSuchArticleException; 6200 6201 /** 6202 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6203 * 6204 * @param groupId the group ID 6205 * @param articleId the article ID 6206 * @param status the status 6207 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6208 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6209 * @throws SystemException if a system exception occurred 6210 */ 6211 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 6212 long groupId, java.lang.String articleId, int status, 6213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6214 throws com.liferay.portal.kernel.exception.SystemException; 6215 6216 /** 6217 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6218 * 6219 * @param id the primary key of the current journal article 6220 * @param groupId the group ID 6221 * @param articleId the article ID 6222 * @param status the status 6223 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6224 * @return the previous, current, and next journal article 6225 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6226 * @throws SystemException if a system exception occurred 6227 */ 6228 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 6229 long id, long groupId, java.lang.String articleId, int status, 6230 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6231 throws com.liferay.portal.kernel.exception.SystemException, 6232 com.liferay.portlet.journal.NoSuchArticleException; 6233 6234 /** 6235 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6236 * 6237 * @param groupId the group ID 6238 * @param articleId the article ID 6239 * @param status the status 6240 * @return the matching journal articles that the user has permission to view 6241 * @throws SystemException if a system exception occurred 6242 */ 6243 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6244 long groupId, java.lang.String articleId, int status) 6245 throws com.liferay.portal.kernel.exception.SystemException; 6246 6247 /** 6248 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6249 * 6250 * <p> 6251 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6252 * </p> 6253 * 6254 * @param groupId the group ID 6255 * @param articleId the article ID 6256 * @param status the status 6257 * @param start the lower bound of the range of journal articles 6258 * @param end the upper bound of the range of journal articles (not inclusive) 6259 * @return the range of matching journal articles that the user has permission to view 6260 * @throws SystemException if a system exception occurred 6261 */ 6262 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6263 long groupId, java.lang.String articleId, int status, int start, int end) 6264 throws com.liferay.portal.kernel.exception.SystemException; 6265 6266 /** 6267 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 6268 * 6269 * <p> 6270 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6271 * </p> 6272 * 6273 * @param groupId the group ID 6274 * @param articleId the article ID 6275 * @param status the status 6276 * @param start the lower bound of the range of journal articles 6277 * @param end the upper bound of the range of journal articles (not inclusive) 6278 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6279 * @return the ordered range of matching journal articles that the user has permission to view 6280 * @throws SystemException if a system exception occurred 6281 */ 6282 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6283 long groupId, java.lang.String articleId, int status, int start, 6284 int end, 6285 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6286 throws com.liferay.portal.kernel.exception.SystemException; 6287 6288 /** 6289 * 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 = ?. 6290 * 6291 * @param id the primary key of the current journal article 6292 * @param groupId the group ID 6293 * @param articleId the article ID 6294 * @param status the status 6295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6296 * @return the previous, current, and next journal article 6297 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6298 * @throws SystemException if a system exception occurred 6299 */ 6300 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 6301 long id, long groupId, java.lang.String articleId, int status, 6302 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6303 throws com.liferay.portal.kernel.exception.SystemException, 6304 com.liferay.portlet.journal.NoSuchArticleException; 6305 6306 /** 6307 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6308 * 6309 * @param groupId the group ID 6310 * @param articleId the article ID 6311 * @param statuses the statuses 6312 * @return the matching journal articles that the user has permission to view 6313 * @throws SystemException if a system exception occurred 6314 */ 6315 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6316 long groupId, java.lang.String articleId, int[] statuses) 6317 throws com.liferay.portal.kernel.exception.SystemException; 6318 6319 /** 6320 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6321 * 6322 * <p> 6323 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6324 * </p> 6325 * 6326 * @param groupId the group ID 6327 * @param articleId the article ID 6328 * @param statuses the statuses 6329 * @param start the lower bound of the range of journal articles 6330 * @param end the upper bound of the range of journal articles (not inclusive) 6331 * @return the range of matching journal articles that the user has permission to view 6332 * @throws SystemException if a system exception occurred 6333 */ 6334 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6335 long groupId, java.lang.String articleId, int[] statuses, int start, 6336 int end) throws com.liferay.portal.kernel.exception.SystemException; 6337 6338 /** 6339 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6340 * 6341 * <p> 6342 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6343 * </p> 6344 * 6345 * @param groupId the group ID 6346 * @param articleId the article ID 6347 * @param statuses the statuses 6348 * @param start the lower bound of the range of journal articles 6349 * @param end the upper bound of the range of journal articles (not inclusive) 6350 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6351 * @return the ordered range of matching journal articles that the user has permission to view 6352 * @throws SystemException if a system exception occurred 6353 */ 6354 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6355 long groupId, java.lang.String articleId, int[] statuses, int start, 6356 int end, 6357 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6358 throws com.liferay.portal.kernel.exception.SystemException; 6359 6360 /** 6361 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 6362 * 6363 * <p> 6364 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6365 * </p> 6366 * 6367 * @param groupId the group ID 6368 * @param articleId the article ID 6369 * @param statuses the statuses 6370 * @return the matching journal articles 6371 * @throws SystemException if a system exception occurred 6372 */ 6373 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6374 long groupId, java.lang.String articleId, int[] statuses) 6375 throws com.liferay.portal.kernel.exception.SystemException; 6376 6377 /** 6378 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 6379 * 6380 * <p> 6381 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6382 * </p> 6383 * 6384 * @param groupId the group ID 6385 * @param articleId the article ID 6386 * @param statuses the statuses 6387 * @param start the lower bound of the range of journal articles 6388 * @param end the upper bound of the range of journal articles (not inclusive) 6389 * @return the range of matching journal articles 6390 * @throws SystemException if a system exception occurred 6391 */ 6392 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6393 long groupId, java.lang.String articleId, int[] statuses, int start, 6394 int end) throws com.liferay.portal.kernel.exception.SystemException; 6395 6396 /** 6397 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 6398 * 6399 * <p> 6400 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6401 * </p> 6402 * 6403 * @param groupId the group ID 6404 * @param articleId the article ID 6405 * @param statuses the statuses 6406 * @param start the lower bound of the range of journal articles 6407 * @param end the upper bound of the range of journal articles (not inclusive) 6408 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6409 * @return the ordered range of matching journal articles 6410 * @throws SystemException if a system exception occurred 6411 */ 6412 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6413 long groupId, java.lang.String articleId, int[] statuses, int start, 6414 int end, 6415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6416 throws com.liferay.portal.kernel.exception.SystemException; 6417 6418 /** 6419 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 6420 * 6421 * @param groupId the group ID 6422 * @param articleId the article ID 6423 * @param status the status 6424 * @throws SystemException if a system exception occurred 6425 */ 6426 public void removeByG_A_ST(long groupId, java.lang.String articleId, 6427 int status) throws com.liferay.portal.kernel.exception.SystemException; 6428 6429 /** 6430 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 6431 * 6432 * @param groupId the group ID 6433 * @param articleId the article ID 6434 * @param status the status 6435 * @return the number of matching journal articles 6436 * @throws SystemException if a system exception occurred 6437 */ 6438 public int countByG_A_ST(long groupId, java.lang.String articleId, 6439 int status) throws com.liferay.portal.kernel.exception.SystemException; 6440 6441 /** 6442 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 6443 * 6444 * @param groupId the group ID 6445 * @param articleId the article ID 6446 * @param statuses the statuses 6447 * @return the number of matching journal articles 6448 * @throws SystemException if a system exception occurred 6449 */ 6450 public int countByG_A_ST(long groupId, java.lang.String articleId, 6451 int[] statuses) 6452 throws com.liferay.portal.kernel.exception.SystemException; 6453 6454 /** 6455 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6456 * 6457 * @param groupId the group ID 6458 * @param articleId the article ID 6459 * @param status the status 6460 * @return the number of matching journal articles that the user has permission to view 6461 * @throws SystemException if a system exception occurred 6462 */ 6463 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 6464 int status) throws com.liferay.portal.kernel.exception.SystemException; 6465 6466 /** 6467 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6468 * 6469 * @param groupId the group ID 6470 * @param articleId the article ID 6471 * @param statuses the statuses 6472 * @return the number of matching journal articles that the user has permission to view 6473 * @throws SystemException if a system exception occurred 6474 */ 6475 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 6476 int[] statuses) 6477 throws com.liferay.portal.kernel.exception.SystemException; 6478 6479 /** 6480 * Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 6481 * 6482 * @param groupId the group ID 6483 * @param articleId the article ID 6484 * @param status the status 6485 * @return the matching journal articles 6486 * @throws SystemException if a system exception occurred 6487 */ 6488 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 6489 long groupId, java.lang.String articleId, int status) 6490 throws com.liferay.portal.kernel.exception.SystemException; 6491 6492 /** 6493 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 6494 * 6495 * <p> 6496 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6497 * </p> 6498 * 6499 * @param groupId the group ID 6500 * @param articleId the article ID 6501 * @param status the status 6502 * @param start the lower bound of the range of journal articles 6503 * @param end the upper bound of the range of journal articles (not inclusive) 6504 * @return the range of matching journal articles 6505 * @throws SystemException if a system exception occurred 6506 */ 6507 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 6508 long groupId, java.lang.String articleId, int status, int start, int end) 6509 throws com.liferay.portal.kernel.exception.SystemException; 6510 6511 /** 6512 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 6513 * 6514 * <p> 6515 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6516 * </p> 6517 * 6518 * @param groupId the group ID 6519 * @param articleId the article ID 6520 * @param status the status 6521 * @param start the lower bound of the range of journal articles 6522 * @param end the upper bound of the range of journal articles (not inclusive) 6523 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6524 * @return the ordered range of matching journal articles 6525 * @throws SystemException if a system exception occurred 6526 */ 6527 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 6528 long groupId, java.lang.String articleId, int status, int start, 6529 int end, 6530 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6531 throws com.liferay.portal.kernel.exception.SystemException; 6532 6533 /** 6534 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6535 * 6536 * @param groupId the group ID 6537 * @param articleId the article ID 6538 * @param status the status 6539 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6540 * @return the first matching journal article 6541 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6542 * @throws SystemException if a system exception occurred 6543 */ 6544 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First( 6545 long groupId, java.lang.String articleId, int status, 6546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6547 throws com.liferay.portal.kernel.exception.SystemException, 6548 com.liferay.portlet.journal.NoSuchArticleException; 6549 6550 /** 6551 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6552 * 6553 * @param groupId the group ID 6554 * @param articleId the article ID 6555 * @param status the status 6556 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6557 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6558 * @throws SystemException if a system exception occurred 6559 */ 6560 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First( 6561 long groupId, java.lang.String articleId, int status, 6562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6563 throws com.liferay.portal.kernel.exception.SystemException; 6564 6565 /** 6566 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6567 * 6568 * @param groupId the group ID 6569 * @param articleId the article ID 6570 * @param status the status 6571 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6572 * @return the last matching journal article 6573 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6574 * @throws SystemException if a system exception occurred 6575 */ 6576 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last( 6577 long groupId, java.lang.String articleId, int status, 6578 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6579 throws com.liferay.portal.kernel.exception.SystemException, 6580 com.liferay.portlet.journal.NoSuchArticleException; 6581 6582 /** 6583 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6584 * 6585 * @param groupId the group ID 6586 * @param articleId the article ID 6587 * @param status the status 6588 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6589 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6590 * @throws SystemException if a system exception occurred 6591 */ 6592 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last( 6593 long groupId, java.lang.String articleId, int status, 6594 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6595 throws com.liferay.portal.kernel.exception.SystemException; 6596 6597 /** 6598 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 6599 * 6600 * @param id the primary key of the current journal article 6601 * @param groupId the group ID 6602 * @param articleId the article ID 6603 * @param status the status 6604 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6605 * @return the previous, current, and next journal article 6606 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6607 * @throws SystemException if a system exception occurred 6608 */ 6609 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext( 6610 long id, long groupId, java.lang.String articleId, int status, 6611 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6612 throws com.liferay.portal.kernel.exception.SystemException, 6613 com.liferay.portlet.journal.NoSuchArticleException; 6614 6615 /** 6616 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 6617 * 6618 * @param groupId the group ID 6619 * @param articleId the article ID 6620 * @param status the status 6621 * @return the matching journal articles that the user has permission to view 6622 * @throws SystemException if a system exception occurred 6623 */ 6624 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 6625 long groupId, java.lang.String articleId, int status) 6626 throws com.liferay.portal.kernel.exception.SystemException; 6627 6628 /** 6629 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 6630 * 6631 * <p> 6632 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6633 * </p> 6634 * 6635 * @param groupId the group ID 6636 * @param articleId the article ID 6637 * @param status the status 6638 * @param start the lower bound of the range of journal articles 6639 * @param end the upper bound of the range of journal articles (not inclusive) 6640 * @return the range of matching journal articles that the user has permission to view 6641 * @throws SystemException if a system exception occurred 6642 */ 6643 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 6644 long groupId, java.lang.String articleId, int status, int start, int end) 6645 throws com.liferay.portal.kernel.exception.SystemException; 6646 6647 /** 6648 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?. 6649 * 6650 * <p> 6651 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6652 * </p> 6653 * 6654 * @param groupId the group ID 6655 * @param articleId the article ID 6656 * @param status the status 6657 * @param start the lower bound of the range of journal articles 6658 * @param end the upper bound of the range of journal articles (not inclusive) 6659 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6660 * @return the ordered range of matching journal articles that the user has permission to view 6661 * @throws SystemException if a system exception occurred 6662 */ 6663 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 6664 long groupId, java.lang.String articleId, int status, int start, 6665 int end, 6666 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6667 throws com.liferay.portal.kernel.exception.SystemException; 6668 6669 /** 6670 * 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 ≠ ?. 6671 * 6672 * @param id the primary key of the current journal article 6673 * @param groupId the group ID 6674 * @param articleId the article ID 6675 * @param status the status 6676 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6677 * @return the previous, current, and next journal article 6678 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6679 * @throws SystemException if a system exception occurred 6680 */ 6681 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext( 6682 long id, long groupId, java.lang.String articleId, int status, 6683 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6684 throws com.liferay.portal.kernel.exception.SystemException, 6685 com.liferay.portlet.journal.NoSuchArticleException; 6686 6687 /** 6688 * Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database. 6689 * 6690 * @param groupId the group ID 6691 * @param articleId the article ID 6692 * @param status the status 6693 * @throws SystemException if a system exception occurred 6694 */ 6695 public void removeByG_A_NotST(long groupId, java.lang.String articleId, 6696 int status) throws com.liferay.portal.kernel.exception.SystemException; 6697 6698 /** 6699 * Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?. 6700 * 6701 * @param groupId the group ID 6702 * @param articleId the article ID 6703 * @param status the status 6704 * @return the number of matching journal articles 6705 * @throws SystemException if a system exception occurred 6706 */ 6707 public int countByG_A_NotST(long groupId, java.lang.String articleId, 6708 int status) throws com.liferay.portal.kernel.exception.SystemException; 6709 6710 /** 6711 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 6712 * 6713 * @param groupId the group ID 6714 * @param articleId the article ID 6715 * @param status the status 6716 * @return the number of matching journal articles that the user has permission to view 6717 * @throws SystemException if a system exception occurred 6718 */ 6719 public int filterCountByG_A_NotST(long groupId, java.lang.String articleId, 6720 int status) throws com.liferay.portal.kernel.exception.SystemException; 6721 6722 /** 6723 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6724 * 6725 * @param groupId the group ID 6726 * @param urlTitle the url title 6727 * @param status the status 6728 * @return the matching journal articles 6729 * @throws SystemException if a system exception occurred 6730 */ 6731 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6732 long groupId, java.lang.String urlTitle, int status) 6733 throws com.liferay.portal.kernel.exception.SystemException; 6734 6735 /** 6736 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6737 * 6738 * <p> 6739 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6740 * </p> 6741 * 6742 * @param groupId the group ID 6743 * @param urlTitle the url title 6744 * @param status the status 6745 * @param start the lower bound of the range of journal articles 6746 * @param end the upper bound of the range of journal articles (not inclusive) 6747 * @return the range of matching journal articles 6748 * @throws SystemException if a system exception occurred 6749 */ 6750 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6751 long groupId, java.lang.String urlTitle, int status, int start, int end) 6752 throws com.liferay.portal.kernel.exception.SystemException; 6753 6754 /** 6755 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6756 * 6757 * <p> 6758 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6759 * </p> 6760 * 6761 * @param groupId the group ID 6762 * @param urlTitle the url title 6763 * @param status the status 6764 * @param start the lower bound of the range of journal articles 6765 * @param end the upper bound of the range of journal articles (not inclusive) 6766 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6767 * @return the ordered range of matching journal articles 6768 * @throws SystemException if a system exception occurred 6769 */ 6770 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6771 long groupId, java.lang.String urlTitle, int status, int start, 6772 int end, 6773 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6774 throws com.liferay.portal.kernel.exception.SystemException; 6775 6776 /** 6777 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6778 * 6779 * @param groupId the group ID 6780 * @param urlTitle the url title 6781 * @param status the status 6782 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6783 * @return the first matching journal article 6784 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6785 * @throws SystemException if a system exception occurred 6786 */ 6787 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 6788 long groupId, java.lang.String urlTitle, int status, 6789 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6790 throws com.liferay.portal.kernel.exception.SystemException, 6791 com.liferay.portlet.journal.NoSuchArticleException; 6792 6793 /** 6794 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6795 * 6796 * @param groupId the group ID 6797 * @param urlTitle the url title 6798 * @param status the status 6799 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6800 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6801 * @throws SystemException if a system exception occurred 6802 */ 6803 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 6804 long groupId, java.lang.String urlTitle, int status, 6805 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6806 throws com.liferay.portal.kernel.exception.SystemException; 6807 6808 /** 6809 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6810 * 6811 * @param groupId the group ID 6812 * @param urlTitle the url title 6813 * @param status the status 6814 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6815 * @return the last matching journal article 6816 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6817 * @throws SystemException if a system exception occurred 6818 */ 6819 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 6820 long groupId, java.lang.String urlTitle, int status, 6821 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6822 throws com.liferay.portal.kernel.exception.SystemException, 6823 com.liferay.portlet.journal.NoSuchArticleException; 6824 6825 /** 6826 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6827 * 6828 * @param groupId the group ID 6829 * @param urlTitle the url title 6830 * @param status the status 6831 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6832 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6833 * @throws SystemException if a system exception occurred 6834 */ 6835 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 6836 long groupId, java.lang.String urlTitle, int status, 6837 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6838 throws com.liferay.portal.kernel.exception.SystemException; 6839 6840 /** 6841 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6842 * 6843 * @param id the primary key of the current journal article 6844 * @param groupId the group ID 6845 * @param urlTitle the url title 6846 * @param status the status 6847 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6848 * @return the previous, current, and next journal article 6849 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6850 * @throws SystemException if a system exception occurred 6851 */ 6852 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 6853 long id, long groupId, java.lang.String urlTitle, int status, 6854 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6855 throws com.liferay.portal.kernel.exception.SystemException, 6856 com.liferay.portlet.journal.NoSuchArticleException; 6857 6858 /** 6859 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6860 * 6861 * @param groupId the group ID 6862 * @param urlTitle the url title 6863 * @param status the status 6864 * @return the matching journal articles that the user has permission to view 6865 * @throws SystemException if a system exception occurred 6866 */ 6867 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6868 long groupId, java.lang.String urlTitle, int status) 6869 throws com.liferay.portal.kernel.exception.SystemException; 6870 6871 /** 6872 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6873 * 6874 * <p> 6875 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6876 * </p> 6877 * 6878 * @param groupId the group ID 6879 * @param urlTitle the url title 6880 * @param status the status 6881 * @param start the lower bound of the range of journal articles 6882 * @param end the upper bound of the range of journal articles (not inclusive) 6883 * @return the range of matching journal articles that the user has permission to view 6884 * @throws SystemException if a system exception occurred 6885 */ 6886 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6887 long groupId, java.lang.String urlTitle, int status, int start, int end) 6888 throws com.liferay.portal.kernel.exception.SystemException; 6889 6890 /** 6891 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 6892 * 6893 * <p> 6894 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6895 * </p> 6896 * 6897 * @param groupId the group ID 6898 * @param urlTitle the url title 6899 * @param status the status 6900 * @param start the lower bound of the range of journal articles 6901 * @param end the upper bound of the range of journal articles (not inclusive) 6902 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6903 * @return the ordered range of matching journal articles that the user has permission to view 6904 * @throws SystemException if a system exception occurred 6905 */ 6906 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6907 long groupId, java.lang.String urlTitle, int status, int start, 6908 int end, 6909 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6910 throws com.liferay.portal.kernel.exception.SystemException; 6911 6912 /** 6913 * 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 = ?. 6914 * 6915 * @param id the primary key of the current journal article 6916 * @param groupId the group ID 6917 * @param urlTitle the url title 6918 * @param status the status 6919 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6920 * @return the previous, current, and next journal article 6921 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6922 * @throws SystemException if a system exception occurred 6923 */ 6924 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 6925 long id, long groupId, java.lang.String urlTitle, int status, 6926 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6927 throws com.liferay.portal.kernel.exception.SystemException, 6928 com.liferay.portlet.journal.NoSuchArticleException; 6929 6930 /** 6931 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 6932 * 6933 * @param groupId the group ID 6934 * @param urlTitle the url title 6935 * @param status the status 6936 * @throws SystemException if a system exception occurred 6937 */ 6938 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 6939 int status) throws com.liferay.portal.kernel.exception.SystemException; 6940 6941 /** 6942 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 6943 * 6944 * @param groupId the group ID 6945 * @param urlTitle the url title 6946 * @param status the status 6947 * @return the number of matching journal articles 6948 * @throws SystemException if a system exception occurred 6949 */ 6950 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 6951 int status) throws com.liferay.portal.kernel.exception.SystemException; 6952 6953 /** 6954 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6955 * 6956 * @param groupId the group ID 6957 * @param urlTitle the url title 6958 * @param status the status 6959 * @return the number of matching journal articles that the user has permission to view 6960 * @throws SystemException if a system exception occurred 6961 */ 6962 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 6963 int status) throws com.liferay.portal.kernel.exception.SystemException; 6964 6965 /** 6966 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 6967 * 6968 * @param companyId the company ID 6969 * @param version the version 6970 * @param status the status 6971 * @return the matching journal articles 6972 * @throws SystemException if a system exception occurred 6973 */ 6974 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6975 long companyId, double version, int status) 6976 throws com.liferay.portal.kernel.exception.SystemException; 6977 6978 /** 6979 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 6980 * 6981 * <p> 6982 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6983 * </p> 6984 * 6985 * @param companyId the company ID 6986 * @param version the version 6987 * @param status the status 6988 * @param start the lower bound of the range of journal articles 6989 * @param end the upper bound of the range of journal articles (not inclusive) 6990 * @return the range of matching journal articles 6991 * @throws SystemException if a system exception occurred 6992 */ 6993 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6994 long companyId, double version, int status, int start, int end) 6995 throws com.liferay.portal.kernel.exception.SystemException; 6996 6997 /** 6998 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 6999 * 7000 * <p> 7001 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7002 * </p> 7003 * 7004 * @param companyId the company ID 7005 * @param version the version 7006 * @param status the status 7007 * @param start the lower bound of the range of journal articles 7008 * @param end the upper bound of the range of journal articles (not inclusive) 7009 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7010 * @return the ordered range of matching journal articles 7011 * @throws SystemException if a system exception occurred 7012 */ 7013 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 7014 long companyId, double version, int status, int start, int end, 7015 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7016 throws com.liferay.portal.kernel.exception.SystemException; 7017 7018 /** 7019 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 7020 * 7021 * @param companyId the company ID 7022 * @param version the version 7023 * @param status the status 7024 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7025 * @return the first matching journal article 7026 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7027 * @throws SystemException if a system exception occurred 7028 */ 7029 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 7030 long companyId, double version, int status, 7031 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7032 throws com.liferay.portal.kernel.exception.SystemException, 7033 com.liferay.portlet.journal.NoSuchArticleException; 7034 7035 /** 7036 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 7037 * 7038 * @param companyId the company ID 7039 * @param version the version 7040 * @param status the status 7041 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7042 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 7043 * @throws SystemException if a system exception occurred 7044 */ 7045 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 7046 long companyId, double version, int status, 7047 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7048 throws com.liferay.portal.kernel.exception.SystemException; 7049 7050 /** 7051 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 7052 * 7053 * @param companyId the company ID 7054 * @param version the version 7055 * @param status the status 7056 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7057 * @return the last matching journal article 7058 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7059 * @throws SystemException if a system exception occurred 7060 */ 7061 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 7062 long companyId, double version, int status, 7063 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7064 throws com.liferay.portal.kernel.exception.SystemException, 7065 com.liferay.portlet.journal.NoSuchArticleException; 7066 7067 /** 7068 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 7069 * 7070 * @param companyId the company ID 7071 * @param version the version 7072 * @param status the status 7073 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7074 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 7075 * @throws SystemException if a system exception occurred 7076 */ 7077 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 7078 long companyId, double version, int status, 7079 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7080 throws com.liferay.portal.kernel.exception.SystemException; 7081 7082 /** 7083 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 7084 * 7085 * @param id the primary key of the current journal article 7086 * @param companyId the company ID 7087 * @param version the version 7088 * @param status the status 7089 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7090 * @return the previous, current, and next journal article 7091 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7092 * @throws SystemException if a system exception occurred 7093 */ 7094 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 7095 long id, long companyId, double version, int status, 7096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7097 throws com.liferay.portal.kernel.exception.SystemException, 7098 com.liferay.portlet.journal.NoSuchArticleException; 7099 7100 /** 7101 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 7102 * 7103 * @param companyId the company ID 7104 * @param version the version 7105 * @param status the status 7106 * @throws SystemException if a system exception occurred 7107 */ 7108 public void removeByC_V_ST(long companyId, double version, int status) 7109 throws com.liferay.portal.kernel.exception.SystemException; 7110 7111 /** 7112 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 7113 * 7114 * @param companyId the company ID 7115 * @param version the version 7116 * @param status the status 7117 * @return the number of matching journal articles 7118 * @throws SystemException if a system exception occurred 7119 */ 7120 public int countByC_V_ST(long companyId, double version, int status) 7121 throws com.liferay.portal.kernel.exception.SystemException; 7122 7123 /** 7124 * Caches the journal article in the entity cache if it is enabled. 7125 * 7126 * @param journalArticle the journal article 7127 */ 7128 public void cacheResult( 7129 com.liferay.portlet.journal.model.JournalArticle journalArticle); 7130 7131 /** 7132 * Caches the journal articles in the entity cache if it is enabled. 7133 * 7134 * @param journalArticles the journal articles 7135 */ 7136 public void cacheResult( 7137 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 7138 7139 /** 7140 * Creates a new journal article with the primary key. Does not add the journal article to the database. 7141 * 7142 * @param id the primary key for the new journal article 7143 * @return the new journal article 7144 */ 7145 public com.liferay.portlet.journal.model.JournalArticle create(long id); 7146 7147 /** 7148 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 7149 * 7150 * @param id the primary key of the journal article 7151 * @return the journal article that was removed 7152 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7153 * @throws SystemException if a system exception occurred 7154 */ 7155 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 7156 throws com.liferay.portal.kernel.exception.SystemException, 7157 com.liferay.portlet.journal.NoSuchArticleException; 7158 7159 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 7160 com.liferay.portlet.journal.model.JournalArticle journalArticle) 7161 throws com.liferay.portal.kernel.exception.SystemException; 7162 7163 /** 7164 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 7165 * 7166 * @param id the primary key of the journal article 7167 * @return the journal article 7168 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7169 * @throws SystemException if a system exception occurred 7170 */ 7171 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 7172 long id) 7173 throws com.liferay.portal.kernel.exception.SystemException, 7174 com.liferay.portlet.journal.NoSuchArticleException; 7175 7176 /** 7177 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 7178 * 7179 * @param id the primary key of the journal article 7180 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 7181 * @throws SystemException if a system exception occurred 7182 */ 7183 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 7184 long id) throws com.liferay.portal.kernel.exception.SystemException; 7185 7186 /** 7187 * Returns all the journal articles. 7188 * 7189 * @return the journal articles 7190 * @throws SystemException if a system exception occurred 7191 */ 7192 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 7193 throws com.liferay.portal.kernel.exception.SystemException; 7194 7195 /** 7196 * Returns a range of all the journal articles. 7197 * 7198 * <p> 7199 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7200 * </p> 7201 * 7202 * @param start the lower bound of the range of journal articles 7203 * @param end the upper bound of the range of journal articles (not inclusive) 7204 * @return the range of journal articles 7205 * @throws SystemException if a system exception occurred 7206 */ 7207 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 7208 int start, int end) 7209 throws com.liferay.portal.kernel.exception.SystemException; 7210 7211 /** 7212 * Returns an ordered range of all the journal articles. 7213 * 7214 * <p> 7215 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7216 * </p> 7217 * 7218 * @param start the lower bound of the range of journal articles 7219 * @param end the upper bound of the range of journal articles (not inclusive) 7220 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7221 * @return the ordered range of journal articles 7222 * @throws SystemException if a system exception occurred 7223 */ 7224 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 7225 int start, int end, 7226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 7227 throws com.liferay.portal.kernel.exception.SystemException; 7228 7229 /** 7230 * Removes all the journal articles from the database. 7231 * 7232 * @throws SystemException if a system exception occurred 7233 */ 7234 public void removeAll() 7235 throws com.liferay.portal.kernel.exception.SystemException; 7236 7237 /** 7238 * Returns the number of journal articles. 7239 * 7240 * @return the number of journal articles 7241 * @throws SystemException if a system exception occurred 7242 */ 7243 public int countAll() 7244 throws com.liferay.portal.kernel.exception.SystemException; 7245 }