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