001 /** 002 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 * Caches the journal article in the entity cache if it is enabled. 042 * 043 * @param journalArticle the journal article 044 */ 045 public void cacheResult( 046 com.liferay.portlet.journal.model.JournalArticle journalArticle); 047 048 /** 049 * Caches the journal articles in the entity cache if it is enabled. 050 * 051 * @param journalArticles the journal articles 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 055 056 /** 057 * Creates a new journal article with the primary key. Does not add the journal article to the database. 058 * 059 * @param id the primary key for the new journal article 060 * @return the new journal article 061 */ 062 public com.liferay.portlet.journal.model.JournalArticle create(long id); 063 064 /** 065 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 066 * 067 * @param id the primary key of the journal article 068 * @return the journal article that was removed 069 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 070 * @throws SystemException if a system exception occurred 071 */ 072 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 073 throws com.liferay.portal.kernel.exception.SystemException, 074 com.liferay.portlet.journal.NoSuchArticleException; 075 076 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 077 com.liferay.portlet.journal.model.JournalArticle journalArticle, 078 boolean merge) 079 throws com.liferay.portal.kernel.exception.SystemException; 080 081 /** 082 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 083 * 084 * @param id the primary key of the journal article 085 * @return the journal article 086 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 087 * @throws SystemException if a system exception occurred 088 */ 089 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 090 long id) 091 throws com.liferay.portal.kernel.exception.SystemException, 092 com.liferay.portlet.journal.NoSuchArticleException; 093 094 /** 095 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 096 * 097 * @param id the primary key of the journal article 098 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 099 * @throws SystemException if a system exception occurred 100 */ 101 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 102 long id) throws com.liferay.portal.kernel.exception.SystemException; 103 104 /** 105 * Returns all the journal articles where uuid = ?. 106 * 107 * @param uuid the uuid 108 * @return the matching journal articles 109 * @throws SystemException if a system exception occurred 110 */ 111 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 112 java.lang.String uuid) 113 throws com.liferay.portal.kernel.exception.SystemException; 114 115 /** 116 * Returns a range of all the journal articles where uuid = ?. 117 * 118 * <p> 119 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 120 * </p> 121 * 122 * @param uuid the uuid 123 * @param start the lower bound of the range of journal articles 124 * @param end the upper bound of the range of journal articles (not inclusive) 125 * @return the range of matching journal articles 126 * @throws SystemException if a system exception occurred 127 */ 128 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 129 java.lang.String uuid, int start, int end) 130 throws com.liferay.portal.kernel.exception.SystemException; 131 132 /** 133 * Returns an ordered range of all the journal articles where uuid = ?. 134 * 135 * <p> 136 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 137 * </p> 138 * 139 * @param uuid the uuid 140 * @param start the lower bound of the range of journal articles 141 * @param end the upper bound of the range of journal articles (not inclusive) 142 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 143 * @return the ordered range of matching journal articles 144 * @throws SystemException if a system exception occurred 145 */ 146 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 147 java.lang.String uuid, int start, int end, 148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 149 throws com.liferay.portal.kernel.exception.SystemException; 150 151 /** 152 * Returns the first journal article in the ordered set where uuid = ?. 153 * 154 * @param uuid the uuid 155 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 156 * @return the first matching journal article 157 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 158 * @throws SystemException if a system exception occurred 159 */ 160 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 161 java.lang.String uuid, 162 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 163 throws com.liferay.portal.kernel.exception.SystemException, 164 com.liferay.portlet.journal.NoSuchArticleException; 165 166 /** 167 * Returns the first journal article in the ordered set where uuid = ?. 168 * 169 * @param uuid the uuid 170 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 171 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 172 * @throws SystemException if a system exception occurred 173 */ 174 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First( 175 java.lang.String uuid, 176 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 177 throws com.liferay.portal.kernel.exception.SystemException; 178 179 /** 180 * Returns the last journal article in the ordered set where uuid = ?. 181 * 182 * @param uuid the uuid 183 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 184 * @return the last matching journal article 185 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 186 * @throws SystemException if a system exception occurred 187 */ 188 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 189 java.lang.String uuid, 190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 191 throws com.liferay.portal.kernel.exception.SystemException, 192 com.liferay.portlet.journal.NoSuchArticleException; 193 194 /** 195 * Returns the last journal article in the ordered set where uuid = ?. 196 * 197 * @param uuid the uuid 198 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 199 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 200 * @throws SystemException if a system exception occurred 201 */ 202 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last( 203 java.lang.String uuid, 204 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 205 throws com.liferay.portal.kernel.exception.SystemException; 206 207 /** 208 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 209 * 210 * @param id the primary key of the current journal article 211 * @param uuid the uuid 212 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 213 * @return the previous, current, and next journal article 214 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 215 * @throws SystemException if a system exception occurred 216 */ 217 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 218 long id, java.lang.String uuid, 219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 220 throws com.liferay.portal.kernel.exception.SystemException, 221 com.liferay.portlet.journal.NoSuchArticleException; 222 223 /** 224 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 225 * 226 * @param uuid the uuid 227 * @param groupId the group ID 228 * @return the matching journal article 229 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 230 * @throws SystemException if a system exception occurred 231 */ 232 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 233 java.lang.String uuid, long groupId) 234 throws com.liferay.portal.kernel.exception.SystemException, 235 com.liferay.portlet.journal.NoSuchArticleException; 236 237 /** 238 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 239 * 240 * @param uuid the uuid 241 * @param groupId the group ID 242 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 243 * @throws SystemException if a system exception occurred 244 */ 245 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 246 java.lang.String uuid, long groupId) 247 throws com.liferay.portal.kernel.exception.SystemException; 248 249 /** 250 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 251 * 252 * @param uuid the uuid 253 * @param groupId the group ID 254 * @param retrieveFromCache whether to use the finder cache 255 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 256 * @throws SystemException if a system exception occurred 257 */ 258 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 259 java.lang.String uuid, long groupId, boolean retrieveFromCache) 260 throws com.liferay.portal.kernel.exception.SystemException; 261 262 /** 263 * Returns all the journal articles where resourcePrimKey = ?. 264 * 265 * @param resourcePrimKey the resource prim key 266 * @return the matching journal articles 267 * @throws SystemException if a system exception occurred 268 */ 269 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 270 long resourcePrimKey) 271 throws com.liferay.portal.kernel.exception.SystemException; 272 273 /** 274 * Returns a range of all the journal articles where resourcePrimKey = ?. 275 * 276 * <p> 277 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 278 * </p> 279 * 280 * @param resourcePrimKey the resource prim key 281 * @param start the lower bound of the range of journal articles 282 * @param end the upper bound of the range of journal articles (not inclusive) 283 * @return the 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> findByResourcePrimKey( 287 long resourcePrimKey, int start, int end) 288 throws com.liferay.portal.kernel.exception.SystemException; 289 290 /** 291 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 292 * 293 * <p> 294 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 295 * </p> 296 * 297 * @param resourcePrimKey the resource prim key 298 * @param start the lower bound of the range of journal articles 299 * @param end the upper bound of the range of journal articles (not inclusive) 300 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 301 * @return the ordered range of matching journal articles 302 * @throws SystemException if a system exception occurred 303 */ 304 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 305 long resourcePrimKey, int start, int end, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException; 308 309 /** 310 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 311 * 312 * @param resourcePrimKey the resource prim key 313 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 314 * @return the first matching journal article 315 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 316 * @throws SystemException if a system exception occurred 317 */ 318 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 319 long resourcePrimKey, 320 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 321 throws com.liferay.portal.kernel.exception.SystemException, 322 com.liferay.portlet.journal.NoSuchArticleException; 323 324 /** 325 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 326 * 327 * @param resourcePrimKey the resource prim key 328 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 329 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 330 * @throws SystemException if a system exception occurred 331 */ 332 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First( 333 long resourcePrimKey, 334 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 335 throws com.liferay.portal.kernel.exception.SystemException; 336 337 /** 338 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 339 * 340 * @param resourcePrimKey the resource prim key 341 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 342 * @return the last matching journal article 343 * @throws com.liferay.portlet.journal.NoSuchArticleException 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 findByResourcePrimKey_Last( 347 long resourcePrimKey, 348 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 349 throws com.liferay.portal.kernel.exception.SystemException, 350 com.liferay.portlet.journal.NoSuchArticleException; 351 352 /** 353 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 354 * 355 * @param resourcePrimKey the resource prim key 356 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 357 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 358 * @throws SystemException if a system exception occurred 359 */ 360 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last( 361 long resourcePrimKey, 362 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 363 throws com.liferay.portal.kernel.exception.SystemException; 364 365 /** 366 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 367 * 368 * @param id the primary key of the current journal article 369 * @param resourcePrimKey the resource prim key 370 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 371 * @return the previous, current, and next journal article 372 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 373 * @throws SystemException if a system exception occurred 374 */ 375 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 376 long id, long resourcePrimKey, 377 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 378 throws com.liferay.portal.kernel.exception.SystemException, 379 com.liferay.portlet.journal.NoSuchArticleException; 380 381 /** 382 * Returns all the journal articles where groupId = ?. 383 * 384 * @param groupId the group ID 385 * @return the matching journal articles 386 * @throws SystemException if a system exception occurred 387 */ 388 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 389 long groupId) 390 throws com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Returns a range of all the journal articles where groupId = ?. 394 * 395 * <p> 396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 397 * </p> 398 * 399 * @param groupId the group ID 400 * @param start the lower bound of the range of journal articles 401 * @param end the upper bound of the range of journal articles (not inclusive) 402 * @return the range of matching journal articles 403 * @throws SystemException if a system exception occurred 404 */ 405 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 406 long groupId, int start, int end) 407 throws com.liferay.portal.kernel.exception.SystemException; 408 409 /** 410 * Returns an ordered range of all the journal articles where groupId = ?. 411 * 412 * <p> 413 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 414 * </p> 415 * 416 * @param groupId the group ID 417 * @param start the lower bound of the range of journal articles 418 * @param end the upper bound of the range of journal articles (not inclusive) 419 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 420 * @return the ordered range of matching journal articles 421 * @throws SystemException if a system exception occurred 422 */ 423 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 424 long groupId, int start, int end, 425 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 426 throws com.liferay.portal.kernel.exception.SystemException; 427 428 /** 429 * Returns the first journal article in the ordered set where groupId = ?. 430 * 431 * @param groupId the group ID 432 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 433 * @return the first matching journal article 434 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 435 * @throws SystemException if a system exception occurred 436 */ 437 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 438 long groupId, 439 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 440 throws com.liferay.portal.kernel.exception.SystemException, 441 com.liferay.portlet.journal.NoSuchArticleException; 442 443 /** 444 * Returns the first journal article in the ordered set where groupId = ?. 445 * 446 * @param groupId the group ID 447 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 448 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 449 * @throws SystemException if a system exception occurred 450 */ 451 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First( 452 long groupId, 453 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 454 throws com.liferay.portal.kernel.exception.SystemException; 455 456 /** 457 * Returns the last journal article in the ordered set where groupId = ?. 458 * 459 * @param groupId the group ID 460 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 461 * @return the last matching journal article 462 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 463 * @throws SystemException if a system exception occurred 464 */ 465 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 466 long groupId, 467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 468 throws com.liferay.portal.kernel.exception.SystemException, 469 com.liferay.portlet.journal.NoSuchArticleException; 470 471 /** 472 * Returns the last journal article in the ordered set where groupId = ?. 473 * 474 * @param groupId the group ID 475 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 476 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 477 * @throws SystemException if a system exception occurred 478 */ 479 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last( 480 long groupId, 481 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 482 throws com.liferay.portal.kernel.exception.SystemException; 483 484 /** 485 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 486 * 487 * @param id the primary key of the current journal article 488 * @param groupId the group ID 489 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 490 * @return the previous, current, and next journal article 491 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 492 * @throws SystemException if a system exception occurred 493 */ 494 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 495 long id, long groupId, 496 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 497 throws com.liferay.portal.kernel.exception.SystemException, 498 com.liferay.portlet.journal.NoSuchArticleException; 499 500 /** 501 * Returns all the journal articles that the user has permission to view where groupId = ?. 502 * 503 * @param groupId the group ID 504 * @return the matching journal articles that the user has permission to view 505 * @throws SystemException if a system exception occurred 506 */ 507 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 508 long groupId) 509 throws com.liferay.portal.kernel.exception.SystemException; 510 511 /** 512 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 513 * 514 * <p> 515 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 516 * </p> 517 * 518 * @param groupId the group ID 519 * @param start the lower bound of the range of journal articles 520 * @param end the upper bound of the range of journal articles (not inclusive) 521 * @return the range of matching journal articles that the user has permission to view 522 * @throws SystemException if a system exception occurred 523 */ 524 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 525 long groupId, int start, int end) 526 throws com.liferay.portal.kernel.exception.SystemException; 527 528 /** 529 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 530 * 531 * <p> 532 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 533 * </p> 534 * 535 * @param groupId the group ID 536 * @param start the lower bound of the range of journal articles 537 * @param end the upper bound of the range of journal articles (not inclusive) 538 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 539 * @return the ordered range of matching journal articles that the user has permission to view 540 * @throws SystemException if a system exception occurred 541 */ 542 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 543 long groupId, int start, int end, 544 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 545 throws com.liferay.portal.kernel.exception.SystemException; 546 547 /** 548 * 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 = ?. 549 * 550 * @param id the primary key of the current journal article 551 * @param groupId the group ID 552 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 553 * @return the previous, current, and next journal article 554 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 555 * @throws SystemException if a system exception occurred 556 */ 557 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 558 long id, long groupId, 559 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 560 throws com.liferay.portal.kernel.exception.SystemException, 561 com.liferay.portlet.journal.NoSuchArticleException; 562 563 /** 564 * Returns all the journal articles where companyId = ?. 565 * 566 * @param companyId the company ID 567 * @return the matching journal articles 568 * @throws SystemException if a system exception occurred 569 */ 570 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 571 long companyId) 572 throws com.liferay.portal.kernel.exception.SystemException; 573 574 /** 575 * Returns a range of all the journal articles where companyId = ?. 576 * 577 * <p> 578 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 579 * </p> 580 * 581 * @param companyId the company ID 582 * @param start the lower bound of the range of journal articles 583 * @param end the upper bound of the range of journal articles (not inclusive) 584 * @return the range of matching journal articles 585 * @throws SystemException if a system exception occurred 586 */ 587 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 588 long companyId, int start, int end) 589 throws com.liferay.portal.kernel.exception.SystemException; 590 591 /** 592 * Returns an ordered range of all the journal articles where companyId = ?. 593 * 594 * <p> 595 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 596 * </p> 597 * 598 * @param companyId the company ID 599 * @param start the lower bound of the range of journal articles 600 * @param end the upper bound of the range of journal articles (not inclusive) 601 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 602 * @return the ordered range of matching journal articles 603 * @throws SystemException if a system exception occurred 604 */ 605 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 606 long companyId, int start, int end, 607 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 608 throws com.liferay.portal.kernel.exception.SystemException; 609 610 /** 611 * Returns the first journal article in the ordered set where companyId = ?. 612 * 613 * @param companyId the company ID 614 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 615 * @return the first matching journal article 616 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 617 * @throws SystemException if a system exception occurred 618 */ 619 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 620 long companyId, 621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 622 throws com.liferay.portal.kernel.exception.SystemException, 623 com.liferay.portlet.journal.NoSuchArticleException; 624 625 /** 626 * Returns the first journal article in the ordered set where companyId = ?. 627 * 628 * @param companyId the company ID 629 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 630 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 631 * @throws SystemException if a system exception occurred 632 */ 633 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First( 634 long companyId, 635 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 636 throws com.liferay.portal.kernel.exception.SystemException; 637 638 /** 639 * Returns the last journal article in the ordered set where companyId = ?. 640 * 641 * @param companyId the company ID 642 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 643 * @return the last matching journal article 644 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 645 * @throws SystemException if a system exception occurred 646 */ 647 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 648 long companyId, 649 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 650 throws com.liferay.portal.kernel.exception.SystemException, 651 com.liferay.portlet.journal.NoSuchArticleException; 652 653 /** 654 * Returns the last journal article in the ordered set where companyId = ?. 655 * 656 * @param companyId the company ID 657 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 658 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 659 * @throws SystemException if a system exception occurred 660 */ 661 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last( 662 long companyId, 663 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 664 throws com.liferay.portal.kernel.exception.SystemException; 665 666 /** 667 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 668 * 669 * @param id the primary key of the current journal article 670 * @param companyId the company ID 671 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 672 * @return the previous, current, and next journal article 673 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 674 * @throws SystemException if a system exception occurred 675 */ 676 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 677 long id, long companyId, 678 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 679 throws com.liferay.portal.kernel.exception.SystemException, 680 com.liferay.portlet.journal.NoSuchArticleException; 681 682 /** 683 * Returns all the journal articles where structureId = ?. 684 * 685 * @param structureId the structure ID 686 * @return the matching journal articles 687 * @throws SystemException if a system exception occurred 688 */ 689 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 690 java.lang.String structureId) 691 throws com.liferay.portal.kernel.exception.SystemException; 692 693 /** 694 * Returns a range of all the journal articles where structureId = ?. 695 * 696 * <p> 697 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 698 * </p> 699 * 700 * @param structureId the structure ID 701 * @param start the lower bound of the range of journal articles 702 * @param end the upper bound of the range of journal articles (not inclusive) 703 * @return the range of matching journal articles 704 * @throws SystemException if a system exception occurred 705 */ 706 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 707 java.lang.String structureId, int start, int end) 708 throws com.liferay.portal.kernel.exception.SystemException; 709 710 /** 711 * Returns an ordered range of all the journal articles where structureId = ?. 712 * 713 * <p> 714 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 715 * </p> 716 * 717 * @param structureId the structure ID 718 * @param start the lower bound of the range of journal articles 719 * @param end the upper bound of the range of journal articles (not inclusive) 720 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 721 * @return the ordered range of matching journal articles 722 * @throws SystemException if a system exception occurred 723 */ 724 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 725 java.lang.String structureId, int start, int end, 726 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 727 throws com.liferay.portal.kernel.exception.SystemException; 728 729 /** 730 * Returns the first journal article in the ordered set where structureId = ?. 731 * 732 * @param structureId the structure ID 733 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 734 * @return the first matching journal article 735 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 736 * @throws SystemException if a system exception occurred 737 */ 738 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First( 739 java.lang.String structureId, 740 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 741 throws com.liferay.portal.kernel.exception.SystemException, 742 com.liferay.portlet.journal.NoSuchArticleException; 743 744 /** 745 * Returns the first journal article in the ordered set where structureId = ?. 746 * 747 * @param structureId the structure ID 748 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 749 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 750 * @throws SystemException if a system exception occurred 751 */ 752 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First( 753 java.lang.String structureId, 754 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 755 throws com.liferay.portal.kernel.exception.SystemException; 756 757 /** 758 * Returns the last journal article in the ordered set where structureId = ?. 759 * 760 * @param structureId the structure ID 761 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 762 * @return the last matching journal article 763 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 764 * @throws SystemException if a system exception occurred 765 */ 766 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last( 767 java.lang.String structureId, 768 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 769 throws com.liferay.portal.kernel.exception.SystemException, 770 com.liferay.portlet.journal.NoSuchArticleException; 771 772 /** 773 * Returns the last journal article in the ordered set where structureId = ?. 774 * 775 * @param structureId the structure ID 776 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 777 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 778 * @throws SystemException if a system exception occurred 779 */ 780 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last( 781 java.lang.String structureId, 782 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 783 throws com.liferay.portal.kernel.exception.SystemException; 784 785 /** 786 * Returns the journal articles before and after the current journal article in the ordered set where structureId = ?. 787 * 788 * @param id the primary key of the current journal article 789 * @param structureId the structure ID 790 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 791 * @return the previous, current, and next journal article 792 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 793 * @throws SystemException if a system exception occurred 794 */ 795 public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext( 796 long id, java.lang.String structureId, 797 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 798 throws com.liferay.portal.kernel.exception.SystemException, 799 com.liferay.portlet.journal.NoSuchArticleException; 800 801 /** 802 * Returns all the journal articles where templateId = ?. 803 * 804 * @param templateId the template ID 805 * @return the matching journal articles 806 * @throws SystemException if a system exception occurred 807 */ 808 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 809 java.lang.String templateId) 810 throws com.liferay.portal.kernel.exception.SystemException; 811 812 /** 813 * Returns a range of all the journal articles where templateId = ?. 814 * 815 * <p> 816 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 817 * </p> 818 * 819 * @param templateId the template ID 820 * @param start the lower bound of the range of journal articles 821 * @param end the upper bound of the range of journal articles (not inclusive) 822 * @return the range of matching journal articles 823 * @throws SystemException if a system exception occurred 824 */ 825 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 826 java.lang.String templateId, int start, int end) 827 throws com.liferay.portal.kernel.exception.SystemException; 828 829 /** 830 * Returns an ordered range of all the journal articles where templateId = ?. 831 * 832 * <p> 833 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 834 * </p> 835 * 836 * @param templateId the template ID 837 * @param start the lower bound of the range of journal articles 838 * @param end the upper bound of the range of journal articles (not inclusive) 839 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 840 * @return the ordered range of matching journal articles 841 * @throws SystemException if a system exception occurred 842 */ 843 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 844 java.lang.String templateId, int start, int end, 845 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 846 throws com.liferay.portal.kernel.exception.SystemException; 847 848 /** 849 * Returns the first journal article in the ordered set where templateId = ?. 850 * 851 * @param templateId the template ID 852 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 853 * @return the first matching journal article 854 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 855 * @throws SystemException if a system exception occurred 856 */ 857 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 858 java.lang.String templateId, 859 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 860 throws com.liferay.portal.kernel.exception.SystemException, 861 com.liferay.portlet.journal.NoSuchArticleException; 862 863 /** 864 * Returns the first journal article in the ordered set where templateId = ?. 865 * 866 * @param templateId the template ID 867 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 868 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 869 * @throws SystemException if a system exception occurred 870 */ 871 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First( 872 java.lang.String templateId, 873 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 874 throws com.liferay.portal.kernel.exception.SystemException; 875 876 /** 877 * Returns the last journal article in the ordered set where templateId = ?. 878 * 879 * @param templateId the template ID 880 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 881 * @return the last matching journal article 882 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 883 * @throws SystemException if a system exception occurred 884 */ 885 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 886 java.lang.String templateId, 887 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 888 throws com.liferay.portal.kernel.exception.SystemException, 889 com.liferay.portlet.journal.NoSuchArticleException; 890 891 /** 892 * Returns the last journal article in the ordered set where templateId = ?. 893 * 894 * @param templateId the template ID 895 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 896 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 897 * @throws SystemException if a system exception occurred 898 */ 899 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last( 900 java.lang.String templateId, 901 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 902 throws com.liferay.portal.kernel.exception.SystemException; 903 904 /** 905 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 906 * 907 * @param id the primary key of the current journal article 908 * @param templateId the template ID 909 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 910 * @return the previous, current, and next journal article 911 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 912 * @throws SystemException if a system exception occurred 913 */ 914 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 915 long id, java.lang.String templateId, 916 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 917 throws com.liferay.portal.kernel.exception.SystemException, 918 com.liferay.portlet.journal.NoSuchArticleException; 919 920 /** 921 * Returns all the journal articles where smallImageId = ?. 922 * 923 * @param smallImageId the small image ID 924 * @return the matching journal articles 925 * @throws SystemException if a system exception occurred 926 */ 927 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 928 long smallImageId) 929 throws com.liferay.portal.kernel.exception.SystemException; 930 931 /** 932 * Returns a range of all the journal articles where smallImageId = ?. 933 * 934 * <p> 935 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 936 * </p> 937 * 938 * @param smallImageId the small image ID 939 * @param start the lower bound of the range of journal articles 940 * @param end the upper bound of the range of journal articles (not inclusive) 941 * @return the range of matching journal articles 942 * @throws SystemException if a system exception occurred 943 */ 944 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 945 long smallImageId, int start, int end) 946 throws com.liferay.portal.kernel.exception.SystemException; 947 948 /** 949 * Returns an ordered range of all the journal articles where smallImageId = ?. 950 * 951 * <p> 952 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 953 * </p> 954 * 955 * @param smallImageId the small image ID 956 * @param start the lower bound of the range of journal articles 957 * @param end the upper bound of the range of journal articles (not inclusive) 958 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 959 * @return the ordered range of matching journal articles 960 * @throws SystemException if a system exception occurred 961 */ 962 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 963 long smallImageId, int start, int end, 964 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 965 throws com.liferay.portal.kernel.exception.SystemException; 966 967 /** 968 * Returns the first journal article in the ordered set where smallImageId = ?. 969 * 970 * @param smallImageId the small image ID 971 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 972 * @return the first matching journal article 973 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 974 * @throws SystemException if a system exception occurred 975 */ 976 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 977 long smallImageId, 978 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 979 throws com.liferay.portal.kernel.exception.SystemException, 980 com.liferay.portlet.journal.NoSuchArticleException; 981 982 /** 983 * Returns the first journal article in the ordered set where smallImageId = ?. 984 * 985 * @param smallImageId the small image ID 986 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 987 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 988 * @throws SystemException if a system exception occurred 989 */ 990 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 991 long smallImageId, 992 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 993 throws com.liferay.portal.kernel.exception.SystemException; 994 995 /** 996 * Returns the last journal article in the ordered set where smallImageId = ?. 997 * 998 * @param smallImageId the small image ID 999 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1000 * @return the last matching journal article 1001 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1002 * @throws SystemException if a system exception occurred 1003 */ 1004 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1005 long smallImageId, 1006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1007 throws com.liferay.portal.kernel.exception.SystemException, 1008 com.liferay.portlet.journal.NoSuchArticleException; 1009 1010 /** 1011 * Returns the last journal article in the ordered set where smallImageId = ?. 1012 * 1013 * @param smallImageId the small image ID 1014 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1015 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1016 * @throws SystemException if a system exception occurred 1017 */ 1018 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1019 long smallImageId, 1020 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1021 throws com.liferay.portal.kernel.exception.SystemException; 1022 1023 /** 1024 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1025 * 1026 * @param id the primary key of the current journal article 1027 * @param smallImageId the small image ID 1028 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1029 * @return the previous, current, and next journal article 1030 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1031 * @throws SystemException if a system exception occurred 1032 */ 1033 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1034 long id, long smallImageId, 1035 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1036 throws com.liferay.portal.kernel.exception.SystemException, 1037 com.liferay.portlet.journal.NoSuchArticleException; 1038 1039 /** 1040 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1041 * 1042 * @param resourcePrimKey the resource prim key 1043 * @param status the status 1044 * @return the matching journal articles 1045 * @throws SystemException if a system exception occurred 1046 */ 1047 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1048 long resourcePrimKey, int status) 1049 throws com.liferay.portal.kernel.exception.SystemException; 1050 1051 /** 1052 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1053 * 1054 * <p> 1055 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1056 * </p> 1057 * 1058 * @param resourcePrimKey the resource prim key 1059 * @param status the status 1060 * @param start the lower bound of the range of journal articles 1061 * @param end the upper bound of the range of journal articles (not inclusive) 1062 * @return the range of matching journal articles 1063 * @throws SystemException if a system exception occurred 1064 */ 1065 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1066 long resourcePrimKey, int status, int start, int end) 1067 throws com.liferay.portal.kernel.exception.SystemException; 1068 1069 /** 1070 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1071 * 1072 * <p> 1073 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1074 * </p> 1075 * 1076 * @param resourcePrimKey the resource prim key 1077 * @param status the status 1078 * @param start the lower bound of the range of journal articles 1079 * @param end the upper bound of the range of journal articles (not inclusive) 1080 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1081 * @return the ordered range of matching journal articles 1082 * @throws SystemException if a system exception occurred 1083 */ 1084 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1085 long resourcePrimKey, int status, int start, int end, 1086 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1087 throws com.liferay.portal.kernel.exception.SystemException; 1088 1089 /** 1090 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1091 * 1092 * @param resourcePrimKey the resource prim key 1093 * @param status the status 1094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1095 * @return the first matching journal article 1096 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1097 * @throws SystemException if a system exception occurred 1098 */ 1099 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1100 long resourcePrimKey, int status, 1101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1102 throws com.liferay.portal.kernel.exception.SystemException, 1103 com.liferay.portlet.journal.NoSuchArticleException; 1104 1105 /** 1106 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1107 * 1108 * @param resourcePrimKey the resource prim key 1109 * @param status the status 1110 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1111 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1112 * @throws SystemException if a system exception occurred 1113 */ 1114 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1115 long resourcePrimKey, int status, 1116 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1117 throws com.liferay.portal.kernel.exception.SystemException; 1118 1119 /** 1120 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1121 * 1122 * @param resourcePrimKey the resource prim key 1123 * @param status the status 1124 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1125 * @return the last matching journal article 1126 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1127 * @throws SystemException if a system exception occurred 1128 */ 1129 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1130 long resourcePrimKey, int status, 1131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1132 throws com.liferay.portal.kernel.exception.SystemException, 1133 com.liferay.portlet.journal.NoSuchArticleException; 1134 1135 /** 1136 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1137 * 1138 * @param resourcePrimKey the resource prim key 1139 * @param status the status 1140 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1141 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1142 * @throws SystemException if a system exception occurred 1143 */ 1144 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1145 long resourcePrimKey, int status, 1146 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1147 throws com.liferay.portal.kernel.exception.SystemException; 1148 1149 /** 1150 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1151 * 1152 * @param id the primary key of the current journal article 1153 * @param resourcePrimKey the resource prim key 1154 * @param status the status 1155 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1156 * @return the previous, current, and next journal article 1157 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1158 * @throws SystemException if a system exception occurred 1159 */ 1160 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1161 long id, long resourcePrimKey, int status, 1162 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1163 throws com.liferay.portal.kernel.exception.SystemException, 1164 com.liferay.portlet.journal.NoSuchArticleException; 1165 1166 /** 1167 * Returns all the journal articles where groupId = ? and articleId = ?. 1168 * 1169 * @param groupId the group ID 1170 * @param articleId the article ID 1171 * @return the matching journal articles 1172 * @throws SystemException if a system exception occurred 1173 */ 1174 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1175 long groupId, java.lang.String articleId) 1176 throws com.liferay.portal.kernel.exception.SystemException; 1177 1178 /** 1179 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 1180 * 1181 * <p> 1182 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1183 * </p> 1184 * 1185 * @param groupId the group ID 1186 * @param articleId the article ID 1187 * @param start the lower bound of the range of journal articles 1188 * @param end the upper bound of the range of journal articles (not inclusive) 1189 * @return the range of matching journal articles 1190 * @throws SystemException if a system exception occurred 1191 */ 1192 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1193 long groupId, java.lang.String articleId, int start, int end) 1194 throws com.liferay.portal.kernel.exception.SystemException; 1195 1196 /** 1197 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 1198 * 1199 * <p> 1200 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1201 * </p> 1202 * 1203 * @param groupId the group ID 1204 * @param articleId the article ID 1205 * @param start the lower bound of the range of journal articles 1206 * @param end the upper bound of the range of journal articles (not inclusive) 1207 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1208 * @return the ordered range of matching journal articles 1209 * @throws SystemException if a system exception occurred 1210 */ 1211 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 1212 long groupId, java.lang.String articleId, int start, int end, 1213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1214 throws com.liferay.portal.kernel.exception.SystemException; 1215 1216 /** 1217 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 1218 * 1219 * @param groupId the group ID 1220 * @param articleId the article ID 1221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1222 * @return the first matching journal article 1223 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1224 * @throws SystemException if a system exception occurred 1225 */ 1226 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 1227 long groupId, java.lang.String articleId, 1228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1229 throws com.liferay.portal.kernel.exception.SystemException, 1230 com.liferay.portlet.journal.NoSuchArticleException; 1231 1232 /** 1233 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 1234 * 1235 * @param groupId the group ID 1236 * @param articleId the article ID 1237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1238 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1239 * @throws SystemException if a system exception occurred 1240 */ 1241 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 1242 long groupId, java.lang.String articleId, 1243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1244 throws com.liferay.portal.kernel.exception.SystemException; 1245 1246 /** 1247 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 1248 * 1249 * @param groupId the group ID 1250 * @param articleId the article ID 1251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1252 * @return the last matching journal article 1253 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1254 * @throws SystemException if a system exception occurred 1255 */ 1256 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 1257 long groupId, java.lang.String articleId, 1258 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1259 throws com.liferay.portal.kernel.exception.SystemException, 1260 com.liferay.portlet.journal.NoSuchArticleException; 1261 1262 /** 1263 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 1264 * 1265 * @param groupId the group ID 1266 * @param articleId the article ID 1267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1268 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1269 * @throws SystemException if a system exception occurred 1270 */ 1271 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 1272 long groupId, java.lang.String articleId, 1273 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1274 throws com.liferay.portal.kernel.exception.SystemException; 1275 1276 /** 1277 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 1278 * 1279 * @param id the primary key of the current journal article 1280 * @param groupId the group ID 1281 * @param articleId the article ID 1282 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1283 * @return the previous, current, and next journal article 1284 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1285 * @throws SystemException if a system exception occurred 1286 */ 1287 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 1288 long id, long groupId, java.lang.String articleId, 1289 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1290 throws com.liferay.portal.kernel.exception.SystemException, 1291 com.liferay.portlet.journal.NoSuchArticleException; 1292 1293 /** 1294 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 1295 * 1296 * @param groupId the group ID 1297 * @param articleId the article ID 1298 * @return the matching journal articles that the user has permission to view 1299 * @throws SystemException if a system exception occurred 1300 */ 1301 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1302 long groupId, java.lang.String articleId) 1303 throws com.liferay.portal.kernel.exception.SystemException; 1304 1305 /** 1306 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 1307 * 1308 * <p> 1309 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1310 * </p> 1311 * 1312 * @param groupId the group ID 1313 * @param articleId the article ID 1314 * @param start the lower bound of the range of journal articles 1315 * @param end the upper bound of the range of journal articles (not inclusive) 1316 * @return the range of matching journal articles that the user has permission to view 1317 * @throws SystemException if a system exception occurred 1318 */ 1319 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1320 long groupId, java.lang.String articleId, int start, int end) 1321 throws com.liferay.portal.kernel.exception.SystemException; 1322 1323 /** 1324 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 1325 * 1326 * <p> 1327 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1328 * </p> 1329 * 1330 * @param groupId the group ID 1331 * @param articleId the article ID 1332 * @param start the lower bound of the range of journal articles 1333 * @param end the upper bound of the range of journal articles (not inclusive) 1334 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1335 * @return the ordered range of matching journal articles that the user has permission to view 1336 * @throws SystemException if a system exception occurred 1337 */ 1338 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1339 long groupId, java.lang.String articleId, int start, int end, 1340 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1341 throws com.liferay.portal.kernel.exception.SystemException; 1342 1343 /** 1344 * 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 = ?. 1345 * 1346 * @param id the primary key of the current journal article 1347 * @param groupId the group ID 1348 * @param articleId the article ID 1349 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1350 * @return the previous, current, and next journal article 1351 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1352 * @throws SystemException if a system exception occurred 1353 */ 1354 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 1355 long id, long groupId, java.lang.String articleId, 1356 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1357 throws com.liferay.portal.kernel.exception.SystemException, 1358 com.liferay.portlet.journal.NoSuchArticleException; 1359 1360 /** 1361 * Returns all the journal articles where groupId = ? and urlTitle = ?. 1362 * 1363 * @param groupId the group ID 1364 * @param urlTitle the url title 1365 * @return the matching journal articles 1366 * @throws SystemException if a system exception occurred 1367 */ 1368 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1369 long groupId, java.lang.String urlTitle) 1370 throws com.liferay.portal.kernel.exception.SystemException; 1371 1372 /** 1373 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 1374 * 1375 * <p> 1376 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1377 * </p> 1378 * 1379 * @param groupId the group ID 1380 * @param urlTitle the url title 1381 * @param start the lower bound of the range of journal articles 1382 * @param end the upper bound of the range of journal articles (not inclusive) 1383 * @return the range of matching journal articles 1384 * @throws SystemException if a system exception occurred 1385 */ 1386 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1387 long groupId, java.lang.String urlTitle, int start, int end) 1388 throws com.liferay.portal.kernel.exception.SystemException; 1389 1390 /** 1391 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 1392 * 1393 * <p> 1394 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1395 * </p> 1396 * 1397 * @param groupId the group ID 1398 * @param urlTitle the url title 1399 * @param start the lower bound of the range of journal articles 1400 * @param end the upper bound of the range of journal articles (not inclusive) 1401 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1402 * @return the ordered range of matching journal articles 1403 * @throws SystemException if a system exception occurred 1404 */ 1405 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1406 long groupId, java.lang.String urlTitle, int start, int end, 1407 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1408 throws com.liferay.portal.kernel.exception.SystemException; 1409 1410 /** 1411 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 1412 * 1413 * @param groupId the group ID 1414 * @param urlTitle the url title 1415 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1416 * @return the first matching journal article 1417 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1418 * @throws SystemException if a system exception occurred 1419 */ 1420 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 1421 long groupId, java.lang.String urlTitle, 1422 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1423 throws com.liferay.portal.kernel.exception.SystemException, 1424 com.liferay.portlet.journal.NoSuchArticleException; 1425 1426 /** 1427 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 1428 * 1429 * @param groupId the group ID 1430 * @param urlTitle the url title 1431 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1432 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1433 * @throws SystemException if a system exception occurred 1434 */ 1435 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 1436 long groupId, java.lang.String urlTitle, 1437 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1438 throws com.liferay.portal.kernel.exception.SystemException; 1439 1440 /** 1441 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 1442 * 1443 * @param groupId the group ID 1444 * @param urlTitle the url title 1445 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1446 * @return the last matching journal article 1447 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1448 * @throws SystemException if a system exception occurred 1449 */ 1450 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 1451 long groupId, java.lang.String urlTitle, 1452 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1453 throws com.liferay.portal.kernel.exception.SystemException, 1454 com.liferay.portlet.journal.NoSuchArticleException; 1455 1456 /** 1457 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 1458 * 1459 * @param groupId the group ID 1460 * @param urlTitle the url title 1461 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1462 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1463 * @throws SystemException if a system exception occurred 1464 */ 1465 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 1466 long groupId, java.lang.String urlTitle, 1467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1468 throws com.liferay.portal.kernel.exception.SystemException; 1469 1470 /** 1471 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 1472 * 1473 * @param id the primary key of the current journal article 1474 * @param groupId the group ID 1475 * @param urlTitle the url title 1476 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1477 * @return the previous, current, and next journal article 1478 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1479 * @throws SystemException if a system exception occurred 1480 */ 1481 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 1482 long id, long groupId, java.lang.String urlTitle, 1483 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1484 throws com.liferay.portal.kernel.exception.SystemException, 1485 com.liferay.portlet.journal.NoSuchArticleException; 1486 1487 /** 1488 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 1489 * 1490 * @param groupId the group ID 1491 * @param urlTitle the url title 1492 * @return the matching journal articles that the user has permission to view 1493 * @throws SystemException if a system exception occurred 1494 */ 1495 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1496 long groupId, java.lang.String urlTitle) 1497 throws com.liferay.portal.kernel.exception.SystemException; 1498 1499 /** 1500 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 1501 * 1502 * <p> 1503 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1504 * </p> 1505 * 1506 * @param groupId the group ID 1507 * @param urlTitle the url title 1508 * @param start the lower bound of the range of journal articles 1509 * @param end the upper bound of the range of journal articles (not inclusive) 1510 * @return the range of matching journal articles that the user has permission to view 1511 * @throws SystemException if a system exception occurred 1512 */ 1513 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1514 long groupId, java.lang.String urlTitle, int start, int end) 1515 throws com.liferay.portal.kernel.exception.SystemException; 1516 1517 /** 1518 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 1519 * 1520 * <p> 1521 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1522 * </p> 1523 * 1524 * @param groupId the group ID 1525 * @param urlTitle the url title 1526 * @param start the lower bound of the range of journal articles 1527 * @param end the upper bound of the range of journal articles (not inclusive) 1528 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1529 * @return the ordered range of matching journal articles that the user has permission to view 1530 * @throws SystemException if a system exception occurred 1531 */ 1532 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1533 long groupId, java.lang.String urlTitle, int start, int end, 1534 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1535 throws com.liferay.portal.kernel.exception.SystemException; 1536 1537 /** 1538 * 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 = ?. 1539 * 1540 * @param id the primary key of the current journal article 1541 * @param groupId the group ID 1542 * @param urlTitle the url title 1543 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1544 * @return the previous, current, and next journal article 1545 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1546 * @throws SystemException if a system exception occurred 1547 */ 1548 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 1549 long id, long groupId, java.lang.String urlTitle, 1550 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1551 throws com.liferay.portal.kernel.exception.SystemException, 1552 com.liferay.portlet.journal.NoSuchArticleException; 1553 1554 /** 1555 * Returns all the journal articles where groupId = ? and structureId = ?. 1556 * 1557 * @param groupId the group ID 1558 * @param structureId the structure ID 1559 * @return the matching journal articles 1560 * @throws SystemException if a system exception occurred 1561 */ 1562 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1563 long groupId, java.lang.String structureId) 1564 throws com.liferay.portal.kernel.exception.SystemException; 1565 1566 /** 1567 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 1568 * 1569 * <p> 1570 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1571 * </p> 1572 * 1573 * @param groupId the group ID 1574 * @param structureId the structure ID 1575 * @param start the lower bound of the range of journal articles 1576 * @param end the upper bound of the range of journal articles (not inclusive) 1577 * @return the range of matching journal articles 1578 * @throws SystemException if a system exception occurred 1579 */ 1580 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1581 long groupId, java.lang.String structureId, int start, int end) 1582 throws com.liferay.portal.kernel.exception.SystemException; 1583 1584 /** 1585 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 1586 * 1587 * <p> 1588 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1589 * </p> 1590 * 1591 * @param groupId the group ID 1592 * @param structureId the structure ID 1593 * @param start the lower bound of the range of journal articles 1594 * @param end the upper bound of the range of journal articles (not inclusive) 1595 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1596 * @return the ordered range of matching journal articles 1597 * @throws SystemException if a system exception occurred 1598 */ 1599 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1600 long groupId, java.lang.String structureId, int start, int end, 1601 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1602 throws com.liferay.portal.kernel.exception.SystemException; 1603 1604 /** 1605 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 1606 * 1607 * @param groupId the group ID 1608 * @param structureId the structure ID 1609 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1610 * @return the first matching journal article 1611 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1612 * @throws SystemException if a system exception occurred 1613 */ 1614 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 1615 long groupId, java.lang.String structureId, 1616 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1617 throws com.liferay.portal.kernel.exception.SystemException, 1618 com.liferay.portlet.journal.NoSuchArticleException; 1619 1620 /** 1621 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 1622 * 1623 * @param groupId the group ID 1624 * @param structureId the structure ID 1625 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1626 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1627 * @throws SystemException if a system exception occurred 1628 */ 1629 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First( 1630 long groupId, java.lang.String structureId, 1631 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1632 throws com.liferay.portal.kernel.exception.SystemException; 1633 1634 /** 1635 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 1636 * 1637 * @param groupId the group ID 1638 * @param structureId the structure ID 1639 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1640 * @return the last matching journal article 1641 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1642 * @throws SystemException if a system exception occurred 1643 */ 1644 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 1645 long groupId, java.lang.String structureId, 1646 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1647 throws com.liferay.portal.kernel.exception.SystemException, 1648 com.liferay.portlet.journal.NoSuchArticleException; 1649 1650 /** 1651 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 1652 * 1653 * @param groupId the group ID 1654 * @param structureId the structure ID 1655 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1656 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1657 * @throws SystemException if a system exception occurred 1658 */ 1659 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last( 1660 long groupId, java.lang.String structureId, 1661 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1662 throws com.liferay.portal.kernel.exception.SystemException; 1663 1664 /** 1665 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 1666 * 1667 * @param id the primary key of the current journal article 1668 * @param groupId the group ID 1669 * @param structureId the structure ID 1670 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1671 * @return the previous, current, and next journal article 1672 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1673 * @throws SystemException if a system exception occurred 1674 */ 1675 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 1676 long id, long groupId, java.lang.String structureId, 1677 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1678 throws com.liferay.portal.kernel.exception.SystemException, 1679 com.liferay.portlet.journal.NoSuchArticleException; 1680 1681 /** 1682 * Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 1683 * 1684 * @param groupId the group ID 1685 * @param structureId the structure ID 1686 * @return the matching journal articles that the user has permission to view 1687 * @throws SystemException if a system exception occurred 1688 */ 1689 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1690 long groupId, java.lang.String structureId) 1691 throws com.liferay.portal.kernel.exception.SystemException; 1692 1693 /** 1694 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 1695 * 1696 * <p> 1697 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1698 * </p> 1699 * 1700 * @param groupId the group ID 1701 * @param structureId the structure ID 1702 * @param start the lower bound of the range of journal articles 1703 * @param end the upper bound of the range of journal articles (not inclusive) 1704 * @return the range of matching journal articles that the user has permission to view 1705 * @throws SystemException if a system exception occurred 1706 */ 1707 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1708 long groupId, java.lang.String structureId, int start, int end) 1709 throws com.liferay.portal.kernel.exception.SystemException; 1710 1711 /** 1712 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 1713 * 1714 * <p> 1715 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1716 * </p> 1717 * 1718 * @param groupId the group ID 1719 * @param structureId the structure ID 1720 * @param start the lower bound of the range of journal articles 1721 * @param end the upper bound of the range of journal articles (not inclusive) 1722 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1723 * @return the ordered range of matching journal articles that the user has permission to view 1724 * @throws SystemException if a system exception occurred 1725 */ 1726 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1727 long groupId, java.lang.String structureId, int start, int end, 1728 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1729 throws com.liferay.portal.kernel.exception.SystemException; 1730 1731 /** 1732 * 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 = ?. 1733 * 1734 * @param id the primary key of the current journal article 1735 * @param groupId the group ID 1736 * @param structureId the structure ID 1737 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1738 * @return the previous, current, and next journal article 1739 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1740 * @throws SystemException if a system exception occurred 1741 */ 1742 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 1743 long id, long groupId, java.lang.String structureId, 1744 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1745 throws com.liferay.portal.kernel.exception.SystemException, 1746 com.liferay.portlet.journal.NoSuchArticleException; 1747 1748 /** 1749 * Returns all the journal articles where groupId = ? and templateId = ?. 1750 * 1751 * @param groupId the group ID 1752 * @param templateId the template ID 1753 * @return the matching journal articles 1754 * @throws SystemException if a system exception occurred 1755 */ 1756 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1757 long groupId, java.lang.String templateId) 1758 throws com.liferay.portal.kernel.exception.SystemException; 1759 1760 /** 1761 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 1762 * 1763 * <p> 1764 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1765 * </p> 1766 * 1767 * @param groupId the group ID 1768 * @param templateId the template ID 1769 * @param start the lower bound of the range of journal articles 1770 * @param end the upper bound of the range of journal articles (not inclusive) 1771 * @return the range of matching journal articles 1772 * @throws SystemException if a system exception occurred 1773 */ 1774 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1775 long groupId, java.lang.String templateId, int start, int end) 1776 throws com.liferay.portal.kernel.exception.SystemException; 1777 1778 /** 1779 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 1780 * 1781 * <p> 1782 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1783 * </p> 1784 * 1785 * @param groupId the group ID 1786 * @param templateId the template ID 1787 * @param start the lower bound of the range of journal articles 1788 * @param end the upper bound of the range of journal articles (not inclusive) 1789 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1790 * @return the ordered range of matching journal articles 1791 * @throws SystemException if a system exception occurred 1792 */ 1793 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1794 long groupId, java.lang.String templateId, int start, int end, 1795 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1796 throws com.liferay.portal.kernel.exception.SystemException; 1797 1798 /** 1799 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 1800 * 1801 * @param groupId the group ID 1802 * @param templateId the template ID 1803 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1804 * @return the first matching journal article 1805 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1806 * @throws SystemException if a system exception occurred 1807 */ 1808 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 1809 long groupId, java.lang.String templateId, 1810 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1811 throws com.liferay.portal.kernel.exception.SystemException, 1812 com.liferay.portlet.journal.NoSuchArticleException; 1813 1814 /** 1815 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 1816 * 1817 * @param groupId the group ID 1818 * @param templateId the template ID 1819 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1820 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1821 * @throws SystemException if a system exception occurred 1822 */ 1823 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First( 1824 long groupId, java.lang.String templateId, 1825 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1826 throws com.liferay.portal.kernel.exception.SystemException; 1827 1828 /** 1829 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 1830 * 1831 * @param groupId the group ID 1832 * @param templateId the template ID 1833 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1834 * @return the last matching journal article 1835 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1836 * @throws SystemException if a system exception occurred 1837 */ 1838 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 1839 long groupId, java.lang.String templateId, 1840 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1841 throws com.liferay.portal.kernel.exception.SystemException, 1842 com.liferay.portlet.journal.NoSuchArticleException; 1843 1844 /** 1845 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 1846 * 1847 * @param groupId the group ID 1848 * @param templateId the template ID 1849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1850 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1851 * @throws SystemException if a system exception occurred 1852 */ 1853 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last( 1854 long groupId, java.lang.String templateId, 1855 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1856 throws com.liferay.portal.kernel.exception.SystemException; 1857 1858 /** 1859 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 1860 * 1861 * @param id the primary key of the current journal article 1862 * @param groupId the group ID 1863 * @param templateId the template ID 1864 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1865 * @return the previous, current, and next journal article 1866 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1867 * @throws SystemException if a system exception occurred 1868 */ 1869 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 1870 long id, long groupId, java.lang.String templateId, 1871 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1872 throws com.liferay.portal.kernel.exception.SystemException, 1873 com.liferay.portlet.journal.NoSuchArticleException; 1874 1875 /** 1876 * Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 1877 * 1878 * @param groupId the group ID 1879 * @param templateId the template ID 1880 * @return the matching journal articles that the user has permission to view 1881 * @throws SystemException if a system exception occurred 1882 */ 1883 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1884 long groupId, java.lang.String templateId) 1885 throws com.liferay.portal.kernel.exception.SystemException; 1886 1887 /** 1888 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 1889 * 1890 * <p> 1891 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1892 * </p> 1893 * 1894 * @param groupId the group ID 1895 * @param templateId the template ID 1896 * @param start the lower bound of the range of journal articles 1897 * @param end the upper bound of the range of journal articles (not inclusive) 1898 * @return the range of matching journal articles that the user has permission to view 1899 * @throws SystemException if a system exception occurred 1900 */ 1901 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1902 long groupId, java.lang.String templateId, int start, int end) 1903 throws com.liferay.portal.kernel.exception.SystemException; 1904 1905 /** 1906 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 1907 * 1908 * <p> 1909 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1910 * </p> 1911 * 1912 * @param groupId the group ID 1913 * @param templateId the template ID 1914 * @param start the lower bound of the range of journal articles 1915 * @param end the upper bound of the range of journal articles (not inclusive) 1916 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1917 * @return the ordered range of matching journal articles that the user has permission to view 1918 * @throws SystemException if a system exception occurred 1919 */ 1920 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1921 long groupId, java.lang.String templateId, int start, int end, 1922 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1923 throws com.liferay.portal.kernel.exception.SystemException; 1924 1925 /** 1926 * 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 = ?. 1927 * 1928 * @param id the primary key of the current journal article 1929 * @param groupId the group ID 1930 * @param templateId the template ID 1931 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1932 * @return the previous, current, and next journal article 1933 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1934 * @throws SystemException if a system exception occurred 1935 */ 1936 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 1937 long id, long groupId, java.lang.String templateId, 1938 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1939 throws com.liferay.portal.kernel.exception.SystemException, 1940 com.liferay.portlet.journal.NoSuchArticleException; 1941 1942 /** 1943 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 1944 * 1945 * @param groupId the group ID 1946 * @param layoutUuid the layout uuid 1947 * @return the matching journal articles 1948 * @throws SystemException if a system exception occurred 1949 */ 1950 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 1951 long groupId, java.lang.String layoutUuid) 1952 throws com.liferay.portal.kernel.exception.SystemException; 1953 1954 /** 1955 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 1956 * 1957 * <p> 1958 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1959 * </p> 1960 * 1961 * @param groupId the group ID 1962 * @param layoutUuid the layout uuid 1963 * @param start the lower bound of the range of journal articles 1964 * @param end the upper bound of the range of journal articles (not inclusive) 1965 * @return the range of matching journal articles 1966 * @throws SystemException if a system exception occurred 1967 */ 1968 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 1969 long groupId, java.lang.String layoutUuid, int start, int end) 1970 throws com.liferay.portal.kernel.exception.SystemException; 1971 1972 /** 1973 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 1974 * 1975 * <p> 1976 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1977 * </p> 1978 * 1979 * @param groupId the group ID 1980 * @param layoutUuid the layout uuid 1981 * @param start the lower bound of the range of journal articles 1982 * @param end the upper bound of the range of journal articles (not inclusive) 1983 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1984 * @return the ordered range of matching journal articles 1985 * @throws SystemException if a system exception occurred 1986 */ 1987 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 1988 long groupId, java.lang.String layoutUuid, int start, int end, 1989 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1990 throws com.liferay.portal.kernel.exception.SystemException; 1991 1992 /** 1993 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 1994 * 1995 * @param groupId the group ID 1996 * @param layoutUuid the layout uuid 1997 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1998 * @return the first matching journal article 1999 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2000 * @throws SystemException if a system exception occurred 2001 */ 2002 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 2003 long groupId, java.lang.String layoutUuid, 2004 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2005 throws com.liferay.portal.kernel.exception.SystemException, 2006 com.liferay.portlet.journal.NoSuchArticleException; 2007 2008 /** 2009 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2010 * 2011 * @param groupId the group ID 2012 * @param layoutUuid the layout uuid 2013 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2014 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2015 * @throws SystemException if a system exception occurred 2016 */ 2017 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 2018 long groupId, java.lang.String layoutUuid, 2019 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2020 throws com.liferay.portal.kernel.exception.SystemException; 2021 2022 /** 2023 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2024 * 2025 * @param groupId the group ID 2026 * @param layoutUuid the layout uuid 2027 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2028 * @return the last matching journal article 2029 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2030 * @throws SystemException if a system exception occurred 2031 */ 2032 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 2033 long groupId, java.lang.String layoutUuid, 2034 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2035 throws com.liferay.portal.kernel.exception.SystemException, 2036 com.liferay.portlet.journal.NoSuchArticleException; 2037 2038 /** 2039 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2040 * 2041 * @param groupId the group ID 2042 * @param layoutUuid the layout uuid 2043 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2044 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2045 * @throws SystemException if a system exception occurred 2046 */ 2047 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 2048 long groupId, java.lang.String layoutUuid, 2049 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2050 throws com.liferay.portal.kernel.exception.SystemException; 2051 2052 /** 2053 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 2054 * 2055 * @param id the primary key of the current journal article 2056 * @param groupId the group ID 2057 * @param layoutUuid the layout uuid 2058 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2059 * @return the previous, current, and next journal article 2060 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2061 * @throws SystemException if a system exception occurred 2062 */ 2063 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 2064 long id, long groupId, java.lang.String layoutUuid, 2065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2066 throws com.liferay.portal.kernel.exception.SystemException, 2067 com.liferay.portlet.journal.NoSuchArticleException; 2068 2069 /** 2070 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2071 * 2072 * @param groupId the group ID 2073 * @param layoutUuid the layout uuid 2074 * @return the matching journal articles that the user has permission to view 2075 * @throws SystemException if a system exception occurred 2076 */ 2077 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 2078 long groupId, java.lang.String layoutUuid) 2079 throws com.liferay.portal.kernel.exception.SystemException; 2080 2081 /** 2082 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2083 * 2084 * <p> 2085 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2086 * </p> 2087 * 2088 * @param groupId the group ID 2089 * @param layoutUuid the layout uuid 2090 * @param start the lower bound of the range of journal articles 2091 * @param end the upper bound of the range of journal articles (not inclusive) 2092 * @return the range of matching journal articles that the user has permission to view 2093 * @throws SystemException if a system exception occurred 2094 */ 2095 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 2096 long groupId, java.lang.String layoutUuid, int start, int end) 2097 throws com.liferay.portal.kernel.exception.SystemException; 2098 2099 /** 2100 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 2101 * 2102 * <p> 2103 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2104 * </p> 2105 * 2106 * @param groupId the group ID 2107 * @param layoutUuid the layout uuid 2108 * @param start the lower bound of the range of journal articles 2109 * @param end the upper bound of the range of journal articles (not inclusive) 2110 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2111 * @return the ordered range of matching journal articles that the user has permission to view 2112 * @throws SystemException if a system exception occurred 2113 */ 2114 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 2115 long groupId, java.lang.String layoutUuid, int start, int end, 2116 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2117 throws com.liferay.portal.kernel.exception.SystemException; 2118 2119 /** 2120 * 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 = ?. 2121 * 2122 * @param id the primary key of the current journal article 2123 * @param groupId the group ID 2124 * @param layoutUuid the layout uuid 2125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2126 * @return the previous, current, and next journal article 2127 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2128 * @throws SystemException if a system exception occurred 2129 */ 2130 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 2131 long id, long groupId, java.lang.String layoutUuid, 2132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2133 throws com.liferay.portal.kernel.exception.SystemException, 2134 com.liferay.portlet.journal.NoSuchArticleException; 2135 2136 /** 2137 * Returns all the journal articles where groupId = ? and status = ?. 2138 * 2139 * @param groupId the group ID 2140 * @param status the status 2141 * @return the matching journal articles 2142 * @throws SystemException if a system exception occurred 2143 */ 2144 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 2145 long groupId, int status) 2146 throws com.liferay.portal.kernel.exception.SystemException; 2147 2148 /** 2149 * Returns a range of all the journal articles where groupId = ? and status = ?. 2150 * 2151 * <p> 2152 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2153 * </p> 2154 * 2155 * @param groupId the group ID 2156 * @param status the status 2157 * @param start the lower bound of the range of journal articles 2158 * @param end the upper bound of the range of journal articles (not inclusive) 2159 * @return the range of matching journal articles 2160 * @throws SystemException if a system exception occurred 2161 */ 2162 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 2163 long groupId, int status, int start, int end) 2164 throws com.liferay.portal.kernel.exception.SystemException; 2165 2166 /** 2167 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 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. 2171 * </p> 2172 * 2173 * @param groupId the group ID 2174 * @param status the status 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 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2178 * @return the ordered range of matching journal articles 2179 * @throws SystemException if a system exception occurred 2180 */ 2181 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 2182 long groupId, int status, int start, int end, 2183 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2184 throws com.liferay.portal.kernel.exception.SystemException; 2185 2186 /** 2187 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 2188 * 2189 * @param groupId the group ID 2190 * @param status the status 2191 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2192 * @return the first matching journal article 2193 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2194 * @throws SystemException if a system exception occurred 2195 */ 2196 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 2197 long groupId, int status, 2198 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2199 throws com.liferay.portal.kernel.exception.SystemException, 2200 com.liferay.portlet.journal.NoSuchArticleException; 2201 2202 /** 2203 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 2204 * 2205 * @param groupId the group ID 2206 * @param status the status 2207 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2208 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2209 * @throws SystemException if a system exception occurred 2210 */ 2211 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 2212 long groupId, int status, 2213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2214 throws com.liferay.portal.kernel.exception.SystemException; 2215 2216 /** 2217 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 2218 * 2219 * @param groupId the group ID 2220 * @param status the status 2221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2222 * @return the last matching journal article 2223 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2224 * @throws SystemException if a system exception occurred 2225 */ 2226 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 2227 long groupId, int status, 2228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2229 throws com.liferay.portal.kernel.exception.SystemException, 2230 com.liferay.portlet.journal.NoSuchArticleException; 2231 2232 /** 2233 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 2234 * 2235 * @param groupId the group ID 2236 * @param status the status 2237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2238 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2239 * @throws SystemException if a system exception occurred 2240 */ 2241 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 2242 long groupId, int status, 2243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2244 throws com.liferay.portal.kernel.exception.SystemException; 2245 2246 /** 2247 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 2248 * 2249 * @param id the primary key of the current journal article 2250 * @param groupId the group ID 2251 * @param status the status 2252 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2253 * @return the previous, current, and next journal article 2254 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2255 * @throws SystemException if a system exception occurred 2256 */ 2257 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 2258 long id, long groupId, int status, 2259 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2260 throws com.liferay.portal.kernel.exception.SystemException, 2261 com.liferay.portlet.journal.NoSuchArticleException; 2262 2263 /** 2264 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 2265 * 2266 * @param groupId the group ID 2267 * @param status the status 2268 * @return the matching journal articles that the user has permission to view 2269 * @throws SystemException if a system exception occurred 2270 */ 2271 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 2272 long groupId, int status) 2273 throws com.liferay.portal.kernel.exception.SystemException; 2274 2275 /** 2276 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 2277 * 2278 * <p> 2279 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2280 * </p> 2281 * 2282 * @param groupId the group ID 2283 * @param status the status 2284 * @param start the lower bound of the range of journal articles 2285 * @param end the upper bound of the range of journal articles (not inclusive) 2286 * @return the range of 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_ST( 2290 long groupId, int status, int start, int end) 2291 throws com.liferay.portal.kernel.exception.SystemException; 2292 2293 /** 2294 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 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. 2298 * </p> 2299 * 2300 * @param groupId the group ID 2301 * @param status the status 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 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2305 * @return the ordered range of matching journal articles that the user has permission to view 2306 * @throws SystemException if a system exception occurred 2307 */ 2308 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 2309 long groupId, int status, int start, int end, 2310 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2311 throws com.liferay.portal.kernel.exception.SystemException; 2312 2313 /** 2314 * 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 = ?. 2315 * 2316 * @param id the primary key of the current journal article 2317 * @param groupId the group ID 2318 * @param status the status 2319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2320 * @return the previous, current, and next journal article 2321 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2322 * @throws SystemException if a system exception occurred 2323 */ 2324 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 2325 long id, long groupId, int status, 2326 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2327 throws com.liferay.portal.kernel.exception.SystemException, 2328 com.liferay.portlet.journal.NoSuchArticleException; 2329 2330 /** 2331 * Returns all the journal articles where companyId = ? and version = ?. 2332 * 2333 * @param companyId the company ID 2334 * @param version the version 2335 * @return the matching journal articles 2336 * @throws SystemException if a system exception occurred 2337 */ 2338 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 2339 long companyId, double version) 2340 throws com.liferay.portal.kernel.exception.SystemException; 2341 2342 /** 2343 * Returns a range of all the journal articles where companyId = ? and version = ?. 2344 * 2345 * <p> 2346 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2347 * </p> 2348 * 2349 * @param companyId the company ID 2350 * @param version the version 2351 * @param start the lower bound of the range of journal articles 2352 * @param end the upper bound of the range of journal articles (not inclusive) 2353 * @return the range of matching journal articles 2354 * @throws SystemException if a system exception occurred 2355 */ 2356 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 2357 long companyId, double version, int start, int end) 2358 throws com.liferay.portal.kernel.exception.SystemException; 2359 2360 /** 2361 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 2362 * 2363 * <p> 2364 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2365 * </p> 2366 * 2367 * @param companyId the company ID 2368 * @param version the version 2369 * @param start the lower bound of the range of journal articles 2370 * @param end the upper bound of the range of journal articles (not inclusive) 2371 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2372 * @return the ordered range of matching journal articles 2373 * @throws SystemException if a system exception occurred 2374 */ 2375 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 2376 long companyId, double version, int start, int end, 2377 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2378 throws com.liferay.portal.kernel.exception.SystemException; 2379 2380 /** 2381 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 2382 * 2383 * @param companyId the company ID 2384 * @param version the version 2385 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2386 * @return the first matching journal article 2387 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2388 * @throws SystemException if a system exception occurred 2389 */ 2390 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 2391 long companyId, double version, 2392 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2393 throws com.liferay.portal.kernel.exception.SystemException, 2394 com.liferay.portlet.journal.NoSuchArticleException; 2395 2396 /** 2397 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 2398 * 2399 * @param companyId the company ID 2400 * @param version the version 2401 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2402 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2403 * @throws SystemException if a system exception occurred 2404 */ 2405 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 2406 long companyId, double version, 2407 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2408 throws com.liferay.portal.kernel.exception.SystemException; 2409 2410 /** 2411 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 2412 * 2413 * @param companyId the company ID 2414 * @param version the version 2415 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2416 * @return the last matching journal article 2417 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2418 * @throws SystemException if a system exception occurred 2419 */ 2420 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 2421 long companyId, double version, 2422 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2423 throws com.liferay.portal.kernel.exception.SystemException, 2424 com.liferay.portlet.journal.NoSuchArticleException; 2425 2426 /** 2427 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 2428 * 2429 * @param companyId the company ID 2430 * @param version the version 2431 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2432 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2433 * @throws SystemException if a system exception occurred 2434 */ 2435 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 2436 long companyId, double version, 2437 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2438 throws com.liferay.portal.kernel.exception.SystemException; 2439 2440 /** 2441 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 2442 * 2443 * @param id the primary key of the current journal article 2444 * @param companyId the company ID 2445 * @param version the version 2446 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2447 * @return the previous, current, and next journal article 2448 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2449 * @throws SystemException if a system exception occurred 2450 */ 2451 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 2452 long id, long companyId, double version, 2453 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2454 throws com.liferay.portal.kernel.exception.SystemException, 2455 com.liferay.portlet.journal.NoSuchArticleException; 2456 2457 /** 2458 * Returns all the journal articles where companyId = ? and status = ?. 2459 * 2460 * @param companyId the company ID 2461 * @param status the status 2462 * @return the matching journal articles 2463 * @throws SystemException if a system exception occurred 2464 */ 2465 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 2466 long companyId, int status) 2467 throws com.liferay.portal.kernel.exception.SystemException; 2468 2469 /** 2470 * Returns a range of all the journal articles where companyId = ? and status = ?. 2471 * 2472 * <p> 2473 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2474 * </p> 2475 * 2476 * @param companyId the company ID 2477 * @param status the status 2478 * @param start the lower bound of the range of journal articles 2479 * @param end the upper bound of the range of journal articles (not inclusive) 2480 * @return the range of matching journal articles 2481 * @throws SystemException if a system exception occurred 2482 */ 2483 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 2484 long companyId, int status, int start, int end) 2485 throws com.liferay.portal.kernel.exception.SystemException; 2486 2487 /** 2488 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 2489 * 2490 * <p> 2491 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2492 * </p> 2493 * 2494 * @param companyId the company ID 2495 * @param status the status 2496 * @param start the lower bound of the range of journal articles 2497 * @param end the upper bound of the range of journal articles (not inclusive) 2498 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2499 * @return the ordered range of matching journal articles 2500 * @throws SystemException if a system exception occurred 2501 */ 2502 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 2503 long companyId, int status, int start, int end, 2504 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2505 throws com.liferay.portal.kernel.exception.SystemException; 2506 2507 /** 2508 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 2509 * 2510 * @param companyId the company ID 2511 * @param status the status 2512 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2513 * @return the first matching journal article 2514 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2515 * @throws SystemException if a system exception occurred 2516 */ 2517 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 2518 long companyId, int status, 2519 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2520 throws com.liferay.portal.kernel.exception.SystemException, 2521 com.liferay.portlet.journal.NoSuchArticleException; 2522 2523 /** 2524 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 2525 * 2526 * @param companyId the company ID 2527 * @param status the status 2528 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2529 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2530 * @throws SystemException if a system exception occurred 2531 */ 2532 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 2533 long companyId, int status, 2534 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2535 throws com.liferay.portal.kernel.exception.SystemException; 2536 2537 /** 2538 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 2539 * 2540 * @param companyId the company ID 2541 * @param status the status 2542 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2543 * @return the last matching journal article 2544 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2545 * @throws SystemException if a system exception occurred 2546 */ 2547 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 2548 long companyId, int status, 2549 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2550 throws com.liferay.portal.kernel.exception.SystemException, 2551 com.liferay.portlet.journal.NoSuchArticleException; 2552 2553 /** 2554 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 2555 * 2556 * @param companyId the company ID 2557 * @param status the status 2558 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2559 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2560 * @throws SystemException if a system exception occurred 2561 */ 2562 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 2563 long companyId, int status, 2564 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2565 throws com.liferay.portal.kernel.exception.SystemException; 2566 2567 /** 2568 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 2569 * 2570 * @param id the primary key of the current journal article 2571 * @param companyId the company ID 2572 * @param status the status 2573 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2574 * @return the previous, current, and next journal article 2575 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2576 * @throws SystemException if a system exception occurred 2577 */ 2578 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 2579 long id, long companyId, int status, 2580 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2581 throws com.liferay.portal.kernel.exception.SystemException, 2582 com.liferay.portlet.journal.NoSuchArticleException; 2583 2584 /** 2585 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 2586 * 2587 * @param groupId the group ID 2588 * @param classNameId the class name ID 2589 * @param classPK the class p k 2590 * @return the matching journal articles 2591 * @throws SystemException if a system exception occurred 2592 */ 2593 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 2594 long groupId, long classNameId, long classPK) 2595 throws com.liferay.portal.kernel.exception.SystemException; 2596 2597 /** 2598 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 2599 * 2600 * <p> 2601 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2602 * </p> 2603 * 2604 * @param groupId the group ID 2605 * @param classNameId the class name ID 2606 * @param classPK the class p k 2607 * @param start the lower bound of the range of journal articles 2608 * @param end the upper bound of the range of journal articles (not inclusive) 2609 * @return the range of matching journal articles 2610 * @throws SystemException if a system exception occurred 2611 */ 2612 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 2613 long groupId, long classNameId, long classPK, int start, int end) 2614 throws com.liferay.portal.kernel.exception.SystemException; 2615 2616 /** 2617 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 2618 * 2619 * <p> 2620 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2621 * </p> 2622 * 2623 * @param groupId the group ID 2624 * @param classNameId the class name ID 2625 * @param classPK the class p k 2626 * @param start the lower bound of the range of journal articles 2627 * @param end the upper bound of the range of journal articles (not inclusive) 2628 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2629 * @return the ordered 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_C_C( 2633 long groupId, long classNameId, long classPK, int start, int end, 2634 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2635 throws com.liferay.portal.kernel.exception.SystemException; 2636 2637 /** 2638 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2639 * 2640 * @param groupId the group ID 2641 * @param classNameId the class name ID 2642 * @param classPK the class p k 2643 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2644 * @return the first matching journal article 2645 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2646 * @throws SystemException if a system exception occurred 2647 */ 2648 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 2649 long groupId, long classNameId, long classPK, 2650 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2651 throws com.liferay.portal.kernel.exception.SystemException, 2652 com.liferay.portlet.journal.NoSuchArticleException; 2653 2654 /** 2655 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2656 * 2657 * @param groupId the group ID 2658 * @param classNameId the class name ID 2659 * @param classPK the class p k 2660 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2661 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2662 * @throws SystemException if a system exception occurred 2663 */ 2664 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 2665 long groupId, long classNameId, long classPK, 2666 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2667 throws com.liferay.portal.kernel.exception.SystemException; 2668 2669 /** 2670 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2671 * 2672 * @param groupId the group ID 2673 * @param classNameId the class name ID 2674 * @param classPK the class p k 2675 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2676 * @return the last matching journal article 2677 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2678 * @throws SystemException if a system exception occurred 2679 */ 2680 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 2681 long groupId, long classNameId, long classPK, 2682 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2683 throws com.liferay.portal.kernel.exception.SystemException, 2684 com.liferay.portlet.journal.NoSuchArticleException; 2685 2686 /** 2687 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2688 * 2689 * @param groupId the group ID 2690 * @param classNameId the class name ID 2691 * @param classPK the class p k 2692 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2693 * @return the last matching journal article, or <code>null</code> 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 fetchByG_C_C_Last( 2697 long groupId, long classNameId, long classPK, 2698 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2699 throws com.liferay.portal.kernel.exception.SystemException; 2700 2701 /** 2702 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 2703 * 2704 * @param id the primary key of the current journal article 2705 * @param groupId the group ID 2706 * @param classNameId the class name ID 2707 * @param classPK the class p k 2708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2709 * @return the previous, current, and next journal article 2710 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2711 * @throws SystemException if a system exception occurred 2712 */ 2713 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 2714 long id, long groupId, long classNameId, long classPK, 2715 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2716 throws com.liferay.portal.kernel.exception.SystemException, 2717 com.liferay.portlet.journal.NoSuchArticleException; 2718 2719 /** 2720 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 2721 * 2722 * @param groupId the group ID 2723 * @param classNameId the class name ID 2724 * @param classPK the class p k 2725 * @return the matching journal articles that the user has permission to view 2726 * @throws SystemException if a system exception occurred 2727 */ 2728 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 2729 long groupId, long classNameId, long classPK) 2730 throws com.liferay.portal.kernel.exception.SystemException; 2731 2732 /** 2733 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 2734 * 2735 * <p> 2736 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2737 * </p> 2738 * 2739 * @param groupId the group ID 2740 * @param classNameId the class name ID 2741 * @param classPK the class p k 2742 * @param start the lower bound of the range of journal articles 2743 * @param end the upper bound of the range of journal articles (not inclusive) 2744 * @return the range of matching journal articles that the user has permission to view 2745 * @throws SystemException if a system exception occurred 2746 */ 2747 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 2748 long groupId, long classNameId, long classPK, int start, int end) 2749 throws com.liferay.portal.kernel.exception.SystemException; 2750 2751 /** 2752 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 2753 * 2754 * <p> 2755 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2756 * </p> 2757 * 2758 * @param groupId the group ID 2759 * @param classNameId the class name ID 2760 * @param classPK the class p k 2761 * @param start the lower bound of the range of journal articles 2762 * @param end the upper bound of the range of journal articles (not inclusive) 2763 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2764 * @return the ordered range of matching journal articles that the user has permission to view 2765 * @throws SystemException if a system exception occurred 2766 */ 2767 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 2768 long groupId, long classNameId, long classPK, int start, int end, 2769 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2770 throws com.liferay.portal.kernel.exception.SystemException; 2771 2772 /** 2773 * 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 = ?. 2774 * 2775 * @param id the primary key of the current journal article 2776 * @param groupId the group ID 2777 * @param classNameId the class name ID 2778 * @param classPK the class p k 2779 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2780 * @return the previous, current, and next journal article 2781 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2782 * @throws SystemException if a system exception occurred 2783 */ 2784 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 2785 long id, long groupId, long classNameId, long classPK, 2786 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2787 throws com.liferay.portal.kernel.exception.SystemException, 2788 com.liferay.portlet.journal.NoSuchArticleException; 2789 2790 /** 2791 * 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. 2792 * 2793 * @param groupId the group ID 2794 * @param classNameId the class name ID 2795 * @param structureId the structure ID 2796 * @return the matching journal article 2797 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2798 * @throws SystemException if a system exception occurred 2799 */ 2800 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 2801 long groupId, long classNameId, java.lang.String structureId) 2802 throws com.liferay.portal.kernel.exception.SystemException, 2803 com.liferay.portlet.journal.NoSuchArticleException; 2804 2805 /** 2806 * 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. 2807 * 2808 * @param groupId the group ID 2809 * @param classNameId the class name ID 2810 * @param structureId the structure ID 2811 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2812 * @throws SystemException if a system exception occurred 2813 */ 2814 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 2815 long groupId, long classNameId, java.lang.String structureId) 2816 throws com.liferay.portal.kernel.exception.SystemException; 2817 2818 /** 2819 * 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. 2820 * 2821 * @param groupId the group ID 2822 * @param classNameId the class name ID 2823 * @param structureId the structure ID 2824 * @param retrieveFromCache whether to use the finder cache 2825 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2826 * @throws SystemException if a system exception occurred 2827 */ 2828 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 2829 long groupId, long classNameId, java.lang.String structureId, 2830 boolean retrieveFromCache) 2831 throws com.liferay.portal.kernel.exception.SystemException; 2832 2833 /** 2834 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 2835 * 2836 * @param groupId the group ID 2837 * @param classNameId the class name ID 2838 * @param templateId the template ID 2839 * @return the matching journal articles 2840 * @throws SystemException if a system exception occurred 2841 */ 2842 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 2843 long groupId, long classNameId, java.lang.String templateId) 2844 throws com.liferay.portal.kernel.exception.SystemException; 2845 2846 /** 2847 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 2848 * 2849 * <p> 2850 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2851 * </p> 2852 * 2853 * @param groupId the group ID 2854 * @param classNameId the class name ID 2855 * @param templateId the template ID 2856 * @param start the lower bound of the range of journal articles 2857 * @param end the upper bound of the range of journal articles (not inclusive) 2858 * @return the range of matching journal articles 2859 * @throws SystemException if a system exception occurred 2860 */ 2861 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 2862 long groupId, long classNameId, java.lang.String templateId, int start, 2863 int end) throws com.liferay.portal.kernel.exception.SystemException; 2864 2865 /** 2866 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 2867 * 2868 * <p> 2869 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2870 * </p> 2871 * 2872 * @param groupId the group ID 2873 * @param classNameId the class name ID 2874 * @param templateId the template ID 2875 * @param start the lower bound of the range of journal articles 2876 * @param end the upper bound of the range of journal articles (not inclusive) 2877 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2878 * @return the ordered range of matching journal articles 2879 * @throws SystemException if a system exception occurred 2880 */ 2881 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 2882 long groupId, long classNameId, java.lang.String templateId, int start, 2883 int end, 2884 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2885 throws com.liferay.portal.kernel.exception.SystemException; 2886 2887 /** 2888 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2889 * 2890 * @param groupId the group ID 2891 * @param classNameId the class name ID 2892 * @param templateId the template ID 2893 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2894 * @return the first matching journal article 2895 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2896 * @throws SystemException if a system exception occurred 2897 */ 2898 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 2899 long groupId, long classNameId, java.lang.String templateId, 2900 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2901 throws com.liferay.portal.kernel.exception.SystemException, 2902 com.liferay.portlet.journal.NoSuchArticleException; 2903 2904 /** 2905 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2906 * 2907 * @param groupId the group ID 2908 * @param classNameId the class name ID 2909 * @param templateId the template ID 2910 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2911 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2912 * @throws SystemException if a system exception occurred 2913 */ 2914 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 2915 long groupId, long classNameId, java.lang.String templateId, 2916 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2917 throws com.liferay.portal.kernel.exception.SystemException; 2918 2919 /** 2920 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2921 * 2922 * @param groupId the group ID 2923 * @param classNameId the class name ID 2924 * @param templateId the template ID 2925 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2926 * @return the last matching journal article 2927 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2928 * @throws SystemException if a system exception occurred 2929 */ 2930 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 2931 long groupId, long classNameId, java.lang.String templateId, 2932 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2933 throws com.liferay.portal.kernel.exception.SystemException, 2934 com.liferay.portlet.journal.NoSuchArticleException; 2935 2936 /** 2937 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2938 * 2939 * @param groupId the group ID 2940 * @param classNameId the class name ID 2941 * @param templateId the template ID 2942 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2943 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2944 * @throws SystemException if a system exception occurred 2945 */ 2946 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 2947 long groupId, long classNameId, java.lang.String templateId, 2948 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2949 throws com.liferay.portal.kernel.exception.SystemException; 2950 2951 /** 2952 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 2953 * 2954 * @param id the primary key of the current journal article 2955 * @param groupId the group ID 2956 * @param classNameId the class name ID 2957 * @param templateId the template ID 2958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2959 * @return the previous, current, and next journal article 2960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2961 * @throws SystemException if a system exception occurred 2962 */ 2963 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 2964 long id, long groupId, long classNameId, java.lang.String templateId, 2965 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2966 throws com.liferay.portal.kernel.exception.SystemException, 2967 com.liferay.portlet.journal.NoSuchArticleException; 2968 2969 /** 2970 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 2971 * 2972 * @param groupId the group ID 2973 * @param classNameId the class name ID 2974 * @param templateId the template ID 2975 * @return the matching journal articles that the user has permission to view 2976 * @throws SystemException if a system exception occurred 2977 */ 2978 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 2979 long groupId, long classNameId, java.lang.String templateId) 2980 throws com.liferay.portal.kernel.exception.SystemException; 2981 2982 /** 2983 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 2984 * 2985 * <p> 2986 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2987 * </p> 2988 * 2989 * @param groupId the group ID 2990 * @param classNameId the class name ID 2991 * @param templateId the template ID 2992 * @param start the lower bound of the range of journal articles 2993 * @param end the upper bound of the range of journal articles (not inclusive) 2994 * @return the range of matching journal articles that the user has permission to view 2995 * @throws SystemException if a system exception occurred 2996 */ 2997 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 2998 long groupId, long classNameId, java.lang.String templateId, int start, 2999 int end) throws com.liferay.portal.kernel.exception.SystemException; 3000 3001 /** 3002 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 3003 * 3004 * <p> 3005 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3006 * </p> 3007 * 3008 * @param groupId the group ID 3009 * @param classNameId the class name ID 3010 * @param templateId the template ID 3011 * @param start the lower bound of the range of journal articles 3012 * @param end the upper bound of the range of journal articles (not inclusive) 3013 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3014 * @return the ordered range of matching journal articles that the user has permission to view 3015 * @throws SystemException if a system exception occurred 3016 */ 3017 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 3018 long groupId, long classNameId, java.lang.String templateId, int start, 3019 int end, 3020 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3021 throws com.liferay.portal.kernel.exception.SystemException; 3022 3023 /** 3024 * 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 = ?. 3025 * 3026 * @param id the primary key of the current journal article 3027 * @param groupId the group ID 3028 * @param classNameId the class name ID 3029 * @param templateId the template ID 3030 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3031 * @return the previous, current, and next journal article 3032 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3033 * @throws SystemException if a system exception occurred 3034 */ 3035 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 3036 long id, long groupId, long classNameId, java.lang.String templateId, 3037 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3038 throws com.liferay.portal.kernel.exception.SystemException, 3039 com.liferay.portlet.journal.NoSuchArticleException; 3040 3041 /** 3042 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 3043 * 3044 * @param groupId the group ID 3045 * @param classNameId the class name ID 3046 * @param layoutUuid the layout uuid 3047 * @return the matching journal articles 3048 * @throws SystemException if a system exception occurred 3049 */ 3050 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 3051 long groupId, long classNameId, java.lang.String layoutUuid) 3052 throws com.liferay.portal.kernel.exception.SystemException; 3053 3054 /** 3055 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 3056 * 3057 * <p> 3058 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3059 * </p> 3060 * 3061 * @param groupId the group ID 3062 * @param classNameId the class name ID 3063 * @param layoutUuid the layout uuid 3064 * @param start the lower bound of the range of journal articles 3065 * @param end the upper bound of the range of journal articles (not inclusive) 3066 * @return the range of matching journal articles 3067 * @throws SystemException if a system exception occurred 3068 */ 3069 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 3070 long groupId, long classNameId, java.lang.String layoutUuid, int start, 3071 int end) throws com.liferay.portal.kernel.exception.SystemException; 3072 3073 /** 3074 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 3075 * 3076 * <p> 3077 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3078 * </p> 3079 * 3080 * @param groupId the group ID 3081 * @param classNameId the class name ID 3082 * @param layoutUuid the layout uuid 3083 * @param start the lower bound of the range of journal articles 3084 * @param end the upper bound of the range of journal articles (not inclusive) 3085 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3086 * @return the ordered range of matching journal articles 3087 * @throws SystemException if a system exception occurred 3088 */ 3089 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 3090 long groupId, long classNameId, java.lang.String layoutUuid, int start, 3091 int end, 3092 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3093 throws com.liferay.portal.kernel.exception.SystemException; 3094 3095 /** 3096 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 3097 * 3098 * @param groupId the group ID 3099 * @param classNameId the class name ID 3100 * @param layoutUuid the layout uuid 3101 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3102 * @return the first matching journal article 3103 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3104 * @throws SystemException if a system exception occurred 3105 */ 3106 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 3107 long groupId, long classNameId, java.lang.String layoutUuid, 3108 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3109 throws com.liferay.portal.kernel.exception.SystemException, 3110 com.liferay.portlet.journal.NoSuchArticleException; 3111 3112 /** 3113 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 3114 * 3115 * @param groupId the group ID 3116 * @param classNameId the class name ID 3117 * @param layoutUuid the layout uuid 3118 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3119 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3120 * @throws SystemException if a system exception occurred 3121 */ 3122 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 3123 long groupId, long classNameId, java.lang.String layoutUuid, 3124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3125 throws com.liferay.portal.kernel.exception.SystemException; 3126 3127 /** 3128 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 3129 * 3130 * @param groupId the group ID 3131 * @param classNameId the class name ID 3132 * @param layoutUuid the layout uuid 3133 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3134 * @return the last matching journal article 3135 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3136 * @throws SystemException if a system exception occurred 3137 */ 3138 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 3139 long groupId, long classNameId, java.lang.String layoutUuid, 3140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3141 throws com.liferay.portal.kernel.exception.SystemException, 3142 com.liferay.portlet.journal.NoSuchArticleException; 3143 3144 /** 3145 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 3146 * 3147 * @param groupId the group ID 3148 * @param classNameId the class name ID 3149 * @param layoutUuid the layout uuid 3150 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3151 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3152 * @throws SystemException if a system exception occurred 3153 */ 3154 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 3155 long groupId, long classNameId, java.lang.String layoutUuid, 3156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3157 throws com.liferay.portal.kernel.exception.SystemException; 3158 3159 /** 3160 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 3161 * 3162 * @param id the primary key of the current journal article 3163 * @param groupId the group ID 3164 * @param classNameId the class name ID 3165 * @param layoutUuid the layout uuid 3166 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3167 * @return the previous, current, and next journal article 3168 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3169 * @throws SystemException if a system exception occurred 3170 */ 3171 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 3172 long id, long groupId, long classNameId, java.lang.String layoutUuid, 3173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3174 throws com.liferay.portal.kernel.exception.SystemException, 3175 com.liferay.portlet.journal.NoSuchArticleException; 3176 3177 /** 3178 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 3179 * 3180 * @param groupId the group ID 3181 * @param classNameId the class name ID 3182 * @param layoutUuid the layout uuid 3183 * @return the matching journal articles that the user has permission to view 3184 * @throws SystemException if a system exception occurred 3185 */ 3186 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 3187 long groupId, long classNameId, java.lang.String layoutUuid) 3188 throws com.liferay.portal.kernel.exception.SystemException; 3189 3190 /** 3191 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 3192 * 3193 * <p> 3194 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3195 * </p> 3196 * 3197 * @param groupId the group ID 3198 * @param classNameId the class name ID 3199 * @param layoutUuid the layout uuid 3200 * @param start the lower bound of the range of journal articles 3201 * @param end the upper bound of the range of journal articles (not inclusive) 3202 * @return the range of matching journal articles that the user has permission to view 3203 * @throws SystemException if a system exception occurred 3204 */ 3205 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 3206 long groupId, long classNameId, java.lang.String layoutUuid, int start, 3207 int end) throws com.liferay.portal.kernel.exception.SystemException; 3208 3209 /** 3210 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 3211 * 3212 * <p> 3213 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3214 * </p> 3215 * 3216 * @param groupId the group ID 3217 * @param classNameId the class name ID 3218 * @param layoutUuid the layout uuid 3219 * @param start the lower bound of the range of journal articles 3220 * @param end the upper bound of the range of journal articles (not inclusive) 3221 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3222 * @return the ordered range of matching journal articles that the user has permission to view 3223 * @throws SystemException if a system exception occurred 3224 */ 3225 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 3226 long groupId, long classNameId, java.lang.String layoutUuid, int start, 3227 int end, 3228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3229 throws com.liferay.portal.kernel.exception.SystemException; 3230 3231 /** 3232 * 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 = ?. 3233 * 3234 * @param id the primary key of the current journal article 3235 * @param groupId the group ID 3236 * @param classNameId the class name ID 3237 * @param layoutUuid the layout uuid 3238 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3239 * @return the previous, current, and next journal article 3240 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3241 * @throws SystemException if a system exception occurred 3242 */ 3243 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 3244 long id, long groupId, long classNameId, java.lang.String layoutUuid, 3245 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3246 throws com.liferay.portal.kernel.exception.SystemException, 3247 com.liferay.portlet.journal.NoSuchArticleException; 3248 3249 /** 3250 * 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. 3251 * 3252 * @param groupId the group ID 3253 * @param articleId the article ID 3254 * @param version the version 3255 * @return the matching journal article 3256 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3257 * @throws SystemException if a system exception occurred 3258 */ 3259 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 3260 long groupId, java.lang.String articleId, double version) 3261 throws com.liferay.portal.kernel.exception.SystemException, 3262 com.liferay.portlet.journal.NoSuchArticleException; 3263 3264 /** 3265 * 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. 3266 * 3267 * @param groupId the group ID 3268 * @param articleId the article ID 3269 * @param version the version 3270 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 3271 * @throws SystemException if a system exception occurred 3272 */ 3273 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 3274 long groupId, java.lang.String articleId, double version) 3275 throws com.liferay.portal.kernel.exception.SystemException; 3276 3277 /** 3278 * 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. 3279 * 3280 * @param groupId the group ID 3281 * @param articleId the article ID 3282 * @param version the version 3283 * @param retrieveFromCache whether to use the finder cache 3284 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 3285 * @throws SystemException if a system exception occurred 3286 */ 3287 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 3288 long groupId, java.lang.String articleId, double version, 3289 boolean retrieveFromCache) 3290 throws com.liferay.portal.kernel.exception.SystemException; 3291 3292 /** 3293 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 3294 * 3295 * @param groupId the group ID 3296 * @param articleId the article ID 3297 * @param status the status 3298 * @return the matching journal articles 3299 * @throws SystemException if a system exception occurred 3300 */ 3301 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3302 long groupId, java.lang.String articleId, int status) 3303 throws com.liferay.portal.kernel.exception.SystemException; 3304 3305 /** 3306 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 3307 * 3308 * <p> 3309 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3310 * </p> 3311 * 3312 * @param groupId the group ID 3313 * @param articleId the article ID 3314 * @param status the status 3315 * @param start the lower bound of the range of journal articles 3316 * @param end the upper bound of the range of journal articles (not inclusive) 3317 * @return the range of matching journal articles 3318 * @throws SystemException if a system exception occurred 3319 */ 3320 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3321 long groupId, java.lang.String articleId, int status, int start, int end) 3322 throws com.liferay.portal.kernel.exception.SystemException; 3323 3324 /** 3325 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 3326 * 3327 * <p> 3328 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3329 * </p> 3330 * 3331 * @param groupId the group ID 3332 * @param articleId the article ID 3333 * @param status the status 3334 * @param start the lower bound of the range of journal articles 3335 * @param end the upper bound of the range of journal articles (not inclusive) 3336 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3337 * @return the ordered range of matching journal articles 3338 * @throws SystemException if a system exception occurred 3339 */ 3340 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3341 long groupId, java.lang.String articleId, int status, int start, 3342 int end, 3343 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3344 throws com.liferay.portal.kernel.exception.SystemException; 3345 3346 /** 3347 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3348 * 3349 * @param groupId the group ID 3350 * @param articleId the article ID 3351 * @param status the status 3352 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3353 * @return the first matching journal article 3354 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3355 * @throws SystemException if a system exception occurred 3356 */ 3357 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 3358 long groupId, java.lang.String articleId, int status, 3359 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3360 throws com.liferay.portal.kernel.exception.SystemException, 3361 com.liferay.portlet.journal.NoSuchArticleException; 3362 3363 /** 3364 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3365 * 3366 * @param groupId the group ID 3367 * @param articleId the article ID 3368 * @param status the status 3369 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3370 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3371 * @throws SystemException if a system exception occurred 3372 */ 3373 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 3374 long groupId, java.lang.String articleId, int status, 3375 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3376 throws com.liferay.portal.kernel.exception.SystemException; 3377 3378 /** 3379 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3380 * 3381 * @param groupId the group ID 3382 * @param articleId the article ID 3383 * @param status the status 3384 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3385 * @return the last matching journal article 3386 * @throws com.liferay.portlet.journal.NoSuchArticleException 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 findByG_A_ST_Last( 3390 long groupId, java.lang.String articleId, int status, 3391 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3392 throws com.liferay.portal.kernel.exception.SystemException, 3393 com.liferay.portlet.journal.NoSuchArticleException; 3394 3395 /** 3396 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3397 * 3398 * @param groupId the group ID 3399 * @param articleId the article ID 3400 * @param status the status 3401 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3402 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3403 * @throws SystemException if a system exception occurred 3404 */ 3405 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 3406 long groupId, java.lang.String articleId, int status, 3407 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3408 throws com.liferay.portal.kernel.exception.SystemException; 3409 3410 /** 3411 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 3412 * 3413 * @param id the primary key of the current journal article 3414 * @param groupId the group ID 3415 * @param articleId the article ID 3416 * @param status the status 3417 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3418 * @return the previous, current, and next journal article 3419 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3420 * @throws SystemException if a system exception occurred 3421 */ 3422 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 3423 long id, long groupId, java.lang.String articleId, int status, 3424 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3425 throws com.liferay.portal.kernel.exception.SystemException, 3426 com.liferay.portlet.journal.NoSuchArticleException; 3427 3428 /** 3429 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 3430 * 3431 * <p> 3432 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3433 * </p> 3434 * 3435 * @param groupId the group ID 3436 * @param articleId the article ID 3437 * @param statuses the statuses 3438 * @return the matching journal articles 3439 * @throws SystemException if a system exception occurred 3440 */ 3441 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3442 long groupId, java.lang.String articleId, int[] statuses) 3443 throws com.liferay.portal.kernel.exception.SystemException; 3444 3445 /** 3446 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 3447 * 3448 * <p> 3449 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3450 * </p> 3451 * 3452 * @param groupId the group ID 3453 * @param articleId the article ID 3454 * @param statuses the statuses 3455 * @param start the lower bound of the range of journal articles 3456 * @param end the upper bound of the range of journal articles (not inclusive) 3457 * @return the range of matching journal articles 3458 * @throws SystemException if a system exception occurred 3459 */ 3460 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3461 long groupId, java.lang.String articleId, int[] statuses, int start, 3462 int end) throws com.liferay.portal.kernel.exception.SystemException; 3463 3464 /** 3465 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 3466 * 3467 * <p> 3468 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3469 * </p> 3470 * 3471 * @param groupId the group ID 3472 * @param articleId the article ID 3473 * @param statuses the statuses 3474 * @param start the lower bound of the range of journal articles 3475 * @param end the upper bound of the range of journal articles (not inclusive) 3476 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3477 * @return the ordered range of matching journal articles 3478 * @throws SystemException if a system exception occurred 3479 */ 3480 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 3481 long groupId, java.lang.String articleId, int[] statuses, int start, 3482 int end, 3483 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3484 throws com.liferay.portal.kernel.exception.SystemException; 3485 3486 /** 3487 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 3488 * 3489 * @param groupId the group ID 3490 * @param articleId the article ID 3491 * @param status the status 3492 * @return the matching journal articles that the user has permission to view 3493 * @throws SystemException if a system exception occurred 3494 */ 3495 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3496 long groupId, java.lang.String articleId, int status) 3497 throws com.liferay.portal.kernel.exception.SystemException; 3498 3499 /** 3500 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 3501 * 3502 * <p> 3503 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3504 * </p> 3505 * 3506 * @param groupId the group ID 3507 * @param articleId the article ID 3508 * @param status the status 3509 * @param start the lower bound of the range of journal articles 3510 * @param end the upper bound of the range of journal articles (not inclusive) 3511 * @return the range of matching journal articles that the user has permission to view 3512 * @throws SystemException if a system exception occurred 3513 */ 3514 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3515 long groupId, java.lang.String articleId, int status, int start, int end) 3516 throws com.liferay.portal.kernel.exception.SystemException; 3517 3518 /** 3519 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 3520 * 3521 * <p> 3522 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3523 * </p> 3524 * 3525 * @param groupId the group ID 3526 * @param articleId the article ID 3527 * @param status the status 3528 * @param start the lower bound of the range of journal articles 3529 * @param end the upper bound of the range of journal articles (not inclusive) 3530 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3531 * @return the ordered range of matching journal articles that the user has permission to view 3532 * @throws SystemException if a system exception occurred 3533 */ 3534 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3535 long groupId, java.lang.String articleId, int status, int start, 3536 int end, 3537 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3538 throws com.liferay.portal.kernel.exception.SystemException; 3539 3540 /** 3541 * 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 = ?. 3542 * 3543 * @param id the primary key of the current journal article 3544 * @param groupId the group ID 3545 * @param articleId the article ID 3546 * @param status the status 3547 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3548 * @return the previous, current, and next journal article 3549 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3550 * @throws SystemException if a system exception occurred 3551 */ 3552 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 3553 long id, long groupId, java.lang.String articleId, int status, 3554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3555 throws com.liferay.portal.kernel.exception.SystemException, 3556 com.liferay.portlet.journal.NoSuchArticleException; 3557 3558 /** 3559 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 3560 * 3561 * @param groupId the group ID 3562 * @param articleId the article ID 3563 * @param statuses the statuses 3564 * @return the matching journal articles that the user has permission to view 3565 * @throws SystemException if a system exception occurred 3566 */ 3567 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3568 long groupId, java.lang.String articleId, int[] statuses) 3569 throws com.liferay.portal.kernel.exception.SystemException; 3570 3571 /** 3572 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 3573 * 3574 * <p> 3575 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3576 * </p> 3577 * 3578 * @param groupId the group ID 3579 * @param articleId the article ID 3580 * @param statuses the statuses 3581 * @param start the lower bound of the range of journal articles 3582 * @param end the upper bound of the range of journal articles (not inclusive) 3583 * @return the range of matching journal articles that the user has permission to view 3584 * @throws SystemException if a system exception occurred 3585 */ 3586 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3587 long groupId, java.lang.String articleId, int[] statuses, int start, 3588 int end) throws com.liferay.portal.kernel.exception.SystemException; 3589 3590 /** 3591 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 3592 * 3593 * <p> 3594 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3595 * </p> 3596 * 3597 * @param groupId the group ID 3598 * @param articleId the article ID 3599 * @param statuses the statuses 3600 * @param start the lower bound of the range of journal articles 3601 * @param end the upper bound of the range of journal articles (not inclusive) 3602 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3603 * @return the ordered range of matching journal articles that the user has permission to view 3604 * @throws SystemException if a system exception occurred 3605 */ 3606 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 3607 long groupId, java.lang.String articleId, int[] statuses, int start, 3608 int end, 3609 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3610 throws com.liferay.portal.kernel.exception.SystemException; 3611 3612 /** 3613 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3614 * 3615 * @param groupId the group ID 3616 * @param urlTitle the url title 3617 * @param status the status 3618 * @return the matching journal articles 3619 * @throws SystemException if a system exception occurred 3620 */ 3621 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 3622 long groupId, java.lang.String urlTitle, int status) 3623 throws com.liferay.portal.kernel.exception.SystemException; 3624 3625 /** 3626 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3627 * 3628 * <p> 3629 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3630 * </p> 3631 * 3632 * @param groupId the group ID 3633 * @param urlTitle the url title 3634 * @param status the status 3635 * @param start the lower bound of the range of journal articles 3636 * @param end the upper bound of the range of journal articles (not inclusive) 3637 * @return the range of matching journal articles 3638 * @throws SystemException if a system exception occurred 3639 */ 3640 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 3641 long groupId, java.lang.String urlTitle, int status, int start, int end) 3642 throws com.liferay.portal.kernel.exception.SystemException; 3643 3644 /** 3645 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3646 * 3647 * <p> 3648 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3649 * </p> 3650 * 3651 * @param groupId the group ID 3652 * @param urlTitle the url title 3653 * @param status the status 3654 * @param start the lower bound of the range of journal articles 3655 * @param end the upper bound of the range of journal articles (not inclusive) 3656 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3657 * @return the ordered range of matching journal articles 3658 * @throws SystemException if a system exception occurred 3659 */ 3660 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 3661 long groupId, java.lang.String urlTitle, int status, int start, 3662 int end, 3663 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3664 throws com.liferay.portal.kernel.exception.SystemException; 3665 3666 /** 3667 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3668 * 3669 * @param groupId the group ID 3670 * @param urlTitle the url title 3671 * @param status the status 3672 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3673 * @return the first matching journal article 3674 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3675 * @throws SystemException if a system exception occurred 3676 */ 3677 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 3678 long groupId, java.lang.String urlTitle, int status, 3679 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3680 throws com.liferay.portal.kernel.exception.SystemException, 3681 com.liferay.portlet.journal.NoSuchArticleException; 3682 3683 /** 3684 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3685 * 3686 * @param groupId the group ID 3687 * @param urlTitle the url title 3688 * @param status the status 3689 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3690 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3691 * @throws SystemException if a system exception occurred 3692 */ 3693 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 3694 long groupId, java.lang.String urlTitle, int status, 3695 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3696 throws com.liferay.portal.kernel.exception.SystemException; 3697 3698 /** 3699 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3700 * 3701 * @param groupId the group ID 3702 * @param urlTitle the url title 3703 * @param status the status 3704 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3705 * @return the last matching journal article 3706 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3707 * @throws SystemException if a system exception occurred 3708 */ 3709 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 3710 long groupId, java.lang.String urlTitle, int status, 3711 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3712 throws com.liferay.portal.kernel.exception.SystemException, 3713 com.liferay.portlet.journal.NoSuchArticleException; 3714 3715 /** 3716 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3717 * 3718 * @param groupId the group ID 3719 * @param urlTitle the url title 3720 * @param status the status 3721 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3722 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3723 * @throws SystemException if a system exception occurred 3724 */ 3725 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 3726 long groupId, java.lang.String urlTitle, int status, 3727 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3728 throws com.liferay.portal.kernel.exception.SystemException; 3729 3730 /** 3731 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 3732 * 3733 * @param id the primary key of the current journal article 3734 * @param groupId the group ID 3735 * @param urlTitle the url title 3736 * @param status the status 3737 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3738 * @return the previous, current, and next journal article 3739 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3740 * @throws SystemException if a system exception occurred 3741 */ 3742 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 3743 long id, long groupId, java.lang.String urlTitle, int status, 3744 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3745 throws com.liferay.portal.kernel.exception.SystemException, 3746 com.liferay.portlet.journal.NoSuchArticleException; 3747 3748 /** 3749 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 3750 * 3751 * @param groupId the group ID 3752 * @param urlTitle the url title 3753 * @param status the status 3754 * @return the matching journal articles that the user has permission to view 3755 * @throws SystemException if a system exception occurred 3756 */ 3757 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 3758 long groupId, java.lang.String urlTitle, int status) 3759 throws com.liferay.portal.kernel.exception.SystemException; 3760 3761 /** 3762 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 3763 * 3764 * <p> 3765 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3766 * </p> 3767 * 3768 * @param groupId the group ID 3769 * @param urlTitle the url title 3770 * @param status the status 3771 * @param start the lower bound of the range of journal articles 3772 * @param end the upper bound of the range of journal articles (not inclusive) 3773 * @return the range of matching journal articles that the user has permission to view 3774 * @throws SystemException if a system exception occurred 3775 */ 3776 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 3777 long groupId, java.lang.String urlTitle, int status, int start, int end) 3778 throws com.liferay.portal.kernel.exception.SystemException; 3779 3780 /** 3781 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 3782 * 3783 * <p> 3784 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3785 * </p> 3786 * 3787 * @param groupId the group ID 3788 * @param urlTitle the url title 3789 * @param status the status 3790 * @param start the lower bound of the range of journal articles 3791 * @param end the upper bound of the range of journal articles (not inclusive) 3792 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3793 * @return the ordered range of matching journal articles that the user has permission to view 3794 * @throws SystemException if a system exception occurred 3795 */ 3796 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 3797 long groupId, java.lang.String urlTitle, int status, int start, 3798 int end, 3799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3800 throws com.liferay.portal.kernel.exception.SystemException; 3801 3802 /** 3803 * 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 = ?. 3804 * 3805 * @param id the primary key of the current journal article 3806 * @param groupId the group ID 3807 * @param urlTitle the url title 3808 * @param status the status 3809 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3810 * @return the previous, current, and next journal article 3811 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3812 * @throws SystemException if a system exception occurred 3813 */ 3814 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 3815 long id, long groupId, java.lang.String urlTitle, int status, 3816 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3817 throws com.liferay.portal.kernel.exception.SystemException, 3818 com.liferay.portlet.journal.NoSuchArticleException; 3819 3820 /** 3821 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 3822 * 3823 * @param companyId the company ID 3824 * @param version the version 3825 * @param status the status 3826 * @return the matching journal articles 3827 * @throws SystemException if a system exception occurred 3828 */ 3829 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 3830 long companyId, double version, int status) 3831 throws com.liferay.portal.kernel.exception.SystemException; 3832 3833 /** 3834 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 3835 * 3836 * <p> 3837 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3838 * </p> 3839 * 3840 * @param companyId the company ID 3841 * @param version the version 3842 * @param status the status 3843 * @param start the lower bound of the range of journal articles 3844 * @param end the upper bound of the range of journal articles (not inclusive) 3845 * @return the range of matching journal articles 3846 * @throws SystemException if a system exception occurred 3847 */ 3848 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 3849 long companyId, double version, int status, int start, int end) 3850 throws com.liferay.portal.kernel.exception.SystemException; 3851 3852 /** 3853 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 3854 * 3855 * <p> 3856 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3857 * </p> 3858 * 3859 * @param companyId the company ID 3860 * @param version the version 3861 * @param status the status 3862 * @param start the lower bound of the range of journal articles 3863 * @param end the upper bound of the range of journal articles (not inclusive) 3864 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3865 * @return the ordered range of matching journal articles 3866 * @throws SystemException if a system exception occurred 3867 */ 3868 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 3869 long companyId, double version, int status, int start, int end, 3870 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3871 throws com.liferay.portal.kernel.exception.SystemException; 3872 3873 /** 3874 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 3875 * 3876 * @param companyId the company ID 3877 * @param version the version 3878 * @param status the status 3879 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3880 * @return the first matching journal article 3881 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3882 * @throws SystemException if a system exception occurred 3883 */ 3884 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 3885 long companyId, double version, int status, 3886 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3887 throws com.liferay.portal.kernel.exception.SystemException, 3888 com.liferay.portlet.journal.NoSuchArticleException; 3889 3890 /** 3891 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 3892 * 3893 * @param companyId the company ID 3894 * @param version the version 3895 * @param status the status 3896 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3897 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3898 * @throws SystemException if a system exception occurred 3899 */ 3900 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 3901 long companyId, double version, int status, 3902 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3903 throws com.liferay.portal.kernel.exception.SystemException; 3904 3905 /** 3906 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 3907 * 3908 * @param companyId the company ID 3909 * @param version the version 3910 * @param status the status 3911 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3912 * @return the last matching journal article 3913 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3914 * @throws SystemException if a system exception occurred 3915 */ 3916 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 3917 long companyId, double version, int status, 3918 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3919 throws com.liferay.portal.kernel.exception.SystemException, 3920 com.liferay.portlet.journal.NoSuchArticleException; 3921 3922 /** 3923 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 3924 * 3925 * @param companyId the company ID 3926 * @param version the version 3927 * @param status the status 3928 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3929 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3930 * @throws SystemException if a system exception occurred 3931 */ 3932 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 3933 long companyId, double version, int status, 3934 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3935 throws com.liferay.portal.kernel.exception.SystemException; 3936 3937 /** 3938 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 3939 * 3940 * @param id the primary key of the current journal article 3941 * @param companyId the company ID 3942 * @param version the version 3943 * @param status the status 3944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3945 * @return the previous, current, and next journal article 3946 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3947 * @throws SystemException if a system exception occurred 3948 */ 3949 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 3950 long id, long companyId, double version, int status, 3951 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3952 throws com.liferay.portal.kernel.exception.SystemException, 3953 com.liferay.portlet.journal.NoSuchArticleException; 3954 3955 /** 3956 * Returns all the journal articles. 3957 * 3958 * @return the journal articles 3959 * @throws SystemException if a system exception occurred 3960 */ 3961 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 3962 throws com.liferay.portal.kernel.exception.SystemException; 3963 3964 /** 3965 * Returns a range of all the journal articles. 3966 * 3967 * <p> 3968 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3969 * </p> 3970 * 3971 * @param start the lower bound of the range of journal articles 3972 * @param end the upper bound of the range of journal articles (not inclusive) 3973 * @return the range of journal articles 3974 * @throws SystemException if a system exception occurred 3975 */ 3976 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 3977 int start, int end) 3978 throws com.liferay.portal.kernel.exception.SystemException; 3979 3980 /** 3981 * Returns an ordered range of all the journal articles. 3982 * 3983 * <p> 3984 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 3985 * </p> 3986 * 3987 * @param start the lower bound of the range of journal articles 3988 * @param end the upper bound of the range of journal articles (not inclusive) 3989 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3990 * @return the ordered range of journal articles 3991 * @throws SystemException if a system exception occurred 3992 */ 3993 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 3994 int start, int end, 3995 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3996 throws com.liferay.portal.kernel.exception.SystemException; 3997 3998 /** 3999 * Removes all the journal articles where uuid = ? from the database. 4000 * 4001 * @param uuid the uuid 4002 * @throws SystemException if a system exception occurred 4003 */ 4004 public void removeByUuid(java.lang.String uuid) 4005 throws com.liferay.portal.kernel.exception.SystemException; 4006 4007 /** 4008 * Removes the journal article where uuid = ? and groupId = ? from the database. 4009 * 4010 * @param uuid the uuid 4011 * @param groupId the group ID 4012 * @return the journal article that was removed 4013 * @throws SystemException if a system exception occurred 4014 */ 4015 public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G( 4016 java.lang.String uuid, long groupId) 4017 throws com.liferay.portal.kernel.exception.SystemException, 4018 com.liferay.portlet.journal.NoSuchArticleException; 4019 4020 /** 4021 * Removes all the journal articles where resourcePrimKey = ? from the database. 4022 * 4023 * @param resourcePrimKey the resource prim key 4024 * @throws SystemException if a system exception occurred 4025 */ 4026 public void removeByResourcePrimKey(long resourcePrimKey) 4027 throws com.liferay.portal.kernel.exception.SystemException; 4028 4029 /** 4030 * Removes all the journal articles where groupId = ? from the database. 4031 * 4032 * @param groupId the group ID 4033 * @throws SystemException if a system exception occurred 4034 */ 4035 public void removeByGroupId(long groupId) 4036 throws com.liferay.portal.kernel.exception.SystemException; 4037 4038 /** 4039 * Removes all the journal articles where companyId = ? from the database. 4040 * 4041 * @param companyId the company ID 4042 * @throws SystemException if a system exception occurred 4043 */ 4044 public void removeByCompanyId(long companyId) 4045 throws com.liferay.portal.kernel.exception.SystemException; 4046 4047 /** 4048 * Removes all the journal articles where structureId = ? from the database. 4049 * 4050 * @param structureId the structure ID 4051 * @throws SystemException if a system exception occurred 4052 */ 4053 public void removeByStructureId(java.lang.String structureId) 4054 throws com.liferay.portal.kernel.exception.SystemException; 4055 4056 /** 4057 * Removes all the journal articles where templateId = ? from the database. 4058 * 4059 * @param templateId the template ID 4060 * @throws SystemException if a system exception occurred 4061 */ 4062 public void removeByTemplateId(java.lang.String templateId) 4063 throws com.liferay.portal.kernel.exception.SystemException; 4064 4065 /** 4066 * Removes all the journal articles where smallImageId = ? from the database. 4067 * 4068 * @param smallImageId the small image ID 4069 * @throws SystemException if a system exception occurred 4070 */ 4071 public void removeBySmallImageId(long smallImageId) 4072 throws com.liferay.portal.kernel.exception.SystemException; 4073 4074 /** 4075 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 4076 * 4077 * @param resourcePrimKey the resource prim key 4078 * @param status the status 4079 * @throws SystemException if a system exception occurred 4080 */ 4081 public void removeByR_ST(long resourcePrimKey, int status) 4082 throws com.liferay.portal.kernel.exception.SystemException; 4083 4084 /** 4085 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 4086 * 4087 * @param groupId the group ID 4088 * @param articleId the article ID 4089 * @throws SystemException if a system exception occurred 4090 */ 4091 public void removeByG_A(long groupId, java.lang.String articleId) 4092 throws com.liferay.portal.kernel.exception.SystemException; 4093 4094 /** 4095 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 4096 * 4097 * @param groupId the group ID 4098 * @param urlTitle the url title 4099 * @throws SystemException if a system exception occurred 4100 */ 4101 public void removeByG_UT(long groupId, java.lang.String urlTitle) 4102 throws com.liferay.portal.kernel.exception.SystemException; 4103 4104 /** 4105 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 4106 * 4107 * @param groupId the group ID 4108 * @param structureId the structure ID 4109 * @throws SystemException if a system exception occurred 4110 */ 4111 public void removeByG_S(long groupId, java.lang.String structureId) 4112 throws com.liferay.portal.kernel.exception.SystemException; 4113 4114 /** 4115 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 4116 * 4117 * @param groupId the group ID 4118 * @param templateId the template ID 4119 * @throws SystemException if a system exception occurred 4120 */ 4121 public void removeByG_T(long groupId, java.lang.String templateId) 4122 throws com.liferay.portal.kernel.exception.SystemException; 4123 4124 /** 4125 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 4126 * 4127 * @param groupId the group ID 4128 * @param layoutUuid the layout uuid 4129 * @throws SystemException if a system exception occurred 4130 */ 4131 public void removeByG_L(long groupId, java.lang.String layoutUuid) 4132 throws com.liferay.portal.kernel.exception.SystemException; 4133 4134 /** 4135 * Removes all the journal articles where groupId = ? and status = ? from the database. 4136 * 4137 * @param groupId the group ID 4138 * @param status the status 4139 * @throws SystemException if a system exception occurred 4140 */ 4141 public void removeByG_ST(long groupId, int status) 4142 throws com.liferay.portal.kernel.exception.SystemException; 4143 4144 /** 4145 * Removes all the journal articles where companyId = ? and version = ? from the database. 4146 * 4147 * @param companyId the company ID 4148 * @param version the version 4149 * @throws SystemException if a system exception occurred 4150 */ 4151 public void removeByC_V(long companyId, double version) 4152 throws com.liferay.portal.kernel.exception.SystemException; 4153 4154 /** 4155 * Removes all the journal articles where companyId = ? and status = ? from the database. 4156 * 4157 * @param companyId the company ID 4158 * @param status the status 4159 * @throws SystemException if a system exception occurred 4160 */ 4161 public void removeByC_ST(long companyId, int status) 4162 throws com.liferay.portal.kernel.exception.SystemException; 4163 4164 /** 4165 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 4166 * 4167 * @param groupId the group ID 4168 * @param classNameId the class name ID 4169 * @param classPK the class p k 4170 * @throws SystemException if a system exception occurred 4171 */ 4172 public void removeByG_C_C(long groupId, long classNameId, long classPK) 4173 throws com.liferay.portal.kernel.exception.SystemException; 4174 4175 /** 4176 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 4177 * 4178 * @param groupId the group ID 4179 * @param classNameId the class name ID 4180 * @param structureId the structure ID 4181 * @return the journal article that was removed 4182 * @throws SystemException if a system exception occurred 4183 */ 4184 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 4185 long groupId, long classNameId, java.lang.String structureId) 4186 throws com.liferay.portal.kernel.exception.SystemException, 4187 com.liferay.portlet.journal.NoSuchArticleException; 4188 4189 /** 4190 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 4191 * 4192 * @param groupId the group ID 4193 * @param classNameId the class name ID 4194 * @param templateId the template ID 4195 * @throws SystemException if a system exception occurred 4196 */ 4197 public void removeByG_C_T(long groupId, long classNameId, 4198 java.lang.String templateId) 4199 throws com.liferay.portal.kernel.exception.SystemException; 4200 4201 /** 4202 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 4203 * 4204 * @param groupId the group ID 4205 * @param classNameId the class name ID 4206 * @param layoutUuid the layout uuid 4207 * @throws SystemException if a system exception occurred 4208 */ 4209 public void removeByG_C_L(long groupId, long classNameId, 4210 java.lang.String layoutUuid) 4211 throws com.liferay.portal.kernel.exception.SystemException; 4212 4213 /** 4214 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 4215 * 4216 * @param groupId the group ID 4217 * @param articleId the article ID 4218 * @param version the version 4219 * @return the journal article that was removed 4220 * @throws SystemException if a system exception occurred 4221 */ 4222 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 4223 long groupId, java.lang.String articleId, double version) 4224 throws com.liferay.portal.kernel.exception.SystemException, 4225 com.liferay.portlet.journal.NoSuchArticleException; 4226 4227 /** 4228 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 4229 * 4230 * @param groupId the group ID 4231 * @param articleId the article ID 4232 * @param status the status 4233 * @throws SystemException if a system exception occurred 4234 */ 4235 public void removeByG_A_ST(long groupId, java.lang.String articleId, 4236 int status) throws com.liferay.portal.kernel.exception.SystemException; 4237 4238 /** 4239 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 4240 * 4241 * @param groupId the group ID 4242 * @param urlTitle the url title 4243 * @param status the status 4244 * @throws SystemException if a system exception occurred 4245 */ 4246 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 4247 int status) throws com.liferay.portal.kernel.exception.SystemException; 4248 4249 /** 4250 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 4251 * 4252 * @param companyId the company ID 4253 * @param version the version 4254 * @param status the status 4255 * @throws SystemException if a system exception occurred 4256 */ 4257 public void removeByC_V_ST(long companyId, double version, int status) 4258 throws com.liferay.portal.kernel.exception.SystemException; 4259 4260 /** 4261 * Removes all the journal articles from the database. 4262 * 4263 * @throws SystemException if a system exception occurred 4264 */ 4265 public void removeAll() 4266 throws com.liferay.portal.kernel.exception.SystemException; 4267 4268 /** 4269 * Returns the number of journal articles where uuid = ?. 4270 * 4271 * @param uuid the uuid 4272 * @return the number of matching journal articles 4273 * @throws SystemException if a system exception occurred 4274 */ 4275 public int countByUuid(java.lang.String uuid) 4276 throws com.liferay.portal.kernel.exception.SystemException; 4277 4278 /** 4279 * Returns the number of journal articles where uuid = ? and groupId = ?. 4280 * 4281 * @param uuid the uuid 4282 * @param groupId the group ID 4283 * @return the number of matching journal articles 4284 * @throws SystemException if a system exception occurred 4285 */ 4286 public int countByUUID_G(java.lang.String uuid, long groupId) 4287 throws com.liferay.portal.kernel.exception.SystemException; 4288 4289 /** 4290 * Returns the number of journal articles where resourcePrimKey = ?. 4291 * 4292 * @param resourcePrimKey the resource prim key 4293 * @return the number of matching journal articles 4294 * @throws SystemException if a system exception occurred 4295 */ 4296 public int countByResourcePrimKey(long resourcePrimKey) 4297 throws com.liferay.portal.kernel.exception.SystemException; 4298 4299 /** 4300 * Returns the number of journal articles where groupId = ?. 4301 * 4302 * @param groupId the group ID 4303 * @return the number of matching journal articles 4304 * @throws SystemException if a system exception occurred 4305 */ 4306 public int countByGroupId(long groupId) 4307 throws com.liferay.portal.kernel.exception.SystemException; 4308 4309 /** 4310 * Returns the number of journal articles that the user has permission to view where groupId = ?. 4311 * 4312 * @param groupId the group ID 4313 * @return the number of matching journal articles that the user has permission to view 4314 * @throws SystemException if a system exception occurred 4315 */ 4316 public int filterCountByGroupId(long groupId) 4317 throws com.liferay.portal.kernel.exception.SystemException; 4318 4319 /** 4320 * Returns the number of journal articles where companyId = ?. 4321 * 4322 * @param companyId the company ID 4323 * @return the number of matching journal articles 4324 * @throws SystemException if a system exception occurred 4325 */ 4326 public int countByCompanyId(long companyId) 4327 throws com.liferay.portal.kernel.exception.SystemException; 4328 4329 /** 4330 * Returns the number of journal articles where structureId = ?. 4331 * 4332 * @param structureId the structure ID 4333 * @return the number of matching journal articles 4334 * @throws SystemException if a system exception occurred 4335 */ 4336 public int countByStructureId(java.lang.String structureId) 4337 throws com.liferay.portal.kernel.exception.SystemException; 4338 4339 /** 4340 * Returns the number of journal articles where templateId = ?. 4341 * 4342 * @param templateId the template ID 4343 * @return the number of matching journal articles 4344 * @throws SystemException if a system exception occurred 4345 */ 4346 public int countByTemplateId(java.lang.String templateId) 4347 throws com.liferay.portal.kernel.exception.SystemException; 4348 4349 /** 4350 * Returns the number of journal articles where smallImageId = ?. 4351 * 4352 * @param smallImageId the small image ID 4353 * @return the number of matching journal articles 4354 * @throws SystemException if a system exception occurred 4355 */ 4356 public int countBySmallImageId(long smallImageId) 4357 throws com.liferay.portal.kernel.exception.SystemException; 4358 4359 /** 4360 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 4361 * 4362 * @param resourcePrimKey the resource prim key 4363 * @param status the status 4364 * @return the number of matching journal articles 4365 * @throws SystemException if a system exception occurred 4366 */ 4367 public int countByR_ST(long resourcePrimKey, int status) 4368 throws com.liferay.portal.kernel.exception.SystemException; 4369 4370 /** 4371 * Returns the number of journal articles where groupId = ? and articleId = ?. 4372 * 4373 * @param groupId the group ID 4374 * @param articleId the article ID 4375 * @return the number of matching journal articles 4376 * @throws SystemException if a system exception occurred 4377 */ 4378 public int countByG_A(long groupId, java.lang.String articleId) 4379 throws com.liferay.portal.kernel.exception.SystemException; 4380 4381 /** 4382 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 4383 * 4384 * @param groupId the group ID 4385 * @param articleId the article ID 4386 * @return the number of matching journal articles that the user has permission to view 4387 * @throws SystemException if a system exception occurred 4388 */ 4389 public int filterCountByG_A(long groupId, java.lang.String articleId) 4390 throws com.liferay.portal.kernel.exception.SystemException; 4391 4392 /** 4393 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 4394 * 4395 * @param groupId the group ID 4396 * @param urlTitle the url title 4397 * @return the number of matching journal articles 4398 * @throws SystemException if a system exception occurred 4399 */ 4400 public int countByG_UT(long groupId, java.lang.String urlTitle) 4401 throws com.liferay.portal.kernel.exception.SystemException; 4402 4403 /** 4404 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 4405 * 4406 * @param groupId the group ID 4407 * @param urlTitle the url title 4408 * @return the number of matching journal articles that the user has permission to view 4409 * @throws SystemException if a system exception occurred 4410 */ 4411 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 4412 throws com.liferay.portal.kernel.exception.SystemException; 4413 4414 /** 4415 * Returns the number of journal articles where groupId = ? and structureId = ?. 4416 * 4417 * @param groupId the group ID 4418 * @param structureId the structure ID 4419 * @return the number of matching journal articles 4420 * @throws SystemException if a system exception occurred 4421 */ 4422 public int countByG_S(long groupId, java.lang.String structureId) 4423 throws com.liferay.portal.kernel.exception.SystemException; 4424 4425 /** 4426 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 4427 * 4428 * @param groupId the group ID 4429 * @param structureId the structure ID 4430 * @return the number of matching journal articles that the user has permission to view 4431 * @throws SystemException if a system exception occurred 4432 */ 4433 public int filterCountByG_S(long groupId, java.lang.String structureId) 4434 throws com.liferay.portal.kernel.exception.SystemException; 4435 4436 /** 4437 * Returns the number of journal articles where groupId = ? and templateId = ?. 4438 * 4439 * @param groupId the group ID 4440 * @param templateId the template ID 4441 * @return the number of matching journal articles 4442 * @throws SystemException if a system exception occurred 4443 */ 4444 public int countByG_T(long groupId, java.lang.String templateId) 4445 throws com.liferay.portal.kernel.exception.SystemException; 4446 4447 /** 4448 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 4449 * 4450 * @param groupId the group ID 4451 * @param templateId the template ID 4452 * @return the number of matching journal articles that the user has permission to view 4453 * @throws SystemException if a system exception occurred 4454 */ 4455 public int filterCountByG_T(long groupId, java.lang.String templateId) 4456 throws com.liferay.portal.kernel.exception.SystemException; 4457 4458 /** 4459 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 4460 * 4461 * @param groupId the group ID 4462 * @param layoutUuid the layout uuid 4463 * @return the number of matching journal articles 4464 * @throws SystemException if a system exception occurred 4465 */ 4466 public int countByG_L(long groupId, java.lang.String layoutUuid) 4467 throws com.liferay.portal.kernel.exception.SystemException; 4468 4469 /** 4470 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 4471 * 4472 * @param groupId the group ID 4473 * @param layoutUuid the layout uuid 4474 * @return the number of matching journal articles that the user has permission to view 4475 * @throws SystemException if a system exception occurred 4476 */ 4477 public int filterCountByG_L(long groupId, java.lang.String layoutUuid) 4478 throws com.liferay.portal.kernel.exception.SystemException; 4479 4480 /** 4481 * Returns the number of journal articles where groupId = ? and status = ?. 4482 * 4483 * @param groupId the group ID 4484 * @param status the status 4485 * @return the number of matching journal articles 4486 * @throws SystemException if a system exception occurred 4487 */ 4488 public int countByG_ST(long groupId, int status) 4489 throws com.liferay.portal.kernel.exception.SystemException; 4490 4491 /** 4492 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 4493 * 4494 * @param groupId the group ID 4495 * @param status the status 4496 * @return the number of matching journal articles that the user has permission to view 4497 * @throws SystemException if a system exception occurred 4498 */ 4499 public int filterCountByG_ST(long groupId, int status) 4500 throws com.liferay.portal.kernel.exception.SystemException; 4501 4502 /** 4503 * Returns the number of journal articles where companyId = ? and version = ?. 4504 * 4505 * @param companyId the company ID 4506 * @param version the version 4507 * @return the number of matching journal articles 4508 * @throws SystemException if a system exception occurred 4509 */ 4510 public int countByC_V(long companyId, double version) 4511 throws com.liferay.portal.kernel.exception.SystemException; 4512 4513 /** 4514 * Returns the number of journal articles where companyId = ? and status = ?. 4515 * 4516 * @param companyId the company ID 4517 * @param status the status 4518 * @return the number of matching journal articles 4519 * @throws SystemException if a system exception occurred 4520 */ 4521 public int countByC_ST(long companyId, int status) 4522 throws com.liferay.portal.kernel.exception.SystemException; 4523 4524 /** 4525 * Returns the number of journal articles 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 * @return the number of matching journal articles 4531 * @throws SystemException if a system exception occurred 4532 */ 4533 public int countByG_C_C(long groupId, long classNameId, long classPK) 4534 throws com.liferay.portal.kernel.exception.SystemException; 4535 4536 /** 4537 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4538 * 4539 * @param groupId the group ID 4540 * @param classNameId the class name ID 4541 * @param classPK the class p k 4542 * @return the number of matching journal articles that the user has permission to view 4543 * @throws SystemException if a system exception occurred 4544 */ 4545 public int filterCountByG_C_C(long groupId, long classNameId, long classPK) 4546 throws com.liferay.portal.kernel.exception.SystemException; 4547 4548 /** 4549 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 4550 * 4551 * @param groupId the group ID 4552 * @param classNameId the class name ID 4553 * @param structureId the structure ID 4554 * @return the number of matching journal articles 4555 * @throws SystemException if a system exception occurred 4556 */ 4557 public int countByG_C_S(long groupId, long classNameId, 4558 java.lang.String structureId) 4559 throws com.liferay.portal.kernel.exception.SystemException; 4560 4561 /** 4562 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 4563 * 4564 * @param groupId the group ID 4565 * @param classNameId the class name ID 4566 * @param templateId the template ID 4567 * @return the number of matching journal articles 4568 * @throws SystemException if a system exception occurred 4569 */ 4570 public int countByG_C_T(long groupId, long classNameId, 4571 java.lang.String templateId) 4572 throws com.liferay.portal.kernel.exception.SystemException; 4573 4574 /** 4575 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 4576 * 4577 * @param groupId the group ID 4578 * @param classNameId the class name ID 4579 * @param templateId the template ID 4580 * @return the number of matching journal articles that the user has permission to view 4581 * @throws SystemException if a system exception occurred 4582 */ 4583 public int filterCountByG_C_T(long groupId, long classNameId, 4584 java.lang.String templateId) 4585 throws com.liferay.portal.kernel.exception.SystemException; 4586 4587 /** 4588 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 4589 * 4590 * @param groupId the group ID 4591 * @param classNameId the class name ID 4592 * @param layoutUuid the layout uuid 4593 * @return the number of matching journal articles 4594 * @throws SystemException if a system exception occurred 4595 */ 4596 public int countByG_C_L(long groupId, long classNameId, 4597 java.lang.String layoutUuid) 4598 throws com.liferay.portal.kernel.exception.SystemException; 4599 4600 /** 4601 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 4602 * 4603 * @param groupId the group ID 4604 * @param classNameId the class name ID 4605 * @param layoutUuid the layout uuid 4606 * @return the number of matching journal articles that the user has permission to view 4607 * @throws SystemException if a system exception occurred 4608 */ 4609 public int filterCountByG_C_L(long groupId, long classNameId, 4610 java.lang.String layoutUuid) 4611 throws com.liferay.portal.kernel.exception.SystemException; 4612 4613 /** 4614 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 4615 * 4616 * @param groupId the group ID 4617 * @param articleId the article ID 4618 * @param version the version 4619 * @return the number of matching journal articles 4620 * @throws SystemException if a system exception occurred 4621 */ 4622 public int countByG_A_V(long groupId, java.lang.String articleId, 4623 double version) 4624 throws com.liferay.portal.kernel.exception.SystemException; 4625 4626 /** 4627 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 4628 * 4629 * @param groupId the group ID 4630 * @param articleId the article ID 4631 * @param status the status 4632 * @return the number of matching journal articles 4633 * @throws SystemException if a system exception occurred 4634 */ 4635 public int countByG_A_ST(long groupId, java.lang.String articleId, 4636 int status) throws com.liferay.portal.kernel.exception.SystemException; 4637 4638 /** 4639 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 4640 * 4641 * @param groupId the group ID 4642 * @param articleId the article ID 4643 * @param statuses the statuses 4644 * @return the number of matching journal articles 4645 * @throws SystemException if a system exception occurred 4646 */ 4647 public int countByG_A_ST(long groupId, java.lang.String articleId, 4648 int[] statuses) 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 articleId = ? and status = ?. 4653 * 4654 * @param groupId the group ID 4655 * @param articleId the article ID 4656 * @param status the status 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_A_ST(long groupId, java.lang.String articleId, 4661 int status) throws com.liferay.portal.kernel.exception.SystemException; 4662 4663 /** 4664 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 4665 * 4666 * @param groupId the group ID 4667 * @param articleId the article ID 4668 * @param statuses the statuses 4669 * @return the number of matching journal articles that the user has permission to view 4670 * @throws SystemException if a system exception occurred 4671 */ 4672 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 4673 int[] statuses) 4674 throws com.liferay.portal.kernel.exception.SystemException; 4675 4676 /** 4677 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 4678 * 4679 * @param groupId the group ID 4680 * @param urlTitle the url title 4681 * @param status the status 4682 * @return the number of matching journal articles 4683 * @throws SystemException if a system exception occurred 4684 */ 4685 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 4686 int status) throws com.liferay.portal.kernel.exception.SystemException; 4687 4688 /** 4689 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 4690 * 4691 * @param groupId the group ID 4692 * @param urlTitle the url title 4693 * @param status the status 4694 * @return the number of matching journal articles that the user has permission to view 4695 * @throws SystemException if a system exception occurred 4696 */ 4697 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 4698 int status) throws com.liferay.portal.kernel.exception.SystemException; 4699 4700 /** 4701 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 4702 * 4703 * @param companyId the company ID 4704 * @param version the version 4705 * @param status the status 4706 * @return the number of matching journal articles 4707 * @throws SystemException if a system exception occurred 4708 */ 4709 public int countByC_V_ST(long companyId, double version, int status) 4710 throws com.liferay.portal.kernel.exception.SystemException; 4711 4712 /** 4713 * Returns the number of journal articles. 4714 * 4715 * @return the number of journal articles 4716 * @throws SystemException if a system exception occurred 4717 */ 4718 public int countAll() 4719 throws com.liferay.portal.kernel.exception.SystemException; 4720 }