001 /** 002 * Copyright (c) 2000-2011 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.kernel.exception.SystemException; 018 import com.liferay.portal.service.persistence.BasePersistence; 019 020 import com.liferay.portlet.journal.model.JournalArticle; 021 022 /** 023 * The persistence interface for the journal article service. 024 * 025 * <p> 026 * Caching information and settings can be found in <code>portal.properties</code> 027 * </p> 028 * 029 * @author Brian Wing Shun Chan 030 * @see JournalArticlePersistenceImpl 031 * @see JournalArticleUtil 032 * @generated 033 */ 034 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 035 /* 036 * NOTE FOR DEVELOPERS: 037 * 038 * 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. 039 */ 040 041 /** 042 * Caches the journal article in the entity cache if it is enabled. 043 * 044 * @param journalArticle the journal article to cache 045 */ 046 public void cacheResult( 047 com.liferay.portlet.journal.model.JournalArticle journalArticle); 048 049 /** 050 * Caches the journal articles in the entity cache if it is enabled. 051 * 052 * @param journalArticles the journal articles to cache 053 */ 054 public void cacheResult( 055 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 056 057 /** 058 * Creates a new journal article with the primary key. Does not add the journal article to the database. 059 * 060 * @param id the primary key for the new journal article 061 * @return the new journal article 062 */ 063 public com.liferay.portlet.journal.model.JournalArticle create(long id); 064 065 /** 066 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 067 * 068 * @param id the primary key of the journal article to remove 069 * @return the journal article that was removed 070 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 071 * @throws SystemException if a system exception occurred 072 */ 073 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 074 throws com.liferay.portal.kernel.exception.SystemException, 075 com.liferay.portlet.journal.NoSuchArticleException; 076 077 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 078 com.liferay.portlet.journal.model.JournalArticle journalArticle, 079 boolean merge) 080 throws com.liferay.portal.kernel.exception.SystemException; 081 082 /** 083 * Finds the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 084 * 085 * @param id the primary key of the journal article to find 086 * @return the journal article 087 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 088 * @throws SystemException if a system exception occurred 089 */ 090 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 091 long id) 092 throws com.liferay.portal.kernel.exception.SystemException, 093 com.liferay.portlet.journal.NoSuchArticleException; 094 095 /** 096 * Finds the journal article with the primary key or returns <code>null</code> if it could not be found. 097 * 098 * @param id the primary key of the journal article to find 099 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 100 * @throws SystemException if a system exception occurred 101 */ 102 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 103 long id) throws com.liferay.portal.kernel.exception.SystemException; 104 105 /** 106 * Finds all the journal articles where uuid = ?. 107 * 108 * @param uuid the uuid to search with 109 * @return the matching journal articles 110 * @throws SystemException if a system exception occurred 111 */ 112 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 113 java.lang.String uuid) 114 throws com.liferay.portal.kernel.exception.SystemException; 115 116 /** 117 * Finds a range of all the journal articles where uuid = ?. 118 * 119 * <p> 120 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 121 * </p> 122 * 123 * @param uuid the uuid to search with 124 * @param start the lower bound of the range of journal articles to return 125 * @param end the upper bound of the range of journal articles to return (not inclusive) 126 * @return the range of matching journal articles 127 * @throws SystemException if a system exception occurred 128 */ 129 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 130 java.lang.String uuid, int start, int end) 131 throws com.liferay.portal.kernel.exception.SystemException; 132 133 /** 134 * Finds an ordered range of all the journal articles where uuid = ?. 135 * 136 * <p> 137 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 138 * </p> 139 * 140 * @param uuid the uuid to search with 141 * @param start the lower bound of the range of journal articles to return 142 * @param end the upper bound of the range of journal articles to return (not inclusive) 143 * @param orderByComparator the comparator to order the results by 144 * @return the ordered range of matching journal articles 145 * @throws SystemException if a system exception occurred 146 */ 147 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 148 java.lang.String uuid, int start, int end, 149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 150 throws com.liferay.portal.kernel.exception.SystemException; 151 152 /** 153 * Finds the first journal article in the ordered set where uuid = ?. 154 * 155 * <p> 156 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 157 * </p> 158 * 159 * @param uuid the uuid to search with 160 * @param orderByComparator the comparator to order the set by 161 * @return the first matching journal article 162 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 163 * @throws SystemException if a system exception occurred 164 */ 165 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 166 java.lang.String uuid, 167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 168 throws com.liferay.portal.kernel.exception.SystemException, 169 com.liferay.portlet.journal.NoSuchArticleException; 170 171 /** 172 * Finds the last journal article in the ordered set where uuid = ?. 173 * 174 * <p> 175 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 176 * </p> 177 * 178 * @param uuid the uuid to search with 179 * @param orderByComparator the comparator to order the set by 180 * @return the last matching journal article 181 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 182 * @throws SystemException if a system exception occurred 183 */ 184 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 185 java.lang.String uuid, 186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 187 throws com.liferay.portal.kernel.exception.SystemException, 188 com.liferay.portlet.journal.NoSuchArticleException; 189 190 /** 191 * Finds the journal articles before and after the current journal article in the ordered set where uuid = ?. 192 * 193 * <p> 194 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 195 * </p> 196 * 197 * @param id the primary key of the current journal article 198 * @param uuid the uuid to search with 199 * @param orderByComparator the comparator to order the set by 200 * @return the previous, current, and next journal article 201 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 202 * @throws SystemException if a system exception occurred 203 */ 204 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 205 long id, java.lang.String uuid, 206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 207 throws com.liferay.portal.kernel.exception.SystemException, 208 com.liferay.portlet.journal.NoSuchArticleException; 209 210 /** 211 * Finds the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 212 * 213 * @param uuid the uuid to search with 214 * @param groupId the group ID to search with 215 * @return the matching journal article 216 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 217 * @throws SystemException if a system exception occurred 218 */ 219 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 220 java.lang.String uuid, long groupId) 221 throws com.liferay.portal.kernel.exception.SystemException, 222 com.liferay.portlet.journal.NoSuchArticleException; 223 224 /** 225 * Finds the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 226 * 227 * @param uuid the uuid to search with 228 * @param groupId the group ID to search with 229 * @return the matching journal article, or <code>null</code> 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 fetchByUUID_G( 233 java.lang.String uuid, long groupId) 234 throws com.liferay.portal.kernel.exception.SystemException; 235 236 /** 237 * Finds the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 238 * 239 * @param uuid the uuid to search with 240 * @param groupId the group ID to search with 241 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 242 * @throws SystemException if a system exception occurred 243 */ 244 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 245 java.lang.String uuid, long groupId, boolean retrieveFromCache) 246 throws com.liferay.portal.kernel.exception.SystemException; 247 248 /** 249 * Finds all the journal articles where resourcePrimKey = ?. 250 * 251 * @param resourcePrimKey the resource prim key to search with 252 * @return the matching journal articles 253 * @throws SystemException if a system exception occurred 254 */ 255 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 256 long resourcePrimKey) 257 throws com.liferay.portal.kernel.exception.SystemException; 258 259 /** 260 * Finds a range of all the journal articles where resourcePrimKey = ?. 261 * 262 * <p> 263 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 264 * </p> 265 * 266 * @param resourcePrimKey the resource prim key to search with 267 * @param start the lower bound of the range of journal articles to return 268 * @param end the upper bound of the range of journal articles to return (not inclusive) 269 * @return the range of matching journal articles 270 * @throws SystemException if a system exception occurred 271 */ 272 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 273 long resourcePrimKey, int start, int end) 274 throws com.liferay.portal.kernel.exception.SystemException; 275 276 /** 277 * Finds an ordered range of all the journal articles where resourcePrimKey = ?. 278 * 279 * <p> 280 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 281 * </p> 282 * 283 * @param resourcePrimKey the resource prim key to search with 284 * @param start the lower bound of the range of journal articles to return 285 * @param end the upper bound of the range of journal articles to return (not inclusive) 286 * @param orderByComparator the comparator to order the results by 287 * @return the ordered range of matching journal articles 288 * @throws SystemException if a system exception occurred 289 */ 290 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 291 long resourcePrimKey, int start, int end, 292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 293 throws com.liferay.portal.kernel.exception.SystemException; 294 295 /** 296 * Finds the first journal article in the ordered set where resourcePrimKey = ?. 297 * 298 * <p> 299 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 300 * </p> 301 * 302 * @param resourcePrimKey the resource prim key to search with 303 * @param orderByComparator the comparator to order the set by 304 * @return the first matching journal article 305 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 306 * @throws SystemException if a system exception occurred 307 */ 308 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 309 long resourcePrimKey, 310 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 311 throws com.liferay.portal.kernel.exception.SystemException, 312 com.liferay.portlet.journal.NoSuchArticleException; 313 314 /** 315 * Finds the last journal article in the ordered set where resourcePrimKey = ?. 316 * 317 * <p> 318 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 319 * </p> 320 * 321 * @param resourcePrimKey the resource prim key to search with 322 * @param orderByComparator the comparator to order the set by 323 * @return the last matching journal article 324 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 325 * @throws SystemException if a system exception occurred 326 */ 327 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 328 long resourcePrimKey, 329 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 330 throws com.liferay.portal.kernel.exception.SystemException, 331 com.liferay.portlet.journal.NoSuchArticleException; 332 333 /** 334 * Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 335 * 336 * <p> 337 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 338 * </p> 339 * 340 * @param id the primary key of the current journal article 341 * @param resourcePrimKey the resource prim key to search with 342 * @param orderByComparator the comparator to order the set by 343 * @return the previous, current, and next journal article 344 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 345 * @throws SystemException if a system exception occurred 346 */ 347 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 348 long id, long resourcePrimKey, 349 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 350 throws com.liferay.portal.kernel.exception.SystemException, 351 com.liferay.portlet.journal.NoSuchArticleException; 352 353 /** 354 * Finds all the journal articles where groupId = ?. 355 * 356 * @param groupId the group ID to search with 357 * @return the matching journal articles 358 * @throws SystemException if a system exception occurred 359 */ 360 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 361 long groupId) 362 throws com.liferay.portal.kernel.exception.SystemException; 363 364 /** 365 * Finds a range of all the journal articles where groupId = ?. 366 * 367 * <p> 368 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 369 * </p> 370 * 371 * @param groupId the group ID to search with 372 * @param start the lower bound of the range of journal articles to return 373 * @param end the upper bound of the range of journal articles to return (not inclusive) 374 * @return the range of matching journal articles 375 * @throws SystemException if a system exception occurred 376 */ 377 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 378 long groupId, int start, int end) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Finds an ordered range of all the journal articles where groupId = ?. 383 * 384 * <p> 385 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 386 * </p> 387 * 388 * @param groupId the group ID to search with 389 * @param start the lower bound of the range of journal articles to return 390 * @param end the upper bound of the range of journal articles to return (not inclusive) 391 * @param orderByComparator the comparator to order the results by 392 * @return the ordered range of matching journal articles 393 * @throws SystemException if a system exception occurred 394 */ 395 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 396 long groupId, int start, int end, 397 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 398 throws com.liferay.portal.kernel.exception.SystemException; 399 400 /** 401 * Finds the first journal article in the ordered set where groupId = ?. 402 * 403 * <p> 404 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 405 * </p> 406 * 407 * @param groupId the group ID to search with 408 * @param orderByComparator the comparator to order the set by 409 * @return the first matching journal article 410 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 411 * @throws SystemException if a system exception occurred 412 */ 413 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 414 long groupId, 415 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 416 throws com.liferay.portal.kernel.exception.SystemException, 417 com.liferay.portlet.journal.NoSuchArticleException; 418 419 /** 420 * Finds the last journal article in the ordered set where groupId = ?. 421 * 422 * <p> 423 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 424 * </p> 425 * 426 * @param groupId the group ID to search with 427 * @param orderByComparator the comparator to order the set by 428 * @return the last matching journal article 429 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 430 * @throws SystemException if a system exception occurred 431 */ 432 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 433 long groupId, 434 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 435 throws com.liferay.portal.kernel.exception.SystemException, 436 com.liferay.portlet.journal.NoSuchArticleException; 437 438 /** 439 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ?. 440 * 441 * <p> 442 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 443 * </p> 444 * 445 * @param id the primary key of the current journal article 446 * @param groupId the group ID to search with 447 * @param orderByComparator the comparator to order the set by 448 * @return the previous, current, and next journal article 449 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 450 * @throws SystemException if a system exception occurred 451 */ 452 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 453 long id, long groupId, 454 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 455 throws com.liferay.portal.kernel.exception.SystemException, 456 com.liferay.portlet.journal.NoSuchArticleException; 457 458 /** 459 * Filters by the user's permissions and finds all the journal articles where groupId = ?. 460 * 461 * @param groupId the group ID to search with 462 * @return the matching journal articles that the user has permission to view 463 * @throws SystemException if a system exception occurred 464 */ 465 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 466 long groupId) 467 throws com.liferay.portal.kernel.exception.SystemException; 468 469 /** 470 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ?. 471 * 472 * <p> 473 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 474 * </p> 475 * 476 * @param groupId the group ID to search with 477 * @param start the lower bound of the range of journal articles to return 478 * @param end the upper bound of the range of journal articles to return (not inclusive) 479 * @return the range of matching journal articles that the user has permission to view 480 * @throws SystemException if a system exception occurred 481 */ 482 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 483 long groupId, int start, int end) 484 throws com.liferay.portal.kernel.exception.SystemException; 485 486 /** 487 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ?. 488 * 489 * <p> 490 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 491 * </p> 492 * 493 * @param groupId the group ID to search with 494 * @param start the lower bound of the range of journal articles to return 495 * @param end the upper bound of the range of journal articles to return (not inclusive) 496 * @param orderByComparator the comparator to order the results by 497 * @return the ordered range of matching journal articles that the user has permission to view 498 * @throws SystemException if a system exception occurred 499 */ 500 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 501 long groupId, int start, int end, 502 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 503 throws com.liferay.portal.kernel.exception.SystemException; 504 505 /** 506 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ?. 507 * 508 * <p> 509 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 510 * </p> 511 * 512 * @param id the primary key of the current journal article 513 * @param groupId the group ID to search with 514 * @param orderByComparator the comparator to order the set by 515 * @return the previous, current, and next journal article 516 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 517 * @throws SystemException if a system exception occurred 518 */ 519 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 520 long id, long groupId, 521 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 522 throws com.liferay.portal.kernel.exception.SystemException, 523 com.liferay.portlet.journal.NoSuchArticleException; 524 525 /** 526 * Finds all the journal articles where companyId = ?. 527 * 528 * @param companyId the company ID to search with 529 * @return the matching journal articles 530 * @throws SystemException if a system exception occurred 531 */ 532 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 533 long companyId) 534 throws com.liferay.portal.kernel.exception.SystemException; 535 536 /** 537 * Finds a range of all the journal articles where companyId = ?. 538 * 539 * <p> 540 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 541 * </p> 542 * 543 * @param companyId the company ID to search with 544 * @param start the lower bound of the range of journal articles to return 545 * @param end the upper bound of the range of journal articles to return (not inclusive) 546 * @return the range of matching journal articles 547 * @throws SystemException if a system exception occurred 548 */ 549 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 550 long companyId, int start, int end) 551 throws com.liferay.portal.kernel.exception.SystemException; 552 553 /** 554 * Finds an ordered range of all the journal articles where companyId = ?. 555 * 556 * <p> 557 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 558 * </p> 559 * 560 * @param companyId the company ID to search with 561 * @param start the lower bound of the range of journal articles to return 562 * @param end the upper bound of the range of journal articles to return (not inclusive) 563 * @param orderByComparator the comparator to order the results by 564 * @return the ordered range of matching journal articles 565 * @throws SystemException if a system exception occurred 566 */ 567 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 568 long companyId, int start, int end, 569 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 570 throws com.liferay.portal.kernel.exception.SystemException; 571 572 /** 573 * Finds the first journal article in the ordered set where companyId = ?. 574 * 575 * <p> 576 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 577 * </p> 578 * 579 * @param companyId the company ID to search with 580 * @param orderByComparator the comparator to order the set by 581 * @return the first matching journal article 582 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 583 * @throws SystemException if a system exception occurred 584 */ 585 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 586 long companyId, 587 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 588 throws com.liferay.portal.kernel.exception.SystemException, 589 com.liferay.portlet.journal.NoSuchArticleException; 590 591 /** 592 * Finds the last journal article in the ordered set 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 to search with 599 * @param orderByComparator the comparator to order the set by 600 * @return the last matching journal article 601 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 602 * @throws SystemException if a system exception occurred 603 */ 604 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 605 long companyId, 606 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 607 throws com.liferay.portal.kernel.exception.SystemException, 608 com.liferay.portlet.journal.NoSuchArticleException; 609 610 /** 611 * Finds the journal articles before and after the current journal article in the ordered set where companyId = ?. 612 * 613 * <p> 614 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 615 * </p> 616 * 617 * @param id the primary key of the current journal article 618 * @param companyId the company ID to search with 619 * @param orderByComparator the comparator to order the set by 620 * @return the previous, current, and next journal article 621 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 622 * @throws SystemException if a system exception occurred 623 */ 624 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 625 long id, long companyId, 626 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 627 throws com.liferay.portal.kernel.exception.SystemException, 628 com.liferay.portlet.journal.NoSuchArticleException; 629 630 /** 631 * Finds all the journal articles where smallImageId = ?. 632 * 633 * @param smallImageId the small image ID to search with 634 * @return the matching journal articles 635 * @throws SystemException if a system exception occurred 636 */ 637 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 638 long smallImageId) 639 throws com.liferay.portal.kernel.exception.SystemException; 640 641 /** 642 * Finds a range of all the journal articles where smallImageId = ?. 643 * 644 * <p> 645 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 646 * </p> 647 * 648 * @param smallImageId the small image ID to search with 649 * @param start the lower bound of the range of journal articles to return 650 * @param end the upper bound of the range of journal articles to return (not inclusive) 651 * @return the range of matching journal articles 652 * @throws SystemException if a system exception occurred 653 */ 654 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 655 long smallImageId, int start, int end) 656 throws com.liferay.portal.kernel.exception.SystemException; 657 658 /** 659 * Finds an ordered range of all the journal articles where smallImageId = ?. 660 * 661 * <p> 662 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 663 * </p> 664 * 665 * @param smallImageId the small image ID to search with 666 * @param start the lower bound of the range of journal articles to return 667 * @param end the upper bound of the range of journal articles to return (not inclusive) 668 * @param orderByComparator the comparator to order the results by 669 * @return the ordered range of matching journal articles 670 * @throws SystemException if a system exception occurred 671 */ 672 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 673 long smallImageId, int start, int end, 674 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 675 throws com.liferay.portal.kernel.exception.SystemException; 676 677 /** 678 * Finds the first journal article in the ordered set where smallImageId = ?. 679 * 680 * <p> 681 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 682 * </p> 683 * 684 * @param smallImageId the small image ID to search with 685 * @param orderByComparator the comparator to order the set by 686 * @return the first matching journal article 687 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 688 * @throws SystemException if a system exception occurred 689 */ 690 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 691 long smallImageId, 692 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 693 throws com.liferay.portal.kernel.exception.SystemException, 694 com.liferay.portlet.journal.NoSuchArticleException; 695 696 /** 697 * Finds the last journal article in the ordered set where smallImageId = ?. 698 * 699 * <p> 700 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 701 * </p> 702 * 703 * @param smallImageId the small image ID to search with 704 * @param orderByComparator the comparator to order the set by 705 * @return the last matching journal article 706 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 707 * @throws SystemException if a system exception occurred 708 */ 709 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 710 long smallImageId, 711 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 712 throws com.liferay.portal.kernel.exception.SystemException, 713 com.liferay.portlet.journal.NoSuchArticleException; 714 715 /** 716 * Finds the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 717 * 718 * <p> 719 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 720 * </p> 721 * 722 * @param id the primary key of the current journal article 723 * @param smallImageId the small image ID to search with 724 * @param orderByComparator the comparator to order the set by 725 * @return the previous, current, and next journal article 726 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 727 * @throws SystemException if a system exception occurred 728 */ 729 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 730 long id, long smallImageId, 731 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 732 throws com.liferay.portal.kernel.exception.SystemException, 733 com.liferay.portlet.journal.NoSuchArticleException; 734 735 /** 736 * Finds all the journal articles where resourcePrimKey = ? and status = ?. 737 * 738 * @param resourcePrimKey the resource prim key to search with 739 * @param status the status to search with 740 * @return the matching journal articles 741 * @throws SystemException if a system exception occurred 742 */ 743 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 744 long resourcePrimKey, int status) 745 throws com.liferay.portal.kernel.exception.SystemException; 746 747 /** 748 * Finds a range of all the journal articles where resourcePrimKey = ? and status = ?. 749 * 750 * <p> 751 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 752 * </p> 753 * 754 * @param resourcePrimKey the resource prim key to search with 755 * @param status the status to search with 756 * @param start the lower bound of the range of journal articles to return 757 * @param end the upper bound of the range of journal articles to return (not inclusive) 758 * @return the range of matching journal articles 759 * @throws SystemException if a system exception occurred 760 */ 761 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 762 long resourcePrimKey, int status, int start, int end) 763 throws com.liferay.portal.kernel.exception.SystemException; 764 765 /** 766 * Finds an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 767 * 768 * <p> 769 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 770 * </p> 771 * 772 * @param resourcePrimKey the resource prim key to search with 773 * @param status the status to search with 774 * @param start the lower bound of the range of journal articles to return 775 * @param end the upper bound of the range of journal articles to return (not inclusive) 776 * @param orderByComparator the comparator to order the results by 777 * @return the ordered range of matching journal articles 778 * @throws SystemException if a system exception occurred 779 */ 780 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 781 long resourcePrimKey, int status, int start, int end, 782 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 783 throws com.liferay.portal.kernel.exception.SystemException; 784 785 /** 786 * Finds the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 787 * 788 * <p> 789 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 790 * </p> 791 * 792 * @param resourcePrimKey the resource prim key to search with 793 * @param status the status to search with 794 * @param orderByComparator the comparator to order the set by 795 * @return the first matching journal article 796 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 797 * @throws SystemException if a system exception occurred 798 */ 799 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 800 long resourcePrimKey, int status, 801 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 802 throws com.liferay.portal.kernel.exception.SystemException, 803 com.liferay.portlet.journal.NoSuchArticleException; 804 805 /** 806 * Finds the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 807 * 808 * <p> 809 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 810 * </p> 811 * 812 * @param resourcePrimKey the resource prim key to search with 813 * @param status the status to search with 814 * @param orderByComparator the comparator to order the set by 815 * @return the last matching journal article 816 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 817 * @throws SystemException if a system exception occurred 818 */ 819 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 820 long resourcePrimKey, int status, 821 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 822 throws com.liferay.portal.kernel.exception.SystemException, 823 com.liferay.portlet.journal.NoSuchArticleException; 824 825 /** 826 * Finds the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 827 * 828 * <p> 829 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 830 * </p> 831 * 832 * @param id the primary key of the current journal article 833 * @param resourcePrimKey the resource prim key to search with 834 * @param status the status to search with 835 * @param orderByComparator the comparator to order the set by 836 * @return the previous, current, and next journal article 837 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 838 * @throws SystemException if a system exception occurred 839 */ 840 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 841 long id, long resourcePrimKey, int status, 842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 843 throws com.liferay.portal.kernel.exception.SystemException, 844 com.liferay.portlet.journal.NoSuchArticleException; 845 846 /** 847 * Finds all the journal articles where groupId = ? and articleId = ?. 848 * 849 * @param groupId the group ID to search with 850 * @param articleId the article ID to search with 851 * @return the matching journal articles 852 * @throws SystemException if a system exception occurred 853 */ 854 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 855 long groupId, java.lang.String articleId) 856 throws com.liferay.portal.kernel.exception.SystemException; 857 858 /** 859 * Finds a range of all the journal articles where groupId = ? and articleId = ?. 860 * 861 * <p> 862 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 863 * </p> 864 * 865 * @param groupId the group ID to search with 866 * @param articleId the article ID to search with 867 * @param start the lower bound of the range of journal articles to return 868 * @param end the upper bound of the range of journal articles to return (not inclusive) 869 * @return the range of matching journal articles 870 * @throws SystemException if a system exception occurred 871 */ 872 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 873 long groupId, java.lang.String articleId, int start, int end) 874 throws com.liferay.portal.kernel.exception.SystemException; 875 876 /** 877 * Finds an ordered range of all the journal articles where groupId = ? and articleId = ?. 878 * 879 * <p> 880 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 881 * </p> 882 * 883 * @param groupId the group ID to search with 884 * @param articleId the article ID to search with 885 * @param start the lower bound of the range of journal articles to return 886 * @param end the upper bound of the range of journal articles to return (not inclusive) 887 * @param orderByComparator the comparator to order the results by 888 * @return the ordered range of matching journal articles 889 * @throws SystemException if a system exception occurred 890 */ 891 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 892 long groupId, java.lang.String articleId, int start, int end, 893 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 894 throws com.liferay.portal.kernel.exception.SystemException; 895 896 /** 897 * Finds the first journal article in the ordered set where groupId = ? and articleId = ?. 898 * 899 * <p> 900 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 901 * </p> 902 * 903 * @param groupId the group ID to search with 904 * @param articleId the article ID to search with 905 * @param orderByComparator the comparator to order the set by 906 * @return the first matching journal article 907 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 908 * @throws SystemException if a system exception occurred 909 */ 910 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 911 long groupId, java.lang.String articleId, 912 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 913 throws com.liferay.portal.kernel.exception.SystemException, 914 com.liferay.portlet.journal.NoSuchArticleException; 915 916 /** 917 * Finds the last journal article in the ordered set where groupId = ? and articleId = ?. 918 * 919 * <p> 920 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 921 * </p> 922 * 923 * @param groupId the group ID to search with 924 * @param articleId the article ID to search with 925 * @param orderByComparator the comparator to order the set by 926 * @return the last matching journal article 927 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 928 * @throws SystemException if a system exception occurred 929 */ 930 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 931 long groupId, java.lang.String articleId, 932 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 933 throws com.liferay.portal.kernel.exception.SystemException, 934 com.liferay.portlet.journal.NoSuchArticleException; 935 936 /** 937 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 938 * 939 * <p> 940 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 941 * </p> 942 * 943 * @param id the primary key of the current journal article 944 * @param groupId the group ID to search with 945 * @param articleId the article ID to search with 946 * @param orderByComparator the comparator to order the set by 947 * @return the previous, current, and next journal article 948 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 949 * @throws SystemException if a system exception occurred 950 */ 951 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 952 long id, long groupId, java.lang.String articleId, 953 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 954 throws com.liferay.portal.kernel.exception.SystemException, 955 com.liferay.portlet.journal.NoSuchArticleException; 956 957 /** 958 * Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ?. 959 * 960 * @param groupId the group ID to search with 961 * @param articleId the article ID to search with 962 * @return the matching journal articles that the user has permission to view 963 * @throws SystemException if a system exception occurred 964 */ 965 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 966 long groupId, java.lang.String articleId) 967 throws com.liferay.portal.kernel.exception.SystemException; 968 969 /** 970 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ?. 971 * 972 * <p> 973 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 974 * </p> 975 * 976 * @param groupId the group ID to search with 977 * @param articleId the article ID to search with 978 * @param start the lower bound of the range of journal articles to return 979 * @param end the upper bound of the range of journal articles to return (not inclusive) 980 * @return the range of matching journal articles that the user has permission to view 981 * @throws SystemException if a system exception occurred 982 */ 983 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 984 long groupId, java.lang.String articleId, int start, int end) 985 throws com.liferay.portal.kernel.exception.SystemException; 986 987 /** 988 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ?. 989 * 990 * <p> 991 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 992 * </p> 993 * 994 * @param groupId the group ID to search with 995 * @param articleId the article ID to search with 996 * @param start the lower bound of the range of journal articles to return 997 * @param end the upper bound of the range of journal articles to return (not inclusive) 998 * @param orderByComparator the comparator to order the results by 999 * @return the ordered range of matching journal articles that the user has permission to view 1000 * @throws SystemException if a system exception occurred 1001 */ 1002 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 1003 long groupId, java.lang.String articleId, int start, int end, 1004 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1005 throws com.liferay.portal.kernel.exception.SystemException; 1006 1007 /** 1008 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 1009 * 1010 * <p> 1011 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1012 * </p> 1013 * 1014 * @param id the primary key of the current journal article 1015 * @param groupId the group ID to search with 1016 * @param articleId the article ID to search with 1017 * @param orderByComparator the comparator to order the set by 1018 * @return the previous, current, and next journal article 1019 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1020 * @throws SystemException if a system exception occurred 1021 */ 1022 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 1023 long id, long groupId, java.lang.String articleId, 1024 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1025 throws com.liferay.portal.kernel.exception.SystemException, 1026 com.liferay.portlet.journal.NoSuchArticleException; 1027 1028 /** 1029 * Finds all the journal articles where groupId = ? and urlTitle = ?. 1030 * 1031 * @param groupId the group ID to search with 1032 * @param urlTitle the url title to search with 1033 * @return the matching journal articles 1034 * @throws SystemException if a system exception occurred 1035 */ 1036 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1037 long groupId, java.lang.String urlTitle) 1038 throws com.liferay.portal.kernel.exception.SystemException; 1039 1040 /** 1041 * Finds a range of all the journal articles where groupId = ? and urlTitle = ?. 1042 * 1043 * <p> 1044 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1045 * </p> 1046 * 1047 * @param groupId the group ID to search with 1048 * @param urlTitle the url title to search with 1049 * @param start the lower bound of the range of journal articles to return 1050 * @param end the upper bound of the range of journal articles to return (not inclusive) 1051 * @return the range of matching journal articles 1052 * @throws SystemException if a system exception occurred 1053 */ 1054 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1055 long groupId, java.lang.String urlTitle, int start, int end) 1056 throws com.liferay.portal.kernel.exception.SystemException; 1057 1058 /** 1059 * Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 1060 * 1061 * <p> 1062 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1063 * </p> 1064 * 1065 * @param groupId the group ID to search with 1066 * @param urlTitle the url title to search with 1067 * @param start the lower bound of the range of journal articles to return 1068 * @param end the upper bound of the range of journal articles to return (not inclusive) 1069 * @param orderByComparator the comparator to order the results by 1070 * @return the ordered range of matching journal articles 1071 * @throws SystemException if a system exception occurred 1072 */ 1073 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 1074 long groupId, java.lang.String urlTitle, int start, int end, 1075 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1076 throws com.liferay.portal.kernel.exception.SystemException; 1077 1078 /** 1079 * Finds the first journal article in the ordered set where groupId = ? and urlTitle = ?. 1080 * 1081 * <p> 1082 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1083 * </p> 1084 * 1085 * @param groupId the group ID to search with 1086 * @param urlTitle the url title to search with 1087 * @param orderByComparator the comparator to order the set by 1088 * @return the first matching journal article 1089 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1090 * @throws SystemException if a system exception occurred 1091 */ 1092 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 1093 long groupId, java.lang.String urlTitle, 1094 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1095 throws com.liferay.portal.kernel.exception.SystemException, 1096 com.liferay.portlet.journal.NoSuchArticleException; 1097 1098 /** 1099 * Finds the last journal article in the ordered set where groupId = ? and urlTitle = ?. 1100 * 1101 * <p> 1102 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1103 * </p> 1104 * 1105 * @param groupId the group ID to search with 1106 * @param urlTitle the url title to search with 1107 * @param orderByComparator the comparator to order the set by 1108 * @return the last matching journal article 1109 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1110 * @throws SystemException if a system exception occurred 1111 */ 1112 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 1113 long groupId, java.lang.String urlTitle, 1114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1115 throws com.liferay.portal.kernel.exception.SystemException, 1116 com.liferay.portlet.journal.NoSuchArticleException; 1117 1118 /** 1119 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 1120 * 1121 * <p> 1122 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1123 * </p> 1124 * 1125 * @param id the primary key of the current journal article 1126 * @param groupId the group ID to search with 1127 * @param urlTitle the url title to search with 1128 * @param orderByComparator the comparator to order the set by 1129 * @return the previous, current, and next journal article 1130 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1131 * @throws SystemException if a system exception occurred 1132 */ 1133 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 1134 long id, long groupId, java.lang.String urlTitle, 1135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1136 throws com.liferay.portal.kernel.exception.SystemException, 1137 com.liferay.portlet.journal.NoSuchArticleException; 1138 1139 /** 1140 * Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ?. 1141 * 1142 * @param groupId the group ID to search with 1143 * @param urlTitle the url title to search with 1144 * @return the matching journal articles that the user has permission to view 1145 * @throws SystemException if a system exception occurred 1146 */ 1147 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1148 long groupId, java.lang.String urlTitle) 1149 throws com.liferay.portal.kernel.exception.SystemException; 1150 1151 /** 1152 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ?. 1153 * 1154 * <p> 1155 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1156 * </p> 1157 * 1158 * @param groupId the group ID to search with 1159 * @param urlTitle the url title to search with 1160 * @param start the lower bound of the range of journal articles to return 1161 * @param end the upper bound of the range of journal articles to return (not inclusive) 1162 * @return the range of matching journal articles that the user has permission to view 1163 * @throws SystemException if a system exception occurred 1164 */ 1165 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1166 long groupId, java.lang.String urlTitle, int start, int end) 1167 throws com.liferay.portal.kernel.exception.SystemException; 1168 1169 /** 1170 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 1171 * 1172 * <p> 1173 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1174 * </p> 1175 * 1176 * @param groupId the group ID to search with 1177 * @param urlTitle the url title to search with 1178 * @param start the lower bound of the range of journal articles to return 1179 * @param end the upper bound of the range of journal articles to return (not inclusive) 1180 * @param orderByComparator the comparator to order the results by 1181 * @return the ordered range of matching journal articles that the user has permission to view 1182 * @throws SystemException if a system exception occurred 1183 */ 1184 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 1185 long groupId, java.lang.String urlTitle, int start, int end, 1186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1187 throws com.liferay.portal.kernel.exception.SystemException; 1188 1189 /** 1190 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 1191 * 1192 * <p> 1193 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1194 * </p> 1195 * 1196 * @param id the primary key of the current journal article 1197 * @param groupId the group ID to search with 1198 * @param urlTitle the url title to search with 1199 * @param orderByComparator the comparator to order the set by 1200 * @return the previous, current, and next journal article 1201 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1202 * @throws SystemException if a system exception occurred 1203 */ 1204 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 1205 long id, long groupId, java.lang.String urlTitle, 1206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1207 throws com.liferay.portal.kernel.exception.SystemException, 1208 com.liferay.portlet.journal.NoSuchArticleException; 1209 1210 /** 1211 * Finds all the journal articles where groupId = ? and structureId = ?. 1212 * 1213 * @param groupId the group ID to search with 1214 * @param structureId the structure ID to search with 1215 * @return the matching journal articles 1216 * @throws SystemException if a system exception occurred 1217 */ 1218 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1219 long groupId, java.lang.String structureId) 1220 throws com.liferay.portal.kernel.exception.SystemException; 1221 1222 /** 1223 * Finds a range of all the journal articles where groupId = ? and structureId = ?. 1224 * 1225 * <p> 1226 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1227 * </p> 1228 * 1229 * @param groupId the group ID to search with 1230 * @param structureId the structure ID to search with 1231 * @param start the lower bound of the range of journal articles to return 1232 * @param end the upper bound of the range of journal articles to return (not inclusive) 1233 * @return the range of matching journal articles 1234 * @throws SystemException if a system exception occurred 1235 */ 1236 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1237 long groupId, java.lang.String structureId, int start, int end) 1238 throws com.liferay.portal.kernel.exception.SystemException; 1239 1240 /** 1241 * Finds an ordered range of all the journal articles where groupId = ? and structureId = ?. 1242 * 1243 * <p> 1244 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1245 * </p> 1246 * 1247 * @param groupId the group ID to search with 1248 * @param structureId the structure ID to search with 1249 * @param start the lower bound of the range of journal articles to return 1250 * @param end the upper bound of the range of journal articles to return (not inclusive) 1251 * @param orderByComparator the comparator to order the results by 1252 * @return the ordered range of matching journal articles 1253 * @throws SystemException if a system exception occurred 1254 */ 1255 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 1256 long groupId, java.lang.String structureId, int start, int end, 1257 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1258 throws com.liferay.portal.kernel.exception.SystemException; 1259 1260 /** 1261 * Finds the first journal article in the ordered set where groupId = ? and structureId = ?. 1262 * 1263 * <p> 1264 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1265 * </p> 1266 * 1267 * @param groupId the group ID to search with 1268 * @param structureId the structure ID to search with 1269 * @param orderByComparator the comparator to order the set by 1270 * @return the first matching journal article 1271 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1272 * @throws SystemException if a system exception occurred 1273 */ 1274 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 1275 long groupId, java.lang.String structureId, 1276 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1277 throws com.liferay.portal.kernel.exception.SystemException, 1278 com.liferay.portlet.journal.NoSuchArticleException; 1279 1280 /** 1281 * Finds the last journal article in the ordered set where groupId = ? and structureId = ?. 1282 * 1283 * <p> 1284 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1285 * </p> 1286 * 1287 * @param groupId the group ID to search with 1288 * @param structureId the structure ID to search with 1289 * @param orderByComparator the comparator to order the set by 1290 * @return the last matching journal article 1291 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1292 * @throws SystemException if a system exception occurred 1293 */ 1294 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 1295 long groupId, java.lang.String structureId, 1296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1297 throws com.liferay.portal.kernel.exception.SystemException, 1298 com.liferay.portlet.journal.NoSuchArticleException; 1299 1300 /** 1301 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 1302 * 1303 * <p> 1304 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1305 * </p> 1306 * 1307 * @param id the primary key of the current journal article 1308 * @param groupId the group ID to search with 1309 * @param structureId the structure ID to search with 1310 * @param orderByComparator the comparator to order the set by 1311 * @return the previous, current, and next journal article 1312 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1313 * @throws SystemException if a system exception occurred 1314 */ 1315 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 1316 long id, long groupId, java.lang.String structureId, 1317 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1318 throws com.liferay.portal.kernel.exception.SystemException, 1319 com.liferay.portlet.journal.NoSuchArticleException; 1320 1321 /** 1322 * Filters by the user's permissions and finds all the journal articles where groupId = ? and structureId = ?. 1323 * 1324 * @param groupId the group ID to search with 1325 * @param structureId the structure ID to search with 1326 * @return the matching journal articles that the user has permission to view 1327 * @throws SystemException if a system exception occurred 1328 */ 1329 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1330 long groupId, java.lang.String structureId) 1331 throws com.liferay.portal.kernel.exception.SystemException; 1332 1333 /** 1334 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and structureId = ?. 1335 * 1336 * <p> 1337 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1338 * </p> 1339 * 1340 * @param groupId the group ID to search with 1341 * @param structureId the structure ID to search with 1342 * @param start the lower bound of the range of journal articles to return 1343 * @param end the upper bound of the range of journal articles to return (not inclusive) 1344 * @return the range of matching journal articles that the user has permission to view 1345 * @throws SystemException if a system exception occurred 1346 */ 1347 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1348 long groupId, java.lang.String structureId, int start, int end) 1349 throws com.liferay.portal.kernel.exception.SystemException; 1350 1351 /** 1352 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and structureId = ?. 1353 * 1354 * <p> 1355 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1356 * </p> 1357 * 1358 * @param groupId the group ID to search with 1359 * @param structureId the structure ID to search with 1360 * @param start the lower bound of the range of journal articles to return 1361 * @param end the upper bound of the range of journal articles to return (not inclusive) 1362 * @param orderByComparator the comparator to order the results by 1363 * @return the ordered range of matching journal articles that the user has permission to view 1364 * @throws SystemException if a system exception occurred 1365 */ 1366 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 1367 long groupId, java.lang.String structureId, int start, int end, 1368 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1369 throws com.liferay.portal.kernel.exception.SystemException; 1370 1371 /** 1372 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 1373 * 1374 * <p> 1375 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1376 * </p> 1377 * 1378 * @param id the primary key of the current journal article 1379 * @param groupId the group ID to search with 1380 * @param structureId the structure ID to search with 1381 * @param orderByComparator the comparator to order the set by 1382 * @return the previous, current, and next journal article 1383 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1384 * @throws SystemException if a system exception occurred 1385 */ 1386 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 1387 long id, long groupId, java.lang.String structureId, 1388 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1389 throws com.liferay.portal.kernel.exception.SystemException, 1390 com.liferay.portlet.journal.NoSuchArticleException; 1391 1392 /** 1393 * Finds all the journal articles where groupId = ? and templateId = ?. 1394 * 1395 * @param groupId the group ID to search with 1396 * @param templateId the template ID to search with 1397 * @return the matching journal articles 1398 * @throws SystemException if a system exception occurred 1399 */ 1400 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1401 long groupId, java.lang.String templateId) 1402 throws com.liferay.portal.kernel.exception.SystemException; 1403 1404 /** 1405 * Finds a range of all the journal articles where groupId = ? and templateId = ?. 1406 * 1407 * <p> 1408 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1409 * </p> 1410 * 1411 * @param groupId the group ID to search with 1412 * @param templateId the template ID to search with 1413 * @param start the lower bound of the range of journal articles to return 1414 * @param end the upper bound of the range of journal articles to return (not inclusive) 1415 * @return the range of matching journal articles 1416 * @throws SystemException if a system exception occurred 1417 */ 1418 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1419 long groupId, java.lang.String templateId, int start, int end) 1420 throws com.liferay.portal.kernel.exception.SystemException; 1421 1422 /** 1423 * Finds an ordered range of all the journal articles where groupId = ? and templateId = ?. 1424 * 1425 * <p> 1426 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1427 * </p> 1428 * 1429 * @param groupId the group ID to search with 1430 * @param templateId the template ID to search with 1431 * @param start the lower bound of the range of journal articles to return 1432 * @param end the upper bound of the range of journal articles to return (not inclusive) 1433 * @param orderByComparator the comparator to order the results by 1434 * @return the ordered range of matching journal articles 1435 * @throws SystemException if a system exception occurred 1436 */ 1437 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 1438 long groupId, java.lang.String templateId, int start, int end, 1439 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1440 throws com.liferay.portal.kernel.exception.SystemException; 1441 1442 /** 1443 * Finds the first journal article in the ordered set where groupId = ? and templateId = ?. 1444 * 1445 * <p> 1446 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1447 * </p> 1448 * 1449 * @param groupId the group ID to search with 1450 * @param templateId the template ID to search with 1451 * @param orderByComparator the comparator to order the set by 1452 * @return the first matching journal article 1453 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1454 * @throws SystemException if a system exception occurred 1455 */ 1456 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 1457 long groupId, java.lang.String templateId, 1458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1459 throws com.liferay.portal.kernel.exception.SystemException, 1460 com.liferay.portlet.journal.NoSuchArticleException; 1461 1462 /** 1463 * Finds the last journal article in the ordered set where groupId = ? and templateId = ?. 1464 * 1465 * <p> 1466 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1467 * </p> 1468 * 1469 * @param groupId the group ID to search with 1470 * @param templateId the template ID to search with 1471 * @param orderByComparator the comparator to order the set by 1472 * @return the last matching journal article 1473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1474 * @throws SystemException if a system exception occurred 1475 */ 1476 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 1477 long groupId, java.lang.String templateId, 1478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1479 throws com.liferay.portal.kernel.exception.SystemException, 1480 com.liferay.portlet.journal.NoSuchArticleException; 1481 1482 /** 1483 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 1484 * 1485 * <p> 1486 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1487 * </p> 1488 * 1489 * @param id the primary key of the current journal article 1490 * @param groupId the group ID to search with 1491 * @param templateId the template ID to search with 1492 * @param orderByComparator the comparator to order the set by 1493 * @return the previous, current, and next journal article 1494 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1495 * @throws SystemException if a system exception occurred 1496 */ 1497 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 1498 long id, long groupId, java.lang.String templateId, 1499 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1500 throws com.liferay.portal.kernel.exception.SystemException, 1501 com.liferay.portlet.journal.NoSuchArticleException; 1502 1503 /** 1504 * Filters by the user's permissions and finds all the journal articles where groupId = ? and templateId = ?. 1505 * 1506 * @param groupId the group ID to search with 1507 * @param templateId the template ID to search with 1508 * @return the matching journal articles that the user has permission to view 1509 * @throws SystemException if a system exception occurred 1510 */ 1511 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1512 long groupId, java.lang.String templateId) 1513 throws com.liferay.portal.kernel.exception.SystemException; 1514 1515 /** 1516 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and templateId = ?. 1517 * 1518 * <p> 1519 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1520 * </p> 1521 * 1522 * @param groupId the group ID to search with 1523 * @param templateId the template ID to search with 1524 * @param start the lower bound of the range of journal articles to return 1525 * @param end the upper bound of the range of journal articles to return (not inclusive) 1526 * @return the range of matching journal articles that the user has permission to view 1527 * @throws SystemException if a system exception occurred 1528 */ 1529 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1530 long groupId, java.lang.String templateId, int start, int end) 1531 throws com.liferay.portal.kernel.exception.SystemException; 1532 1533 /** 1534 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and templateId = ?. 1535 * 1536 * <p> 1537 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1538 * </p> 1539 * 1540 * @param groupId the group ID to search with 1541 * @param templateId the template ID to search with 1542 * @param start the lower bound of the range of journal articles to return 1543 * @param end the upper bound of the range of journal articles to return (not inclusive) 1544 * @param orderByComparator the comparator to order the results by 1545 * @return the ordered range of matching journal articles that the user has permission to view 1546 * @throws SystemException if a system exception occurred 1547 */ 1548 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 1549 long groupId, java.lang.String templateId, int start, int end, 1550 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1551 throws com.liferay.portal.kernel.exception.SystemException; 1552 1553 /** 1554 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 1555 * 1556 * <p> 1557 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1558 * </p> 1559 * 1560 * @param id the primary key of the current journal article 1561 * @param groupId the group ID to search with 1562 * @param templateId the template ID to search with 1563 * @param orderByComparator the comparator to order the set by 1564 * @return the previous, current, and next journal article 1565 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1566 * @throws SystemException if a system exception occurred 1567 */ 1568 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 1569 long id, long groupId, java.lang.String templateId, 1570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1571 throws com.liferay.portal.kernel.exception.SystemException, 1572 com.liferay.portlet.journal.NoSuchArticleException; 1573 1574 /** 1575 * Finds all the journal articles where groupId = ? and status = ?. 1576 * 1577 * @param groupId the group ID to search with 1578 * @param status the status to search with 1579 * @return the matching journal articles 1580 * @throws SystemException if a system exception occurred 1581 */ 1582 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1583 long groupId, int status) 1584 throws com.liferay.portal.kernel.exception.SystemException; 1585 1586 /** 1587 * Finds a range of all the journal articles where groupId = ? and status = ?. 1588 * 1589 * <p> 1590 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1591 * </p> 1592 * 1593 * @param groupId the group ID to search with 1594 * @param status the status to search with 1595 * @param start the lower bound of the range of journal articles to return 1596 * @param end the upper bound of the range of journal articles to return (not inclusive) 1597 * @return the range of matching journal articles 1598 * @throws SystemException if a system exception occurred 1599 */ 1600 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1601 long groupId, int status, int start, int end) 1602 throws com.liferay.portal.kernel.exception.SystemException; 1603 1604 /** 1605 * Finds an ordered range of all the journal articles where groupId = ? and status = ?. 1606 * 1607 * <p> 1608 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1609 * </p> 1610 * 1611 * @param groupId the group ID to search with 1612 * @param status the status to search with 1613 * @param start the lower bound of the range of journal articles to return 1614 * @param end the upper bound of the range of journal articles to return (not inclusive) 1615 * @param orderByComparator the comparator to order the results by 1616 * @return the ordered range of matching journal articles 1617 * @throws SystemException if a system exception occurred 1618 */ 1619 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 1620 long groupId, int status, int start, int end, 1621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1622 throws com.liferay.portal.kernel.exception.SystemException; 1623 1624 /** 1625 * Finds the first journal article in the ordered set where groupId = ? and status = ?. 1626 * 1627 * <p> 1628 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1629 * </p> 1630 * 1631 * @param groupId the group ID to search with 1632 * @param status the status to search with 1633 * @param orderByComparator the comparator to order the set by 1634 * @return the first matching journal article 1635 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1636 * @throws SystemException if a system exception occurred 1637 */ 1638 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 1639 long groupId, int status, 1640 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1641 throws com.liferay.portal.kernel.exception.SystemException, 1642 com.liferay.portlet.journal.NoSuchArticleException; 1643 1644 /** 1645 * Finds the last journal article in the ordered set where groupId = ? and status = ?. 1646 * 1647 * <p> 1648 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1649 * </p> 1650 * 1651 * @param groupId the group ID to search with 1652 * @param status the status to search with 1653 * @param orderByComparator the comparator to order the set by 1654 * @return the last matching journal article 1655 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1656 * @throws SystemException if a system exception occurred 1657 */ 1658 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 1659 long groupId, int status, 1660 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1661 throws com.liferay.portal.kernel.exception.SystemException, 1662 com.liferay.portlet.journal.NoSuchArticleException; 1663 1664 /** 1665 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 1666 * 1667 * <p> 1668 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1669 * </p> 1670 * 1671 * @param id the primary key of the current journal article 1672 * @param groupId the group ID to search with 1673 * @param status the status to search with 1674 * @param orderByComparator the comparator to order the set by 1675 * @return the previous, current, and next journal article 1676 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1677 * @throws SystemException if a system exception occurred 1678 */ 1679 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 1680 long id, long groupId, int status, 1681 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1682 throws com.liferay.portal.kernel.exception.SystemException, 1683 com.liferay.portlet.journal.NoSuchArticleException; 1684 1685 /** 1686 * Filters by the user's permissions and finds all the journal articles where groupId = ? and status = ?. 1687 * 1688 * @param groupId the group ID to search with 1689 * @param status the status to search with 1690 * @return the matching journal articles that the user has permission to view 1691 * @throws SystemException if a system exception occurred 1692 */ 1693 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 1694 long groupId, int status) 1695 throws com.liferay.portal.kernel.exception.SystemException; 1696 1697 /** 1698 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and status = ?. 1699 * 1700 * <p> 1701 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1702 * </p> 1703 * 1704 * @param groupId the group ID to search with 1705 * @param status the status to search with 1706 * @param start the lower bound of the range of journal articles to return 1707 * @param end the upper bound of the range of journal articles to return (not inclusive) 1708 * @return the range of matching journal articles that the user has permission to view 1709 * @throws SystemException if a system exception occurred 1710 */ 1711 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 1712 long groupId, int status, int start, int end) 1713 throws com.liferay.portal.kernel.exception.SystemException; 1714 1715 /** 1716 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and status = ?. 1717 * 1718 * <p> 1719 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1720 * </p> 1721 * 1722 * @param groupId the group ID to search with 1723 * @param status the status to search with 1724 * @param start the lower bound of the range of journal articles to return 1725 * @param end the upper bound of the range of journal articles to return (not inclusive) 1726 * @param orderByComparator the comparator to order the results by 1727 * @return the ordered range of matching journal articles that the user has permission to view 1728 * @throws SystemException if a system exception occurred 1729 */ 1730 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 1731 long groupId, int status, int start, int end, 1732 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1733 throws com.liferay.portal.kernel.exception.SystemException; 1734 1735 /** 1736 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 1737 * 1738 * <p> 1739 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1740 * </p> 1741 * 1742 * @param id the primary key of the current journal article 1743 * @param groupId the group ID to search with 1744 * @param status the status to search with 1745 * @param orderByComparator the comparator to order the set by 1746 * @return the previous, current, and next journal article 1747 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1748 * @throws SystemException if a system exception occurred 1749 */ 1750 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 1751 long id, long groupId, int status, 1752 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1753 throws com.liferay.portal.kernel.exception.SystemException, 1754 com.liferay.portlet.journal.NoSuchArticleException; 1755 1756 /** 1757 * Finds all the journal articles where companyId = ? and version = ?. 1758 * 1759 * @param companyId the company ID to search with 1760 * @param version the version to search with 1761 * @return the matching journal articles 1762 * @throws SystemException if a system exception occurred 1763 */ 1764 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 1765 long companyId, double version) 1766 throws com.liferay.portal.kernel.exception.SystemException; 1767 1768 /** 1769 * Finds a range of all the journal articles where companyId = ? and version = ?. 1770 * 1771 * <p> 1772 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1773 * </p> 1774 * 1775 * @param companyId the company ID to search with 1776 * @param version the version to search with 1777 * @param start the lower bound of the range of journal articles to return 1778 * @param end the upper bound of the range of journal articles to return (not inclusive) 1779 * @return the range of matching journal articles 1780 * @throws SystemException if a system exception occurred 1781 */ 1782 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 1783 long companyId, double version, int start, int end) 1784 throws com.liferay.portal.kernel.exception.SystemException; 1785 1786 /** 1787 * Finds an ordered range of all the journal articles where companyId = ? and version = ?. 1788 * 1789 * <p> 1790 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1791 * </p> 1792 * 1793 * @param companyId the company ID to search with 1794 * @param version the version to search with 1795 * @param start the lower bound of the range of journal articles to return 1796 * @param end the upper bound of the range of journal articles to return (not inclusive) 1797 * @param orderByComparator the comparator to order the results by 1798 * @return the ordered range of matching journal articles 1799 * @throws SystemException if a system exception occurred 1800 */ 1801 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 1802 long companyId, double version, int start, int end, 1803 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1804 throws com.liferay.portal.kernel.exception.SystemException; 1805 1806 /** 1807 * Finds the first journal article in the ordered set where companyId = ? and version = ?. 1808 * 1809 * <p> 1810 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1811 * </p> 1812 * 1813 * @param companyId the company ID to search with 1814 * @param version the version to search with 1815 * @param orderByComparator the comparator to order the set by 1816 * @return the first matching journal article 1817 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1818 * @throws SystemException if a system exception occurred 1819 */ 1820 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 1821 long companyId, double version, 1822 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1823 throws com.liferay.portal.kernel.exception.SystemException, 1824 com.liferay.portlet.journal.NoSuchArticleException; 1825 1826 /** 1827 * Finds the last journal article in the ordered set where companyId = ? and version = ?. 1828 * 1829 * <p> 1830 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1831 * </p> 1832 * 1833 * @param companyId the company ID to search with 1834 * @param version the version to search with 1835 * @param orderByComparator the comparator to order the set by 1836 * @return the last matching journal article 1837 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1838 * @throws SystemException if a system exception occurred 1839 */ 1840 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 1841 long companyId, double version, 1842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1843 throws com.liferay.portal.kernel.exception.SystemException, 1844 com.liferay.portlet.journal.NoSuchArticleException; 1845 1846 /** 1847 * Finds the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 1848 * 1849 * <p> 1850 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1851 * </p> 1852 * 1853 * @param id the primary key of the current journal article 1854 * @param companyId the company ID to search with 1855 * @param version the version to search with 1856 * @param orderByComparator the comparator to order the set by 1857 * @return the previous, current, and next journal article 1858 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1859 * @throws SystemException if a system exception occurred 1860 */ 1861 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 1862 long id, long companyId, double version, 1863 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1864 throws com.liferay.portal.kernel.exception.SystemException, 1865 com.liferay.portlet.journal.NoSuchArticleException; 1866 1867 /** 1868 * Finds all the journal articles where companyId = ? and status = ?. 1869 * 1870 * @param companyId the company ID to search with 1871 * @param status the status to search with 1872 * @return the matching journal articles 1873 * @throws SystemException if a system exception occurred 1874 */ 1875 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 1876 long companyId, int status) 1877 throws com.liferay.portal.kernel.exception.SystemException; 1878 1879 /** 1880 * Finds a range of all the journal articles where companyId = ? and status = ?. 1881 * 1882 * <p> 1883 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1884 * </p> 1885 * 1886 * @param companyId the company ID to search with 1887 * @param status the status to search with 1888 * @param start the lower bound of the range of journal articles to return 1889 * @param end the upper bound of the range of journal articles to return (not inclusive) 1890 * @return the range of matching journal articles 1891 * @throws SystemException if a system exception occurred 1892 */ 1893 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 1894 long companyId, int status, int start, int end) 1895 throws com.liferay.portal.kernel.exception.SystemException; 1896 1897 /** 1898 * Finds an ordered range of all the journal articles where companyId = ? and status = ?. 1899 * 1900 * <p> 1901 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1902 * </p> 1903 * 1904 * @param companyId the company ID to search with 1905 * @param status the status to search with 1906 * @param start the lower bound of the range of journal articles to return 1907 * @param end the upper bound of the range of journal articles to return (not inclusive) 1908 * @param orderByComparator the comparator to order the results by 1909 * @return the ordered range of matching journal articles 1910 * @throws SystemException if a system exception occurred 1911 */ 1912 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 1913 long companyId, int status, int start, int end, 1914 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1915 throws com.liferay.portal.kernel.exception.SystemException; 1916 1917 /** 1918 * Finds the first journal article in the ordered set where companyId = ? and status = ?. 1919 * 1920 * <p> 1921 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1922 * </p> 1923 * 1924 * @param companyId the company ID to search with 1925 * @param status the status to search with 1926 * @param orderByComparator the comparator to order the set by 1927 * @return the first matching journal article 1928 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1929 * @throws SystemException if a system exception occurred 1930 */ 1931 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 1932 long companyId, int status, 1933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1934 throws com.liferay.portal.kernel.exception.SystemException, 1935 com.liferay.portlet.journal.NoSuchArticleException; 1936 1937 /** 1938 * Finds the last journal article in the ordered set where companyId = ? and status = ?. 1939 * 1940 * <p> 1941 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1942 * </p> 1943 * 1944 * @param companyId the company ID to search with 1945 * @param status the status to search with 1946 * @param orderByComparator the comparator to order the set by 1947 * @return the last matching journal article 1948 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1949 * @throws SystemException if a system exception occurred 1950 */ 1951 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 1952 long companyId, int status, 1953 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1954 throws com.liferay.portal.kernel.exception.SystemException, 1955 com.liferay.portlet.journal.NoSuchArticleException; 1956 1957 /** 1958 * Finds the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 1959 * 1960 * <p> 1961 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1962 * </p> 1963 * 1964 * @param id the primary key of the current journal article 1965 * @param companyId the company ID to search with 1966 * @param status the status to search with 1967 * @param orderByComparator the comparator to order the set by 1968 * @return the previous, current, and next journal article 1969 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1970 * @throws SystemException if a system exception occurred 1971 */ 1972 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 1973 long id, long companyId, int status, 1974 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1975 throws com.liferay.portal.kernel.exception.SystemException, 1976 com.liferay.portlet.journal.NoSuchArticleException; 1977 1978 /** 1979 * Finds the journal article where groupId = ? and articleId = ? and version = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 1980 * 1981 * @param groupId the group ID to search with 1982 * @param articleId the article ID to search with 1983 * @param version the version to search with 1984 * @return the matching journal article 1985 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1986 * @throws SystemException if a system exception occurred 1987 */ 1988 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 1989 long groupId, java.lang.String articleId, double version) 1990 throws com.liferay.portal.kernel.exception.SystemException, 1991 com.liferay.portlet.journal.NoSuchArticleException; 1992 1993 /** 1994 * Finds the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1995 * 1996 * @param groupId the group ID to search with 1997 * @param articleId the article ID to search with 1998 * @param version the version to search with 1999 * @return the matching journal article, or <code>null</code> 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 fetchByG_A_V( 2003 long groupId, java.lang.String articleId, double version) 2004 throws com.liferay.portal.kernel.exception.SystemException; 2005 2006 /** 2007 * Finds 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. 2008 * 2009 * @param groupId the group ID to search with 2010 * @param articleId the article ID to search with 2011 * @param version the version to search with 2012 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 2013 * @throws SystemException if a system exception occurred 2014 */ 2015 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 2016 long groupId, java.lang.String articleId, double version, 2017 boolean retrieveFromCache) 2018 throws com.liferay.portal.kernel.exception.SystemException; 2019 2020 /** 2021 * Finds all the journal articles where groupId = ? and articleId = ? and status = ?. 2022 * 2023 * @param groupId the group ID to search with 2024 * @param articleId the article ID to search with 2025 * @param status the status to search with 2026 * @return the matching journal articles 2027 * @throws SystemException if a system exception occurred 2028 */ 2029 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 2030 long groupId, java.lang.String articleId, int status) 2031 throws com.liferay.portal.kernel.exception.SystemException; 2032 2033 /** 2034 * Finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 2035 * 2036 * <p> 2037 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2038 * </p> 2039 * 2040 * @param groupId the group ID to search with 2041 * @param articleId the article ID to search with 2042 * @param status the status to search with 2043 * @param start the lower bound of the range of journal articles to return 2044 * @param end the upper bound of the range of journal articles to return (not inclusive) 2045 * @return the range of matching journal articles 2046 * @throws SystemException if a system exception occurred 2047 */ 2048 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 2049 long groupId, java.lang.String articleId, int status, int start, int end) 2050 throws com.liferay.portal.kernel.exception.SystemException; 2051 2052 /** 2053 * Finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 2054 * 2055 * <p> 2056 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2057 * </p> 2058 * 2059 * @param groupId the group ID to search with 2060 * @param articleId the article ID to search with 2061 * @param status the status to search with 2062 * @param start the lower bound of the range of journal articles to return 2063 * @param end the upper bound of the range of journal articles to return (not inclusive) 2064 * @param orderByComparator the comparator to order the results by 2065 * @return the ordered range of matching journal articles 2066 * @throws SystemException if a system exception occurred 2067 */ 2068 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 2069 long groupId, java.lang.String articleId, int status, int start, 2070 int end, 2071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2072 throws com.liferay.portal.kernel.exception.SystemException; 2073 2074 /** 2075 * Finds the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 2076 * 2077 * <p> 2078 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2079 * </p> 2080 * 2081 * @param groupId the group ID to search with 2082 * @param articleId the article ID to search with 2083 * @param status the status to search with 2084 * @param orderByComparator the comparator to order the set by 2085 * @return the first matching journal article 2086 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2087 * @throws SystemException if a system exception occurred 2088 */ 2089 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 2090 long groupId, java.lang.String articleId, int status, 2091 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2092 throws com.liferay.portal.kernel.exception.SystemException, 2093 com.liferay.portlet.journal.NoSuchArticleException; 2094 2095 /** 2096 * Finds the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 2097 * 2098 * <p> 2099 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2100 * </p> 2101 * 2102 * @param groupId the group ID to search with 2103 * @param articleId the article ID to search with 2104 * @param status the status to search with 2105 * @param orderByComparator the comparator to order the set by 2106 * @return the last matching journal article 2107 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2108 * @throws SystemException if a system exception occurred 2109 */ 2110 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 2111 long groupId, java.lang.String articleId, int status, 2112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2113 throws com.liferay.portal.kernel.exception.SystemException, 2114 com.liferay.portlet.journal.NoSuchArticleException; 2115 2116 /** 2117 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 2118 * 2119 * <p> 2120 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2121 * </p> 2122 * 2123 * @param id the primary key of the current journal article 2124 * @param groupId the group ID to search with 2125 * @param articleId the article ID to search with 2126 * @param status the status to search with 2127 * @param orderByComparator the comparator to order the set by 2128 * @return the previous, current, and next journal article 2129 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2130 * @throws SystemException if a system exception occurred 2131 */ 2132 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 2133 long id, long groupId, java.lang.String articleId, int status, 2134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2135 throws com.liferay.portal.kernel.exception.SystemException, 2136 com.liferay.portlet.journal.NoSuchArticleException; 2137 2138 /** 2139 * Filters by the user's permissions and finds all the journal articles where groupId = ? and articleId = ? and status = ?. 2140 * 2141 * @param groupId the group ID to search with 2142 * @param articleId the article ID to search with 2143 * @param status the status to search with 2144 * @return the matching journal articles that the user has permission to view 2145 * @throws SystemException if a system exception occurred 2146 */ 2147 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 2148 long groupId, java.lang.String articleId, int status) 2149 throws com.liferay.portal.kernel.exception.SystemException; 2150 2151 /** 2152 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 2153 * 2154 * <p> 2155 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2156 * </p> 2157 * 2158 * @param groupId the group ID to search with 2159 * @param articleId the article ID to search with 2160 * @param status the status to search with 2161 * @param start the lower bound of the range of journal articles to return 2162 * @param end the upper bound of the range of journal articles to return (not inclusive) 2163 * @return the range of matching journal articles that the user has permission to view 2164 * @throws SystemException if a system exception occurred 2165 */ 2166 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 2167 long groupId, java.lang.String articleId, int status, int start, int end) 2168 throws com.liferay.portal.kernel.exception.SystemException; 2169 2170 /** 2171 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 2172 * 2173 * <p> 2174 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2175 * </p> 2176 * 2177 * @param groupId the group ID to search with 2178 * @param articleId the article ID to search with 2179 * @param status the status to search with 2180 * @param start the lower bound of the range of journal articles to return 2181 * @param end the upper bound of the range of journal articles to return (not inclusive) 2182 * @param orderByComparator the comparator to order the results by 2183 * @return the ordered range of matching journal articles that the user has permission to view 2184 * @throws SystemException if a system exception occurred 2185 */ 2186 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 2187 long groupId, java.lang.String articleId, int status, int start, 2188 int end, 2189 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2190 throws com.liferay.portal.kernel.exception.SystemException; 2191 2192 /** 2193 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 2194 * 2195 * <p> 2196 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2197 * </p> 2198 * 2199 * @param id the primary key of the current journal article 2200 * @param groupId the group ID to search with 2201 * @param articleId the article ID to search with 2202 * @param status the status to search with 2203 * @param orderByComparator the comparator to order the set by 2204 * @return the previous, current, and next journal article 2205 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2206 * @throws SystemException if a system exception occurred 2207 */ 2208 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 2209 long id, long groupId, java.lang.String articleId, int status, 2210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2211 throws com.liferay.portal.kernel.exception.SystemException, 2212 com.liferay.portlet.journal.NoSuchArticleException; 2213 2214 /** 2215 * Finds all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2216 * 2217 * @param groupId the group ID to search with 2218 * @param urlTitle the url title to search with 2219 * @param status the status to search with 2220 * @return the matching journal articles 2221 * @throws SystemException if a system exception occurred 2222 */ 2223 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 2224 long groupId, java.lang.String urlTitle, int status) 2225 throws com.liferay.portal.kernel.exception.SystemException; 2226 2227 /** 2228 * Finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2229 * 2230 * <p> 2231 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2232 * </p> 2233 * 2234 * @param groupId the group ID to search with 2235 * @param urlTitle the url title to search with 2236 * @param status the status to search with 2237 * @param start the lower bound of the range of journal articles to return 2238 * @param end the upper bound of the range of journal articles to return (not inclusive) 2239 * @return the range of matching journal articles 2240 * @throws SystemException if a system exception occurred 2241 */ 2242 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 2243 long groupId, java.lang.String urlTitle, int status, int start, int end) 2244 throws com.liferay.portal.kernel.exception.SystemException; 2245 2246 /** 2247 * Finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2248 * 2249 * <p> 2250 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2251 * </p> 2252 * 2253 * @param groupId the group ID to search with 2254 * @param urlTitle the url title to search with 2255 * @param status the status to search with 2256 * @param start the lower bound of the range of journal articles to return 2257 * @param end the upper bound of the range of journal articles to return (not inclusive) 2258 * @param orderByComparator the comparator to order the results by 2259 * @return the ordered range of matching journal articles 2260 * @throws SystemException if a system exception occurred 2261 */ 2262 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 2263 long groupId, java.lang.String urlTitle, int status, int start, 2264 int end, 2265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2266 throws com.liferay.portal.kernel.exception.SystemException; 2267 2268 /** 2269 * Finds the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2270 * 2271 * <p> 2272 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2273 * </p> 2274 * 2275 * @param groupId the group ID to search with 2276 * @param urlTitle the url title to search with 2277 * @param status the status to search with 2278 * @param orderByComparator the comparator to order the set by 2279 * @return the first matching journal article 2280 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2281 * @throws SystemException if a system exception occurred 2282 */ 2283 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 2284 long groupId, java.lang.String urlTitle, int status, 2285 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2286 throws com.liferay.portal.kernel.exception.SystemException, 2287 com.liferay.portlet.journal.NoSuchArticleException; 2288 2289 /** 2290 * Finds the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2291 * 2292 * <p> 2293 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2294 * </p> 2295 * 2296 * @param groupId the group ID to search with 2297 * @param urlTitle the url title to search with 2298 * @param status the status to search with 2299 * @param orderByComparator the comparator to order the set by 2300 * @return the last matching journal article 2301 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2302 * @throws SystemException if a system exception occurred 2303 */ 2304 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 2305 long groupId, java.lang.String urlTitle, int status, 2306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2307 throws com.liferay.portal.kernel.exception.SystemException, 2308 com.liferay.portlet.journal.NoSuchArticleException; 2309 2310 /** 2311 * Finds the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2312 * 2313 * <p> 2314 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2315 * </p> 2316 * 2317 * @param id the primary key of the current journal article 2318 * @param groupId the group ID to search with 2319 * @param urlTitle the url title to search with 2320 * @param status the status to search with 2321 * @param orderByComparator the comparator to order the set by 2322 * @return the previous, current, and next journal article 2323 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2324 * @throws SystemException if a system exception occurred 2325 */ 2326 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 2327 long id, long groupId, java.lang.String urlTitle, int status, 2328 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2329 throws com.liferay.portal.kernel.exception.SystemException, 2330 com.liferay.portlet.journal.NoSuchArticleException; 2331 2332 /** 2333 * Filters by the user's permissions and finds all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2334 * 2335 * @param groupId the group ID to search with 2336 * @param urlTitle the url title to search with 2337 * @param status the status to search with 2338 * @return the matching journal articles that the user has permission to view 2339 * @throws SystemException if a system exception occurred 2340 */ 2341 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 2342 long groupId, java.lang.String urlTitle, int status) 2343 throws com.liferay.portal.kernel.exception.SystemException; 2344 2345 /** 2346 * Filters by the user's permissions and finds a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2347 * 2348 * <p> 2349 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2350 * </p> 2351 * 2352 * @param groupId the group ID to search with 2353 * @param urlTitle the url title to search with 2354 * @param status the status to search with 2355 * @param start the lower bound of the range of journal articles to return 2356 * @param end the upper bound of the range of journal articles to return (not inclusive) 2357 * @return the range of matching journal articles that the user has permission to view 2358 * @throws SystemException if a system exception occurred 2359 */ 2360 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 2361 long groupId, java.lang.String urlTitle, int status, int start, int end) 2362 throws com.liferay.portal.kernel.exception.SystemException; 2363 2364 /** 2365 * Filters by the user's permissions and finds an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 2366 * 2367 * <p> 2368 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2369 * </p> 2370 * 2371 * @param groupId the group ID to search with 2372 * @param urlTitle the url title to search with 2373 * @param status the status to search with 2374 * @param start the lower bound of the range of journal articles to return 2375 * @param end the upper bound of the range of journal articles to return (not inclusive) 2376 * @param orderByComparator the comparator to order the results by 2377 * @return the ordered range of matching journal articles that the user has permission to view 2378 * @throws SystemException if a system exception occurred 2379 */ 2380 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 2381 long groupId, java.lang.String urlTitle, int status, int start, 2382 int end, 2383 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2384 throws com.liferay.portal.kernel.exception.SystemException; 2385 2386 /** 2387 * Filters the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 2388 * 2389 * <p> 2390 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2391 * </p> 2392 * 2393 * @param id the primary key of the current journal article 2394 * @param groupId the group ID to search with 2395 * @param urlTitle the url title to search with 2396 * @param status the status to search with 2397 * @param orderByComparator the comparator to order the set by 2398 * @return the previous, current, and next journal article 2399 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2400 * @throws SystemException if a system exception occurred 2401 */ 2402 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 2403 long id, long groupId, java.lang.String urlTitle, int status, 2404 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2405 throws com.liferay.portal.kernel.exception.SystemException, 2406 com.liferay.portlet.journal.NoSuchArticleException; 2407 2408 /** 2409 * Finds all the journal articles where companyId = ? and version = ? and status = ?. 2410 * 2411 * @param companyId the company ID to search with 2412 * @param version the version to search with 2413 * @param status the status to search with 2414 * @return the matching journal articles 2415 * @throws SystemException if a system exception occurred 2416 */ 2417 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 2418 long companyId, double version, int status) 2419 throws com.liferay.portal.kernel.exception.SystemException; 2420 2421 /** 2422 * Finds a range of all the journal articles where companyId = ? and version = ? and status = ?. 2423 * 2424 * <p> 2425 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2426 * </p> 2427 * 2428 * @param companyId the company ID to search with 2429 * @param version the version to search with 2430 * @param status the status to search with 2431 * @param start the lower bound of the range of journal articles to return 2432 * @param end the upper bound of the range of journal articles to return (not inclusive) 2433 * @return the range of matching journal articles 2434 * @throws SystemException if a system exception occurred 2435 */ 2436 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 2437 long companyId, double version, int status, int start, int end) 2438 throws com.liferay.portal.kernel.exception.SystemException; 2439 2440 /** 2441 * Finds an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 2442 * 2443 * <p> 2444 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2445 * </p> 2446 * 2447 * @param companyId the company ID to search with 2448 * @param version the version to search with 2449 * @param status the status to search with 2450 * @param start the lower bound of the range of journal articles to return 2451 * @param end the upper bound of the range of journal articles to return (not inclusive) 2452 * @param orderByComparator the comparator to order the results by 2453 * @return the ordered range of matching journal articles 2454 * @throws SystemException if a system exception occurred 2455 */ 2456 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 2457 long companyId, double version, int status, int start, int end, 2458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2459 throws com.liferay.portal.kernel.exception.SystemException; 2460 2461 /** 2462 * Finds the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 2463 * 2464 * <p> 2465 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2466 * </p> 2467 * 2468 * @param companyId the company ID to search with 2469 * @param version the version to search with 2470 * @param status the status to search with 2471 * @param orderByComparator the comparator to order the set by 2472 * @return the first matching journal article 2473 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2474 * @throws SystemException if a system exception occurred 2475 */ 2476 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 2477 long companyId, double version, int status, 2478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2479 throws com.liferay.portal.kernel.exception.SystemException, 2480 com.liferay.portlet.journal.NoSuchArticleException; 2481 2482 /** 2483 * Finds the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 2484 * 2485 * <p> 2486 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2487 * </p> 2488 * 2489 * @param companyId the company ID to search with 2490 * @param version the version to search with 2491 * @param status the status to search with 2492 * @param orderByComparator the comparator to order the set by 2493 * @return the last matching journal article 2494 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2495 * @throws SystemException if a system exception occurred 2496 */ 2497 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 2498 long companyId, double version, int status, 2499 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2500 throws com.liferay.portal.kernel.exception.SystemException, 2501 com.liferay.portlet.journal.NoSuchArticleException; 2502 2503 /** 2504 * Finds the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 2505 * 2506 * <p> 2507 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2508 * </p> 2509 * 2510 * @param id the primary key of the current journal article 2511 * @param companyId the company ID to search with 2512 * @param version the version to search with 2513 * @param status the status to search with 2514 * @param orderByComparator the comparator to order the set by 2515 * @return the previous, current, and next journal article 2516 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2517 * @throws SystemException if a system exception occurred 2518 */ 2519 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 2520 long id, long companyId, double version, int status, 2521 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2522 throws com.liferay.portal.kernel.exception.SystemException, 2523 com.liferay.portlet.journal.NoSuchArticleException; 2524 2525 /** 2526 * Finds all the journal articles. 2527 * 2528 * @return the journal articles 2529 * @throws SystemException if a system exception occurred 2530 */ 2531 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() 2532 throws com.liferay.portal.kernel.exception.SystemException; 2533 2534 /** 2535 * Finds a range of all the journal articles. 2536 * 2537 * <p> 2538 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2539 * </p> 2540 * 2541 * @param start the lower bound of the range of journal articles to return 2542 * @param end the upper bound of the range of journal articles to return (not inclusive) 2543 * @return the range of journal articles 2544 * @throws SystemException if a system exception occurred 2545 */ 2546 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 2547 int start, int end) 2548 throws com.liferay.portal.kernel.exception.SystemException; 2549 2550 /** 2551 * Finds an ordered range of all the journal articles. 2552 * 2553 * <p> 2554 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 2555 * </p> 2556 * 2557 * @param start the lower bound of the range of journal articles to return 2558 * @param end the upper bound of the range of journal articles to return (not inclusive) 2559 * @param orderByComparator the comparator to order the results by 2560 * @return the ordered range of journal articles 2561 * @throws SystemException if a system exception occurred 2562 */ 2563 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 2564 int start, int end, 2565 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2566 throws com.liferay.portal.kernel.exception.SystemException; 2567 2568 /** 2569 * Removes all the journal articles where uuid = ? from the database. 2570 * 2571 * @param uuid the uuid to search with 2572 * @throws SystemException if a system exception occurred 2573 */ 2574 public void removeByUuid(java.lang.String uuid) 2575 throws com.liferay.portal.kernel.exception.SystemException; 2576 2577 /** 2578 * Removes the journal article where uuid = ? and groupId = ? from the database. 2579 * 2580 * @param uuid the uuid to search with 2581 * @param groupId the group ID to search with 2582 * @throws SystemException if a system exception occurred 2583 */ 2584 public void removeByUUID_G(java.lang.String uuid, long groupId) 2585 throws com.liferay.portal.kernel.exception.SystemException, 2586 com.liferay.portlet.journal.NoSuchArticleException; 2587 2588 /** 2589 * Removes all the journal articles where resourcePrimKey = ? from the database. 2590 * 2591 * @param resourcePrimKey the resource prim key to search with 2592 * @throws SystemException if a system exception occurred 2593 */ 2594 public void removeByResourcePrimKey(long resourcePrimKey) 2595 throws com.liferay.portal.kernel.exception.SystemException; 2596 2597 /** 2598 * Removes all the journal articles where groupId = ? from the database. 2599 * 2600 * @param groupId the group ID to search with 2601 * @throws SystemException if a system exception occurred 2602 */ 2603 public void removeByGroupId(long groupId) 2604 throws com.liferay.portal.kernel.exception.SystemException; 2605 2606 /** 2607 * Removes all the journal articles where companyId = ? from the database. 2608 * 2609 * @param companyId the company ID to search with 2610 * @throws SystemException if a system exception occurred 2611 */ 2612 public void removeByCompanyId(long companyId) 2613 throws com.liferay.portal.kernel.exception.SystemException; 2614 2615 /** 2616 * Removes all the journal articles where smallImageId = ? from the database. 2617 * 2618 * @param smallImageId the small image ID to search with 2619 * @throws SystemException if a system exception occurred 2620 */ 2621 public void removeBySmallImageId(long smallImageId) 2622 throws com.liferay.portal.kernel.exception.SystemException; 2623 2624 /** 2625 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 2626 * 2627 * @param resourcePrimKey the resource prim key to search with 2628 * @param status the status to search with 2629 * @throws SystemException if a system exception occurred 2630 */ 2631 public void removeByR_ST(long resourcePrimKey, int status) 2632 throws com.liferay.portal.kernel.exception.SystemException; 2633 2634 /** 2635 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2636 * 2637 * @param groupId the group ID to search with 2638 * @param articleId the article ID to search with 2639 * @throws SystemException if a system exception occurred 2640 */ 2641 public void removeByG_A(long groupId, java.lang.String articleId) 2642 throws com.liferay.portal.kernel.exception.SystemException; 2643 2644 /** 2645 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 2646 * 2647 * @param groupId the group ID to search with 2648 * @param urlTitle the url title to search with 2649 * @throws SystemException if a system exception occurred 2650 */ 2651 public void removeByG_UT(long groupId, java.lang.String urlTitle) 2652 throws com.liferay.portal.kernel.exception.SystemException; 2653 2654 /** 2655 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 2656 * 2657 * @param groupId the group ID to search with 2658 * @param structureId the structure ID to search with 2659 * @throws SystemException if a system exception occurred 2660 */ 2661 public void removeByG_S(long groupId, java.lang.String structureId) 2662 throws com.liferay.portal.kernel.exception.SystemException; 2663 2664 /** 2665 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 2666 * 2667 * @param groupId the group ID to search with 2668 * @param templateId the template ID to search with 2669 * @throws SystemException if a system exception occurred 2670 */ 2671 public void removeByG_T(long groupId, java.lang.String templateId) 2672 throws com.liferay.portal.kernel.exception.SystemException; 2673 2674 /** 2675 * Removes all the journal articles where groupId = ? and status = ? from the database. 2676 * 2677 * @param groupId the group ID to search with 2678 * @param status the status to search with 2679 * @throws SystemException if a system exception occurred 2680 */ 2681 public void removeByG_ST(long groupId, int status) 2682 throws com.liferay.portal.kernel.exception.SystemException; 2683 2684 /** 2685 * Removes all the journal articles where companyId = ? and version = ? from the database. 2686 * 2687 * @param companyId the company ID to search with 2688 * @param version the version to search with 2689 * @throws SystemException if a system exception occurred 2690 */ 2691 public void removeByC_V(long companyId, double version) 2692 throws com.liferay.portal.kernel.exception.SystemException; 2693 2694 /** 2695 * Removes all the journal articles where companyId = ? and status = ? from the database. 2696 * 2697 * @param companyId the company ID to search with 2698 * @param status the status to search with 2699 * @throws SystemException if a system exception occurred 2700 */ 2701 public void removeByC_ST(long companyId, int status) 2702 throws com.liferay.portal.kernel.exception.SystemException; 2703 2704 /** 2705 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 2706 * 2707 * @param groupId the group ID to search with 2708 * @param articleId the article ID to search with 2709 * @param version the version to search with 2710 * @throws SystemException if a system exception occurred 2711 */ 2712 public void removeByG_A_V(long groupId, java.lang.String articleId, 2713 double version) 2714 throws com.liferay.portal.kernel.exception.SystemException, 2715 com.liferay.portlet.journal.NoSuchArticleException; 2716 2717 /** 2718 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 2719 * 2720 * @param groupId the group ID to search with 2721 * @param articleId the article ID to search with 2722 * @param status the status to search with 2723 * @throws SystemException if a system exception occurred 2724 */ 2725 public void removeByG_A_ST(long groupId, java.lang.String articleId, 2726 int status) throws com.liferay.portal.kernel.exception.SystemException; 2727 2728 /** 2729 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 2730 * 2731 * @param groupId the group ID to search with 2732 * @param urlTitle the url title to search with 2733 * @param status the status to search with 2734 * @throws SystemException if a system exception occurred 2735 */ 2736 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 2737 int status) throws com.liferay.portal.kernel.exception.SystemException; 2738 2739 /** 2740 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 2741 * 2742 * @param companyId the company ID to search with 2743 * @param version the version to search with 2744 * @param status the status to search with 2745 * @throws SystemException if a system exception occurred 2746 */ 2747 public void removeByC_V_ST(long companyId, double version, int status) 2748 throws com.liferay.portal.kernel.exception.SystemException; 2749 2750 /** 2751 * Removes all the journal articles from the database. 2752 * 2753 * @throws SystemException if a system exception occurred 2754 */ 2755 public void removeAll() 2756 throws com.liferay.portal.kernel.exception.SystemException; 2757 2758 /** 2759 * Counts all the journal articles where uuid = ?. 2760 * 2761 * @param uuid the uuid to search with 2762 * @return the number of matching journal articles 2763 * @throws SystemException if a system exception occurred 2764 */ 2765 public int countByUuid(java.lang.String uuid) 2766 throws com.liferay.portal.kernel.exception.SystemException; 2767 2768 /** 2769 * Counts all the journal articles where uuid = ? and groupId = ?. 2770 * 2771 * @param uuid the uuid to search with 2772 * @param groupId the group ID to search with 2773 * @return the number of matching journal articles 2774 * @throws SystemException if a system exception occurred 2775 */ 2776 public int countByUUID_G(java.lang.String uuid, long groupId) 2777 throws com.liferay.portal.kernel.exception.SystemException; 2778 2779 /** 2780 * Counts all the journal articles where resourcePrimKey = ?. 2781 * 2782 * @param resourcePrimKey the resource prim key to search with 2783 * @return the number of matching journal articles 2784 * @throws SystemException if a system exception occurred 2785 */ 2786 public int countByResourcePrimKey(long resourcePrimKey) 2787 throws com.liferay.portal.kernel.exception.SystemException; 2788 2789 /** 2790 * Counts all the journal articles where groupId = ?. 2791 * 2792 * @param groupId the group ID to search with 2793 * @return the number of matching journal articles 2794 * @throws SystemException if a system exception occurred 2795 */ 2796 public int countByGroupId(long groupId) 2797 throws com.liferay.portal.kernel.exception.SystemException; 2798 2799 /** 2800 * Filters by the user's permissions and counts all the journal articles where groupId = ?. 2801 * 2802 * @param groupId the group ID to search with 2803 * @return the number of matching journal articles that the user has permission to view 2804 * @throws SystemException if a system exception occurred 2805 */ 2806 public int filterCountByGroupId(long groupId) 2807 throws com.liferay.portal.kernel.exception.SystemException; 2808 2809 /** 2810 * Counts all the journal articles where companyId = ?. 2811 * 2812 * @param companyId the company ID to search with 2813 * @return the number of matching journal articles 2814 * @throws SystemException if a system exception occurred 2815 */ 2816 public int countByCompanyId(long companyId) 2817 throws com.liferay.portal.kernel.exception.SystemException; 2818 2819 /** 2820 * Counts all the journal articles where smallImageId = ?. 2821 * 2822 * @param smallImageId the small image ID to search with 2823 * @return the number of matching journal articles 2824 * @throws SystemException if a system exception occurred 2825 */ 2826 public int countBySmallImageId(long smallImageId) 2827 throws com.liferay.portal.kernel.exception.SystemException; 2828 2829 /** 2830 * Counts all the journal articles where resourcePrimKey = ? and status = ?. 2831 * 2832 * @param resourcePrimKey the resource prim key to search with 2833 * @param status the status to search with 2834 * @return the number of matching journal articles 2835 * @throws SystemException if a system exception occurred 2836 */ 2837 public int countByR_ST(long resourcePrimKey, int status) 2838 throws com.liferay.portal.kernel.exception.SystemException; 2839 2840 /** 2841 * Counts all the journal articles where groupId = ? and articleId = ?. 2842 * 2843 * @param groupId the group ID to search with 2844 * @param articleId the article ID to search with 2845 * @return the number of matching journal articles 2846 * @throws SystemException if a system exception occurred 2847 */ 2848 public int countByG_A(long groupId, java.lang.String articleId) 2849 throws com.liferay.portal.kernel.exception.SystemException; 2850 2851 /** 2852 * Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ?. 2853 * 2854 * @param groupId the group ID to search with 2855 * @param articleId the article ID to search with 2856 * @return the number of matching journal articles that the user has permission to view 2857 * @throws SystemException if a system exception occurred 2858 */ 2859 public int filterCountByG_A(long groupId, java.lang.String articleId) 2860 throws com.liferay.portal.kernel.exception.SystemException; 2861 2862 /** 2863 * Counts all the journal articles where groupId = ? and urlTitle = ?. 2864 * 2865 * @param groupId the group ID to search with 2866 * @param urlTitle the url title to search with 2867 * @return the number of matching journal articles 2868 * @throws SystemException if a system exception occurred 2869 */ 2870 public int countByG_UT(long groupId, java.lang.String urlTitle) 2871 throws com.liferay.portal.kernel.exception.SystemException; 2872 2873 /** 2874 * Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ?. 2875 * 2876 * @param groupId the group ID to search with 2877 * @param urlTitle the url title to search with 2878 * @return the number of matching journal articles that the user has permission to view 2879 * @throws SystemException if a system exception occurred 2880 */ 2881 public int filterCountByG_UT(long groupId, java.lang.String urlTitle) 2882 throws com.liferay.portal.kernel.exception.SystemException; 2883 2884 /** 2885 * Counts all the journal articles where groupId = ? and structureId = ?. 2886 * 2887 * @param groupId the group ID to search with 2888 * @param structureId the structure ID to search with 2889 * @return the number of matching journal articles 2890 * @throws SystemException if a system exception occurred 2891 */ 2892 public int countByG_S(long groupId, java.lang.String structureId) 2893 throws com.liferay.portal.kernel.exception.SystemException; 2894 2895 /** 2896 * Filters by the user's permissions and counts all the journal articles where groupId = ? and structureId = ?. 2897 * 2898 * @param groupId the group ID to search with 2899 * @param structureId the structure ID to search with 2900 * @return the number of matching journal articles that the user has permission to view 2901 * @throws SystemException if a system exception occurred 2902 */ 2903 public int filterCountByG_S(long groupId, java.lang.String structureId) 2904 throws com.liferay.portal.kernel.exception.SystemException; 2905 2906 /** 2907 * Counts all the journal articles where groupId = ? and templateId = ?. 2908 * 2909 * @param groupId the group ID to search with 2910 * @param templateId the template ID to search with 2911 * @return the number of matching journal articles 2912 * @throws SystemException if a system exception occurred 2913 */ 2914 public int countByG_T(long groupId, java.lang.String templateId) 2915 throws com.liferay.portal.kernel.exception.SystemException; 2916 2917 /** 2918 * Filters by the user's permissions and counts all the journal articles where groupId = ? and templateId = ?. 2919 * 2920 * @param groupId the group ID to search with 2921 * @param templateId the template ID to search with 2922 * @return the number of matching journal articles that the user has permission to view 2923 * @throws SystemException if a system exception occurred 2924 */ 2925 public int filterCountByG_T(long groupId, java.lang.String templateId) 2926 throws com.liferay.portal.kernel.exception.SystemException; 2927 2928 /** 2929 * Counts all the journal articles where groupId = ? and status = ?. 2930 * 2931 * @param groupId the group ID to search with 2932 * @param status the status to search with 2933 * @return the number of matching journal articles 2934 * @throws SystemException if a system exception occurred 2935 */ 2936 public int countByG_ST(long groupId, int status) 2937 throws com.liferay.portal.kernel.exception.SystemException; 2938 2939 /** 2940 * Filters by the user's permissions and counts all the journal articles where groupId = ? and status = ?. 2941 * 2942 * @param groupId the group ID to search with 2943 * @param status the status to search with 2944 * @return the number of matching journal articles that the user has permission to view 2945 * @throws SystemException if a system exception occurred 2946 */ 2947 public int filterCountByG_ST(long groupId, int status) 2948 throws com.liferay.portal.kernel.exception.SystemException; 2949 2950 /** 2951 * Counts all the journal articles where companyId = ? and version = ?. 2952 * 2953 * @param companyId the company ID to search with 2954 * @param version the version to search with 2955 * @return the number of matching journal articles 2956 * @throws SystemException if a system exception occurred 2957 */ 2958 public int countByC_V(long companyId, double version) 2959 throws com.liferay.portal.kernel.exception.SystemException; 2960 2961 /** 2962 * Counts all the journal articles where companyId = ? and status = ?. 2963 * 2964 * @param companyId the company ID to search with 2965 * @param status the status to search with 2966 * @return the number of matching journal articles 2967 * @throws SystemException if a system exception occurred 2968 */ 2969 public int countByC_ST(long companyId, int status) 2970 throws com.liferay.portal.kernel.exception.SystemException; 2971 2972 /** 2973 * Counts all the journal articles where groupId = ? and articleId = ? and version = ?. 2974 * 2975 * @param groupId the group ID to search with 2976 * @param articleId the article ID to search with 2977 * @param version the version to search with 2978 * @return the number of matching journal articles 2979 * @throws SystemException if a system exception occurred 2980 */ 2981 public int countByG_A_V(long groupId, java.lang.String articleId, 2982 double version) 2983 throws com.liferay.portal.kernel.exception.SystemException; 2984 2985 /** 2986 * Counts all the journal articles where groupId = ? and articleId = ? and status = ?. 2987 * 2988 * @param groupId the group ID to search with 2989 * @param articleId the article ID to search with 2990 * @param status the status to search with 2991 * @return the number of matching journal articles 2992 * @throws SystemException if a system exception occurred 2993 */ 2994 public int countByG_A_ST(long groupId, java.lang.String articleId, 2995 int status) throws com.liferay.portal.kernel.exception.SystemException; 2996 2997 /** 2998 * Filters by the user's permissions and counts all the journal articles where groupId = ? and articleId = ? and status = ?. 2999 * 3000 * @param groupId the group ID to search with 3001 * @param articleId the article ID to search with 3002 * @param status the status to search with 3003 * @return the number of matching journal articles that the user has permission to view 3004 * @throws SystemException if a system exception occurred 3005 */ 3006 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 3007 int status) throws com.liferay.portal.kernel.exception.SystemException; 3008 3009 /** 3010 * Counts all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3011 * 3012 * @param groupId the group ID to search with 3013 * @param urlTitle the url title to search with 3014 * @param status the status to search with 3015 * @return the number of matching journal articles 3016 * @throws SystemException if a system exception occurred 3017 */ 3018 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 3019 int status) throws com.liferay.portal.kernel.exception.SystemException; 3020 3021 /** 3022 * Filters by the user's permissions and counts all the journal articles where groupId = ? and urlTitle = ? and status = ?. 3023 * 3024 * @param groupId the group ID to search with 3025 * @param urlTitle the url title to search with 3026 * @param status the status to search with 3027 * @return the number of matching journal articles that the user has permission to view 3028 * @throws SystemException if a system exception occurred 3029 */ 3030 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 3031 int status) throws com.liferay.portal.kernel.exception.SystemException; 3032 3033 /** 3034 * Counts all the journal articles where companyId = ? and version = ? and status = ?. 3035 * 3036 * @param companyId the company ID to search with 3037 * @param version the version to search with 3038 * @param status the status to search with 3039 * @return the number of matching journal articles 3040 * @throws SystemException if a system exception occurred 3041 */ 3042 public int countByC_V_ST(long companyId, double version, int status) 3043 throws com.liferay.portal.kernel.exception.SystemException; 3044 3045 /** 3046 * Counts all the journal articles. 3047 * 3048 * @return the number of journal articles 3049 * @throws SystemException if a system exception occurred 3050 */ 3051 public int countAll() 3052 throws com.liferay.portal.kernel.exception.SystemException; 3053 3054 public JournalArticle remove(JournalArticle journalArticle) 3055 throws SystemException; 3056 }