001 /** 002 * Copyright (c) 2000-2012 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 * Removes all the journal articles where structureId = ? from the database. 997 * 998 * @param structureId the structure ID 999 * @throws SystemException if a system exception occurred 1000 */ 1001 public void removeByStructureId(java.lang.String structureId) 1002 throws com.liferay.portal.kernel.exception.SystemException; 1003 1004 /** 1005 * Returns the number of journal articles where structureId = ?. 1006 * 1007 * @param structureId the structure ID 1008 * @return the number of matching journal articles 1009 * @throws SystemException if a system exception occurred 1010 */ 1011 public int countByStructureId(java.lang.String structureId) 1012 throws com.liferay.portal.kernel.exception.SystemException; 1013 1014 /** 1015 * Returns all the journal articles where templateId = ?. 1016 * 1017 * @param templateId the template ID 1018 * @return the matching journal articles 1019 * @throws SystemException if a system exception occurred 1020 */ 1021 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1022 java.lang.String templateId) 1023 throws com.liferay.portal.kernel.exception.SystemException; 1024 1025 /** 1026 * Returns a range of all the journal articles where templateId = ?. 1027 * 1028 * <p> 1029 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1030 * </p> 1031 * 1032 * @param templateId the template ID 1033 * @param start the lower bound of the range of journal articles 1034 * @param end the upper bound of the range of journal articles (not inclusive) 1035 * @return the range of matching journal articles 1036 * @throws SystemException if a system exception occurred 1037 */ 1038 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1039 java.lang.String templateId, int start, int end) 1040 throws com.liferay.portal.kernel.exception.SystemException; 1041 1042 /** 1043 * Returns an ordered range of all the journal articles where templateId = ?. 1044 * 1045 * <p> 1046 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1047 * </p> 1048 * 1049 * @param templateId the template ID 1050 * @param start the lower bound of the range of journal articles 1051 * @param end the upper bound of the range of journal articles (not inclusive) 1052 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1053 * @return the ordered range of matching journal articles 1054 * @throws SystemException if a system exception occurred 1055 */ 1056 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 1057 java.lang.String templateId, int start, int end, 1058 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1059 throws com.liferay.portal.kernel.exception.SystemException; 1060 1061 /** 1062 * Returns the first journal article in the ordered set where templateId = ?. 1063 * 1064 * @param templateId the template ID 1065 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1066 * @return the first matching journal article 1067 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1068 * @throws SystemException if a system exception occurred 1069 */ 1070 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 1071 java.lang.String templateId, 1072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1073 throws com.liferay.portal.kernel.exception.SystemException, 1074 com.liferay.portlet.journal.NoSuchArticleException; 1075 1076 /** 1077 * Returns the first journal article in the ordered set where templateId = ?. 1078 * 1079 * @param templateId the template ID 1080 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1081 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1082 * @throws SystemException if a system exception occurred 1083 */ 1084 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First( 1085 java.lang.String templateId, 1086 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1087 throws com.liferay.portal.kernel.exception.SystemException; 1088 1089 /** 1090 * Returns the last journal article in the ordered set where templateId = ?. 1091 * 1092 * @param templateId the template ID 1093 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1094 * @return the last matching journal article 1095 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1096 * @throws SystemException if a system exception occurred 1097 */ 1098 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 1099 java.lang.String templateId, 1100 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1101 throws com.liferay.portal.kernel.exception.SystemException, 1102 com.liferay.portlet.journal.NoSuchArticleException; 1103 1104 /** 1105 * Returns the last journal article in the ordered set where templateId = ?. 1106 * 1107 * @param templateId the template ID 1108 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1109 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1110 * @throws SystemException if a system exception occurred 1111 */ 1112 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last( 1113 java.lang.String templateId, 1114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1115 throws com.liferay.portal.kernel.exception.SystemException; 1116 1117 /** 1118 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 1119 * 1120 * @param id the primary key of the current journal article 1121 * @param templateId the template ID 1122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1123 * @return the previous, current, and next journal article 1124 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1125 * @throws SystemException if a system exception occurred 1126 */ 1127 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 1128 long id, java.lang.String templateId, 1129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1130 throws com.liferay.portal.kernel.exception.SystemException, 1131 com.liferay.portlet.journal.NoSuchArticleException; 1132 1133 /** 1134 * Removes all the journal articles where templateId = ? from the database. 1135 * 1136 * @param templateId the template ID 1137 * @throws SystemException if a system exception occurred 1138 */ 1139 public void removeByTemplateId(java.lang.String templateId) 1140 throws com.liferay.portal.kernel.exception.SystemException; 1141 1142 /** 1143 * Returns the number of journal articles where templateId = ?. 1144 * 1145 * @param templateId the template ID 1146 * @return the number of matching journal articles 1147 * @throws SystemException if a system exception occurred 1148 */ 1149 public int countByTemplateId(java.lang.String templateId) 1150 throws com.liferay.portal.kernel.exception.SystemException; 1151 1152 /** 1153 * Returns all the journal articles where layoutUuid = ?. 1154 * 1155 * @param layoutUuid the layout uuid 1156 * @return the matching journal articles 1157 * @throws SystemException if a system exception occurred 1158 */ 1159 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1160 java.lang.String layoutUuid) 1161 throws com.liferay.portal.kernel.exception.SystemException; 1162 1163 /** 1164 * Returns a range of all the journal articles where layoutUuid = ?. 1165 * 1166 * <p> 1167 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1168 * </p> 1169 * 1170 * @param layoutUuid the layout uuid 1171 * @param start the lower bound of the range of journal articles 1172 * @param end the upper bound of the range of journal articles (not inclusive) 1173 * @return the range of matching journal articles 1174 * @throws SystemException if a system exception occurred 1175 */ 1176 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1177 java.lang.String layoutUuid, int start, int end) 1178 throws com.liferay.portal.kernel.exception.SystemException; 1179 1180 /** 1181 * Returns an ordered range of all the journal articles where layoutUuid = ?. 1182 * 1183 * <p> 1184 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1185 * </p> 1186 * 1187 * @param layoutUuid the layout uuid 1188 * @param start the lower bound of the range of journal articles 1189 * @param end the upper bound of the range of journal articles (not inclusive) 1190 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1191 * @return the ordered range of matching journal articles 1192 * @throws SystemException if a system exception occurred 1193 */ 1194 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1195 java.lang.String layoutUuid, int start, int end, 1196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1197 throws com.liferay.portal.kernel.exception.SystemException; 1198 1199 /** 1200 * Returns the first journal article in the ordered set where layoutUuid = ?. 1201 * 1202 * @param layoutUuid the layout uuid 1203 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1204 * @return the first matching journal article 1205 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1206 * @throws SystemException if a system exception occurred 1207 */ 1208 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First( 1209 java.lang.String layoutUuid, 1210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1211 throws com.liferay.portal.kernel.exception.SystemException, 1212 com.liferay.portlet.journal.NoSuchArticleException; 1213 1214 /** 1215 * Returns the first journal article in the ordered set where layoutUuid = ?. 1216 * 1217 * @param layoutUuid the layout uuid 1218 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1219 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1220 * @throws SystemException if a system exception occurred 1221 */ 1222 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First( 1223 java.lang.String layoutUuid, 1224 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1225 throws com.liferay.portal.kernel.exception.SystemException; 1226 1227 /** 1228 * Returns the last journal article in the ordered set where layoutUuid = ?. 1229 * 1230 * @param layoutUuid the layout uuid 1231 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1232 * @return the last matching journal article 1233 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1234 * @throws SystemException if a system exception occurred 1235 */ 1236 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last( 1237 java.lang.String layoutUuid, 1238 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1239 throws com.liferay.portal.kernel.exception.SystemException, 1240 com.liferay.portlet.journal.NoSuchArticleException; 1241 1242 /** 1243 * Returns the last journal article in the ordered set where layoutUuid = ?. 1244 * 1245 * @param layoutUuid the layout uuid 1246 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1247 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1248 * @throws SystemException if a system exception occurred 1249 */ 1250 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last( 1251 java.lang.String layoutUuid, 1252 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1253 throws com.liferay.portal.kernel.exception.SystemException; 1254 1255 /** 1256 * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?. 1257 * 1258 * @param id the primary key of the current journal article 1259 * @param layoutUuid the layout uuid 1260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1261 * @return the previous, current, and next journal article 1262 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1263 * @throws SystemException if a system exception occurred 1264 */ 1265 public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext( 1266 long id, java.lang.String layoutUuid, 1267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1268 throws com.liferay.portal.kernel.exception.SystemException, 1269 com.liferay.portlet.journal.NoSuchArticleException; 1270 1271 /** 1272 * Removes all the journal articles where layoutUuid = ? from the database. 1273 * 1274 * @param layoutUuid the layout uuid 1275 * @throws SystemException if a system exception occurred 1276 */ 1277 public void removeByLayoutUuid(java.lang.String layoutUuid) 1278 throws com.liferay.portal.kernel.exception.SystemException; 1279 1280 /** 1281 * Returns the number of journal articles where layoutUuid = ?. 1282 * 1283 * @param layoutUuid the layout uuid 1284 * @return the number of matching journal articles 1285 * @throws SystemException if a system exception occurred 1286 */ 1287 public int countByLayoutUuid(java.lang.String layoutUuid) 1288 throws com.liferay.portal.kernel.exception.SystemException; 1289 1290 /** 1291 * Returns all the journal articles where smallImageId = ?. 1292 * 1293 * @param smallImageId the small image ID 1294 * @return the matching journal articles 1295 * @throws SystemException if a system exception occurred 1296 */ 1297 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1298 long smallImageId) 1299 throws com.liferay.portal.kernel.exception.SystemException; 1300 1301 /** 1302 * Returns a range of all the journal articles where smallImageId = ?. 1303 * 1304 * <p> 1305 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1306 * </p> 1307 * 1308 * @param smallImageId the small image ID 1309 * @param start the lower bound of the range of journal articles 1310 * @param end the upper bound of the range of journal articles (not inclusive) 1311 * @return the range of matching journal articles 1312 * @throws SystemException if a system exception occurred 1313 */ 1314 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1315 long smallImageId, int start, int end) 1316 throws com.liferay.portal.kernel.exception.SystemException; 1317 1318 /** 1319 * Returns an ordered range of all the journal articles where smallImageId = ?. 1320 * 1321 * <p> 1322 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1323 * </p> 1324 * 1325 * @param smallImageId the small image ID 1326 * @param start the lower bound of the range of journal articles 1327 * @param end the upper bound of the range of journal articles (not inclusive) 1328 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1329 * @return the ordered range of matching journal articles 1330 * @throws SystemException if a system exception occurred 1331 */ 1332 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1333 long smallImageId, int start, int end, 1334 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1335 throws com.liferay.portal.kernel.exception.SystemException; 1336 1337 /** 1338 * Returns the first journal article in the ordered set where smallImageId = ?. 1339 * 1340 * @param smallImageId the small image ID 1341 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1342 * @return the first matching journal article 1343 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1344 * @throws SystemException if a system exception occurred 1345 */ 1346 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 1347 long smallImageId, 1348 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1349 throws com.liferay.portal.kernel.exception.SystemException, 1350 com.liferay.portlet.journal.NoSuchArticleException; 1351 1352 /** 1353 * Returns the first journal article in the ordered set where smallImageId = ?. 1354 * 1355 * @param smallImageId the small image ID 1356 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1357 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1358 * @throws SystemException if a system exception occurred 1359 */ 1360 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 1361 long smallImageId, 1362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1363 throws com.liferay.portal.kernel.exception.SystemException; 1364 1365 /** 1366 * Returns the last journal article in the ordered set where smallImageId = ?. 1367 * 1368 * @param smallImageId the small image ID 1369 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1370 * @return the last matching journal article 1371 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1372 * @throws SystemException if a system exception occurred 1373 */ 1374 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1375 long smallImageId, 1376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1377 throws com.liferay.portal.kernel.exception.SystemException, 1378 com.liferay.portlet.journal.NoSuchArticleException; 1379 1380 /** 1381 * Returns the last journal article in the ordered set where smallImageId = ?. 1382 * 1383 * @param smallImageId the small image ID 1384 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1385 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1386 * @throws SystemException if a system exception occurred 1387 */ 1388 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1389 long smallImageId, 1390 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1391 throws com.liferay.portal.kernel.exception.SystemException; 1392 1393 /** 1394 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1395 * 1396 * @param id the primary key of the current journal article 1397 * @param smallImageId the small image ID 1398 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1399 * @return the previous, current, and next journal article 1400 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1401 * @throws SystemException if a system exception occurred 1402 */ 1403 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1404 long id, long smallImageId, 1405 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1406 throws com.liferay.portal.kernel.exception.SystemException, 1407 com.liferay.portlet.journal.NoSuchArticleException; 1408 1409 /** 1410 * Removes all the journal articles where smallImageId = ? from the database. 1411 * 1412 * @param smallImageId the small image ID 1413 * @throws SystemException if a system exception occurred 1414 */ 1415 public void removeBySmallImageId(long smallImageId) 1416 throws com.liferay.portal.kernel.exception.SystemException; 1417 1418 /** 1419 * Returns the number of journal articles where smallImageId = ?. 1420 * 1421 * @param smallImageId the small image ID 1422 * @return the number of matching journal articles 1423 * @throws SystemException if a system exception occurred 1424 */ 1425 public int countBySmallImageId(long smallImageId) 1426 throws com.liferay.portal.kernel.exception.SystemException; 1427 1428 /** 1429 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1430 * 1431 * @param resourcePrimKey the resource prim key 1432 * @param status the status 1433 * @return the matching journal articles 1434 * @throws SystemException if a system exception occurred 1435 */ 1436 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1437 long resourcePrimKey, int status) 1438 throws com.liferay.portal.kernel.exception.SystemException; 1439 1440 /** 1441 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1442 * 1443 * <p> 1444 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1445 * </p> 1446 * 1447 * @param resourcePrimKey the resource prim key 1448 * @param status the status 1449 * @param start the lower bound of the range of journal articles 1450 * @param end the upper bound of the range of journal articles (not inclusive) 1451 * @return the range of matching journal articles 1452 * @throws SystemException if a system exception occurred 1453 */ 1454 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1455 long resourcePrimKey, int status, int start, int end) 1456 throws com.liferay.portal.kernel.exception.SystemException; 1457 1458 /** 1459 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1460 * 1461 * <p> 1462 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1463 * </p> 1464 * 1465 * @param resourcePrimKey the resource prim key 1466 * @param status the status 1467 * @param start the lower bound of the range of journal articles 1468 * @param end the upper bound of the range of journal articles (not inclusive) 1469 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1470 * @return the ordered range of matching journal articles 1471 * @throws SystemException if a system exception occurred 1472 */ 1473 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1474 long resourcePrimKey, int status, int start, int end, 1475 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1476 throws com.liferay.portal.kernel.exception.SystemException; 1477 1478 /** 1479 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1480 * 1481 * @param resourcePrimKey the resource prim key 1482 * @param status the status 1483 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1484 * @return the first matching journal article 1485 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1486 * @throws SystemException if a system exception occurred 1487 */ 1488 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1489 long resourcePrimKey, int status, 1490 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1491 throws com.liferay.portal.kernel.exception.SystemException, 1492 com.liferay.portlet.journal.NoSuchArticleException; 1493 1494 /** 1495 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1496 * 1497 * @param resourcePrimKey the resource prim key 1498 * @param status the status 1499 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1500 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1501 * @throws SystemException if a system exception occurred 1502 */ 1503 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1504 long resourcePrimKey, int status, 1505 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1506 throws com.liferay.portal.kernel.exception.SystemException; 1507 1508 /** 1509 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1510 * 1511 * @param resourcePrimKey the resource prim key 1512 * @param status the status 1513 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1514 * @return the last matching journal article 1515 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1516 * @throws SystemException if a system exception occurred 1517 */ 1518 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1519 long resourcePrimKey, int status, 1520 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1521 throws com.liferay.portal.kernel.exception.SystemException, 1522 com.liferay.portlet.journal.NoSuchArticleException; 1523 1524 /** 1525 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1526 * 1527 * @param resourcePrimKey the resource prim key 1528 * @param status the status 1529 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1530 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1531 * @throws SystemException if a system exception occurred 1532 */ 1533 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1534 long resourcePrimKey, int status, 1535 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1536 throws com.liferay.portal.kernel.exception.SystemException; 1537 1538 /** 1539 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1540 * 1541 * @param id the primary key of the current journal article 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 previous, current, and next journal article 1546 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1547 * @throws SystemException if a system exception occurred 1548 */ 1549 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1550 long id, 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 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 1557 * 1558 * @param resourcePrimKey the resource prim key 1559 * @param status the status 1560 * @throws SystemException if a system exception occurred 1561 */ 1562 public void removeByR_ST(long resourcePrimKey, int status) 1563 throws com.liferay.portal.kernel.exception.SystemException; 1564 1565 /** 1566 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 1567 * 1568 * @param resourcePrimKey the resource prim key 1569 * @param status the status 1570 * @return the number of matching journal articles 1571 * @throws SystemException if a system exception occurred 1572 */ 1573 public int countByR_ST(long resourcePrimKey, int status) 1574 throws com.liferay.portal.kernel.exception.SystemException; 1575 1576 /** 1577 * Returns all the journal articles where groupId = ? and userId = ?. 1578 * 1579 * @param groupId the group ID 1580 * @param userId the user ID 1581 * @return the matching journal articles 1582 * @throws SystemException if a system exception occurred 1583 */ 1584 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1585 long groupId, long userId) 1586 throws com.liferay.portal.kernel.exception.SystemException; 1587 1588 /** 1589 * Returns a range of all the journal articles where groupId = ? and userId = ?. 1590 * 1591 * <p> 1592 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1593 * </p> 1594 * 1595 * @param groupId the group ID 1596 * @param userId the user ID 1597 * @param start the lower bound of the range of journal articles 1598 * @param end the upper bound of the range of journal articles (not inclusive) 1599 * @return the range of matching journal articles 1600 * @throws SystemException if a system exception occurred 1601 */ 1602 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1603 long groupId, long userId, int start, int end) 1604 throws com.liferay.portal.kernel.exception.SystemException; 1605 1606 /** 1607 * Returns an ordered range of all the journal articles where groupId = ? and userId = ?. 1608 * 1609 * <p> 1610 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1611 * </p> 1612 * 1613 * @param groupId the group ID 1614 * @param userId the user ID 1615 * @param start the lower bound of the range of journal articles 1616 * @param end the upper bound of the range of journal articles (not inclusive) 1617 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1618 * @return the ordered range of matching journal articles 1619 * @throws SystemException if a system exception occurred 1620 */ 1621 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1622 long groupId, long userId, int start, int end, 1623 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1624 throws com.liferay.portal.kernel.exception.SystemException; 1625 1626 /** 1627 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1628 * 1629 * @param groupId the group ID 1630 * @param userId the user ID 1631 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1632 * @return the first matching journal article 1633 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1634 * @throws SystemException if a system exception occurred 1635 */ 1636 public com.liferay.portlet.journal.model.JournalArticle findByG_U_First( 1637 long groupId, long userId, 1638 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1639 throws com.liferay.portal.kernel.exception.SystemException, 1640 com.liferay.portlet.journal.NoSuchArticleException; 1641 1642 /** 1643 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1644 * 1645 * @param groupId the group ID 1646 * @param userId the user ID 1647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1648 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1649 * @throws SystemException if a system exception occurred 1650 */ 1651 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First( 1652 long groupId, long userId, 1653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1654 throws com.liferay.portal.kernel.exception.SystemException; 1655 1656 /** 1657 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1658 * 1659 * @param groupId the group ID 1660 * @param userId the user ID 1661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1662 * @return the last matching journal article 1663 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1664 * @throws SystemException if a system exception occurred 1665 */ 1666 public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last( 1667 long groupId, long userId, 1668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1669 throws com.liferay.portal.kernel.exception.SystemException, 1670 com.liferay.portlet.journal.NoSuchArticleException; 1671 1672 /** 1673 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1674 * 1675 * @param groupId the group ID 1676 * @param userId the user ID 1677 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1678 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1679 * @throws SystemException if a system exception occurred 1680 */ 1681 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last( 1682 long groupId, long userId, 1683 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1684 throws com.liferay.portal.kernel.exception.SystemException; 1685 1686 /** 1687 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?. 1688 * 1689 * @param id the primary key of the current journal article 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 previous, current, and next journal article 1694 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1695 * @throws SystemException if a system exception occurred 1696 */ 1697 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext( 1698 long id, 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 all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1705 * 1706 * @param groupId the group ID 1707 * @param userId the user ID 1708 * @return the matching journal articles that the user has permission to view 1709 * @throws SystemException if a system exception occurred 1710 */ 1711 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1712 long groupId, long userId) 1713 throws com.liferay.portal.kernel.exception.SystemException; 1714 1715 /** 1716 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1717 * 1718 * <p> 1719 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1720 * </p> 1721 * 1722 * @param groupId the group ID 1723 * @param userId the user ID 1724 * @param start the lower bound of the range of journal articles 1725 * @param end the upper bound of the range of journal articles (not inclusive) 1726 * @return the range of matching journal articles that the user has permission to view 1727 * @throws SystemException if a system exception occurred 1728 */ 1729 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1730 long groupId, long userId, int start, int end) 1731 throws com.liferay.portal.kernel.exception.SystemException; 1732 1733 /** 1734 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?. 1735 * 1736 * <p> 1737 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1738 * </p> 1739 * 1740 * @param groupId the group ID 1741 * @param userId the user ID 1742 * @param start the lower bound of the range of journal articles 1743 * @param end the upper bound of the range of journal articles (not inclusive) 1744 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1745 * @return the ordered range of matching journal articles that the user has permission to view 1746 * @throws SystemException if a system exception occurred 1747 */ 1748 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1749 long groupId, long userId, int start, int end, 1750 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1751 throws com.liferay.portal.kernel.exception.SystemException; 1752 1753 /** 1754 * 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 = ?. 1755 * 1756 * @param id the primary key of the current journal article 1757 * @param groupId the group ID 1758 * @param userId the user ID 1759 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1760 * @return the previous, current, and next journal article 1761 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1762 * @throws SystemException if a system exception occurred 1763 */ 1764 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext( 1765 long id, long groupId, long userId, 1766 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1767 throws com.liferay.portal.kernel.exception.SystemException, 1768 com.liferay.portlet.journal.NoSuchArticleException; 1769 1770 /** 1771 * Removes all the journal articles where groupId = ? and userId = ? from the database. 1772 * 1773 * @param groupId the group ID 1774 * @param userId the user ID 1775 * @throws SystemException if a system exception occurred 1776 */ 1777 public void removeByG_U(long groupId, long userId) 1778 throws com.liferay.portal.kernel.exception.SystemException; 1779 1780 /** 1781 * Returns the number of journal articles where groupId = ? and userId = ?. 1782 * 1783 * @param groupId the group ID 1784 * @param userId the user ID 1785 * @return the number of matching journal articles 1786 * @throws SystemException if a system exception occurred 1787 */ 1788 public int countByG_U(long groupId, long userId) 1789 throws com.liferay.portal.kernel.exception.SystemException; 1790 1791 /** 1792 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?. 1793 * 1794 * @param groupId the group ID 1795 * @param userId the user ID 1796 * @return the number of matching journal articles that the user has permission to view 1797 * @throws SystemException if a system exception occurred 1798 */ 1799 public int filterCountByG_U(long groupId, long userId) 1800 throws com.liferay.portal.kernel.exception.SystemException; 1801 1802 /** 1803 * Returns all the journal articles where groupId = ? and folderId = ?. 1804 * 1805 * @param groupId the group ID 1806 * @param folderId the folder ID 1807 * @return the matching journal articles 1808 * @throws SystemException if a system exception occurred 1809 */ 1810 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1811 long groupId, long folderId) 1812 throws com.liferay.portal.kernel.exception.SystemException; 1813 1814 /** 1815 * Returns a range of all the journal articles where groupId = ? and folderId = ?. 1816 * 1817 * <p> 1818 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1819 * </p> 1820 * 1821 * @param groupId the group ID 1822 * @param folderId the folder ID 1823 * @param start the lower bound of the range of journal articles 1824 * @param end the upper bound of the range of journal articles (not inclusive) 1825 * @return the range of matching journal articles 1826 * @throws SystemException if a system exception occurred 1827 */ 1828 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1829 long groupId, long folderId, int start, int end) 1830 throws com.liferay.portal.kernel.exception.SystemException; 1831 1832 /** 1833 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ?. 1834 * 1835 * <p> 1836 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1837 * </p> 1838 * 1839 * @param groupId the group ID 1840 * @param folderId the folder ID 1841 * @param start the lower bound of the range of journal articles 1842 * @param end the upper bound of the range of journal articles (not inclusive) 1843 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1844 * @return the ordered range of matching journal articles 1845 * @throws SystemException if a system exception occurred 1846 */ 1847 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1848 long groupId, long folderId, int start, int end, 1849 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1850 throws com.liferay.portal.kernel.exception.SystemException; 1851 1852 /** 1853 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 1854 * 1855 * @param groupId the group ID 1856 * @param folderId the folder ID 1857 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1858 * @return the first matching journal article 1859 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1860 * @throws SystemException if a system exception occurred 1861 */ 1862 public com.liferay.portlet.journal.model.JournalArticle findByG_F_First( 1863 long groupId, long folderId, 1864 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1865 throws com.liferay.portal.kernel.exception.SystemException, 1866 com.liferay.portlet.journal.NoSuchArticleException; 1867 1868 /** 1869 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 1870 * 1871 * @param groupId the group ID 1872 * @param folderId the folder ID 1873 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1874 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1875 * @throws SystemException if a system exception occurred 1876 */ 1877 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First( 1878 long groupId, long folderId, 1879 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1880 throws com.liferay.portal.kernel.exception.SystemException; 1881 1882 /** 1883 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 1884 * 1885 * @param groupId the group ID 1886 * @param folderId the folder ID 1887 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1888 * @return the last matching journal article 1889 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1890 * @throws SystemException if a system exception occurred 1891 */ 1892 public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last( 1893 long groupId, long folderId, 1894 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1895 throws com.liferay.portal.kernel.exception.SystemException, 1896 com.liferay.portlet.journal.NoSuchArticleException; 1897 1898 /** 1899 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 1900 * 1901 * @param groupId the group ID 1902 * @param folderId the folder ID 1903 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1904 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1905 * @throws SystemException if a system exception occurred 1906 */ 1907 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last( 1908 long groupId, long folderId, 1909 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1910 throws com.liferay.portal.kernel.exception.SystemException; 1911 1912 /** 1913 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?. 1914 * 1915 * @param id the primary key of the current journal article 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 previous, current, and next journal article 1920 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1921 * @throws SystemException if a system exception occurred 1922 */ 1923 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext( 1924 long id, 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 all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 1931 * 1932 * @param groupId the group ID 1933 * @param folderId the folder ID 1934 * @return the matching journal articles that the user has permission to view 1935 * @throws SystemException if a system exception occurred 1936 */ 1937 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1938 long groupId, long folderId) 1939 throws com.liferay.portal.kernel.exception.SystemException; 1940 1941 /** 1942 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 1943 * 1944 * <p> 1945 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1946 * </p> 1947 * 1948 * @param groupId the group ID 1949 * @param folderId the folder ID 1950 * @param start the lower bound of the range of journal articles 1951 * @param end the upper bound of the range of journal articles (not inclusive) 1952 * @return the range of matching journal articles that the user has permission to view 1953 * @throws SystemException if a system exception occurred 1954 */ 1955 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1956 long groupId, long folderId, int start, int end) 1957 throws com.liferay.portal.kernel.exception.SystemException; 1958 1959 /** 1960 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?. 1961 * 1962 * <p> 1963 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1964 * </p> 1965 * 1966 * @param groupId the group ID 1967 * @param folderId the folder ID 1968 * @param start the lower bound of the range of journal articles 1969 * @param end the upper bound of the range of journal articles (not inclusive) 1970 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1971 * @return the ordered range of matching journal articles that the user has permission to view 1972 * @throws SystemException if a system exception occurred 1973 */ 1974 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1975 long groupId, long folderId, int start, int end, 1976 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1977 throws com.liferay.portal.kernel.exception.SystemException; 1978 1979 /** 1980 * 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 = ?. 1981 * 1982 * @param id the primary key of the current journal article 1983 * @param groupId the group ID 1984 * @param folderId the folder ID 1985 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1986 * @return the previous, current, and next journal article 1987 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1988 * @throws SystemException if a system exception occurred 1989 */ 1990 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext( 1991 long id, long groupId, long folderId, 1992 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1993 throws com.liferay.portal.kernel.exception.SystemException, 1994 com.liferay.portlet.journal.NoSuchArticleException; 1995 1996 /** 1997 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1998 * 1999 * @param groupId the group ID 2000 * @param folderIds the folder IDs 2001 * @return the matching journal articles that the user has permission to view 2002 * @throws SystemException if a system exception occurred 2003 */ 2004 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2005 long groupId, long[] folderIds) 2006 throws com.liferay.portal.kernel.exception.SystemException; 2007 2008 /** 2009 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2010 * 2011 * <p> 2012 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2013 * </p> 2014 * 2015 * @param groupId the group ID 2016 * @param folderIds the folder IDs 2017 * @param start the lower bound of the range of journal articles 2018 * @param end the upper bound of the range of journal articles (not inclusive) 2019 * @return the range of matching journal articles that the user has permission to view 2020 * @throws SystemException if a system exception occurred 2021 */ 2022 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2023 long groupId, long[] folderIds, int start, int end) 2024 throws com.liferay.portal.kernel.exception.SystemException; 2025 2026 /** 2027 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2028 * 2029 * <p> 2030 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2031 * </p> 2032 * 2033 * @param groupId the group ID 2034 * @param folderIds the folder IDs 2035 * @param start the lower bound of the range of journal articles 2036 * @param end the upper bound of the range of journal articles (not inclusive) 2037 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2038 * @return the ordered range of matching journal articles that the user has permission to view 2039 * @throws SystemException if a system exception occurred 2040 */ 2041 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2042 long groupId, long[] folderIds, int start, int end, 2043 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2044 throws com.liferay.portal.kernel.exception.SystemException; 2045 2046 /** 2047 * Returns all the journal articles where groupId = ? and folderId = any ?. 2048 * 2049 * <p> 2050 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2051 * </p> 2052 * 2053 * @param groupId the group ID 2054 * @param folderIds the folder IDs 2055 * @return the matching journal articles 2056 * @throws SystemException if a system exception occurred 2057 */ 2058 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2059 long groupId, long[] folderIds) 2060 throws com.liferay.portal.kernel.exception.SystemException; 2061 2062 /** 2063 * Returns a range of all the journal articles where groupId = ? and folderId = any ?. 2064 * 2065 * <p> 2066 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2067 * </p> 2068 * 2069 * @param groupId the group ID 2070 * @param folderIds the folder IDs 2071 * @param start the lower bound of the range of journal articles 2072 * @param end the upper bound of the range of journal articles (not inclusive) 2073 * @return the range of matching journal articles 2074 * @throws SystemException if a system exception occurred 2075 */ 2076 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2077 long groupId, long[] folderIds, int start, int end) 2078 throws com.liferay.portal.kernel.exception.SystemException; 2079 2080 /** 2081 * Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?. 2082 * 2083 * <p> 2084 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2085 * </p> 2086 * 2087 * @param groupId the group ID 2088 * @param folderIds the folder IDs 2089 * @param start the lower bound of the range of journal articles 2090 * @param end the upper bound of the range of journal articles (not inclusive) 2091 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2092 * @return the ordered range of matching journal articles 2093 * @throws SystemException if a system exception occurred 2094 */ 2095 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2096 long groupId, long[] folderIds, int start, int end, 2097 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2098 throws com.liferay.portal.kernel.exception.SystemException; 2099 2100 /** 2101 * Removes all the journal articles where groupId = ? and folderId = ? from the database. 2102 * 2103 * @param groupId the group ID 2104 * @param folderId the folder ID 2105 * @throws SystemException if a system exception occurred 2106 */ 2107 public void removeByG_F(long groupId, long folderId) 2108 throws com.liferay.portal.kernel.exception.SystemException; 2109 2110 /** 2111 * Returns the number of journal articles where groupId = ? and folderId = ?. 2112 * 2113 * @param groupId the group ID 2114 * @param folderId the folder ID 2115 * @return the number of matching journal articles 2116 * @throws SystemException if a system exception occurred 2117 */ 2118 public int countByG_F(long groupId, long folderId) 2119 throws com.liferay.portal.kernel.exception.SystemException; 2120 2121 /** 2122 * Returns the number of journal articles where groupId = ? and folderId = any ?. 2123 * 2124 * @param groupId the group ID 2125 * @param folderIds the folder IDs 2126 * @return the number of matching journal articles 2127 * @throws SystemException if a system exception occurred 2128 */ 2129 public int countByG_F(long groupId, long[] folderIds) 2130 throws com.liferay.portal.kernel.exception.SystemException; 2131 2132 /** 2133 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2134 * 2135 * @param groupId the group ID 2136 * @param folderId the folder ID 2137 * @return the number of matching journal articles that the user has permission to view 2138 * @throws SystemException if a system exception occurred 2139 */ 2140 public int filterCountByG_F(long groupId, long folderId) 2141 throws com.liferay.portal.kernel.exception.SystemException; 2142 2143 /** 2144 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2145 * 2146 * @param groupId the group ID 2147 * @param folderIds the folder IDs 2148 * @return the number of matching journal articles that the user has permission to view 2149 * @throws SystemException if a system exception occurred 2150 */ 2151 public int filterCountByG_F(long groupId, long[] folderIds) 2152 throws com.liferay.portal.kernel.exception.SystemException; 2153 2154 /** 2155 * Returns all the journal articles where groupId = ? and articleId = ?. 2156 * 2157 * @param groupId the group ID 2158 * @param articleId the article ID 2159 * @return the matching journal articles 2160 * @throws SystemException if a system exception occurred 2161 */ 2162 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2163 long groupId, java.lang.String articleId) 2164 throws com.liferay.portal.kernel.exception.SystemException; 2165 2166 /** 2167 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 2168 * 2169 * <p> 2170 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2171 * </p> 2172 * 2173 * @param groupId the group ID 2174 * @param articleId the article ID 2175 * @param start the lower bound of the range of journal articles 2176 * @param end the upper bound of the range of journal articles (not inclusive) 2177 * @return the range of matching journal articles 2178 * @throws SystemException if a system exception occurred 2179 */ 2180 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2181 long groupId, java.lang.String articleId, int start, int end) 2182 throws com.liferay.portal.kernel.exception.SystemException; 2183 2184 /** 2185 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 2186 * 2187 * <p> 2188 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2189 * </p> 2190 * 2191 * @param groupId the group ID 2192 * @param articleId the article ID 2193 * @param start the lower bound of the range of journal articles 2194 * @param end the upper bound of the range of journal articles (not inclusive) 2195 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2196 * @return the ordered range of matching journal articles 2197 * @throws SystemException if a system exception occurred 2198 */ 2199 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2200 long groupId, java.lang.String articleId, int start, int end, 2201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2202 throws com.liferay.portal.kernel.exception.SystemException; 2203 2204 /** 2205 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2206 * 2207 * @param groupId the group ID 2208 * @param articleId the article ID 2209 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2210 * @return the first matching journal article 2211 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2212 * @throws SystemException if a system exception occurred 2213 */ 2214 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 2215 long groupId, java.lang.String articleId, 2216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2217 throws com.liferay.portal.kernel.exception.SystemException, 2218 com.liferay.portlet.journal.NoSuchArticleException; 2219 2220 /** 2221 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2222 * 2223 * @param groupId the group ID 2224 * @param articleId the article ID 2225 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2226 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2227 * @throws SystemException if a system exception occurred 2228 */ 2229 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 2230 long groupId, java.lang.String articleId, 2231 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2232 throws com.liferay.portal.kernel.exception.SystemException; 2233 2234 /** 2235 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2236 * 2237 * @param groupId the group ID 2238 * @param articleId the article ID 2239 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2240 * @return the last matching journal article 2241 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2242 * @throws SystemException if a system exception occurred 2243 */ 2244 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 2245 long groupId, java.lang.String articleId, 2246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2247 throws com.liferay.portal.kernel.exception.SystemException, 2248 com.liferay.portlet.journal.NoSuchArticleException; 2249 2250 /** 2251 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2252 * 2253 * @param groupId the group ID 2254 * @param articleId the article ID 2255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2256 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2257 * @throws SystemException if a system exception occurred 2258 */ 2259 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 2260 long groupId, java.lang.String articleId, 2261 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2262 throws com.liferay.portal.kernel.exception.SystemException; 2263 2264 /** 2265 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 2266 * 2267 * @param id the primary key of the current journal article 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 previous, current, and next journal article 2272 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2273 * @throws SystemException if a system exception occurred 2274 */ 2275 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 2276 long id, 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 all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2283 * 2284 * @param groupId the group ID 2285 * @param articleId the article ID 2286 * @return the matching journal articles that the user has permission to view 2287 * @throws SystemException if a system exception occurred 2288 */ 2289 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2290 long groupId, java.lang.String articleId) 2291 throws com.liferay.portal.kernel.exception.SystemException; 2292 2293 /** 2294 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2295 * 2296 * <p> 2297 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2298 * </p> 2299 * 2300 * @param groupId the group ID 2301 * @param articleId the article ID 2302 * @param start the lower bound of the range of journal articles 2303 * @param end the upper bound of the range of journal articles (not inclusive) 2304 * @return the range of matching journal articles that the user has permission to view 2305 * @throws SystemException if a system exception occurred 2306 */ 2307 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2308 long groupId, java.lang.String articleId, int start, int end) 2309 throws com.liferay.portal.kernel.exception.SystemException; 2310 2311 /** 2312 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 2313 * 2314 * <p> 2315 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2316 * </p> 2317 * 2318 * @param groupId the group ID 2319 * @param articleId the article ID 2320 * @param start the lower bound of the range of journal articles 2321 * @param end the upper bound of the range of journal articles (not inclusive) 2322 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2323 * @return the ordered range of matching journal articles that the user has permission to view 2324 * @throws SystemException if a system exception occurred 2325 */ 2326 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2327 long groupId, java.lang.String articleId, int start, int end, 2328 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2329 throws com.liferay.portal.kernel.exception.SystemException; 2330 2331 /** 2332 * 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 = ?. 2333 * 2334 * @param id the primary key of the current journal article 2335 * @param groupId the group ID 2336 * @param articleId the article ID 2337 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2338 * @return the previous, current, and next journal article 2339 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2340 * @throws SystemException if a system exception occurred 2341 */ 2342 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 2343 long id, long groupId, java.lang.String articleId, 2344 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2345 throws com.liferay.portal.kernel.exception.SystemException, 2346 com.liferay.portlet.journal.NoSuchArticleException; 2347 2348 /** 2349 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2350 * 2351 * @param groupId the group ID 2352 * @param articleId the article ID 2353 * @throws SystemException if a system exception occurred 2354 */ 2355 public void removeByG_A(long groupId, java.lang.String articleId) 2356 throws com.liferay.portal.kernel.exception.SystemException; 2357 2358 /** 2359 * Returns the number of journal articles where groupId = ? and articleId = ?. 2360 * 2361 * @param groupId the group ID 2362 * @param articleId the article ID 2363 * @return the number of matching journal articles 2364 * @throws SystemException if a system exception occurred 2365 */ 2366 public int countByG_A(long groupId, java.lang.String articleId) 2367 throws com.liferay.portal.kernel.exception.SystemException; 2368 2369 /** 2370 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2371 * 2372 * @param groupId the group ID 2373 * @param articleId the article ID 2374 * @return the number of matching journal articles that the user has permission to view 2375 * @throws SystemException if a system exception occurred 2376 */ 2377 public int filterCountByG_A(long groupId, java.lang.String articleId) 2378 throws com.liferay.portal.kernel.exception.SystemException; 2379 2380 /** 2381 * Returns all the journal articles where groupId = ? and urlTitle = ?. 2382 * 2383 * @param groupId the group ID 2384 * @param urlTitle the url title 2385 * @return the matching journal articles 2386 * @throws SystemException if a system exception occurred 2387 */ 2388 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2389 long groupId, java.lang.String urlTitle) 2390 throws com.liferay.portal.kernel.exception.SystemException; 2391 2392 /** 2393 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 2394 * 2395 * <p> 2396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2397 * </p> 2398 * 2399 * @param groupId the group ID 2400 * @param urlTitle the url title 2401 * @param start the lower bound of the range of journal articles 2402 * @param end the upper bound of the range of journal articles (not inclusive) 2403 * @return the range of matching journal articles 2404 * @throws SystemException if a system exception occurred 2405 */ 2406 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2407 long groupId, java.lang.String urlTitle, int start, int end) 2408 throws com.liferay.portal.kernel.exception.SystemException; 2409 2410 /** 2411 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 2412 * 2413 * <p> 2414 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2415 * </p> 2416 * 2417 * @param groupId the group ID 2418 * @param urlTitle the url title 2419 * @param start the lower bound of the range of journal articles 2420 * @param end the upper bound of the range of journal articles (not inclusive) 2421 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2422 * @return the ordered range of matching journal articles 2423 * @throws SystemException if a system exception occurred 2424 */ 2425 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2426 long groupId, java.lang.String urlTitle, int start, int end, 2427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2428 throws com.liferay.portal.kernel.exception.SystemException; 2429 2430 /** 2431 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2432 * 2433 * @param groupId the group ID 2434 * @param urlTitle the url title 2435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2436 * @return the first matching journal article 2437 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2438 * @throws SystemException if a system exception occurred 2439 */ 2440 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 2441 long groupId, java.lang.String urlTitle, 2442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2443 throws com.liferay.portal.kernel.exception.SystemException, 2444 com.liferay.portlet.journal.NoSuchArticleException; 2445 2446 /** 2447 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2448 * 2449 * @param groupId the group ID 2450 * @param urlTitle the url title 2451 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2452 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2453 * @throws SystemException if a system exception occurred 2454 */ 2455 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 2456 long groupId, java.lang.String urlTitle, 2457 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2458 throws com.liferay.portal.kernel.exception.SystemException; 2459 2460 /** 2461 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2462 * 2463 * @param groupId the group ID 2464 * @param urlTitle the url title 2465 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2466 * @return the last matching journal article 2467 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2468 * @throws SystemException if a system exception occurred 2469 */ 2470 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 2471 long groupId, java.lang.String urlTitle, 2472 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2473 throws com.liferay.portal.kernel.exception.SystemException, 2474 com.liferay.portlet.journal.NoSuchArticleException; 2475 2476 /** 2477 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2478 * 2479 * @param groupId the group ID 2480 * @param urlTitle the url title 2481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2482 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2483 * @throws SystemException if a system exception occurred 2484 */ 2485 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 2486 long groupId, java.lang.String urlTitle, 2487 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2488 throws com.liferay.portal.kernel.exception.SystemException; 2489 2490 /** 2491 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 2492 * 2493 * @param id the primary key of the current journal article 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 previous, current, and next journal article 2498 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2499 * @throws SystemException if a system exception occurred 2500 */ 2501 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 2502 long id, 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 all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2509 * 2510 * @param groupId the group ID 2511 * @param urlTitle the url title 2512 * @return the matching journal articles that the user has permission to view 2513 * @throws SystemException if a system exception occurred 2514 */ 2515 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2516 long groupId, java.lang.String urlTitle) 2517 throws com.liferay.portal.kernel.exception.SystemException; 2518 2519 /** 2520 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2521 * 2522 * <p> 2523 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2524 * </p> 2525 * 2526 * @param groupId the group ID 2527 * @param urlTitle the url title 2528 * @param start the lower bound of the range of journal articles 2529 * @param end the upper bound of the range of journal articles (not inclusive) 2530 * @return the range of matching journal articles that the user has permission to view 2531 * @throws SystemException if a system exception occurred 2532 */ 2533 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2534 long groupId, java.lang.String urlTitle, int start, int end) 2535 throws com.liferay.portal.kernel.exception.SystemException; 2536 2537 /** 2538 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 2539 * 2540 * <p> 2541 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2542 * </p> 2543 * 2544 * @param groupId the group ID 2545 * @param urlTitle the url title 2546 * @param start the lower bound of the range of journal articles 2547 * @param end the upper bound of the range of journal articles (not inclusive) 2548 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2549 * @return the ordered range of matching journal articles that the user has permission to view 2550 * @throws SystemException if a system exception occurred 2551 */ 2552 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2553 long groupId, java.lang.String urlTitle, int start, int end, 2554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2555 throws com.liferay.portal.kernel.exception.SystemException; 2556 2557 /** 2558 * 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 = ?. 2559 * 2560 * @param id the primary key of the current journal article 2561 * @param groupId the group ID 2562 * @param urlTitle the url title 2563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2564 * @return the previous, current, and next journal article 2565 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2566 * @throws SystemException if a system exception occurred 2567 */ 2568 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 2569 long id, long groupId, java.lang.String urlTitle, 2570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2571 throws com.liferay.portal.kernel.exception.SystemException, 2572 com.liferay.portlet.journal.NoSuchArticleException; 2573 2574 /** 2575 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 2576 * 2577 * @param groupId the group ID 2578 * @param urlTitle the url title 2579 * @throws SystemException if a system exception occurred 2580 */ 2581 public void removeByG_UT(long groupId, java.lang.String urlTitle) 2582 throws com.liferay.portal.kernel.exception.SystemException; 2583 2584 /** 2585 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 2586 * 2587 * @param groupId the group ID 2588 * @param urlTitle the url title 2589 * @return the number of matching journal articles 2590 * @throws SystemException if a system exception occurred 2591 */ 2592 public int countByG_UT(long groupId, java.lang.String urlTitle) 2593 throws com.liferay.portal.kernel.exception.SystemException; 2594 2595 /** 2596 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2597 * 2598 * @param groupId the group ID 2599 * @param urlTitle the url title 2600 * @return the number of matching journal articles that the user has permission to view 2601 * @throws SystemException if a system exception occurred 2602 */ 2603 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 2604 throws com.liferay.portal.kernel.exception.SystemException; 2605 2606 /** 2607 * Returns all the journal articles where groupId = ? and structureId = ?. 2608 * 2609 * @param groupId the group ID 2610 * @param structureId the structure ID 2611 * @return the matching journal articles 2612 * @throws SystemException if a system exception occurred 2613 */ 2614 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2615 long groupId, java.lang.String structureId) 2616 throws com.liferay.portal.kernel.exception.SystemException; 2617 2618 /** 2619 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 2620 * 2621 * <p> 2622 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2623 * </p> 2624 * 2625 * @param groupId the group ID 2626 * @param structureId the structure ID 2627 * @param start the lower bound of the range of journal articles 2628 * @param end the upper bound of the range of journal articles (not inclusive) 2629 * @return the range of matching journal articles 2630 * @throws SystemException if a system exception occurred 2631 */ 2632 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2633 long groupId, java.lang.String structureId, int start, int end) 2634 throws com.liferay.portal.kernel.exception.SystemException; 2635 2636 /** 2637 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 2638 * 2639 * <p> 2640 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2641 * </p> 2642 * 2643 * @param groupId the group ID 2644 * @param structureId the structure ID 2645 * @param start the lower bound of the range of journal articles 2646 * @param end the upper bound of the range of journal articles (not inclusive) 2647 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2648 * @return the ordered range of matching journal articles 2649 * @throws SystemException if a system exception occurred 2650 */ 2651 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2652 long groupId, java.lang.String structureId, int start, int end, 2653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2654 throws com.liferay.portal.kernel.exception.SystemException; 2655 2656 /** 2657 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2658 * 2659 * @param groupId the group ID 2660 * @param structureId the structure ID 2661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2662 * @return the first matching journal article 2663 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2664 * @throws SystemException if a system exception occurred 2665 */ 2666 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 2667 long groupId, java.lang.String structureId, 2668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2669 throws com.liferay.portal.kernel.exception.SystemException, 2670 com.liferay.portlet.journal.NoSuchArticleException; 2671 2672 /** 2673 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2674 * 2675 * @param groupId the group ID 2676 * @param structureId the structure ID 2677 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2678 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2679 * @throws SystemException if a system exception occurred 2680 */ 2681 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First( 2682 long groupId, java.lang.String structureId, 2683 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2684 throws com.liferay.portal.kernel.exception.SystemException; 2685 2686 /** 2687 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2688 * 2689 * @param groupId the group ID 2690 * @param structureId the structure ID 2691 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2692 * @return the last matching journal article 2693 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2694 * @throws SystemException if a system exception occurred 2695 */ 2696 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 2697 long groupId, java.lang.String structureId, 2698 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2699 throws com.liferay.portal.kernel.exception.SystemException, 2700 com.liferay.portlet.journal.NoSuchArticleException; 2701 2702 /** 2703 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2704 * 2705 * @param groupId the group ID 2706 * @param structureId the structure ID 2707 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2708 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2709 * @throws SystemException if a system exception occurred 2710 */ 2711 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last( 2712 long groupId, java.lang.String structureId, 2713 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2714 throws com.liferay.portal.kernel.exception.SystemException; 2715 2716 /** 2717 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 2718 * 2719 * @param id the primary key of the current journal article 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 previous, current, and next journal article 2724 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2725 * @throws SystemException if a system exception occurred 2726 */ 2727 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 2728 long id, 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 all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2735 * 2736 * @param groupId the group ID 2737 * @param structureId the structure ID 2738 * @return the matching journal articles that the user has permission to view 2739 * @throws SystemException if a system exception occurred 2740 */ 2741 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2742 long groupId, java.lang.String structureId) 2743 throws com.liferay.portal.kernel.exception.SystemException; 2744 2745 /** 2746 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2747 * 2748 * <p> 2749 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2750 * </p> 2751 * 2752 * @param groupId the group ID 2753 * @param structureId the structure ID 2754 * @param start the lower bound of the range of journal articles 2755 * @param end the upper bound of the range of journal articles (not inclusive) 2756 * @return the range of matching journal articles that the user has permission to view 2757 * @throws SystemException if a system exception occurred 2758 */ 2759 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2760 long groupId, java.lang.String structureId, int start, int end) 2761 throws com.liferay.portal.kernel.exception.SystemException; 2762 2763 /** 2764 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 2765 * 2766 * <p> 2767 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2768 * </p> 2769 * 2770 * @param groupId the group ID 2771 * @param structureId the structure ID 2772 * @param start the lower bound of the range of journal articles 2773 * @param end the upper bound of the range of journal articles (not inclusive) 2774 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2775 * @return the ordered range of matching journal articles that the user has permission to view 2776 * @throws SystemException if a system exception occurred 2777 */ 2778 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2779 long groupId, java.lang.String structureId, int start, int end, 2780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2781 throws com.liferay.portal.kernel.exception.SystemException; 2782 2783 /** 2784 * 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 = ?. 2785 * 2786 * @param id the primary key of the current journal article 2787 * @param groupId the group ID 2788 * @param structureId the structure ID 2789 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2790 * @return the previous, current, and next journal article 2791 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2792 * @throws SystemException if a system exception occurred 2793 */ 2794 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 2795 long id, long groupId, java.lang.String structureId, 2796 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2797 throws com.liferay.portal.kernel.exception.SystemException, 2798 com.liferay.portlet.journal.NoSuchArticleException; 2799 2800 /** 2801 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 2802 * 2803 * @param groupId the group ID 2804 * @param structureId the structure ID 2805 * @throws SystemException if a system exception occurred 2806 */ 2807 public void removeByG_S(long groupId, java.lang.String structureId) 2808 throws com.liferay.portal.kernel.exception.SystemException; 2809 2810 /** 2811 * Returns the number of journal articles where groupId = ? and structureId = ?. 2812 * 2813 * @param groupId the group ID 2814 * @param structureId the structure ID 2815 * @return the number of matching journal articles 2816 * @throws SystemException if a system exception occurred 2817 */ 2818 public int countByG_S(long groupId, java.lang.String structureId) 2819 throws com.liferay.portal.kernel.exception.SystemException; 2820 2821 /** 2822 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 2823 * 2824 * @param groupId the group ID 2825 * @param structureId the structure ID 2826 * @return the number of matching journal articles that the user has permission to view 2827 * @throws SystemException if a system exception occurred 2828 */ 2829 public int filterCountByG_S(long groupId, java.lang.String structureId) 2830 throws com.liferay.portal.kernel.exception.SystemException; 2831 2832 /** 2833 * Returns all the journal articles where groupId = ? and templateId = ?. 2834 * 2835 * @param groupId the group ID 2836 * @param templateId the template ID 2837 * @return the matching journal articles 2838 * @throws SystemException if a system exception occurred 2839 */ 2840 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2841 long groupId, java.lang.String templateId) 2842 throws com.liferay.portal.kernel.exception.SystemException; 2843 2844 /** 2845 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 2846 * 2847 * <p> 2848 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2849 * </p> 2850 * 2851 * @param groupId the group ID 2852 * @param templateId the template ID 2853 * @param start the lower bound of the range of journal articles 2854 * @param end the upper bound of the range of journal articles (not inclusive) 2855 * @return the range of matching journal articles 2856 * @throws SystemException if a system exception occurred 2857 */ 2858 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2859 long groupId, java.lang.String templateId, int start, int end) 2860 throws com.liferay.portal.kernel.exception.SystemException; 2861 2862 /** 2863 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 2864 * 2865 * <p> 2866 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2867 * </p> 2868 * 2869 * @param groupId the group ID 2870 * @param templateId the template ID 2871 * @param start the lower bound of the range of journal articles 2872 * @param end the upper bound of the range of journal articles (not inclusive) 2873 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2874 * @return the ordered range of matching journal articles 2875 * @throws SystemException if a system exception occurred 2876 */ 2877 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2878 long groupId, java.lang.String templateId, int start, int end, 2879 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2880 throws com.liferay.portal.kernel.exception.SystemException; 2881 2882 /** 2883 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 2884 * 2885 * @param groupId the group ID 2886 * @param templateId the template ID 2887 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2888 * @return the first matching journal article 2889 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2890 * @throws SystemException if a system exception occurred 2891 */ 2892 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 2893 long groupId, java.lang.String templateId, 2894 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2895 throws com.liferay.portal.kernel.exception.SystemException, 2896 com.liferay.portlet.journal.NoSuchArticleException; 2897 2898 /** 2899 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 2900 * 2901 * @param groupId the group ID 2902 * @param templateId the template ID 2903 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2904 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2905 * @throws SystemException if a system exception occurred 2906 */ 2907 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First( 2908 long groupId, java.lang.String templateId, 2909 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2910 throws com.liferay.portal.kernel.exception.SystemException; 2911 2912 /** 2913 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 2914 * 2915 * @param groupId the group ID 2916 * @param templateId the template ID 2917 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2918 * @return the last matching journal article 2919 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2920 * @throws SystemException if a system exception occurred 2921 */ 2922 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 2923 long groupId, java.lang.String templateId, 2924 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2925 throws com.liferay.portal.kernel.exception.SystemException, 2926 com.liferay.portlet.journal.NoSuchArticleException; 2927 2928 /** 2929 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 2930 * 2931 * @param groupId the group ID 2932 * @param templateId the template ID 2933 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2934 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2935 * @throws SystemException if a system exception occurred 2936 */ 2937 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last( 2938 long groupId, java.lang.String templateId, 2939 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2940 throws com.liferay.portal.kernel.exception.SystemException; 2941 2942 /** 2943 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 2944 * 2945 * @param id the primary key of the current journal article 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 previous, current, and next journal article 2950 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2951 * @throws SystemException if a system exception occurred 2952 */ 2953 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 2954 long id, 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 all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 2961 * 2962 * @param groupId the group ID 2963 * @param templateId the template ID 2964 * @return the matching journal articles that the user has permission to view 2965 * @throws SystemException if a system exception occurred 2966 */ 2967 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2968 long groupId, java.lang.String templateId) 2969 throws com.liferay.portal.kernel.exception.SystemException; 2970 2971 /** 2972 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 2973 * 2974 * <p> 2975 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2976 * </p> 2977 * 2978 * @param groupId the group ID 2979 * @param templateId the template ID 2980 * @param start the lower bound of the range of journal articles 2981 * @param end the upper bound of the range of journal articles (not inclusive) 2982 * @return the range of matching journal articles that the user has permission to view 2983 * @throws SystemException if a system exception occurred 2984 */ 2985 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2986 long groupId, java.lang.String templateId, int start, int end) 2987 throws com.liferay.portal.kernel.exception.SystemException; 2988 2989 /** 2990 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 2991 * 2992 * <p> 2993 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2994 * </p> 2995 * 2996 * @param groupId the group ID 2997 * @param templateId the template ID 2998 * @param start the lower bound of the range of journal articles 2999 * @param end the upper bound of the range of journal articles (not inclusive) 3000 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3001 * @return the ordered range of matching journal articles that the user has permission to view 3002 * @throws SystemException if a system exception occurred 3003 */ 3004 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 3005 long groupId, java.lang.String templateId, int start, int end, 3006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3007 throws com.liferay.portal.kernel.exception.SystemException; 3008 3009 /** 3010 * 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 = ?. 3011 * 3012 * @param id the primary key of the current journal article 3013 * @param groupId the group ID 3014 * @param templateId the template ID 3015 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3016 * @return the previous, current, and next journal article 3017 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3018 * @throws SystemException if a system exception occurred 3019 */ 3020 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 3021 long id, long groupId, java.lang.String templateId, 3022 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3023 throws com.liferay.portal.kernel.exception.SystemException, 3024 com.liferay.portlet.journal.NoSuchArticleException; 3025 3026 /** 3027 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 3028 * 3029 * @param groupId the group ID 3030 * @param templateId the template ID 3031 * @throws SystemException if a system exception occurred 3032 */ 3033 public void removeByG_T(long groupId, java.lang.String templateId) 3034 throws com.liferay.portal.kernel.exception.SystemException; 3035 3036 /** 3037 * Returns the number of journal articles where groupId = ? and templateId = ?. 3038 * 3039 * @param groupId the group ID 3040 * @param templateId the template ID 3041 * @return the number of matching journal articles 3042 * @throws SystemException if a system exception occurred 3043 */ 3044 public int countByG_T(long groupId, java.lang.String templateId) 3045 throws com.liferay.portal.kernel.exception.SystemException; 3046 3047 /** 3048 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 3049 * 3050 * @param groupId the group ID 3051 * @param templateId the template ID 3052 * @return the number of matching journal articles that the user has permission to view 3053 * @throws SystemException if a system exception occurred 3054 */ 3055 public int filterCountByG_T(long groupId, java.lang.String templateId) 3056 throws com.liferay.portal.kernel.exception.SystemException; 3057 3058 /** 3059 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 3060 * 3061 * @param groupId the group ID 3062 * @param layoutUuid the layout uuid 3063 * @return the matching journal articles 3064 * @throws SystemException if a system exception occurred 3065 */ 3066 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3067 long groupId, java.lang.String layoutUuid) 3068 throws com.liferay.portal.kernel.exception.SystemException; 3069 3070 /** 3071 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 3072 * 3073 * <p> 3074 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3075 * </p> 3076 * 3077 * @param groupId the group ID 3078 * @param layoutUuid the layout uuid 3079 * @param start the lower bound of the range of journal articles 3080 * @param end the upper bound of the range of journal articles (not inclusive) 3081 * @return the range of matching journal articles 3082 * @throws SystemException if a system exception occurred 3083 */ 3084 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3085 long groupId, java.lang.String layoutUuid, int start, int end) 3086 throws com.liferay.portal.kernel.exception.SystemException; 3087 3088 /** 3089 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 3090 * 3091 * <p> 3092 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3093 * </p> 3094 * 3095 * @param groupId the group ID 3096 * @param layoutUuid the layout uuid 3097 * @param start the lower bound of the range of journal articles 3098 * @param end the upper bound of the range of journal articles (not inclusive) 3099 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3100 * @return the ordered range of matching journal articles 3101 * @throws SystemException if a system exception occurred 3102 */ 3103 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3104 long groupId, java.lang.String layoutUuid, int start, int end, 3105 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3106 throws com.liferay.portal.kernel.exception.SystemException; 3107 3108 /** 3109 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3110 * 3111 * @param groupId the group ID 3112 * @param layoutUuid the layout uuid 3113 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3114 * @return the first matching journal article 3115 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3116 * @throws SystemException if a system exception occurred 3117 */ 3118 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 3119 long groupId, java.lang.String layoutUuid, 3120 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3121 throws com.liferay.portal.kernel.exception.SystemException, 3122 com.liferay.portlet.journal.NoSuchArticleException; 3123 3124 /** 3125 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3126 * 3127 * @param groupId the group ID 3128 * @param layoutUuid the layout uuid 3129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3130 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3131 * @throws SystemException if a system exception occurred 3132 */ 3133 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 3134 long groupId, java.lang.String layoutUuid, 3135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3136 throws com.liferay.portal.kernel.exception.SystemException; 3137 3138 /** 3139 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3140 * 3141 * @param groupId the group ID 3142 * @param layoutUuid the layout uuid 3143 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3144 * @return the last matching journal article 3145 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3146 * @throws SystemException if a system exception occurred 3147 */ 3148 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 3149 long groupId, java.lang.String layoutUuid, 3150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3151 throws com.liferay.portal.kernel.exception.SystemException, 3152 com.liferay.portlet.journal.NoSuchArticleException; 3153 3154 /** 3155 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3156 * 3157 * @param groupId the group ID 3158 * @param layoutUuid the layout uuid 3159 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3160 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3161 * @throws SystemException if a system exception occurred 3162 */ 3163 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 3164 long groupId, java.lang.String layoutUuid, 3165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3166 throws com.liferay.portal.kernel.exception.SystemException; 3167 3168 /** 3169 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 3170 * 3171 * @param id the primary key of the current journal article 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 previous, current, and next journal article 3176 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3177 * @throws SystemException if a system exception occurred 3178 */ 3179 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 3180 long id, 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 all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3187 * 3188 * @param groupId the group ID 3189 * @param layoutUuid the layout uuid 3190 * @return the matching journal articles that the user has permission to view 3191 * @throws SystemException if a system exception occurred 3192 */ 3193 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3194 long groupId, java.lang.String layoutUuid) 3195 throws com.liferay.portal.kernel.exception.SystemException; 3196 3197 /** 3198 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3199 * 3200 * <p> 3201 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3202 * </p> 3203 * 3204 * @param groupId the group ID 3205 * @param layoutUuid the layout uuid 3206 * @param start the lower bound of the range of journal articles 3207 * @param end the upper bound of the range of journal articles (not inclusive) 3208 * @return the range of matching journal articles that the user has permission to view 3209 * @throws SystemException if a system exception occurred 3210 */ 3211 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3212 long groupId, java.lang.String layoutUuid, int start, int end) 3213 throws com.liferay.portal.kernel.exception.SystemException; 3214 3215 /** 3216 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 3217 * 3218 * <p> 3219 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3220 * </p> 3221 * 3222 * @param groupId the group ID 3223 * @param layoutUuid the layout uuid 3224 * @param start the lower bound of the range of journal articles 3225 * @param end the upper bound of the range of journal articles (not inclusive) 3226 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3227 * @return the ordered range of matching journal articles that the user has permission to view 3228 * @throws SystemException if a system exception occurred 3229 */ 3230 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3231 long groupId, java.lang.String layoutUuid, int start, int end, 3232 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3233 throws com.liferay.portal.kernel.exception.SystemException; 3234 3235 /** 3236 * 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 = ?. 3237 * 3238 * @param id the primary key of the current journal article 3239 * @param groupId the group ID 3240 * @param layoutUuid the layout uuid 3241 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3242 * @return the previous, current, and next journal article 3243 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3244 * @throws SystemException if a system exception occurred 3245 */ 3246 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 3247 long id, long groupId, java.lang.String layoutUuid, 3248 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3249 throws com.liferay.portal.kernel.exception.SystemException, 3250 com.liferay.portlet.journal.NoSuchArticleException; 3251 3252 /** 3253 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3254 * 3255 * @param groupId the group ID 3256 * @param layoutUuid the layout uuid 3257 * @throws SystemException if a system exception occurred 3258 */ 3259 public void removeByG_L(long groupId, java.lang.String layoutUuid) 3260 throws com.liferay.portal.kernel.exception.SystemException; 3261 3262 /** 3263 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 3264 * 3265 * @param groupId the group ID 3266 * @param layoutUuid the layout uuid 3267 * @return the number of matching journal articles 3268 * @throws SystemException if a system exception occurred 3269 */ 3270 public int countByG_L(long groupId, java.lang.String layoutUuid) 3271 throws com.liferay.portal.kernel.exception.SystemException; 3272 3273 /** 3274 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3275 * 3276 * @param groupId the group ID 3277 * @param layoutUuid the layout uuid 3278 * @return the number of matching journal articles that the user has permission to view 3279 * @throws SystemException if a system exception occurred 3280 */ 3281 public int filterCountByG_L(long groupId, java.lang.String layoutUuid) 3282 throws com.liferay.portal.kernel.exception.SystemException; 3283 3284 /** 3285 * Returns all the journal articles where groupId = ? and status = ?. 3286 * 3287 * @param groupId the group ID 3288 * @param status the status 3289 * @return the matching journal articles 3290 * @throws SystemException if a system exception occurred 3291 */ 3292 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3293 long groupId, int status) 3294 throws com.liferay.portal.kernel.exception.SystemException; 3295 3296 /** 3297 * Returns a range of all the journal articles where groupId = ? and status = ?. 3298 * 3299 * <p> 3300 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3301 * </p> 3302 * 3303 * @param groupId the group ID 3304 * @param status the status 3305 * @param start the lower bound of the range of journal articles 3306 * @param end the upper bound of the range of journal articles (not inclusive) 3307 * @return the range of matching journal articles 3308 * @throws SystemException if a system exception occurred 3309 */ 3310 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3311 long groupId, int status, int start, int end) 3312 throws com.liferay.portal.kernel.exception.SystemException; 3313 3314 /** 3315 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 3316 * 3317 * <p> 3318 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3319 * </p> 3320 * 3321 * @param groupId the group ID 3322 * @param status the status 3323 * @param start the lower bound of the range of journal articles 3324 * @param end the upper bound of the range of journal articles (not inclusive) 3325 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3326 * @return the ordered range of matching journal articles 3327 * @throws SystemException if a system exception occurred 3328 */ 3329 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3330 long groupId, int status, int start, int end, 3331 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3332 throws com.liferay.portal.kernel.exception.SystemException; 3333 3334 /** 3335 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3336 * 3337 * @param groupId the group ID 3338 * @param status the status 3339 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3340 * @return the first matching journal article 3341 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3342 * @throws SystemException if a system exception occurred 3343 */ 3344 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 3345 long groupId, int status, 3346 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3347 throws com.liferay.portal.kernel.exception.SystemException, 3348 com.liferay.portlet.journal.NoSuchArticleException; 3349 3350 /** 3351 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3352 * 3353 * @param groupId the group ID 3354 * @param status the status 3355 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3356 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3357 * @throws SystemException if a system exception occurred 3358 */ 3359 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 3360 long groupId, int status, 3361 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3362 throws com.liferay.portal.kernel.exception.SystemException; 3363 3364 /** 3365 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3366 * 3367 * @param groupId the group ID 3368 * @param status the status 3369 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3370 * @return the last matching journal article 3371 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3372 * @throws SystemException if a system exception occurred 3373 */ 3374 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 3375 long groupId, int status, 3376 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3377 throws com.liferay.portal.kernel.exception.SystemException, 3378 com.liferay.portlet.journal.NoSuchArticleException; 3379 3380 /** 3381 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3382 * 3383 * @param groupId the group ID 3384 * @param status the status 3385 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3386 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3387 * @throws SystemException if a system exception occurred 3388 */ 3389 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 3390 long groupId, int status, 3391 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3392 throws com.liferay.portal.kernel.exception.SystemException; 3393 3394 /** 3395 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 3396 * 3397 * @param id the primary key of the current journal article 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 previous, current, and next journal article 3402 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3403 * @throws SystemException if a system exception occurred 3404 */ 3405 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 3406 long id, 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 all the journal articles that the user has permission to view where groupId = ? and status = ?. 3413 * 3414 * @param groupId the group ID 3415 * @param status the status 3416 * @return the matching journal articles that the user has permission to view 3417 * @throws SystemException if a system exception occurred 3418 */ 3419 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3420 long groupId, int status) 3421 throws com.liferay.portal.kernel.exception.SystemException; 3422 3423 /** 3424 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3425 * 3426 * <p> 3427 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3428 * </p> 3429 * 3430 * @param groupId the group ID 3431 * @param status the status 3432 * @param start the lower bound of the range of journal articles 3433 * @param end the upper bound of the range of journal articles (not inclusive) 3434 * @return the range of matching journal articles that the user has permission to view 3435 * @throws SystemException if a system exception occurred 3436 */ 3437 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3438 long groupId, int status, int start, int end) 3439 throws com.liferay.portal.kernel.exception.SystemException; 3440 3441 /** 3442 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3443 * 3444 * <p> 3445 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3446 * </p> 3447 * 3448 * @param groupId the group ID 3449 * @param status the status 3450 * @param start the lower bound of the range of journal articles 3451 * @param end the upper bound of the range of journal articles (not inclusive) 3452 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3453 * @return the ordered range of matching journal articles that the user has permission to view 3454 * @throws SystemException if a system exception occurred 3455 */ 3456 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3457 long groupId, int status, int start, int end, 3458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3459 throws com.liferay.portal.kernel.exception.SystemException; 3460 3461 /** 3462 * 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 = ?. 3463 * 3464 * @param id the primary key of the current journal article 3465 * @param groupId the group ID 3466 * @param status the status 3467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3468 * @return the previous, current, and next journal article 3469 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3470 * @throws SystemException if a system exception occurred 3471 */ 3472 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 3473 long id, long groupId, int status, 3474 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3475 throws com.liferay.portal.kernel.exception.SystemException, 3476 com.liferay.portlet.journal.NoSuchArticleException; 3477 3478 /** 3479 * Removes all the journal articles where groupId = ? and status = ? from the database. 3480 * 3481 * @param groupId the group ID 3482 * @param status the status 3483 * @throws SystemException if a system exception occurred 3484 */ 3485 public void removeByG_ST(long groupId, int status) 3486 throws com.liferay.portal.kernel.exception.SystemException; 3487 3488 /** 3489 * Returns the number of journal articles where groupId = ? and status = ?. 3490 * 3491 * @param groupId the group ID 3492 * @param status the status 3493 * @return the number of matching journal articles 3494 * @throws SystemException if a system exception occurred 3495 */ 3496 public int countByG_ST(long groupId, int status) 3497 throws com.liferay.portal.kernel.exception.SystemException; 3498 3499 /** 3500 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 3501 * 3502 * @param groupId the group ID 3503 * @param status the status 3504 * @return the number of matching journal articles that the user has permission to view 3505 * @throws SystemException if a system exception occurred 3506 */ 3507 public int filterCountByG_ST(long groupId, int status) 3508 throws com.liferay.portal.kernel.exception.SystemException; 3509 3510 /** 3511 * Returns all the journal articles where companyId = ? and version = ?. 3512 * 3513 * @param companyId the company ID 3514 * @param version the version 3515 * @return the matching journal articles 3516 * @throws SystemException if a system exception occurred 3517 */ 3518 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3519 long companyId, double version) 3520 throws com.liferay.portal.kernel.exception.SystemException; 3521 3522 /** 3523 * Returns a range of all the journal articles where companyId = ? and version = ?. 3524 * 3525 * <p> 3526 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3527 * </p> 3528 * 3529 * @param companyId the company ID 3530 * @param version the version 3531 * @param start the lower bound of the range of journal articles 3532 * @param end the upper bound of the range of journal articles (not inclusive) 3533 * @return the range of matching journal articles 3534 * @throws SystemException if a system exception occurred 3535 */ 3536 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3537 long companyId, double version, int start, int end) 3538 throws com.liferay.portal.kernel.exception.SystemException; 3539 3540 /** 3541 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 3542 * 3543 * <p> 3544 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3545 * </p> 3546 * 3547 * @param companyId the company ID 3548 * @param version the version 3549 * @param start the lower bound of the range of journal articles 3550 * @param end the upper bound of the range of journal articles (not inclusive) 3551 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3552 * @return the ordered range of matching journal articles 3553 * @throws SystemException if a system exception occurred 3554 */ 3555 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3556 long companyId, double version, int start, int end, 3557 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3558 throws com.liferay.portal.kernel.exception.SystemException; 3559 3560 /** 3561 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3562 * 3563 * @param companyId the company ID 3564 * @param version the version 3565 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3566 * @return the first matching journal article 3567 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3568 * @throws SystemException if a system exception occurred 3569 */ 3570 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 3571 long companyId, double version, 3572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3573 throws com.liferay.portal.kernel.exception.SystemException, 3574 com.liferay.portlet.journal.NoSuchArticleException; 3575 3576 /** 3577 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3578 * 3579 * @param companyId the company ID 3580 * @param version the version 3581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3582 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3583 * @throws SystemException if a system exception occurred 3584 */ 3585 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 3586 long companyId, double version, 3587 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3588 throws com.liferay.portal.kernel.exception.SystemException; 3589 3590 /** 3591 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3592 * 3593 * @param companyId the company ID 3594 * @param version the version 3595 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3596 * @return the last matching journal article 3597 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3598 * @throws SystemException if a system exception occurred 3599 */ 3600 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 3601 long companyId, double version, 3602 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3603 throws com.liferay.portal.kernel.exception.SystemException, 3604 com.liferay.portlet.journal.NoSuchArticleException; 3605 3606 /** 3607 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3608 * 3609 * @param companyId the company ID 3610 * @param version the version 3611 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3612 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3613 * @throws SystemException if a system exception occurred 3614 */ 3615 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 3616 long companyId, double version, 3617 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3618 throws com.liferay.portal.kernel.exception.SystemException; 3619 3620 /** 3621 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 3622 * 3623 * @param id the primary key of the current journal article 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 previous, current, and next journal article 3628 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3629 * @throws SystemException if a system exception occurred 3630 */ 3631 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 3632 long id, 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 * Removes all the journal articles where companyId = ? and version = ? from the database. 3639 * 3640 * @param companyId the company ID 3641 * @param version the version 3642 * @throws SystemException if a system exception occurred 3643 */ 3644 public void removeByC_V(long companyId, double version) 3645 throws com.liferay.portal.kernel.exception.SystemException; 3646 3647 /** 3648 * Returns the number of journal articles where companyId = ? and version = ?. 3649 * 3650 * @param companyId the company ID 3651 * @param version the version 3652 * @return the number of matching journal articles 3653 * @throws SystemException if a system exception occurred 3654 */ 3655 public int countByC_V(long companyId, double version) 3656 throws com.liferay.portal.kernel.exception.SystemException; 3657 3658 /** 3659 * Returns all the journal articles where companyId = ? and status = ?. 3660 * 3661 * @param companyId the company ID 3662 * @param status the status 3663 * @return the matching journal articles 3664 * @throws SystemException if a system exception occurred 3665 */ 3666 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3667 long companyId, int status) 3668 throws com.liferay.portal.kernel.exception.SystemException; 3669 3670 /** 3671 * Returns a range of all the journal articles where companyId = ? and status = ?. 3672 * 3673 * <p> 3674 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3675 * </p> 3676 * 3677 * @param companyId the company ID 3678 * @param status the status 3679 * @param start the lower bound of the range of journal articles 3680 * @param end the upper bound of the range of journal articles (not inclusive) 3681 * @return the range of matching journal articles 3682 * @throws SystemException if a system exception occurred 3683 */ 3684 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3685 long companyId, int status, int start, int end) 3686 throws com.liferay.portal.kernel.exception.SystemException; 3687 3688 /** 3689 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 3690 * 3691 * <p> 3692 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3693 * </p> 3694 * 3695 * @param companyId the company ID 3696 * @param status the status 3697 * @param start the lower bound of the range of journal articles 3698 * @param end the upper bound of the range of journal articles (not inclusive) 3699 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3700 * @return the ordered range of matching journal articles 3701 * @throws SystemException if a system exception occurred 3702 */ 3703 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3704 long companyId, int status, int start, int end, 3705 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3706 throws com.liferay.portal.kernel.exception.SystemException; 3707 3708 /** 3709 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3710 * 3711 * @param companyId the company ID 3712 * @param status the status 3713 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3714 * @return the first matching journal article 3715 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3716 * @throws SystemException if a system exception occurred 3717 */ 3718 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 3719 long companyId, int status, 3720 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3721 throws com.liferay.portal.kernel.exception.SystemException, 3722 com.liferay.portlet.journal.NoSuchArticleException; 3723 3724 /** 3725 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3726 * 3727 * @param companyId the company ID 3728 * @param status the status 3729 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3730 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3731 * @throws SystemException if a system exception occurred 3732 */ 3733 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 3734 long companyId, int status, 3735 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3736 throws com.liferay.portal.kernel.exception.SystemException; 3737 3738 /** 3739 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3740 * 3741 * @param companyId the company ID 3742 * @param status the status 3743 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3744 * @return the last matching journal article 3745 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3746 * @throws SystemException if a system exception occurred 3747 */ 3748 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 3749 long companyId, int status, 3750 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3751 throws com.liferay.portal.kernel.exception.SystemException, 3752 com.liferay.portlet.journal.NoSuchArticleException; 3753 3754 /** 3755 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3756 * 3757 * @param companyId the company ID 3758 * @param status the status 3759 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3760 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3761 * @throws SystemException if a system exception occurred 3762 */ 3763 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 3764 long companyId, int status, 3765 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3766 throws com.liferay.portal.kernel.exception.SystemException; 3767 3768 /** 3769 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 3770 * 3771 * @param id the primary key of the current journal article 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 previous, current, and next journal article 3776 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3777 * @throws SystemException if a system exception occurred 3778 */ 3779 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 3780 long id, 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 * Removes all the journal articles where companyId = ? and status = ? from the database. 3787 * 3788 * @param companyId the company ID 3789 * @param status the status 3790 * @throws SystemException if a system exception occurred 3791 */ 3792 public void removeByC_ST(long companyId, int status) 3793 throws com.liferay.portal.kernel.exception.SystemException; 3794 3795 /** 3796 * Returns the number of journal articles where companyId = ? and status = ?. 3797 * 3798 * @param companyId the company ID 3799 * @param status the status 3800 * @return the number of matching journal articles 3801 * @throws SystemException if a system exception occurred 3802 */ 3803 public int countByC_ST(long companyId, int status) 3804 throws com.liferay.portal.kernel.exception.SystemException; 3805 3806 /** 3807 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 3808 * 3809 * @param groupId the group ID 3810 * @param folderId the folder ID 3811 * @param status the status 3812 * @return the matching journal articles 3813 * @throws SystemException if a system exception occurred 3814 */ 3815 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3816 long groupId, long folderId, int status) 3817 throws com.liferay.portal.kernel.exception.SystemException; 3818 3819 /** 3820 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 3821 * 3822 * <p> 3823 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3824 * </p> 3825 * 3826 * @param groupId the group ID 3827 * @param folderId the folder ID 3828 * @param status the status 3829 * @param start the lower bound of the range of journal articles 3830 * @param end the upper bound of the range of journal articles (not inclusive) 3831 * @return the range of matching journal articles 3832 * @throws SystemException if a system exception occurred 3833 */ 3834 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3835 long groupId, long folderId, int status, int start, int end) 3836 throws com.liferay.portal.kernel.exception.SystemException; 3837 3838 /** 3839 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 3840 * 3841 * <p> 3842 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3843 * </p> 3844 * 3845 * @param groupId the group ID 3846 * @param folderId the folder ID 3847 * @param status the status 3848 * @param start the lower bound of the range of journal articles 3849 * @param end the upper bound of the range of journal articles (not inclusive) 3850 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3851 * @return the ordered range of matching journal articles 3852 * @throws SystemException if a system exception occurred 3853 */ 3854 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 3855 long groupId, long folderId, int status, int start, int end, 3856 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3857 throws com.liferay.portal.kernel.exception.SystemException; 3858 3859 /** 3860 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3861 * 3862 * @param groupId the group ID 3863 * @param folderId the folder ID 3864 * @param status the status 3865 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3866 * @return the first matching journal article 3867 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3868 * @throws SystemException if a system exception occurred 3869 */ 3870 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 3871 long groupId, long folderId, int status, 3872 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3873 throws com.liferay.portal.kernel.exception.SystemException, 3874 com.liferay.portlet.journal.NoSuchArticleException; 3875 3876 /** 3877 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3878 * 3879 * @param groupId the group ID 3880 * @param folderId the folder ID 3881 * @param status the status 3882 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3883 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3884 * @throws SystemException if a system exception occurred 3885 */ 3886 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 3887 long groupId, long folderId, int status, 3888 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3889 throws com.liferay.portal.kernel.exception.SystemException; 3890 3891 /** 3892 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3893 * 3894 * @param groupId the group ID 3895 * @param folderId the folder ID 3896 * @param status the status 3897 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3898 * @return the last matching journal article 3899 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3900 * @throws SystemException if a system exception occurred 3901 */ 3902 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 3903 long groupId, long folderId, int status, 3904 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3905 throws com.liferay.portal.kernel.exception.SystemException, 3906 com.liferay.portlet.journal.NoSuchArticleException; 3907 3908 /** 3909 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3910 * 3911 * @param groupId the group ID 3912 * @param folderId the folder ID 3913 * @param status the status 3914 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3915 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3916 * @throws SystemException if a system exception occurred 3917 */ 3918 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 3919 long groupId, long folderId, int status, 3920 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3921 throws com.liferay.portal.kernel.exception.SystemException; 3922 3923 /** 3924 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 3925 * 3926 * @param id the primary key of the current journal article 3927 * @param groupId the group ID 3928 * @param folderId the folder ID 3929 * @param status the status 3930 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3931 * @return the previous, current, and next journal article 3932 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3933 * @throws SystemException if a system exception occurred 3934 */ 3935 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 3936 long id, long groupId, long folderId, int status, 3937 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3938 throws com.liferay.portal.kernel.exception.SystemException, 3939 com.liferay.portlet.journal.NoSuchArticleException; 3940 3941 /** 3942 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 3943 * 3944 * @param groupId the group ID 3945 * @param folderId the folder ID 3946 * @param status the status 3947 * @return the matching journal articles that the user has permission to view 3948 * @throws SystemException if a system exception occurred 3949 */ 3950 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3951 long groupId, long folderId, int status) 3952 throws com.liferay.portal.kernel.exception.SystemException; 3953 3954 /** 3955 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 3956 * 3957 * <p> 3958 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3959 * </p> 3960 * 3961 * @param groupId the group ID 3962 * @param folderId the folder ID 3963 * @param status the status 3964 * @param start the lower bound of the range of journal articles 3965 * @param end the upper bound of the range of journal articles (not inclusive) 3966 * @return the range of matching journal articles that the user has permission to view 3967 * @throws SystemException if a system exception occurred 3968 */ 3969 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3970 long groupId, long folderId, int status, int start, int end) 3971 throws com.liferay.portal.kernel.exception.SystemException; 3972 3973 /** 3974 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 3975 * 3976 * <p> 3977 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3978 * </p> 3979 * 3980 * @param groupId the group ID 3981 * @param folderId the folder ID 3982 * @param status the status 3983 * @param start the lower bound of the range of journal articles 3984 * @param end the upper bound of the range of journal articles (not inclusive) 3985 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3986 * @return the ordered range of matching journal articles that the user has permission to view 3987 * @throws SystemException if a system exception occurred 3988 */ 3989 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 3990 long groupId, long folderId, int status, int start, int end, 3991 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3992 throws com.liferay.portal.kernel.exception.SystemException; 3993 3994 /** 3995 * 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 = ?. 3996 * 3997 * @param id the primary key of the current journal article 3998 * @param groupId the group ID 3999 * @param folderId the folder ID 4000 * @param status the status 4001 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4002 * @return the previous, current, and next journal article 4003 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4004 * @throws SystemException if a system exception occurred 4005 */ 4006 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 4007 long id, long groupId, long folderId, int status, 4008 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4009 throws com.liferay.portal.kernel.exception.SystemException, 4010 com.liferay.portlet.journal.NoSuchArticleException; 4011 4012 /** 4013 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4014 * 4015 * @param groupId the group ID 4016 * @param folderId the folder ID 4017 * @param statuses the statuses 4018 * @return the matching journal articles that the user has permission to view 4019 * @throws SystemException if a system exception occurred 4020 */ 4021 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4022 long groupId, long folderId, int[] statuses) 4023 throws com.liferay.portal.kernel.exception.SystemException; 4024 4025 /** 4026 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4027 * 4028 * <p> 4029 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4030 * </p> 4031 * 4032 * @param groupId the group ID 4033 * @param folderId the folder ID 4034 * @param statuses the statuses 4035 * @param start the lower bound of the range of journal articles 4036 * @param end the upper bound of the range of journal articles (not inclusive) 4037 * @return the range of matching journal articles that the user has permission to view 4038 * @throws SystemException if a system exception occurred 4039 */ 4040 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4041 long groupId, long folderId, int[] statuses, int start, int end) 4042 throws com.liferay.portal.kernel.exception.SystemException; 4043 4044 /** 4045 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4046 * 4047 * <p> 4048 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4049 * </p> 4050 * 4051 * @param groupId the group ID 4052 * @param folderId the folder ID 4053 * @param statuses the statuses 4054 * @param start the lower bound of the range of journal articles 4055 * @param end the upper bound of the range of journal articles (not inclusive) 4056 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4057 * @return the ordered range of matching journal articles that the user has permission to view 4058 * @throws SystemException if a system exception occurred 4059 */ 4060 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4061 long groupId, long folderId, int[] statuses, int start, int end, 4062 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4063 throws com.liferay.portal.kernel.exception.SystemException; 4064 4065 /** 4066 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 4067 * 4068 * <p> 4069 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4070 * </p> 4071 * 4072 * @param groupId the group ID 4073 * @param folderId the folder ID 4074 * @param statuses the statuses 4075 * @return the matching journal articles 4076 * @throws SystemException if a system exception occurred 4077 */ 4078 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4079 long groupId, long folderId, int[] statuses) 4080 throws com.liferay.portal.kernel.exception.SystemException; 4081 4082 /** 4083 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4084 * 4085 * <p> 4086 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4087 * </p> 4088 * 4089 * @param groupId the group ID 4090 * @param folderId the folder ID 4091 * @param statuses the statuses 4092 * @param start the lower bound of the range of journal articles 4093 * @param end the upper bound of the range of journal articles (not inclusive) 4094 * @return the range of matching journal articles 4095 * @throws SystemException if a system exception occurred 4096 */ 4097 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4098 long groupId, long folderId, int[] statuses, int start, int end) 4099 throws com.liferay.portal.kernel.exception.SystemException; 4100 4101 /** 4102 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4103 * 4104 * <p> 4105 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4106 * </p> 4107 * 4108 * @param groupId the group ID 4109 * @param folderId the folder ID 4110 * @param statuses the statuses 4111 * @param start the lower bound of the range of journal articles 4112 * @param end the upper bound of the range of journal articles (not inclusive) 4113 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4114 * @return the ordered range of matching journal articles 4115 * @throws SystemException if a system exception occurred 4116 */ 4117 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4118 long groupId, long folderId, int[] statuses, int start, int end, 4119 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4120 throws com.liferay.portal.kernel.exception.SystemException; 4121 4122 /** 4123 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 4124 * 4125 * @param groupId the group ID 4126 * @param folderId the folder ID 4127 * @param status the status 4128 * @throws SystemException if a system exception occurred 4129 */ 4130 public void removeByG_F_ST(long groupId, long folderId, int status) 4131 throws com.liferay.portal.kernel.exception.SystemException; 4132 4133 /** 4134 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 4135 * 4136 * @param groupId the group ID 4137 * @param folderId the folder ID 4138 * @param status the status 4139 * @return the number of matching journal articles 4140 * @throws SystemException if a system exception occurred 4141 */ 4142 public int countByG_F_ST(long groupId, long folderId, int status) 4143 throws com.liferay.portal.kernel.exception.SystemException; 4144 4145 /** 4146 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 4147 * 4148 * @param groupId the group ID 4149 * @param folderId the folder ID 4150 * @param statuses the statuses 4151 * @return the number of matching journal articles 4152 * @throws SystemException if a system exception occurred 4153 */ 4154 public int countByG_F_ST(long groupId, long folderId, int[] statuses) 4155 throws com.liferay.portal.kernel.exception.SystemException; 4156 4157 /** 4158 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4159 * 4160 * @param groupId the group ID 4161 * @param folderId the folder ID 4162 * @param status the status 4163 * @return the number of matching journal articles that the user has permission to view 4164 * @throws SystemException if a system exception occurred 4165 */ 4166 public int filterCountByG_F_ST(long groupId, long folderId, int status) 4167 throws com.liferay.portal.kernel.exception.SystemException; 4168 4169 /** 4170 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4171 * 4172 * @param groupId the group ID 4173 * @param folderId the folder ID 4174 * @param statuses the statuses 4175 * @return the number of matching journal articles that the user has permission to view 4176 * @throws SystemException if a system exception occurred 4177 */ 4178 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses) 4179 throws com.liferay.portal.kernel.exception.SystemException; 4180 4181 /** 4182 * Returns all the journal articles where groupId = ? and folderId = ? and status ≠ ?. 4183 * 4184 * @param groupId the group ID 4185 * @param folderId the folder ID 4186 * @param status the status 4187 * @return the matching journal articles 4188 * @throws SystemException if a system exception occurred 4189 */ 4190 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_NotST( 4191 long groupId, long folderId, int status) 4192 throws com.liferay.portal.kernel.exception.SystemException; 4193 4194 /** 4195 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status ≠ ?. 4196 * 4197 * <p> 4198 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4199 * </p> 4200 * 4201 * @param groupId the group ID 4202 * @param folderId the folder ID 4203 * @param status the status 4204 * @param start the lower bound of the range of journal articles 4205 * @param end the upper bound of the range of journal articles (not inclusive) 4206 * @return the range of matching journal articles 4207 * @throws SystemException if a system exception occurred 4208 */ 4209 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_NotST( 4210 long groupId, long folderId, int status, int start, int end) 4211 throws com.liferay.portal.kernel.exception.SystemException; 4212 4213 /** 4214 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status ≠ ?. 4215 * 4216 * <p> 4217 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4218 * </p> 4219 * 4220 * @param groupId the group ID 4221 * @param folderId the folder ID 4222 * @param status the status 4223 * @param start the lower bound of the range of journal articles 4224 * @param end the upper bound of the range of journal articles (not inclusive) 4225 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4226 * @return the ordered range of matching journal articles 4227 * @throws SystemException if a system exception occurred 4228 */ 4229 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_NotST( 4230 long groupId, long folderId, int status, int start, int end, 4231 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4232 throws com.liferay.portal.kernel.exception.SystemException; 4233 4234 /** 4235 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 4236 * 4237 * @param groupId the group ID 4238 * @param folderId the folder ID 4239 * @param status the status 4240 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4241 * @return the first matching journal article 4242 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4243 * @throws SystemException if a system exception occurred 4244 */ 4245 public com.liferay.portlet.journal.model.JournalArticle findByG_F_NotST_First( 4246 long groupId, long folderId, int status, 4247 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4248 throws com.liferay.portal.kernel.exception.SystemException, 4249 com.liferay.portlet.journal.NoSuchArticleException; 4250 4251 /** 4252 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 4253 * 4254 * @param groupId the group ID 4255 * @param folderId the folder ID 4256 * @param status the status 4257 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4258 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4259 * @throws SystemException if a system exception occurred 4260 */ 4261 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_NotST_First( 4262 long groupId, long folderId, int status, 4263 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4264 throws com.liferay.portal.kernel.exception.SystemException; 4265 4266 /** 4267 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 4268 * 4269 * @param groupId the group ID 4270 * @param folderId the folder ID 4271 * @param status the status 4272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4273 * @return the last matching journal article 4274 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4275 * @throws SystemException if a system exception occurred 4276 */ 4277 public com.liferay.portlet.journal.model.JournalArticle findByG_F_NotST_Last( 4278 long groupId, long folderId, int status, 4279 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4280 throws com.liferay.portal.kernel.exception.SystemException, 4281 com.liferay.portlet.journal.NoSuchArticleException; 4282 4283 /** 4284 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 4285 * 4286 * @param groupId the group ID 4287 * @param folderId the folder ID 4288 * @param status the status 4289 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4290 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4291 * @throws SystemException if a system exception occurred 4292 */ 4293 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_NotST_Last( 4294 long groupId, long folderId, int status, 4295 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4296 throws com.liferay.portal.kernel.exception.SystemException; 4297 4298 /** 4299 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 4300 * 4301 * @param id the primary key of the current journal article 4302 * @param groupId the group ID 4303 * @param folderId the folder ID 4304 * @param status the status 4305 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4306 * @return the previous, current, and next journal article 4307 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4308 * @throws SystemException if a system exception occurred 4309 */ 4310 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_NotST_PrevAndNext( 4311 long id, long groupId, long folderId, int status, 4312 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4313 throws com.liferay.portal.kernel.exception.SystemException, 4314 com.liferay.portlet.journal.NoSuchArticleException; 4315 4316 /** 4317 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 4318 * 4319 * @param groupId the group ID 4320 * @param folderId the folder ID 4321 * @param status the status 4322 * @return the matching journal articles that the user has permission to view 4323 * @throws SystemException if a system exception occurred 4324 */ 4325 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_NotST( 4326 long groupId, long folderId, int status) 4327 throws com.liferay.portal.kernel.exception.SystemException; 4328 4329 /** 4330 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 4331 * 4332 * <p> 4333 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4334 * </p> 4335 * 4336 * @param groupId the group ID 4337 * @param folderId the folder ID 4338 * @param status the status 4339 * @param start the lower bound of the range of journal articles 4340 * @param end the upper bound of the range of journal articles (not inclusive) 4341 * @return the range of matching journal articles that the user has permission to view 4342 * @throws SystemException if a system exception occurred 4343 */ 4344 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_NotST( 4345 long groupId, long folderId, int status, int start, int end) 4346 throws com.liferay.portal.kernel.exception.SystemException; 4347 4348 /** 4349 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status ≠ ?. 4350 * 4351 * <p> 4352 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4353 * </p> 4354 * 4355 * @param groupId the group ID 4356 * @param folderId the folder ID 4357 * @param status the status 4358 * @param start the lower bound of the range of journal articles 4359 * @param end the upper bound of the range of journal articles (not inclusive) 4360 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4361 * @return the ordered range of matching journal articles that the user has permission to view 4362 * @throws SystemException if a system exception occurred 4363 */ 4364 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_NotST( 4365 long groupId, long folderId, int status, int start, int end, 4366 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4367 throws com.liferay.portal.kernel.exception.SystemException; 4368 4369 /** 4370 * 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 ≠ ?. 4371 * 4372 * @param id the primary key of the current journal article 4373 * @param groupId the group ID 4374 * @param folderId the folder ID 4375 * @param status the status 4376 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4377 * @return the previous, current, and next journal article 4378 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4379 * @throws SystemException if a system exception occurred 4380 */ 4381 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_NotST_PrevAndNext( 4382 long id, long groupId, long folderId, int status, 4383 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4384 throws com.liferay.portal.kernel.exception.SystemException, 4385 com.liferay.portlet.journal.NoSuchArticleException; 4386 4387 /** 4388 * Removes all the journal articles where groupId = ? and folderId = ? and status ≠ ? from the database. 4389 * 4390 * @param groupId the group ID 4391 * @param folderId the folder ID 4392 * @param status the status 4393 * @throws SystemException if a system exception occurred 4394 */ 4395 public void removeByG_F_NotST(long groupId, long folderId, int status) 4396 throws com.liferay.portal.kernel.exception.SystemException; 4397 4398 /** 4399 * Returns the number of journal articles where groupId = ? and folderId = ? and status ≠ ?. 4400 * 4401 * @param groupId the group ID 4402 * @param folderId the folder ID 4403 * @param status the status 4404 * @return the number of matching journal articles 4405 * @throws SystemException if a system exception occurred 4406 */ 4407 public int countByG_F_NotST(long groupId, long folderId, int status) 4408 throws com.liferay.portal.kernel.exception.SystemException; 4409 4410 /** 4411 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 4412 * 4413 * @param groupId the group ID 4414 * @param folderId the folder ID 4415 * @param status the status 4416 * @return the number of matching journal articles that the user has permission to view 4417 * @throws SystemException if a system exception occurred 4418 */ 4419 public int filterCountByG_F_NotST(long groupId, long folderId, int status) 4420 throws com.liferay.portal.kernel.exception.SystemException; 4421 4422 /** 4423 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4424 * 4425 * @param groupId the group ID 4426 * @param classNameId the class name ID 4427 * @param classPK the class p k 4428 * @return the matching journal articles 4429 * @throws SystemException if a system exception occurred 4430 */ 4431 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4432 long groupId, long classNameId, long classPK) 4433 throws com.liferay.portal.kernel.exception.SystemException; 4434 4435 /** 4436 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4437 * 4438 * <p> 4439 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4440 * </p> 4441 * 4442 * @param groupId the group ID 4443 * @param classNameId the class name ID 4444 * @param classPK the class p k 4445 * @param start the lower bound of the range of journal articles 4446 * @param end the upper bound of the range of journal articles (not inclusive) 4447 * @return the range of matching journal articles 4448 * @throws SystemException if a system exception occurred 4449 */ 4450 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4451 long groupId, long classNameId, long classPK, int start, int end) 4452 throws com.liferay.portal.kernel.exception.SystemException; 4453 4454 /** 4455 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4456 * 4457 * <p> 4458 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4459 * </p> 4460 * 4461 * @param groupId the group ID 4462 * @param classNameId the class name ID 4463 * @param classPK the class p k 4464 * @param start the lower bound of the range of journal articles 4465 * @param end the upper bound of the range of journal articles (not inclusive) 4466 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4467 * @return the ordered range of matching journal articles 4468 * @throws SystemException if a system exception occurred 4469 */ 4470 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4471 long groupId, long classNameId, long classPK, int start, int end, 4472 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4473 throws com.liferay.portal.kernel.exception.SystemException; 4474 4475 /** 4476 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4477 * 4478 * @param groupId the group ID 4479 * @param classNameId the class name ID 4480 * @param classPK the class p k 4481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4482 * @return the first matching journal article 4483 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4484 * @throws SystemException if a system exception occurred 4485 */ 4486 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 4487 long groupId, long classNameId, long classPK, 4488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4489 throws com.liferay.portal.kernel.exception.SystemException, 4490 com.liferay.portlet.journal.NoSuchArticleException; 4491 4492 /** 4493 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4494 * 4495 * @param groupId the group ID 4496 * @param classNameId the class name ID 4497 * @param classPK the class p k 4498 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4499 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4500 * @throws SystemException if a system exception occurred 4501 */ 4502 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 4503 long groupId, long classNameId, long classPK, 4504 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4505 throws com.liferay.portal.kernel.exception.SystemException; 4506 4507 /** 4508 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4509 * 4510 * @param groupId the group ID 4511 * @param classNameId the class name ID 4512 * @param classPK the class p k 4513 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4514 * @return the last matching journal article 4515 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4516 * @throws SystemException if a system exception occurred 4517 */ 4518 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 4519 long groupId, long classNameId, long classPK, 4520 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4521 throws com.liferay.portal.kernel.exception.SystemException, 4522 com.liferay.portlet.journal.NoSuchArticleException; 4523 4524 /** 4525 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4526 * 4527 * @param groupId the group ID 4528 * @param classNameId the class name ID 4529 * @param classPK the class p k 4530 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4531 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4532 * @throws SystemException if a system exception occurred 4533 */ 4534 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 4535 long groupId, long classNameId, long classPK, 4536 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4537 throws com.liferay.portal.kernel.exception.SystemException; 4538 4539 /** 4540 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4541 * 4542 * @param id the primary key of the current journal article 4543 * @param groupId the group ID 4544 * @param classNameId the class name ID 4545 * @param classPK the class p k 4546 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4547 * @return the previous, current, and next journal article 4548 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4549 * @throws SystemException if a system exception occurred 4550 */ 4551 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 4552 long id, long groupId, long classNameId, long classPK, 4553 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4554 throws com.liferay.portal.kernel.exception.SystemException, 4555 com.liferay.portlet.journal.NoSuchArticleException; 4556 4557 /** 4558 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4559 * 4560 * @param groupId the group ID 4561 * @param classNameId the class name ID 4562 * @param classPK the class p k 4563 * @return the matching journal articles that the user has permission to view 4564 * @throws SystemException if a system exception occurred 4565 */ 4566 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4567 long groupId, long classNameId, long classPK) 4568 throws com.liferay.portal.kernel.exception.SystemException; 4569 4570 /** 4571 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4572 * 4573 * <p> 4574 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4575 * </p> 4576 * 4577 * @param groupId the group ID 4578 * @param classNameId the class name ID 4579 * @param classPK the class p k 4580 * @param start the lower bound of the range of journal articles 4581 * @param end the upper bound of the range of journal articles (not inclusive) 4582 * @return the range of matching journal articles that the user has permission to view 4583 * @throws SystemException if a system exception occurred 4584 */ 4585 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4586 long groupId, long classNameId, long classPK, int start, int end) 4587 throws com.liferay.portal.kernel.exception.SystemException; 4588 4589 /** 4590 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 4591 * 4592 * <p> 4593 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4594 * </p> 4595 * 4596 * @param groupId the group ID 4597 * @param classNameId the class name ID 4598 * @param classPK the class p k 4599 * @param start the lower bound of the range of journal articles 4600 * @param end the upper bound of the range of journal articles (not inclusive) 4601 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4602 * @return the ordered range of matching journal articles that the user has permission to view 4603 * @throws SystemException if a system exception occurred 4604 */ 4605 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4606 long groupId, long classNameId, long classPK, int start, int end, 4607 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4608 throws com.liferay.portal.kernel.exception.SystemException; 4609 4610 /** 4611 * 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 = ?. 4612 * 4613 * @param id the primary key of the current journal article 4614 * @param groupId the group ID 4615 * @param classNameId the class name ID 4616 * @param classPK the class p k 4617 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4618 * @return the previous, current, and next journal article 4619 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4620 * @throws SystemException if a system exception occurred 4621 */ 4622 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 4623 long id, long groupId, long classNameId, long classPK, 4624 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4625 throws com.liferay.portal.kernel.exception.SystemException, 4626 com.liferay.portlet.journal.NoSuchArticleException; 4627 4628 /** 4629 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 4630 * 4631 * @param groupId the group ID 4632 * @param classNameId the class name ID 4633 * @param classPK the class p k 4634 * @throws SystemException if a system exception occurred 4635 */ 4636 public void removeByG_C_C(long groupId, long classNameId, long classPK) 4637 throws com.liferay.portal.kernel.exception.SystemException; 4638 4639 /** 4640 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 4641 * 4642 * @param groupId the group ID 4643 * @param classNameId the class name ID 4644 * @param classPK the class p k 4645 * @return the number of matching journal articles 4646 * @throws SystemException if a system exception occurred 4647 */ 4648 public int countByG_C_C(long groupId, long classNameId, long classPK) 4649 throws com.liferay.portal.kernel.exception.SystemException; 4650 4651 /** 4652 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4653 * 4654 * @param groupId the group ID 4655 * @param classNameId the class name ID 4656 * @param classPK the class p k 4657 * @return the number of matching journal articles that the user has permission to view 4658 * @throws SystemException if a system exception occurred 4659 */ 4660 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 4661 throws com.liferay.portal.kernel.exception.SystemException; 4662 4663 /** 4664 * 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. 4665 * 4666 * @param groupId the group ID 4667 * @param classNameId the class name ID 4668 * @param structureId the structure ID 4669 * @return the matching journal article 4670 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4671 * @throws SystemException if a system exception occurred 4672 */ 4673 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 4674 long groupId, long classNameId, java.lang.String structureId) 4675 throws com.liferay.portal.kernel.exception.SystemException, 4676 com.liferay.portlet.journal.NoSuchArticleException; 4677 4678 /** 4679 * 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. 4680 * 4681 * @param groupId the group ID 4682 * @param classNameId the class name ID 4683 * @param structureId the structure ID 4684 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4685 * @throws SystemException if a system exception occurred 4686 */ 4687 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 4688 long groupId, long classNameId, java.lang.String structureId) 4689 throws com.liferay.portal.kernel.exception.SystemException; 4690 4691 /** 4692 * 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. 4693 * 4694 * @param groupId the group ID 4695 * @param classNameId the class name ID 4696 * @param structureId the structure ID 4697 * @param retrieveFromCache whether to use the finder cache 4698 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4699 * @throws SystemException if a system exception occurred 4700 */ 4701 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 4702 long groupId, long classNameId, java.lang.String structureId, 4703 boolean retrieveFromCache) 4704 throws com.liferay.portal.kernel.exception.SystemException; 4705 4706 /** 4707 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 4708 * 4709 * @param groupId the group ID 4710 * @param classNameId the class name ID 4711 * @param structureId the structure ID 4712 * @return the journal article that was removed 4713 * @throws SystemException if a system exception occurred 4714 */ 4715 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 4716 long groupId, long classNameId, java.lang.String structureId) 4717 throws com.liferay.portal.kernel.exception.SystemException, 4718 com.liferay.portlet.journal.NoSuchArticleException; 4719 4720 /** 4721 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 4722 * 4723 * @param groupId the group ID 4724 * @param classNameId the class name ID 4725 * @param structureId the structure ID 4726 * @return the number of matching journal articles 4727 * @throws SystemException if a system exception occurred 4728 */ 4729 public int countByG_C_S(long groupId, long classNameId, 4730 java.lang.String structureId) 4731 throws com.liferay.portal.kernel.exception.SystemException; 4732 4733 /** 4734 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 4735 * 4736 * @param groupId the group ID 4737 * @param classNameId the class name ID 4738 * @param templateId the template ID 4739 * @return the matching journal articles 4740 * @throws SystemException if a system exception occurred 4741 */ 4742 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 4743 long groupId, long classNameId, java.lang.String templateId) 4744 throws com.liferay.portal.kernel.exception.SystemException; 4745 4746 /** 4747 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 4748 * 4749 * <p> 4750 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4751 * </p> 4752 * 4753 * @param groupId the group ID 4754 * @param classNameId the class name ID 4755 * @param templateId the template ID 4756 * @param start the lower bound of the range of journal articles 4757 * @param end the upper bound of the range of journal articles (not inclusive) 4758 * @return the range of matching journal articles 4759 * @throws SystemException if a system exception occurred 4760 */ 4761 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 4762 long groupId, long classNameId, java.lang.String templateId, int start, 4763 int end) throws com.liferay.portal.kernel.exception.SystemException; 4764 4765 /** 4766 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 4767 * 4768 * <p> 4769 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4770 * </p> 4771 * 4772 * @param groupId the group ID 4773 * @param classNameId the class name ID 4774 * @param templateId the template ID 4775 * @param start the lower bound of the range of journal articles 4776 * @param end the upper bound of the range of journal articles (not inclusive) 4777 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4778 * @return the ordered range of matching journal articles 4779 * @throws SystemException if a system exception occurred 4780 */ 4781 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 4782 long groupId, long classNameId, java.lang.String templateId, int start, 4783 int end, 4784 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4785 throws com.liferay.portal.kernel.exception.SystemException; 4786 4787 /** 4788 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4789 * 4790 * @param groupId the group ID 4791 * @param classNameId the class name ID 4792 * @param templateId the template ID 4793 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4794 * @return the first matching journal article 4795 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4796 * @throws SystemException if a system exception occurred 4797 */ 4798 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 4799 long groupId, long classNameId, java.lang.String templateId, 4800 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4801 throws com.liferay.portal.kernel.exception.SystemException, 4802 com.liferay.portlet.journal.NoSuchArticleException; 4803 4804 /** 4805 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4806 * 4807 * @param groupId the group ID 4808 * @param classNameId the class name ID 4809 * @param templateId the template ID 4810 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4811 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4812 * @throws SystemException if a system exception occurred 4813 */ 4814 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 4815 long groupId, long classNameId, java.lang.String templateId, 4816 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4817 throws com.liferay.portal.kernel.exception.SystemException; 4818 4819 /** 4820 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4821 * 4822 * @param groupId the group ID 4823 * @param classNameId the class name ID 4824 * @param templateId the template ID 4825 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4826 * @return the last matching journal article 4827 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4828 * @throws SystemException if a system exception occurred 4829 */ 4830 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 4831 long groupId, long classNameId, java.lang.String templateId, 4832 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4833 throws com.liferay.portal.kernel.exception.SystemException, 4834 com.liferay.portlet.journal.NoSuchArticleException; 4835 4836 /** 4837 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4838 * 4839 * @param groupId the group ID 4840 * @param classNameId the class name ID 4841 * @param templateId the template ID 4842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4843 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4844 * @throws SystemException if a system exception occurred 4845 */ 4846 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 4847 long groupId, long classNameId, java.lang.String templateId, 4848 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4849 throws com.liferay.portal.kernel.exception.SystemException; 4850 4851 /** 4852 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4853 * 4854 * @param id the primary key of the current journal article 4855 * @param groupId the group ID 4856 * @param classNameId the class name ID 4857 * @param templateId the template ID 4858 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4859 * @return the previous, current, and next journal article 4860 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4861 * @throws SystemException if a system exception occurred 4862 */ 4863 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 4864 long id, long groupId, long classNameId, java.lang.String templateId, 4865 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4866 throws com.liferay.portal.kernel.exception.SystemException, 4867 com.liferay.portlet.journal.NoSuchArticleException; 4868 4869 /** 4870 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4871 * 4872 * @param groupId the group ID 4873 * @param classNameId the class name ID 4874 * @param templateId the template ID 4875 * @return the matching journal articles that the user has permission to view 4876 * @throws SystemException if a system exception occurred 4877 */ 4878 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 4879 long groupId, long classNameId, java.lang.String templateId) 4880 throws com.liferay.portal.kernel.exception.SystemException; 4881 4882 /** 4883 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4884 * 4885 * <p> 4886 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4887 * </p> 4888 * 4889 * @param groupId the group ID 4890 * @param classNameId the class name ID 4891 * @param templateId the template ID 4892 * @param start the lower bound of the range of journal articles 4893 * @param end the upper bound of the range of journal articles (not inclusive) 4894 * @return the range of matching journal articles that the user has permission to view 4895 * @throws SystemException if a system exception occurred 4896 */ 4897 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 4898 long groupId, long classNameId, java.lang.String templateId, int start, 4899 int end) throws com.liferay.portal.kernel.exception.SystemException; 4900 4901 /** 4902 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 4903 * 4904 * <p> 4905 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4906 * </p> 4907 * 4908 * @param groupId the group ID 4909 * @param classNameId the class name ID 4910 * @param templateId the template ID 4911 * @param start the lower bound of the range of journal articles 4912 * @param end the upper bound of the range of journal articles (not inclusive) 4913 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4914 * @return the ordered range of matching journal articles that the user has permission to view 4915 * @throws SystemException if a system exception occurred 4916 */ 4917 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 4918 long groupId, long classNameId, java.lang.String templateId, int start, 4919 int end, 4920 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4921 throws com.liferay.portal.kernel.exception.SystemException; 4922 4923 /** 4924 * 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 = ?. 4925 * 4926 * @param id the primary key of the current journal article 4927 * @param groupId the group ID 4928 * @param classNameId the class name ID 4929 * @param templateId the template ID 4930 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4931 * @return the previous, current, and next journal article 4932 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4933 * @throws SystemException if a system exception occurred 4934 */ 4935 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 4936 long id, long groupId, long classNameId, java.lang.String templateId, 4937 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4938 throws com.liferay.portal.kernel.exception.SystemException, 4939 com.liferay.portlet.journal.NoSuchArticleException; 4940 4941 /** 4942 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 4943 * 4944 * @param groupId the group ID 4945 * @param classNameId the class name ID 4946 * @param templateId the template ID 4947 * @throws SystemException if a system exception occurred 4948 */ 4949 public void removeByG_C_T(long groupId, long classNameId, 4950 java.lang.String templateId) 4951 throws com.liferay.portal.kernel.exception.SystemException; 4952 4953 /** 4954 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 4955 * 4956 * @param groupId the group ID 4957 * @param classNameId the class name ID 4958 * @param templateId the template ID 4959 * @return the number of matching journal articles 4960 * @throws SystemException if a system exception occurred 4961 */ 4962 public int countByG_C_T(long groupId, long classNameId, 4963 java.lang.String templateId) 4964 throws com.liferay.portal.kernel.exception.SystemException; 4965 4966 /** 4967 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4968 * 4969 * @param groupId the group ID 4970 * @param classNameId the class name ID 4971 * @param templateId the template ID 4972 * @return the number of matching journal articles that the user has permission to view 4973 * @throws SystemException if a system exception occurred 4974 */ 4975 public int filterCountByG_C_T(long groupId, long classNameId, 4976 java.lang.String templateId) 4977 throws com.liferay.portal.kernel.exception.SystemException; 4978 4979 /** 4980 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4981 * 4982 * @param groupId the group ID 4983 * @param classNameId the class name ID 4984 * @param layoutUuid the layout uuid 4985 * @return the matching journal articles 4986 * @throws SystemException if a system exception occurred 4987 */ 4988 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 4989 long groupId, long classNameId, java.lang.String layoutUuid) 4990 throws com.liferay.portal.kernel.exception.SystemException; 4991 4992 /** 4993 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4994 * 4995 * <p> 4996 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4997 * </p> 4998 * 4999 * @param groupId the group ID 5000 * @param classNameId the class name ID 5001 * @param layoutUuid the layout uuid 5002 * @param start the lower bound of the range of journal articles 5003 * @param end the upper bound of the range of journal articles (not inclusive) 5004 * @return the range of matching journal articles 5005 * @throws SystemException if a system exception occurred 5006 */ 5007 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5008 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5009 int end) throws com.liferay.portal.kernel.exception.SystemException; 5010 5011 /** 5012 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5013 * 5014 * <p> 5015 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5016 * </p> 5017 * 5018 * @param groupId the group ID 5019 * @param classNameId the class name ID 5020 * @param layoutUuid the layout uuid 5021 * @param start the lower bound of the range of journal articles 5022 * @param end the upper bound of the range of journal articles (not inclusive) 5023 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5024 * @return the ordered range of matching journal articles 5025 * @throws SystemException if a system exception occurred 5026 */ 5027 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5028 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5029 int end, 5030 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5031 throws com.liferay.portal.kernel.exception.SystemException; 5032 5033 /** 5034 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5035 * 5036 * @param groupId the group ID 5037 * @param classNameId the class name ID 5038 * @param layoutUuid the layout uuid 5039 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5040 * @return the first matching journal article 5041 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5042 * @throws SystemException if a system exception occurred 5043 */ 5044 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 5045 long groupId, long classNameId, java.lang.String layoutUuid, 5046 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5047 throws com.liferay.portal.kernel.exception.SystemException, 5048 com.liferay.portlet.journal.NoSuchArticleException; 5049 5050 /** 5051 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5052 * 5053 * @param groupId the group ID 5054 * @param classNameId the class name ID 5055 * @param layoutUuid the layout uuid 5056 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5057 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5058 * @throws SystemException if a system exception occurred 5059 */ 5060 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 5061 long groupId, long classNameId, java.lang.String layoutUuid, 5062 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5063 throws com.liferay.portal.kernel.exception.SystemException; 5064 5065 /** 5066 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5067 * 5068 * @param groupId the group ID 5069 * @param classNameId the class name ID 5070 * @param layoutUuid the layout uuid 5071 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5072 * @return the last matching journal article 5073 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5074 * @throws SystemException if a system exception occurred 5075 */ 5076 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 5077 long groupId, long classNameId, java.lang.String layoutUuid, 5078 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5079 throws com.liferay.portal.kernel.exception.SystemException, 5080 com.liferay.portlet.journal.NoSuchArticleException; 5081 5082 /** 5083 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5084 * 5085 * @param groupId the group ID 5086 * @param classNameId the class name ID 5087 * @param layoutUuid the layout uuid 5088 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5089 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5090 * @throws SystemException if a system exception occurred 5091 */ 5092 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 5093 long groupId, long classNameId, java.lang.String layoutUuid, 5094 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5095 throws com.liferay.portal.kernel.exception.SystemException; 5096 5097 /** 5098 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5099 * 5100 * @param id the primary key of the current journal article 5101 * @param groupId the group ID 5102 * @param classNameId the class name ID 5103 * @param layoutUuid the layout uuid 5104 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5105 * @return the previous, current, and next journal article 5106 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5107 * @throws SystemException if a system exception occurred 5108 */ 5109 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 5110 long id, long groupId, long classNameId, java.lang.String layoutUuid, 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 all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5117 * 5118 * @param groupId the group ID 5119 * @param classNameId the class name ID 5120 * @param layoutUuid the layout uuid 5121 * @return the matching journal articles that the user has permission to view 5122 * @throws SystemException if a system exception occurred 5123 */ 5124 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5125 long groupId, long classNameId, java.lang.String layoutUuid) 5126 throws com.liferay.portal.kernel.exception.SystemException; 5127 5128 /** 5129 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5130 * 5131 * <p> 5132 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5133 * </p> 5134 * 5135 * @param groupId the group ID 5136 * @param classNameId the class name ID 5137 * @param layoutUuid the layout uuid 5138 * @param start the lower bound of the range of journal articles 5139 * @param end the upper bound of the range of journal articles (not inclusive) 5140 * @return the range of matching journal articles that the user has permission to view 5141 * @throws SystemException if a system exception occurred 5142 */ 5143 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5144 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5145 int end) throws com.liferay.portal.kernel.exception.SystemException; 5146 5147 /** 5148 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5149 * 5150 * <p> 5151 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5152 * </p> 5153 * 5154 * @param groupId the group ID 5155 * @param classNameId the class name ID 5156 * @param layoutUuid the layout uuid 5157 * @param start the lower bound of the range of journal articles 5158 * @param end the upper bound of the range of journal articles (not inclusive) 5159 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5160 * @return the ordered range of matching journal articles that the user has permission to view 5161 * @throws SystemException if a system exception occurred 5162 */ 5163 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5164 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5165 int end, 5166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5167 throws com.liferay.portal.kernel.exception.SystemException; 5168 5169 /** 5170 * 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 = ?. 5171 * 5172 * @param id the primary key of the current journal article 5173 * @param groupId the group ID 5174 * @param classNameId the class name ID 5175 * @param layoutUuid the layout uuid 5176 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5177 * @return the previous, current, and next journal article 5178 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5179 * @throws SystemException if a system exception occurred 5180 */ 5181 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 5182 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5183 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5184 throws com.liferay.portal.kernel.exception.SystemException, 5185 com.liferay.portlet.journal.NoSuchArticleException; 5186 5187 /** 5188 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5189 * 5190 * @param groupId the group ID 5191 * @param classNameId the class name ID 5192 * @param layoutUuid the layout uuid 5193 * @throws SystemException if a system exception occurred 5194 */ 5195 public void removeByG_C_L(long groupId, long classNameId, 5196 java.lang.String layoutUuid) 5197 throws com.liferay.portal.kernel.exception.SystemException; 5198 5199 /** 5200 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5201 * 5202 * @param groupId the group ID 5203 * @param classNameId the class name ID 5204 * @param layoutUuid the layout uuid 5205 * @return the number of matching journal articles 5206 * @throws SystemException if a system exception occurred 5207 */ 5208 public int countByG_C_L(long groupId, long classNameId, 5209 java.lang.String layoutUuid) 5210 throws com.liferay.portal.kernel.exception.SystemException; 5211 5212 /** 5213 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5214 * 5215 * @param groupId the group ID 5216 * @param classNameId the class name ID 5217 * @param layoutUuid the layout uuid 5218 * @return the number of matching journal articles that the user has permission to view 5219 * @throws SystemException if a system exception occurred 5220 */ 5221 public int filterCountByG_C_L(long groupId, long classNameId, 5222 java.lang.String layoutUuid) 5223 throws com.liferay.portal.kernel.exception.SystemException; 5224 5225 /** 5226 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5227 * 5228 * @param groupId the group ID 5229 * @param userId the user ID 5230 * @param classNameId the class name ID 5231 * @return the matching journal articles 5232 * @throws SystemException if a system exception occurred 5233 */ 5234 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5235 long groupId, long userId, long classNameId) 5236 throws com.liferay.portal.kernel.exception.SystemException; 5237 5238 /** 5239 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5240 * 5241 * <p> 5242 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5243 * </p> 5244 * 5245 * @param groupId the group ID 5246 * @param userId the user ID 5247 * @param classNameId the class name ID 5248 * @param start the lower bound of the range of journal articles 5249 * @param end the upper bound of the range of journal articles (not inclusive) 5250 * @return the range of matching journal articles 5251 * @throws SystemException if a system exception occurred 5252 */ 5253 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5254 long groupId, long userId, long classNameId, int start, int end) 5255 throws com.liferay.portal.kernel.exception.SystemException; 5256 5257 /** 5258 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5259 * 5260 * <p> 5261 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5262 * </p> 5263 * 5264 * @param groupId the group ID 5265 * @param userId the user ID 5266 * @param classNameId the class name ID 5267 * @param start the lower bound of the range of journal articles 5268 * @param end the upper bound of the range of journal articles (not inclusive) 5269 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5270 * @return the ordered range of matching journal articles 5271 * @throws SystemException if a system exception occurred 5272 */ 5273 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5274 long groupId, long userId, long classNameId, int start, int end, 5275 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5276 throws com.liferay.portal.kernel.exception.SystemException; 5277 5278 /** 5279 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5280 * 5281 * @param groupId the group ID 5282 * @param userId the user ID 5283 * @param classNameId the class name ID 5284 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5285 * @return the first matching journal article 5286 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5287 * @throws SystemException if a system exception occurred 5288 */ 5289 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 5290 long groupId, long userId, long classNameId, 5291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5292 throws com.liferay.portal.kernel.exception.SystemException, 5293 com.liferay.portlet.journal.NoSuchArticleException; 5294 5295 /** 5296 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5297 * 5298 * @param groupId the group ID 5299 * @param userId the user ID 5300 * @param classNameId the class name ID 5301 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5302 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5303 * @throws SystemException if a system exception occurred 5304 */ 5305 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 5306 long groupId, long userId, long classNameId, 5307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5308 throws com.liferay.portal.kernel.exception.SystemException; 5309 5310 /** 5311 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5312 * 5313 * @param groupId the group ID 5314 * @param userId the user ID 5315 * @param classNameId the class name ID 5316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5317 * @return the last matching journal article 5318 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5319 * @throws SystemException if a system exception occurred 5320 */ 5321 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 5322 long groupId, long userId, long classNameId, 5323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5324 throws com.liferay.portal.kernel.exception.SystemException, 5325 com.liferay.portlet.journal.NoSuchArticleException; 5326 5327 /** 5328 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5329 * 5330 * @param groupId the group ID 5331 * @param userId the user ID 5332 * @param classNameId the class name ID 5333 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5334 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5335 * @throws SystemException if a system exception occurred 5336 */ 5337 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 5338 long groupId, long userId, long classNameId, 5339 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5340 throws com.liferay.portal.kernel.exception.SystemException; 5341 5342 /** 5343 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5344 * 5345 * @param id the primary key of the current journal article 5346 * @param groupId the group ID 5347 * @param userId the user ID 5348 * @param classNameId the class name ID 5349 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5350 * @return the previous, current, and next journal article 5351 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5352 * @throws SystemException if a system exception occurred 5353 */ 5354 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 5355 long id, long groupId, long userId, long classNameId, 5356 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5357 throws com.liferay.portal.kernel.exception.SystemException, 5358 com.liferay.portlet.journal.NoSuchArticleException; 5359 5360 /** 5361 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5362 * 5363 * @param groupId the group ID 5364 * @param userId the user ID 5365 * @param classNameId the class name ID 5366 * @return the matching journal articles that the user has permission to view 5367 * @throws SystemException if a system exception occurred 5368 */ 5369 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5370 long groupId, long userId, long classNameId) 5371 throws com.liferay.portal.kernel.exception.SystemException; 5372 5373 /** 5374 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5375 * 5376 * <p> 5377 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5378 * </p> 5379 * 5380 * @param groupId the group ID 5381 * @param userId the user ID 5382 * @param classNameId the class name ID 5383 * @param start the lower bound of the range of journal articles 5384 * @param end the upper bound of the range of journal articles (not inclusive) 5385 * @return the range of matching journal articles that the user has permission to view 5386 * @throws SystemException if a system exception occurred 5387 */ 5388 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5389 long groupId, long userId, long classNameId, int start, int end) 5390 throws com.liferay.portal.kernel.exception.SystemException; 5391 5392 /** 5393 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 5394 * 5395 * <p> 5396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5397 * </p> 5398 * 5399 * @param groupId the group ID 5400 * @param userId the user ID 5401 * @param classNameId the class name ID 5402 * @param start the lower bound of the range of journal articles 5403 * @param end the upper bound of the range of journal articles (not inclusive) 5404 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5405 * @return the ordered range of matching journal articles that the user has permission to view 5406 * @throws SystemException if a system exception occurred 5407 */ 5408 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5409 long groupId, long userId, long classNameId, int start, int end, 5410 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5411 throws com.liferay.portal.kernel.exception.SystemException; 5412 5413 /** 5414 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5415 * 5416 * @param id the primary key of the current journal article 5417 * @param groupId the group ID 5418 * @param userId the user ID 5419 * @param classNameId the class name ID 5420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5421 * @return the previous, current, and next journal article 5422 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5423 * @throws SystemException if a system exception occurred 5424 */ 5425 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 5426 long id, long groupId, long userId, long classNameId, 5427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5428 throws com.liferay.portal.kernel.exception.SystemException, 5429 com.liferay.portlet.journal.NoSuchArticleException; 5430 5431 /** 5432 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 5433 * 5434 * @param groupId the group ID 5435 * @param userId the user ID 5436 * @param classNameId the class name ID 5437 * @throws SystemException if a system exception occurred 5438 */ 5439 public void removeByG_U_C(long groupId, long userId, long classNameId) 5440 throws com.liferay.portal.kernel.exception.SystemException; 5441 5442 /** 5443 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 5444 * 5445 * @param groupId the group ID 5446 * @param userId the user ID 5447 * @param classNameId the class name ID 5448 * @return the number of matching journal articles 5449 * @throws SystemException if a system exception occurred 5450 */ 5451 public int countByG_U_C(long groupId, long userId, long classNameId) 5452 throws com.liferay.portal.kernel.exception.SystemException; 5453 5454 /** 5455 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5456 * 5457 * @param groupId the group ID 5458 * @param userId the user ID 5459 * @param classNameId the class name ID 5460 * @return the number of matching journal articles that the user has permission to view 5461 * @throws SystemException if a system exception occurred 5462 */ 5463 public int filterCountByG_U_C(long groupId, long userId, long classNameId) 5464 throws com.liferay.portal.kernel.exception.SystemException; 5465 5466 /** 5467 * 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. 5468 * 5469 * @param groupId the group ID 5470 * @param articleId the article ID 5471 * @param version the version 5472 * @return the matching journal article 5473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5474 * @throws SystemException if a system exception occurred 5475 */ 5476 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 5477 long groupId, java.lang.String articleId, double version) 5478 throws com.liferay.portal.kernel.exception.SystemException, 5479 com.liferay.portlet.journal.NoSuchArticleException; 5480 5481 /** 5482 * 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. 5483 * 5484 * @param groupId the group ID 5485 * @param articleId the article ID 5486 * @param version the version 5487 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5488 * @throws SystemException if a system exception occurred 5489 */ 5490 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5491 long groupId, java.lang.String articleId, double version) 5492 throws com.liferay.portal.kernel.exception.SystemException; 5493 5494 /** 5495 * 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. 5496 * 5497 * @param groupId the group ID 5498 * @param articleId the article ID 5499 * @param version the version 5500 * @param retrieveFromCache whether to use the finder cache 5501 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5502 * @throws SystemException if a system exception occurred 5503 */ 5504 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5505 long groupId, java.lang.String articleId, double version, 5506 boolean retrieveFromCache) 5507 throws com.liferay.portal.kernel.exception.SystemException; 5508 5509 /** 5510 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 5511 * 5512 * @param groupId the group ID 5513 * @param articleId the article ID 5514 * @param version the version 5515 * @return the journal article that was removed 5516 * @throws SystemException if a system exception occurred 5517 */ 5518 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 5519 long groupId, java.lang.String articleId, double version) 5520 throws com.liferay.portal.kernel.exception.SystemException, 5521 com.liferay.portlet.journal.NoSuchArticleException; 5522 5523 /** 5524 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 5525 * 5526 * @param groupId the group ID 5527 * @param articleId the article ID 5528 * @param version the version 5529 * @return the number of matching journal articles 5530 * @throws SystemException if a system exception occurred 5531 */ 5532 public int countByG_A_V(long groupId, java.lang.String articleId, 5533 double version) 5534 throws com.liferay.portal.kernel.exception.SystemException; 5535 5536 /** 5537 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 5538 * 5539 * @param groupId the group ID 5540 * @param articleId the article ID 5541 * @param status the status 5542 * @return the matching journal articles 5543 * @throws SystemException if a system exception occurred 5544 */ 5545 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5546 long groupId, java.lang.String articleId, int status) 5547 throws com.liferay.portal.kernel.exception.SystemException; 5548 5549 /** 5550 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5551 * 5552 * <p> 5553 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5554 * </p> 5555 * 5556 * @param groupId the group ID 5557 * @param articleId the article ID 5558 * @param status the status 5559 * @param start the lower bound of the range of journal articles 5560 * @param end the upper bound of the range of journal articles (not inclusive) 5561 * @return the range of matching journal articles 5562 * @throws SystemException if a system exception occurred 5563 */ 5564 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5565 long groupId, java.lang.String articleId, int status, int start, int end) 5566 throws com.liferay.portal.kernel.exception.SystemException; 5567 5568 /** 5569 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5570 * 5571 * <p> 5572 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5573 * </p> 5574 * 5575 * @param groupId the group ID 5576 * @param articleId the article ID 5577 * @param status the status 5578 * @param start the lower bound of the range of journal articles 5579 * @param end the upper bound of the range of journal articles (not inclusive) 5580 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5581 * @return the ordered range of matching journal articles 5582 * @throws SystemException if a system exception occurred 5583 */ 5584 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5585 long groupId, java.lang.String articleId, int status, int start, 5586 int end, 5587 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5588 throws com.liferay.portal.kernel.exception.SystemException; 5589 5590 /** 5591 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5592 * 5593 * @param groupId the group ID 5594 * @param articleId the article ID 5595 * @param status the status 5596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5597 * @return the first matching journal article 5598 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5599 * @throws SystemException if a system exception occurred 5600 */ 5601 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 5602 long groupId, java.lang.String articleId, int status, 5603 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5604 throws com.liferay.portal.kernel.exception.SystemException, 5605 com.liferay.portlet.journal.NoSuchArticleException; 5606 5607 /** 5608 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5609 * 5610 * @param groupId the group ID 5611 * @param articleId the article ID 5612 * @param status the status 5613 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5614 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5615 * @throws SystemException if a system exception occurred 5616 */ 5617 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 5618 long groupId, java.lang.String articleId, int status, 5619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5620 throws com.liferay.portal.kernel.exception.SystemException; 5621 5622 /** 5623 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5624 * 5625 * @param groupId the group ID 5626 * @param articleId the article ID 5627 * @param status the status 5628 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5629 * @return the last matching journal article 5630 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5631 * @throws SystemException if a system exception occurred 5632 */ 5633 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 5634 long groupId, java.lang.String articleId, int status, 5635 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5636 throws com.liferay.portal.kernel.exception.SystemException, 5637 com.liferay.portlet.journal.NoSuchArticleException; 5638 5639 /** 5640 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5641 * 5642 * @param groupId the group ID 5643 * @param articleId the article ID 5644 * @param status the status 5645 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5646 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5647 * @throws SystemException if a system exception occurred 5648 */ 5649 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 5650 long groupId, java.lang.String articleId, int status, 5651 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5652 throws com.liferay.portal.kernel.exception.SystemException; 5653 5654 /** 5655 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5656 * 5657 * @param id the primary key of the current journal article 5658 * @param groupId the group ID 5659 * @param articleId the article ID 5660 * @param status the status 5661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5662 * @return the previous, current, and next journal article 5663 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5664 * @throws SystemException if a system exception occurred 5665 */ 5666 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 5667 long id, long groupId, java.lang.String articleId, int status, 5668 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5669 throws com.liferay.portal.kernel.exception.SystemException, 5670 com.liferay.portlet.journal.NoSuchArticleException; 5671 5672 /** 5673 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5674 * 5675 * @param groupId the group ID 5676 * @param articleId the article ID 5677 * @param status the status 5678 * @return the matching journal articles that the user has permission to view 5679 * @throws SystemException if a system exception occurred 5680 */ 5681 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5682 long groupId, java.lang.String articleId, int status) 5683 throws com.liferay.portal.kernel.exception.SystemException; 5684 5685 /** 5686 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5687 * 5688 * <p> 5689 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5690 * </p> 5691 * 5692 * @param groupId the group ID 5693 * @param articleId the article ID 5694 * @param status the status 5695 * @param start the lower bound of the range of journal articles 5696 * @param end the upper bound of the range of journal articles (not inclusive) 5697 * @return the range of matching journal articles that the user has permission to view 5698 * @throws SystemException if a system exception occurred 5699 */ 5700 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5701 long groupId, java.lang.String articleId, int status, int start, int end) 5702 throws com.liferay.portal.kernel.exception.SystemException; 5703 5704 /** 5705 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 5706 * 5707 * <p> 5708 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5709 * </p> 5710 * 5711 * @param groupId the group ID 5712 * @param articleId the article ID 5713 * @param status the status 5714 * @param start the lower bound of the range of journal articles 5715 * @param end the upper bound of the range of journal articles (not inclusive) 5716 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5717 * @return the ordered range of matching journal articles that the user has permission to view 5718 * @throws SystemException if a system exception occurred 5719 */ 5720 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5721 long groupId, java.lang.String articleId, int status, int start, 5722 int end, 5723 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5724 throws com.liferay.portal.kernel.exception.SystemException; 5725 5726 /** 5727 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5728 * 5729 * @param id the primary key of the current journal article 5730 * @param groupId the group ID 5731 * @param articleId the article ID 5732 * @param status the status 5733 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5734 * @return the previous, current, and next journal article 5735 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5736 * @throws SystemException if a system exception occurred 5737 */ 5738 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 5739 long id, long groupId, java.lang.String articleId, int status, 5740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5741 throws com.liferay.portal.kernel.exception.SystemException, 5742 com.liferay.portlet.journal.NoSuchArticleException; 5743 5744 /** 5745 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5746 * 5747 * @param groupId the group ID 5748 * @param articleId the article ID 5749 * @param statuses the statuses 5750 * @return the matching journal articles that the user has permission to view 5751 * @throws SystemException if a system exception occurred 5752 */ 5753 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5754 long groupId, java.lang.String articleId, int[] statuses) 5755 throws com.liferay.portal.kernel.exception.SystemException; 5756 5757 /** 5758 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5759 * 5760 * <p> 5761 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5762 * </p> 5763 * 5764 * @param groupId the group ID 5765 * @param articleId the article ID 5766 * @param statuses the statuses 5767 * @param start the lower bound of the range of journal articles 5768 * @param end the upper bound of the range of journal articles (not inclusive) 5769 * @return the range of matching journal articles that the user has permission to view 5770 * @throws SystemException if a system exception occurred 5771 */ 5772 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5773 long groupId, java.lang.String articleId, int[] statuses, int start, 5774 int end) throws com.liferay.portal.kernel.exception.SystemException; 5775 5776 /** 5777 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5778 * 5779 * <p> 5780 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5781 * </p> 5782 * 5783 * @param groupId the group ID 5784 * @param articleId the article ID 5785 * @param statuses the statuses 5786 * @param start the lower bound of the range of journal articles 5787 * @param end the upper bound of the range of journal articles (not inclusive) 5788 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5789 * @return the ordered range of matching journal articles that the user has permission to view 5790 * @throws SystemException if a system exception occurred 5791 */ 5792 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5793 long groupId, java.lang.String articleId, int[] statuses, int start, 5794 int end, 5795 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5796 throws com.liferay.portal.kernel.exception.SystemException; 5797 5798 /** 5799 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 5800 * 5801 * <p> 5802 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5803 * </p> 5804 * 5805 * @param groupId the group ID 5806 * @param articleId the article ID 5807 * @param statuses the statuses 5808 * @return the matching journal articles 5809 * @throws SystemException if a system exception occurred 5810 */ 5811 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5812 long groupId, java.lang.String articleId, int[] statuses) 5813 throws com.liferay.portal.kernel.exception.SystemException; 5814 5815 /** 5816 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 5817 * 5818 * <p> 5819 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5820 * </p> 5821 * 5822 * @param groupId the group ID 5823 * @param articleId the article ID 5824 * @param statuses the statuses 5825 * @param start the lower bound of the range of journal articles 5826 * @param end the upper bound of the range of journal articles (not inclusive) 5827 * @return the range of matching journal articles 5828 * @throws SystemException if a system exception occurred 5829 */ 5830 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5831 long groupId, java.lang.String articleId, int[] statuses, int start, 5832 int end) throws com.liferay.portal.kernel.exception.SystemException; 5833 5834 /** 5835 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 5836 * 5837 * <p> 5838 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5839 * </p> 5840 * 5841 * @param groupId the group ID 5842 * @param articleId the article ID 5843 * @param statuses the statuses 5844 * @param start the lower bound of the range of journal articles 5845 * @param end the upper bound of the range of journal articles (not inclusive) 5846 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5847 * @return the ordered range of matching journal articles 5848 * @throws SystemException if a system exception occurred 5849 */ 5850 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5851 long groupId, java.lang.String articleId, int[] statuses, int start, 5852 int end, 5853 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5854 throws com.liferay.portal.kernel.exception.SystemException; 5855 5856 /** 5857 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 5858 * 5859 * @param groupId the group ID 5860 * @param articleId the article ID 5861 * @param status the status 5862 * @throws SystemException if a system exception occurred 5863 */ 5864 public void removeByG_A_ST(long groupId, java.lang.String articleId, 5865 int status) throws com.liferay.portal.kernel.exception.SystemException; 5866 5867 /** 5868 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 5869 * 5870 * @param groupId the group ID 5871 * @param articleId the article ID 5872 * @param status the status 5873 * @return the number of matching journal articles 5874 * @throws SystemException if a system exception occurred 5875 */ 5876 public int countByG_A_ST(long groupId, java.lang.String articleId, 5877 int status) throws com.liferay.portal.kernel.exception.SystemException; 5878 5879 /** 5880 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 5881 * 5882 * @param groupId the group ID 5883 * @param articleId the article ID 5884 * @param statuses the statuses 5885 * @return the number of matching journal articles 5886 * @throws SystemException if a system exception occurred 5887 */ 5888 public int countByG_A_ST(long groupId, java.lang.String articleId, 5889 int[] statuses) 5890 throws com.liferay.portal.kernel.exception.SystemException; 5891 5892 /** 5893 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5894 * 5895 * @param groupId the group ID 5896 * @param articleId the article ID 5897 * @param status the status 5898 * @return the number of matching journal articles that the user has permission to view 5899 * @throws SystemException if a system exception occurred 5900 */ 5901 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5902 int status) throws com.liferay.portal.kernel.exception.SystemException; 5903 5904 /** 5905 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5906 * 5907 * @param groupId the group ID 5908 * @param articleId the article ID 5909 * @param statuses the statuses 5910 * @return the number of matching journal articles that the user has permission to view 5911 * @throws SystemException if a system exception occurred 5912 */ 5913 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5914 int[] statuses) 5915 throws com.liferay.portal.kernel.exception.SystemException; 5916 5917 /** 5918 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 5919 * 5920 * @param groupId the group ID 5921 * @param urlTitle the url title 5922 * @param status the status 5923 * @return the matching journal articles 5924 * @throws SystemException if a system exception occurred 5925 */ 5926 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 5927 long groupId, java.lang.String urlTitle, int status) 5928 throws com.liferay.portal.kernel.exception.SystemException; 5929 5930 /** 5931 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 5932 * 5933 * <p> 5934 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5935 * </p> 5936 * 5937 * @param groupId the group ID 5938 * @param urlTitle the url title 5939 * @param status the status 5940 * @param start the lower bound of the range of journal articles 5941 * @param end the upper bound of the range of journal articles (not inclusive) 5942 * @return the range of matching journal articles 5943 * @throws SystemException if a system exception occurred 5944 */ 5945 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 5946 long groupId, java.lang.String urlTitle, int status, int start, int end) 5947 throws com.liferay.portal.kernel.exception.SystemException; 5948 5949 /** 5950 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 5951 * 5952 * <p> 5953 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5954 * </p> 5955 * 5956 * @param groupId the group ID 5957 * @param urlTitle the url title 5958 * @param status the status 5959 * @param start the lower bound of the range of journal articles 5960 * @param end the upper bound of the range of journal articles (not inclusive) 5961 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5962 * @return the ordered range of matching journal articles 5963 * @throws SystemException if a system exception occurred 5964 */ 5965 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 5966 long groupId, java.lang.String urlTitle, int status, int start, 5967 int end, 5968 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5969 throws com.liferay.portal.kernel.exception.SystemException; 5970 5971 /** 5972 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 5973 * 5974 * @param groupId the group ID 5975 * @param urlTitle the url title 5976 * @param status the status 5977 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5978 * @return the first matching journal article 5979 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5980 * @throws SystemException if a system exception occurred 5981 */ 5982 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 5983 long groupId, java.lang.String urlTitle, int status, 5984 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 5985 throws com.liferay.portal.kernel.exception.SystemException, 5986 com.liferay.portlet.journal.NoSuchArticleException; 5987 5988 /** 5989 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 5990 * 5991 * @param groupId the group ID 5992 * @param urlTitle the url title 5993 * @param status the status 5994 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5995 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5996 * @throws SystemException if a system exception occurred 5997 */ 5998 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 5999 long groupId, java.lang.String urlTitle, int status, 6000 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6001 throws com.liferay.portal.kernel.exception.SystemException; 6002 6003 /** 6004 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6005 * 6006 * @param groupId the group ID 6007 * @param urlTitle the url title 6008 * @param status the status 6009 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6010 * @return the last matching journal article 6011 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6012 * @throws SystemException if a system exception occurred 6013 */ 6014 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 6015 long groupId, java.lang.String urlTitle, int status, 6016 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6017 throws com.liferay.portal.kernel.exception.SystemException, 6018 com.liferay.portlet.journal.NoSuchArticleException; 6019 6020 /** 6021 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6022 * 6023 * @param groupId the group ID 6024 * @param urlTitle the url title 6025 * @param status the status 6026 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6027 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6028 * @throws SystemException if a system exception occurred 6029 */ 6030 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 6031 long groupId, java.lang.String urlTitle, int status, 6032 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6033 throws com.liferay.portal.kernel.exception.SystemException; 6034 6035 /** 6036 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6037 * 6038 * @param id the primary key of the current journal article 6039 * @param groupId the group ID 6040 * @param urlTitle the url title 6041 * @param status the status 6042 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6043 * @return the previous, current, and next journal article 6044 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6045 * @throws SystemException if a system exception occurred 6046 */ 6047 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 6048 long id, long groupId, java.lang.String urlTitle, int status, 6049 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6050 throws com.liferay.portal.kernel.exception.SystemException, 6051 com.liferay.portlet.journal.NoSuchArticleException; 6052 6053 /** 6054 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6055 * 6056 * @param groupId the group ID 6057 * @param urlTitle the url title 6058 * @param status the status 6059 * @return the matching journal articles that the user has permission to view 6060 * @throws SystemException if a system exception occurred 6061 */ 6062 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6063 long groupId, java.lang.String urlTitle, int status) 6064 throws com.liferay.portal.kernel.exception.SystemException; 6065 6066 /** 6067 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6068 * 6069 * <p> 6070 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6071 * </p> 6072 * 6073 * @param groupId the group ID 6074 * @param urlTitle the url title 6075 * @param status the status 6076 * @param start the lower bound of the range of journal articles 6077 * @param end the upper bound of the range of journal articles (not inclusive) 6078 * @return the range of matching journal articles that the user has permission to view 6079 * @throws SystemException if a system exception occurred 6080 */ 6081 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6082 long groupId, java.lang.String urlTitle, int status, int start, int end) 6083 throws com.liferay.portal.kernel.exception.SystemException; 6084 6085 /** 6086 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 6087 * 6088 * <p> 6089 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6090 * </p> 6091 * 6092 * @param groupId the group ID 6093 * @param urlTitle the url title 6094 * @param status the status 6095 * @param start the lower bound of the range of journal articles 6096 * @param end the upper bound of the range of journal articles (not inclusive) 6097 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6098 * @return the ordered range of matching journal articles that the user has permission to view 6099 * @throws SystemException if a system exception occurred 6100 */ 6101 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6102 long groupId, java.lang.String urlTitle, int status, int start, 6103 int end, 6104 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6105 throws com.liferay.portal.kernel.exception.SystemException; 6106 6107 /** 6108 * 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 = ?. 6109 * 6110 * @param id the primary key of the current journal article 6111 * @param groupId the group ID 6112 * @param urlTitle the url title 6113 * @param status the status 6114 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6115 * @return the previous, current, and next journal article 6116 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6117 * @throws SystemException if a system exception occurred 6118 */ 6119 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 6120 long id, long groupId, java.lang.String urlTitle, int status, 6121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6122 throws com.liferay.portal.kernel.exception.SystemException, 6123 com.liferay.portlet.journal.NoSuchArticleException; 6124 6125 /** 6126 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 6127 * 6128 * @param groupId the group ID 6129 * @param urlTitle the url title 6130 * @param status the status 6131 * @throws SystemException if a system exception occurred 6132 */ 6133 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 6134 int status) throws com.liferay.portal.kernel.exception.SystemException; 6135 6136 /** 6137 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 6138 * 6139 * @param groupId the group ID 6140 * @param urlTitle the url title 6141 * @param status the status 6142 * @return the number of matching journal articles 6143 * @throws SystemException if a system exception occurred 6144 */ 6145 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 6146 int status) throws com.liferay.portal.kernel.exception.SystemException; 6147 6148 /** 6149 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6150 * 6151 * @param groupId the group ID 6152 * @param urlTitle the url title 6153 * @param status the status 6154 * @return the number of matching journal articles that the user has permission to view 6155 * @throws SystemException if a system exception occurred 6156 */ 6157 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 6158 int status) throws com.liferay.portal.kernel.exception.SystemException; 6159 6160 /** 6161 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 6162 * 6163 * @param companyId the company ID 6164 * @param version the version 6165 * @param status the status 6166 * @return the matching journal articles 6167 * @throws SystemException if a system exception occurred 6168 */ 6169 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6170 long companyId, double version, int status) 6171 throws com.liferay.portal.kernel.exception.SystemException; 6172 6173 /** 6174 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 6175 * 6176 * <p> 6177 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6178 * </p> 6179 * 6180 * @param companyId the company ID 6181 * @param version the version 6182 * @param status the status 6183 * @param start the lower bound of the range of journal articles 6184 * @param end the upper bound of the range of journal articles (not inclusive) 6185 * @return the range of matching journal articles 6186 * @throws SystemException if a system exception occurred 6187 */ 6188 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6189 long companyId, double version, int status, int start, int end) 6190 throws com.liferay.portal.kernel.exception.SystemException; 6191 6192 /** 6193 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 6194 * 6195 * <p> 6196 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6197 * </p> 6198 * 6199 * @param companyId the company ID 6200 * @param version the version 6201 * @param status the status 6202 * @param start the lower bound of the range of journal articles 6203 * @param end the upper bound of the range of journal articles (not inclusive) 6204 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6205 * @return the ordered range of matching journal articles 6206 * @throws SystemException if a system exception occurred 6207 */ 6208 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6209 long companyId, double version, int status, int start, int end, 6210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6211 throws com.liferay.portal.kernel.exception.SystemException; 6212 6213 /** 6214 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6215 * 6216 * @param companyId the company ID 6217 * @param version the version 6218 * @param status the status 6219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6220 * @return the first matching journal article 6221 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6222 * @throws SystemException if a system exception occurred 6223 */ 6224 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 6225 long companyId, double version, int status, 6226 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6227 throws com.liferay.portal.kernel.exception.SystemException, 6228 com.liferay.portlet.journal.NoSuchArticleException; 6229 6230 /** 6231 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6232 * 6233 * @param companyId the company ID 6234 * @param version the version 6235 * @param status the status 6236 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6237 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6238 * @throws SystemException if a system exception occurred 6239 */ 6240 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 6241 long companyId, double version, int status, 6242 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6243 throws com.liferay.portal.kernel.exception.SystemException; 6244 6245 /** 6246 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6247 * 6248 * @param companyId the company ID 6249 * @param version the version 6250 * @param status the status 6251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6252 * @return the last matching journal article 6253 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6254 * @throws SystemException if a system exception occurred 6255 */ 6256 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 6257 long companyId, double version, int status, 6258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6259 throws com.liferay.portal.kernel.exception.SystemException, 6260 com.liferay.portlet.journal.NoSuchArticleException; 6261 6262 /** 6263 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6264 * 6265 * @param companyId the company ID 6266 * @param version the version 6267 * @param status the status 6268 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6269 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6270 * @throws SystemException if a system exception occurred 6271 */ 6272 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 6273 long companyId, double version, int status, 6274 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6275 throws com.liferay.portal.kernel.exception.SystemException; 6276 6277 /** 6278 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 6279 * 6280 * @param id the primary key of the current journal article 6281 * @param companyId the company ID 6282 * @param version the version 6283 * @param status the status 6284 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6285 * @return the previous, current, and next journal article 6286 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6287 * @throws SystemException if a system exception occurred 6288 */ 6289 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 6290 long id, long companyId, double version, int status, 6291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6292 throws com.liferay.portal.kernel.exception.SystemException, 6293 com.liferay.portlet.journal.NoSuchArticleException; 6294 6295 /** 6296 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 6297 * 6298 * @param companyId the company ID 6299 * @param version the version 6300 * @param status the status 6301 * @throws SystemException if a system exception occurred 6302 */ 6303 public void removeByC_V_ST(long companyId, double version, int status) 6304 throws com.liferay.portal.kernel.exception.SystemException; 6305 6306 /** 6307 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 6308 * 6309 * @param companyId the company ID 6310 * @param version the version 6311 * @param status the status 6312 * @return the number of matching journal articles 6313 * @throws SystemException if a system exception occurred 6314 */ 6315 public int countByC_V_ST(long companyId, double version, int status) 6316 throws com.liferay.portal.kernel.exception.SystemException; 6317 6318 /** 6319 * Caches the journal article in the entity cache if it is enabled. 6320 * 6321 * @param journalArticle the journal article 6322 */ 6323 public void cacheResult( 6324 com.liferay.portlet.journal.model.JournalArticle journalArticle); 6325 6326 /** 6327 * Caches the journal articles in the entity cache if it is enabled. 6328 * 6329 * @param journalArticles the journal articles 6330 */ 6331 public void cacheResult( 6332 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 6333 6334 /** 6335 * Creates a new journal article with the primary key. Does not add the journal article to the database. 6336 * 6337 * @param id the primary key for the new journal article 6338 * @return the new journal article 6339 */ 6340 public com.liferay.portlet.journal.model.JournalArticle create(long id); 6341 6342 /** 6343 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 6344 * 6345 * @param id the primary key of the journal article 6346 * @return the journal article that was removed 6347 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6348 * @throws SystemException if a system exception occurred 6349 */ 6350 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 6351 throws com.liferay.portal.kernel.exception.SystemException, 6352 com.liferay.portlet.journal.NoSuchArticleException; 6353 6354 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 6355 com.liferay.portlet.journal.model.JournalArticle journalArticle) 6356 throws com.liferay.portal.kernel.exception.SystemException; 6357 6358 /** 6359 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 6360 * 6361 * @param id the primary key of the journal article 6362 * @return the journal article 6363 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6364 * @throws SystemException if a system exception occurred 6365 */ 6366 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 6367 long id) 6368 throws com.liferay.portal.kernel.exception.SystemException, 6369 com.liferay.portlet.journal.NoSuchArticleException; 6370 6371 /** 6372 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 6373 * 6374 * @param id the primary key of the journal article 6375 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 6376 * @throws SystemException if a system exception occurred 6377 */ 6378 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 6379 long id) throws com.liferay.portal.kernel.exception.SystemException; 6380 6381 /** 6382 * Returns all the journal articles. 6383 * 6384 * @return the journal articles 6385 * @throws SystemException if a system exception occurred 6386 */ 6387 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 6388 throws com.liferay.portal.kernel.exception.SystemException; 6389 6390 /** 6391 * Returns a range of all the journal articles. 6392 * 6393 * <p> 6394 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6395 * </p> 6396 * 6397 * @param start the lower bound of the range of journal articles 6398 * @param end the upper bound of the range of journal articles (not inclusive) 6399 * @return the range of journal articles 6400 * @throws SystemException if a system exception occurred 6401 */ 6402 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6403 int start, int end) 6404 throws com.liferay.portal.kernel.exception.SystemException; 6405 6406 /** 6407 * Returns an ordered range of all the journal articles. 6408 * 6409 * <p> 6410 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6411 * </p> 6412 * 6413 * @param start the lower bound of the range of journal articles 6414 * @param end the upper bound of the range of journal articles (not inclusive) 6415 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6416 * @return the ordered range of journal articles 6417 * @throws SystemException if a system exception occurred 6418 */ 6419 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6420 int start, int end, 6421 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 6422 throws com.liferay.portal.kernel.exception.SystemException; 6423 6424 /** 6425 * Removes all the journal articles from the database. 6426 * 6427 * @throws SystemException if a system exception occurred 6428 */ 6429 public void removeAll() 6430 throws com.liferay.portal.kernel.exception.SystemException; 6431 6432 /** 6433 * Returns the number of journal articles. 6434 * 6435 * @return the number of journal articles 6436 * @throws SystemException if a system exception occurred 6437 */ 6438 public int countAll() 6439 throws com.liferay.portal.kernel.exception.SystemException; 6440 }