001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.journal.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 020 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 021 import com.liferay.portal.kernel.util.OrderByComparator; 022 import com.liferay.portal.kernel.util.ReferenceRegistry; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.journal.model.JournalArticle; 026 027 import java.util.List; 028 029 /** 030 * The persistence utility for the journal article service. This utility wraps {@link JournalArticlePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 031 * 032 * <p> 033 * Caching information and settings can be found in <code>portal.properties</code> 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see JournalArticlePersistence 038 * @see JournalArticlePersistenceImpl 039 * @generated 040 */ 041 @ProviderType 042 public class JournalArticleUtil { 043 /* 044 * NOTE FOR DEVELOPERS: 045 * 046 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 047 */ 048 049 /** 050 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 051 */ 052 public static void clearCache() { 053 getPersistence().clearCache(); 054 } 055 056 /** 057 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 058 */ 059 public static void clearCache(JournalArticle journalArticle) { 060 getPersistence().clearCache(journalArticle); 061 } 062 063 /** 064 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 065 */ 066 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { 067 return getPersistence().countWithDynamicQuery(dynamicQuery); 068 } 069 070 /** 071 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 072 */ 073 public static List<JournalArticle> findWithDynamicQuery( 074 DynamicQuery dynamicQuery) { 075 return getPersistence().findWithDynamicQuery(dynamicQuery); 076 } 077 078 /** 079 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 080 */ 081 public static List<JournalArticle> findWithDynamicQuery( 082 DynamicQuery dynamicQuery, int start, int end) { 083 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 084 } 085 086 /** 087 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 088 */ 089 public static List<JournalArticle> findWithDynamicQuery( 090 DynamicQuery dynamicQuery, int start, int end, 091 OrderByComparator<JournalArticle> orderByComparator) { 092 return getPersistence() 093 .findWithDynamicQuery(dynamicQuery, start, end, 094 orderByComparator); 095 } 096 097 /** 098 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 099 */ 100 public static JournalArticle update(JournalArticle journalArticle) { 101 return getPersistence().update(journalArticle); 102 } 103 104 /** 105 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 106 */ 107 public static JournalArticle update(JournalArticle journalArticle, 108 ServiceContext serviceContext) { 109 return getPersistence().update(journalArticle, serviceContext); 110 } 111 112 /** 113 * Returns all the journal articles where uuid = ?. 114 * 115 * @param uuid the uuid 116 * @return the matching journal articles 117 */ 118 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 119 java.lang.String uuid) { 120 return getPersistence().findByUuid(uuid); 121 } 122 123 /** 124 * Returns a range of all the journal articles where uuid = ?. 125 * 126 * <p> 127 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 128 * </p> 129 * 130 * @param uuid the uuid 131 * @param start the lower bound of the range of journal articles 132 * @param end the upper bound of the range of journal articles (not inclusive) 133 * @return the range of matching journal articles 134 */ 135 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 136 java.lang.String uuid, int start, int end) { 137 return getPersistence().findByUuid(uuid, start, end); 138 } 139 140 /** 141 * Returns an ordered range of all the journal articles where uuid = ?. 142 * 143 * <p> 144 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 145 * </p> 146 * 147 * @param uuid the uuid 148 * @param start the lower bound of the range of journal articles 149 * @param end the upper bound of the range of journal articles (not inclusive) 150 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 151 * @return the ordered range of matching journal articles 152 */ 153 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 154 java.lang.String uuid, int start, int end, 155 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 156 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 157 } 158 159 /** 160 * Returns the first journal article in the ordered set where uuid = ?. 161 * 162 * @param uuid the uuid 163 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 164 * @return the first matching journal article 165 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 166 */ 167 public static com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 168 java.lang.String uuid, 169 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 170 throws com.liferay.portlet.journal.NoSuchArticleException { 171 return getPersistence().findByUuid_First(uuid, orderByComparator); 172 } 173 174 /** 175 * Returns the first journal article in the ordered set where uuid = ?. 176 * 177 * @param uuid the uuid 178 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 179 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 180 */ 181 public static com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First( 182 java.lang.String uuid, 183 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 184 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 185 } 186 187 /** 188 * Returns the last journal article in the ordered set where uuid = ?. 189 * 190 * @param uuid the uuid 191 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 192 * @return the last matching journal article 193 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 194 */ 195 public static com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 196 java.lang.String uuid, 197 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 198 throws com.liferay.portlet.journal.NoSuchArticleException { 199 return getPersistence().findByUuid_Last(uuid, orderByComparator); 200 } 201 202 /** 203 * Returns the last journal article in the ordered set where uuid = ?. 204 * 205 * @param uuid the uuid 206 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 207 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 208 */ 209 public static com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last( 210 java.lang.String uuid, 211 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 212 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 213 } 214 215 /** 216 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 217 * 218 * @param id the primary key of the current journal article 219 * @param uuid the uuid 220 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 221 * @return the previous, current, and next journal article 222 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 223 */ 224 public static com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 225 long id, java.lang.String uuid, 226 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 227 throws com.liferay.portlet.journal.NoSuchArticleException { 228 return getPersistence() 229 .findByUuid_PrevAndNext(id, uuid, orderByComparator); 230 } 231 232 /** 233 * Removes all the journal articles where uuid = ? from the database. 234 * 235 * @param uuid the uuid 236 */ 237 public static void removeByUuid(java.lang.String uuid) { 238 getPersistence().removeByUuid(uuid); 239 } 240 241 /** 242 * Returns the number of journal articles where uuid = ?. 243 * 244 * @param uuid the uuid 245 * @return the number of matching journal articles 246 */ 247 public static int countByUuid(java.lang.String uuid) { 248 return getPersistence().countByUuid(uuid); 249 } 250 251 /** 252 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 253 * 254 * @param uuid the uuid 255 * @param groupId the group ID 256 * @return the matching journal article 257 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 258 */ 259 public static com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 260 java.lang.String uuid, long groupId) 261 throws com.liferay.portlet.journal.NoSuchArticleException { 262 return getPersistence().findByUUID_G(uuid, groupId); 263 } 264 265 /** 266 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 267 * 268 * @param uuid the uuid 269 * @param groupId the group ID 270 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 271 */ 272 public static com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 273 java.lang.String uuid, long groupId) { 274 return getPersistence().fetchByUUID_G(uuid, groupId); 275 } 276 277 /** 278 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 279 * 280 * @param uuid the uuid 281 * @param groupId the group ID 282 * @param retrieveFromCache whether to use the finder cache 283 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 284 */ 285 public static com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 286 java.lang.String uuid, long groupId, boolean retrieveFromCache) { 287 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 288 } 289 290 /** 291 * Removes the journal article where uuid = ? and groupId = ? from the database. 292 * 293 * @param uuid the uuid 294 * @param groupId the group ID 295 * @return the journal article that was removed 296 */ 297 public static com.liferay.portlet.journal.model.JournalArticle removeByUUID_G( 298 java.lang.String uuid, long groupId) 299 throws com.liferay.portlet.journal.NoSuchArticleException { 300 return getPersistence().removeByUUID_G(uuid, groupId); 301 } 302 303 /** 304 * Returns the number of journal articles where uuid = ? and groupId = ?. 305 * 306 * @param uuid the uuid 307 * @param groupId the group ID 308 * @return the number of matching journal articles 309 */ 310 public static int countByUUID_G(java.lang.String uuid, long groupId) { 311 return getPersistence().countByUUID_G(uuid, groupId); 312 } 313 314 /** 315 * Returns all the journal articles where uuid = ? and companyId = ?. 316 * 317 * @param uuid the uuid 318 * @param companyId the company ID 319 * @return the matching journal articles 320 */ 321 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 322 java.lang.String uuid, long companyId) { 323 return getPersistence().findByUuid_C(uuid, companyId); 324 } 325 326 /** 327 * Returns a range of all the journal articles where uuid = ? and companyId = ?. 328 * 329 * <p> 330 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 331 * </p> 332 * 333 * @param uuid the uuid 334 * @param companyId the company ID 335 * @param start the lower bound of the range of journal articles 336 * @param end the upper bound of the range of journal articles (not inclusive) 337 * @return the range of matching journal articles 338 */ 339 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 340 java.lang.String uuid, long companyId, int start, int end) { 341 return getPersistence().findByUuid_C(uuid, companyId, start, end); 342 } 343 344 /** 345 * Returns an ordered range of all the journal articles where uuid = ? and companyId = ?. 346 * 347 * <p> 348 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 349 * </p> 350 * 351 * @param uuid the uuid 352 * @param companyId the company ID 353 * @param start the lower bound of the range of journal articles 354 * @param end the upper bound of the range of journal articles (not inclusive) 355 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 356 * @return the ordered range of matching journal articles 357 */ 358 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 359 java.lang.String uuid, long companyId, int start, int end, 360 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 361 return getPersistence() 362 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 363 } 364 365 /** 366 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 367 * 368 * @param uuid the uuid 369 * @param companyId the company ID 370 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 371 * @return the first matching journal article 372 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 373 */ 374 public static com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First( 375 java.lang.String uuid, long companyId, 376 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 377 throws com.liferay.portlet.journal.NoSuchArticleException { 378 return getPersistence() 379 .findByUuid_C_First(uuid, companyId, orderByComparator); 380 } 381 382 /** 383 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 384 * 385 * @param uuid the uuid 386 * @param companyId the company ID 387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 388 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 389 */ 390 public static com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First( 391 java.lang.String uuid, long companyId, 392 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 393 return getPersistence() 394 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 395 } 396 397 /** 398 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 399 * 400 * @param uuid the uuid 401 * @param companyId the company ID 402 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 403 * @return the last matching journal article 404 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 405 */ 406 public static com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last( 407 java.lang.String uuid, long companyId, 408 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 409 throws com.liferay.portlet.journal.NoSuchArticleException { 410 return getPersistence() 411 .findByUuid_C_Last(uuid, companyId, orderByComparator); 412 } 413 414 /** 415 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 416 * 417 * @param uuid the uuid 418 * @param companyId the company ID 419 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 420 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 421 */ 422 public static com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last( 423 java.lang.String uuid, long companyId, 424 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 425 return getPersistence() 426 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 427 } 428 429 /** 430 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?. 431 * 432 * @param id the primary key of the current journal article 433 * @param uuid the uuid 434 * @param companyId the company ID 435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 436 * @return the previous, current, and next journal article 437 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 438 */ 439 public static com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext( 440 long id, java.lang.String uuid, long companyId, 441 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 442 throws com.liferay.portlet.journal.NoSuchArticleException { 443 return getPersistence() 444 .findByUuid_C_PrevAndNext(id, uuid, companyId, 445 orderByComparator); 446 } 447 448 /** 449 * Removes all the journal articles where uuid = ? and companyId = ? from the database. 450 * 451 * @param uuid the uuid 452 * @param companyId the company ID 453 */ 454 public static void removeByUuid_C(java.lang.String uuid, long companyId) { 455 getPersistence().removeByUuid_C(uuid, companyId); 456 } 457 458 /** 459 * Returns the number of journal articles where uuid = ? and companyId = ?. 460 * 461 * @param uuid the uuid 462 * @param companyId the company ID 463 * @return the number of matching journal articles 464 */ 465 public static int countByUuid_C(java.lang.String uuid, long companyId) { 466 return getPersistence().countByUuid_C(uuid, companyId); 467 } 468 469 /** 470 * Returns all the journal articles where resourcePrimKey = ?. 471 * 472 * @param resourcePrimKey the resource prim key 473 * @return the matching journal articles 474 */ 475 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 476 long resourcePrimKey) { 477 return getPersistence().findByResourcePrimKey(resourcePrimKey); 478 } 479 480 /** 481 * Returns a range of all the journal articles where resourcePrimKey = ?. 482 * 483 * <p> 484 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 485 * </p> 486 * 487 * @param resourcePrimKey the resource prim key 488 * @param start the lower bound of the range of journal articles 489 * @param end the upper bound of the range of journal articles (not inclusive) 490 * @return the range of matching journal articles 491 */ 492 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 493 long resourcePrimKey, int start, int end) { 494 return getPersistence() 495 .findByResourcePrimKey(resourcePrimKey, start, end); 496 } 497 498 /** 499 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 500 * 501 * <p> 502 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 503 * </p> 504 * 505 * @param resourcePrimKey the resource prim key 506 * @param start the lower bound of the range of journal articles 507 * @param end the upper bound of the range of journal articles (not inclusive) 508 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 509 * @return the ordered range of matching journal articles 510 */ 511 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 512 long resourcePrimKey, int start, int end, 513 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 514 return getPersistence() 515 .findByResourcePrimKey(resourcePrimKey, start, end, 516 orderByComparator); 517 } 518 519 /** 520 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 521 * 522 * @param resourcePrimKey the resource prim key 523 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 524 * @return the first matching journal article 525 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 526 */ 527 public static com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 528 long resourcePrimKey, 529 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 530 throws com.liferay.portlet.journal.NoSuchArticleException { 531 return getPersistence() 532 .findByResourcePrimKey_First(resourcePrimKey, 533 orderByComparator); 534 } 535 536 /** 537 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 538 * 539 * @param resourcePrimKey the resource prim key 540 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 541 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 542 */ 543 public static com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First( 544 long resourcePrimKey, 545 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 546 return getPersistence() 547 .fetchByResourcePrimKey_First(resourcePrimKey, 548 orderByComparator); 549 } 550 551 /** 552 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 553 * 554 * @param resourcePrimKey the resource prim key 555 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 556 * @return the last matching journal article 557 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 558 */ 559 public static com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 560 long resourcePrimKey, 561 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 562 throws com.liferay.portlet.journal.NoSuchArticleException { 563 return getPersistence() 564 .findByResourcePrimKey_Last(resourcePrimKey, 565 orderByComparator); 566 } 567 568 /** 569 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 570 * 571 * @param resourcePrimKey the resource prim key 572 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 573 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 574 */ 575 public static com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last( 576 long resourcePrimKey, 577 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 578 return getPersistence() 579 .fetchByResourcePrimKey_Last(resourcePrimKey, 580 orderByComparator); 581 } 582 583 /** 584 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 585 * 586 * @param id the primary key of the current journal article 587 * @param resourcePrimKey the resource prim key 588 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 589 * @return the previous, current, and next journal article 590 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 591 */ 592 public static com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 593 long id, long resourcePrimKey, 594 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 595 throws com.liferay.portlet.journal.NoSuchArticleException { 596 return getPersistence() 597 .findByResourcePrimKey_PrevAndNext(id, resourcePrimKey, 598 orderByComparator); 599 } 600 601 /** 602 * Removes all the journal articles where resourcePrimKey = ? from the database. 603 * 604 * @param resourcePrimKey the resource prim key 605 */ 606 public static void removeByResourcePrimKey(long resourcePrimKey) { 607 getPersistence().removeByResourcePrimKey(resourcePrimKey); 608 } 609 610 /** 611 * Returns the number of journal articles where resourcePrimKey = ?. 612 * 613 * @param resourcePrimKey the resource prim key 614 * @return the number of matching journal articles 615 */ 616 public static int countByResourcePrimKey(long resourcePrimKey) { 617 return getPersistence().countByResourcePrimKey(resourcePrimKey); 618 } 619 620 /** 621 * Returns all the journal articles where groupId = ?. 622 * 623 * @param groupId the group ID 624 * @return the matching journal articles 625 */ 626 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 627 long groupId) { 628 return getPersistence().findByGroupId(groupId); 629 } 630 631 /** 632 * Returns a range of all the journal articles where groupId = ?. 633 * 634 * <p> 635 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 636 * </p> 637 * 638 * @param groupId the group ID 639 * @param start the lower bound of the range of journal articles 640 * @param end the upper bound of the range of journal articles (not inclusive) 641 * @return the range of matching journal articles 642 */ 643 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 644 long groupId, int start, int end) { 645 return getPersistence().findByGroupId(groupId, start, end); 646 } 647 648 /** 649 * Returns an ordered range of all the journal articles where groupId = ?. 650 * 651 * <p> 652 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 653 * </p> 654 * 655 * @param groupId the group ID 656 * @param start the lower bound of the range of journal articles 657 * @param end the upper bound of the range of journal articles (not inclusive) 658 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 659 * @return the ordered range of matching journal articles 660 */ 661 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 662 long groupId, int start, int end, 663 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 664 return getPersistence() 665 .findByGroupId(groupId, start, end, orderByComparator); 666 } 667 668 /** 669 * Returns the first journal article in the ordered set where groupId = ?. 670 * 671 * @param groupId the group ID 672 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 673 * @return the first matching journal article 674 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 675 */ 676 public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 677 long groupId, 678 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 679 throws com.liferay.portlet.journal.NoSuchArticleException { 680 return getPersistence().findByGroupId_First(groupId, orderByComparator); 681 } 682 683 /** 684 * Returns the first journal article in the ordered set where groupId = ?. 685 * 686 * @param groupId the group ID 687 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 688 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 689 */ 690 public static com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First( 691 long groupId, 692 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 693 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 694 } 695 696 /** 697 * Returns the last journal article in the ordered set where groupId = ?. 698 * 699 * @param groupId the group ID 700 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 701 * @return the last matching journal article 702 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 703 */ 704 public static com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 705 long groupId, 706 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 707 throws com.liferay.portlet.journal.NoSuchArticleException { 708 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 709 } 710 711 /** 712 * Returns the last journal article in the ordered set where groupId = ?. 713 * 714 * @param groupId the group ID 715 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 716 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 717 */ 718 public static com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last( 719 long groupId, 720 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 721 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 722 } 723 724 /** 725 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 726 * 727 * @param id the primary key of the current journal article 728 * @param groupId the group ID 729 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 730 * @return the previous, current, and next journal article 731 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 732 */ 733 public static com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 734 long id, long groupId, 735 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 736 throws com.liferay.portlet.journal.NoSuchArticleException { 737 return getPersistence() 738 .findByGroupId_PrevAndNext(id, groupId, orderByComparator); 739 } 740 741 /** 742 * Returns all the journal articles that the user has permission to view where groupId = ?. 743 * 744 * @param groupId the group ID 745 * @return the matching journal articles that the user has permission to view 746 */ 747 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 748 long groupId) { 749 return getPersistence().filterFindByGroupId(groupId); 750 } 751 752 /** 753 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 754 * 755 * <p> 756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 757 * </p> 758 * 759 * @param groupId the group ID 760 * @param start the lower bound of the range of journal articles 761 * @param end the upper bound of the range of journal articles (not inclusive) 762 * @return the range of matching journal articles that the user has permission to view 763 */ 764 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 765 long groupId, int start, int end) { 766 return getPersistence().filterFindByGroupId(groupId, start, end); 767 } 768 769 /** 770 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 771 * 772 * <p> 773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 774 * </p> 775 * 776 * @param groupId the group ID 777 * @param start the lower bound of the range of journal articles 778 * @param end the upper bound of the range of journal articles (not inclusive) 779 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 780 * @return the ordered range of matching journal articles that the user has permission to view 781 */ 782 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 783 long groupId, int start, int end, 784 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 785 return getPersistence() 786 .filterFindByGroupId(groupId, start, end, orderByComparator); 787 } 788 789 /** 790 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ?. 791 * 792 * @param id the primary key of the current journal article 793 * @param groupId the group ID 794 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 795 * @return the previous, current, and next journal article 796 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 797 */ 798 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 799 long id, long groupId, 800 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 801 throws com.liferay.portlet.journal.NoSuchArticleException { 802 return getPersistence() 803 .filterFindByGroupId_PrevAndNext(id, groupId, 804 orderByComparator); 805 } 806 807 /** 808 * Removes all the journal articles where groupId = ? from the database. 809 * 810 * @param groupId the group ID 811 */ 812 public static void removeByGroupId(long groupId) { 813 getPersistence().removeByGroupId(groupId); 814 } 815 816 /** 817 * Returns the number of journal articles where groupId = ?. 818 * 819 * @param groupId the group ID 820 * @return the number of matching journal articles 821 */ 822 public static int countByGroupId(long groupId) { 823 return getPersistence().countByGroupId(groupId); 824 } 825 826 /** 827 * Returns the number of journal articles that the user has permission to view where groupId = ?. 828 * 829 * @param groupId the group ID 830 * @return the number of matching journal articles that the user has permission to view 831 */ 832 public static int filterCountByGroupId(long groupId) { 833 return getPersistence().filterCountByGroupId(groupId); 834 } 835 836 /** 837 * Returns all the journal articles where companyId = ?. 838 * 839 * @param companyId the company ID 840 * @return the matching journal articles 841 */ 842 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 843 long companyId) { 844 return getPersistence().findByCompanyId(companyId); 845 } 846 847 /** 848 * Returns a range of all the journal articles where companyId = ?. 849 * 850 * <p> 851 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 852 * </p> 853 * 854 * @param companyId the company ID 855 * @param start the lower bound of the range of journal articles 856 * @param end the upper bound of the range of journal articles (not inclusive) 857 * @return the range of matching journal articles 858 */ 859 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 860 long companyId, int start, int end) { 861 return getPersistence().findByCompanyId(companyId, start, end); 862 } 863 864 /** 865 * Returns an ordered range of all the journal articles where companyId = ?. 866 * 867 * <p> 868 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 869 * </p> 870 * 871 * @param companyId the company ID 872 * @param start the lower bound of the range of journal articles 873 * @param end the upper bound of the range of journal articles (not inclusive) 874 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 875 * @return the ordered range of matching journal articles 876 */ 877 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 878 long companyId, int start, int end, 879 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 880 return getPersistence() 881 .findByCompanyId(companyId, start, end, orderByComparator); 882 } 883 884 /** 885 * Returns the first journal article in the ordered set where companyId = ?. 886 * 887 * @param companyId the company ID 888 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 889 * @return the first matching journal article 890 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 891 */ 892 public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 893 long companyId, 894 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 895 throws com.liferay.portlet.journal.NoSuchArticleException { 896 return getPersistence() 897 .findByCompanyId_First(companyId, orderByComparator); 898 } 899 900 /** 901 * Returns the first journal article in the ordered set where companyId = ?. 902 * 903 * @param companyId the company ID 904 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 905 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 906 */ 907 public static com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First( 908 long companyId, 909 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 910 return getPersistence() 911 .fetchByCompanyId_First(companyId, orderByComparator); 912 } 913 914 /** 915 * Returns the last journal article in the ordered set where companyId = ?. 916 * 917 * @param companyId the company ID 918 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 919 * @return the last matching journal article 920 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 921 */ 922 public static com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 923 long companyId, 924 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 925 throws com.liferay.portlet.journal.NoSuchArticleException { 926 return getPersistence() 927 .findByCompanyId_Last(companyId, orderByComparator); 928 } 929 930 /** 931 * Returns the last journal article in the ordered set where companyId = ?. 932 * 933 * @param companyId the company ID 934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 935 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 936 */ 937 public static com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last( 938 long companyId, 939 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 940 return getPersistence() 941 .fetchByCompanyId_Last(companyId, orderByComparator); 942 } 943 944 /** 945 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 946 * 947 * @param id the primary key of the current journal article 948 * @param companyId the company ID 949 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 950 * @return the previous, current, and next journal article 951 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 952 */ 953 public static com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 954 long id, long companyId, 955 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 956 throws com.liferay.portlet.journal.NoSuchArticleException { 957 return getPersistence() 958 .findByCompanyId_PrevAndNext(id, companyId, orderByComparator); 959 } 960 961 /** 962 * Removes all the journal articles where companyId = ? from the database. 963 * 964 * @param companyId the company ID 965 */ 966 public static void removeByCompanyId(long companyId) { 967 getPersistence().removeByCompanyId(companyId); 968 } 969 970 /** 971 * Returns the number of journal articles where companyId = ?. 972 * 973 * @param companyId the company ID 974 * @return the number of matching journal articles 975 */ 976 public static int countByCompanyId(long companyId) { 977 return getPersistence().countByCompanyId(companyId); 978 } 979 980 /** 981 * Returns all the journal articles where DDMStructureKey = ?. 982 * 983 * @param DDMStructureKey the d d m structure key 984 * @return the matching journal articles 985 */ 986 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 987 java.lang.String DDMStructureKey) { 988 return getPersistence().findByDDMStructureKey(DDMStructureKey); 989 } 990 991 /** 992 * Returns a range of all the journal articles where DDMStructureKey = ?. 993 * 994 * <p> 995 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 996 * </p> 997 * 998 * @param DDMStructureKey the d d m structure key 999 * @param start the lower bound of the range of journal articles 1000 * @param end the upper bound of the range of journal articles (not inclusive) 1001 * @return the range of matching journal articles 1002 */ 1003 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 1004 java.lang.String DDMStructureKey, int start, int end) { 1005 return getPersistence() 1006 .findByDDMStructureKey(DDMStructureKey, start, end); 1007 } 1008 1009 /** 1010 * Returns an ordered range of all the journal articles where DDMStructureKey = ?. 1011 * 1012 * <p> 1013 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1014 * </p> 1015 * 1016 * @param DDMStructureKey the d d m structure key 1017 * @param start the lower bound of the range of journal articles 1018 * @param end the upper bound of the range of journal articles (not inclusive) 1019 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1020 * @return the ordered range of matching journal articles 1021 */ 1022 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 1023 java.lang.String DDMStructureKey, int start, int end, 1024 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1025 return getPersistence() 1026 .findByDDMStructureKey(DDMStructureKey, start, end, 1027 orderByComparator); 1028 } 1029 1030 /** 1031 * Returns the first journal article in the ordered set where DDMStructureKey = ?. 1032 * 1033 * @param DDMStructureKey the d d m structure key 1034 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1035 * @return the first matching journal article 1036 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1037 */ 1038 public static com.liferay.portlet.journal.model.JournalArticle findByDDMStructureKey_First( 1039 java.lang.String DDMStructureKey, 1040 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1041 throws com.liferay.portlet.journal.NoSuchArticleException { 1042 return getPersistence() 1043 .findByDDMStructureKey_First(DDMStructureKey, 1044 orderByComparator); 1045 } 1046 1047 /** 1048 * Returns the first journal article in the ordered set where DDMStructureKey = ?. 1049 * 1050 * @param DDMStructureKey the d d m structure key 1051 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1052 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1053 */ 1054 public static com.liferay.portlet.journal.model.JournalArticle fetchByDDMStructureKey_First( 1055 java.lang.String DDMStructureKey, 1056 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1057 return getPersistence() 1058 .fetchByDDMStructureKey_First(DDMStructureKey, 1059 orderByComparator); 1060 } 1061 1062 /** 1063 * Returns the last journal article in the ordered set where DDMStructureKey = ?. 1064 * 1065 * @param DDMStructureKey the d d m structure key 1066 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1067 * @return the last matching journal article 1068 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1069 */ 1070 public static com.liferay.portlet.journal.model.JournalArticle findByDDMStructureKey_Last( 1071 java.lang.String DDMStructureKey, 1072 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1073 throws com.liferay.portlet.journal.NoSuchArticleException { 1074 return getPersistence() 1075 .findByDDMStructureKey_Last(DDMStructureKey, 1076 orderByComparator); 1077 } 1078 1079 /** 1080 * Returns the last journal article in the ordered set where DDMStructureKey = ?. 1081 * 1082 * @param DDMStructureKey the d d m structure key 1083 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1084 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1085 */ 1086 public static com.liferay.portlet.journal.model.JournalArticle fetchByDDMStructureKey_Last( 1087 java.lang.String DDMStructureKey, 1088 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1089 return getPersistence() 1090 .fetchByDDMStructureKey_Last(DDMStructureKey, 1091 orderByComparator); 1092 } 1093 1094 /** 1095 * Returns the journal articles before and after the current journal article in the ordered set where DDMStructureKey = ?. 1096 * 1097 * @param id the primary key of the current journal article 1098 * @param DDMStructureKey the d d m structure key 1099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1100 * @return the previous, current, and next journal article 1101 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1102 */ 1103 public static com.liferay.portlet.journal.model.JournalArticle[] findByDDMStructureKey_PrevAndNext( 1104 long id, java.lang.String DDMStructureKey, 1105 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1106 throws com.liferay.portlet.journal.NoSuchArticleException { 1107 return getPersistence() 1108 .findByDDMStructureKey_PrevAndNext(id, DDMStructureKey, 1109 orderByComparator); 1110 } 1111 1112 /** 1113 * Returns all the journal articles where DDMStructureKey = any ?. 1114 * 1115 * <p> 1116 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1117 * </p> 1118 * 1119 * @param DDMStructureKeies the d d m structure keies 1120 * @return the matching journal articles 1121 */ 1122 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 1123 java.lang.String[] DDMStructureKeies) { 1124 return getPersistence().findByDDMStructureKey(DDMStructureKeies); 1125 } 1126 1127 /** 1128 * Returns a range of all the journal articles where DDMStructureKey = any ?. 1129 * 1130 * <p> 1131 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1132 * </p> 1133 * 1134 * @param DDMStructureKeies the d d m structure keies 1135 * @param start the lower bound of the range of journal articles 1136 * @param end the upper bound of the range of journal articles (not inclusive) 1137 * @return the range of matching journal articles 1138 */ 1139 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 1140 java.lang.String[] DDMStructureKeies, int start, int end) { 1141 return getPersistence() 1142 .findByDDMStructureKey(DDMStructureKeies, start, end); 1143 } 1144 1145 /** 1146 * Returns an ordered range of all the journal articles where DDMStructureKey = any ?. 1147 * 1148 * <p> 1149 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1150 * </p> 1151 * 1152 * @param DDMStructureKeies the d d m structure keies 1153 * @param start the lower bound of the range of journal articles 1154 * @param end the upper bound of the range of journal articles (not inclusive) 1155 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1156 * @return the ordered range of matching journal articles 1157 */ 1158 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 1159 java.lang.String[] DDMStructureKeies, int start, int end, 1160 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1161 return getPersistence() 1162 .findByDDMStructureKey(DDMStructureKeies, start, end, 1163 orderByComparator); 1164 } 1165 1166 /** 1167 * Removes all the journal articles where DDMStructureKey = ? from the database. 1168 * 1169 * @param DDMStructureKey the d d m structure key 1170 */ 1171 public static void removeByDDMStructureKey(java.lang.String DDMStructureKey) { 1172 getPersistence().removeByDDMStructureKey(DDMStructureKey); 1173 } 1174 1175 /** 1176 * Returns the number of journal articles where DDMStructureKey = ?. 1177 * 1178 * @param DDMStructureKey the d d m structure key 1179 * @return the number of matching journal articles 1180 */ 1181 public static int countByDDMStructureKey(java.lang.String DDMStructureKey) { 1182 return getPersistence().countByDDMStructureKey(DDMStructureKey); 1183 } 1184 1185 /** 1186 * Returns the number of journal articles where DDMStructureKey = any ?. 1187 * 1188 * @param DDMStructureKeies the d d m structure keies 1189 * @return the number of matching journal articles 1190 */ 1191 public static int countByDDMStructureKey( 1192 java.lang.String[] DDMStructureKeies) { 1193 return getPersistence().countByDDMStructureKey(DDMStructureKeies); 1194 } 1195 1196 /** 1197 * Returns all the journal articles where DDMTemplateKey = ?. 1198 * 1199 * @param DDMTemplateKey the d d m template key 1200 * @return the matching journal articles 1201 */ 1202 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMTemplateKey( 1203 java.lang.String DDMTemplateKey) { 1204 return getPersistence().findByDDMTemplateKey(DDMTemplateKey); 1205 } 1206 1207 /** 1208 * Returns a range of all the journal articles where DDMTemplateKey = ?. 1209 * 1210 * <p> 1211 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1212 * </p> 1213 * 1214 * @param DDMTemplateKey the d d m template key 1215 * @param start the lower bound of the range of journal articles 1216 * @param end the upper bound of the range of journal articles (not inclusive) 1217 * @return the range of matching journal articles 1218 */ 1219 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMTemplateKey( 1220 java.lang.String DDMTemplateKey, int start, int end) { 1221 return getPersistence().findByDDMTemplateKey(DDMTemplateKey, start, end); 1222 } 1223 1224 /** 1225 * Returns an ordered range of all the journal articles where DDMTemplateKey = ?. 1226 * 1227 * <p> 1228 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1229 * </p> 1230 * 1231 * @param DDMTemplateKey the d d m template key 1232 * @param start the lower bound of the range of journal articles 1233 * @param end the upper bound of the range of journal articles (not inclusive) 1234 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1235 * @return the ordered range of matching journal articles 1236 */ 1237 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMTemplateKey( 1238 java.lang.String DDMTemplateKey, int start, int end, 1239 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1240 return getPersistence() 1241 .findByDDMTemplateKey(DDMTemplateKey, start, end, 1242 orderByComparator); 1243 } 1244 1245 /** 1246 * Returns the first journal article in the ordered set where DDMTemplateKey = ?. 1247 * 1248 * @param DDMTemplateKey the d d m template key 1249 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1250 * @return the first matching journal article 1251 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1252 */ 1253 public static com.liferay.portlet.journal.model.JournalArticle findByDDMTemplateKey_First( 1254 java.lang.String DDMTemplateKey, 1255 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1256 throws com.liferay.portlet.journal.NoSuchArticleException { 1257 return getPersistence() 1258 .findByDDMTemplateKey_First(DDMTemplateKey, orderByComparator); 1259 } 1260 1261 /** 1262 * Returns the first journal article in the ordered set where DDMTemplateKey = ?. 1263 * 1264 * @param DDMTemplateKey the d d m template key 1265 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1266 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1267 */ 1268 public static com.liferay.portlet.journal.model.JournalArticle fetchByDDMTemplateKey_First( 1269 java.lang.String DDMTemplateKey, 1270 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1271 return getPersistence() 1272 .fetchByDDMTemplateKey_First(DDMTemplateKey, 1273 orderByComparator); 1274 } 1275 1276 /** 1277 * Returns the last journal article in the ordered set where DDMTemplateKey = ?. 1278 * 1279 * @param DDMTemplateKey the d d m template key 1280 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1281 * @return the last matching journal article 1282 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1283 */ 1284 public static com.liferay.portlet.journal.model.JournalArticle findByDDMTemplateKey_Last( 1285 java.lang.String DDMTemplateKey, 1286 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1287 throws com.liferay.portlet.journal.NoSuchArticleException { 1288 return getPersistence() 1289 .findByDDMTemplateKey_Last(DDMTemplateKey, orderByComparator); 1290 } 1291 1292 /** 1293 * Returns the last journal article in the ordered set where DDMTemplateKey = ?. 1294 * 1295 * @param DDMTemplateKey the d d m template key 1296 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1297 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1298 */ 1299 public static com.liferay.portlet.journal.model.JournalArticle fetchByDDMTemplateKey_Last( 1300 java.lang.String DDMTemplateKey, 1301 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1302 return getPersistence() 1303 .fetchByDDMTemplateKey_Last(DDMTemplateKey, orderByComparator); 1304 } 1305 1306 /** 1307 * Returns the journal articles before and after the current journal article in the ordered set where DDMTemplateKey = ?. 1308 * 1309 * @param id the primary key of the current journal article 1310 * @param DDMTemplateKey the d d m template key 1311 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1312 * @return the previous, current, and next journal article 1313 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1314 */ 1315 public static com.liferay.portlet.journal.model.JournalArticle[] findByDDMTemplateKey_PrevAndNext( 1316 long id, java.lang.String DDMTemplateKey, 1317 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1318 throws com.liferay.portlet.journal.NoSuchArticleException { 1319 return getPersistence() 1320 .findByDDMTemplateKey_PrevAndNext(id, DDMTemplateKey, 1321 orderByComparator); 1322 } 1323 1324 /** 1325 * Removes all the journal articles where DDMTemplateKey = ? from the database. 1326 * 1327 * @param DDMTemplateKey the d d m template key 1328 */ 1329 public static void removeByDDMTemplateKey(java.lang.String DDMTemplateKey) { 1330 getPersistence().removeByDDMTemplateKey(DDMTemplateKey); 1331 } 1332 1333 /** 1334 * Returns the number of journal articles where DDMTemplateKey = ?. 1335 * 1336 * @param DDMTemplateKey the d d m template key 1337 * @return the number of matching journal articles 1338 */ 1339 public static int countByDDMTemplateKey(java.lang.String DDMTemplateKey) { 1340 return getPersistence().countByDDMTemplateKey(DDMTemplateKey); 1341 } 1342 1343 /** 1344 * Returns all the journal articles where layoutUuid = ?. 1345 * 1346 * @param layoutUuid the layout uuid 1347 * @return the matching journal articles 1348 */ 1349 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1350 java.lang.String layoutUuid) { 1351 return getPersistence().findByLayoutUuid(layoutUuid); 1352 } 1353 1354 /** 1355 * Returns a range of all the journal articles where layoutUuid = ?. 1356 * 1357 * <p> 1358 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1359 * </p> 1360 * 1361 * @param layoutUuid the layout uuid 1362 * @param start the lower bound of the range of journal articles 1363 * @param end the upper bound of the range of journal articles (not inclusive) 1364 * @return the range of matching journal articles 1365 */ 1366 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1367 java.lang.String layoutUuid, int start, int end) { 1368 return getPersistence().findByLayoutUuid(layoutUuid, start, end); 1369 } 1370 1371 /** 1372 * Returns an ordered range of all the journal articles where layoutUuid = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1376 * </p> 1377 * 1378 * @param layoutUuid the layout uuid 1379 * @param start the lower bound of the range of journal articles 1380 * @param end the upper bound of the range of journal articles (not inclusive) 1381 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1382 * @return the ordered range of matching journal articles 1383 */ 1384 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1385 java.lang.String layoutUuid, int start, int end, 1386 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1387 return getPersistence() 1388 .findByLayoutUuid(layoutUuid, start, end, orderByComparator); 1389 } 1390 1391 /** 1392 * Returns the first journal article in the ordered set where layoutUuid = ?. 1393 * 1394 * @param layoutUuid the layout uuid 1395 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1396 * @return the first matching journal article 1397 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1398 */ 1399 public static com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First( 1400 java.lang.String layoutUuid, 1401 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1402 throws com.liferay.portlet.journal.NoSuchArticleException { 1403 return getPersistence() 1404 .findByLayoutUuid_First(layoutUuid, orderByComparator); 1405 } 1406 1407 /** 1408 * Returns the first journal article in the ordered set where layoutUuid = ?. 1409 * 1410 * @param layoutUuid the layout uuid 1411 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1412 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1413 */ 1414 public static com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First( 1415 java.lang.String layoutUuid, 1416 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1417 return getPersistence() 1418 .fetchByLayoutUuid_First(layoutUuid, orderByComparator); 1419 } 1420 1421 /** 1422 * Returns the last journal article in the ordered set where layoutUuid = ?. 1423 * 1424 * @param layoutUuid the layout uuid 1425 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1426 * @return the last matching journal article 1427 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1428 */ 1429 public static com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last( 1430 java.lang.String layoutUuid, 1431 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1432 throws com.liferay.portlet.journal.NoSuchArticleException { 1433 return getPersistence() 1434 .findByLayoutUuid_Last(layoutUuid, orderByComparator); 1435 } 1436 1437 /** 1438 * Returns the last journal article in the ordered set where layoutUuid = ?. 1439 * 1440 * @param layoutUuid the layout uuid 1441 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1442 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1443 */ 1444 public static com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last( 1445 java.lang.String layoutUuid, 1446 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1447 return getPersistence() 1448 .fetchByLayoutUuid_Last(layoutUuid, orderByComparator); 1449 } 1450 1451 /** 1452 * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?. 1453 * 1454 * @param id the primary key of the current journal article 1455 * @param layoutUuid the layout uuid 1456 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1457 * @return the previous, current, and next journal article 1458 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1459 */ 1460 public static com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext( 1461 long id, java.lang.String layoutUuid, 1462 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1463 throws com.liferay.portlet.journal.NoSuchArticleException { 1464 return getPersistence() 1465 .findByLayoutUuid_PrevAndNext(id, layoutUuid, 1466 orderByComparator); 1467 } 1468 1469 /** 1470 * Removes all the journal articles where layoutUuid = ? from the database. 1471 * 1472 * @param layoutUuid the layout uuid 1473 */ 1474 public static void removeByLayoutUuid(java.lang.String layoutUuid) { 1475 getPersistence().removeByLayoutUuid(layoutUuid); 1476 } 1477 1478 /** 1479 * Returns the number of journal articles where layoutUuid = ?. 1480 * 1481 * @param layoutUuid the layout uuid 1482 * @return the number of matching journal articles 1483 */ 1484 public static int countByLayoutUuid(java.lang.String layoutUuid) { 1485 return getPersistence().countByLayoutUuid(layoutUuid); 1486 } 1487 1488 /** 1489 * Returns all the journal articles where smallImageId = ?. 1490 * 1491 * @param smallImageId the small image ID 1492 * @return the matching journal articles 1493 */ 1494 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1495 long smallImageId) { 1496 return getPersistence().findBySmallImageId(smallImageId); 1497 } 1498 1499 /** 1500 * Returns a range of all the journal articles where smallImageId = ?. 1501 * 1502 * <p> 1503 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1504 * </p> 1505 * 1506 * @param smallImageId the small image ID 1507 * @param start the lower bound of the range of journal articles 1508 * @param end the upper bound of the range of journal articles (not inclusive) 1509 * @return the range of matching journal articles 1510 */ 1511 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1512 long smallImageId, int start, int end) { 1513 return getPersistence().findBySmallImageId(smallImageId, start, end); 1514 } 1515 1516 /** 1517 * Returns an ordered range of all the journal articles where smallImageId = ?. 1518 * 1519 * <p> 1520 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1521 * </p> 1522 * 1523 * @param smallImageId the small image ID 1524 * @param start the lower bound of the range of journal articles 1525 * @param end the upper bound of the range of journal articles (not inclusive) 1526 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1527 * @return the ordered range of matching journal articles 1528 */ 1529 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1530 long smallImageId, int start, int end, 1531 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1532 return getPersistence() 1533 .findBySmallImageId(smallImageId, start, end, 1534 orderByComparator); 1535 } 1536 1537 /** 1538 * Returns the first journal article in the ordered set where smallImageId = ?. 1539 * 1540 * @param smallImageId the small image ID 1541 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1542 * @return the first matching journal article 1543 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1544 */ 1545 public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 1546 long smallImageId, 1547 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1548 throws com.liferay.portlet.journal.NoSuchArticleException { 1549 return getPersistence() 1550 .findBySmallImageId_First(smallImageId, orderByComparator); 1551 } 1552 1553 /** 1554 * Returns the first journal article in the ordered set where smallImageId = ?. 1555 * 1556 * @param smallImageId the small image ID 1557 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1558 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1559 */ 1560 public static com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 1561 long smallImageId, 1562 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1563 return getPersistence() 1564 .fetchBySmallImageId_First(smallImageId, orderByComparator); 1565 } 1566 1567 /** 1568 * Returns the last journal article in the ordered set where smallImageId = ?. 1569 * 1570 * @param smallImageId the small image ID 1571 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1572 * @return the last matching journal article 1573 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1574 */ 1575 public static com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1576 long smallImageId, 1577 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1578 throws com.liferay.portlet.journal.NoSuchArticleException { 1579 return getPersistence() 1580 .findBySmallImageId_Last(smallImageId, orderByComparator); 1581 } 1582 1583 /** 1584 * Returns the last journal article in the ordered set where smallImageId = ?. 1585 * 1586 * @param smallImageId the small image ID 1587 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1588 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1589 */ 1590 public static com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1591 long smallImageId, 1592 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1593 return getPersistence() 1594 .fetchBySmallImageId_Last(smallImageId, orderByComparator); 1595 } 1596 1597 /** 1598 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1599 * 1600 * @param id the primary key of the current journal article 1601 * @param smallImageId the small image ID 1602 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1603 * @return the previous, current, and next journal article 1604 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1605 */ 1606 public static com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1607 long id, long smallImageId, 1608 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1609 throws com.liferay.portlet.journal.NoSuchArticleException { 1610 return getPersistence() 1611 .findBySmallImageId_PrevAndNext(id, smallImageId, 1612 orderByComparator); 1613 } 1614 1615 /** 1616 * Removes all the journal articles where smallImageId = ? from the database. 1617 * 1618 * @param smallImageId the small image ID 1619 */ 1620 public static void removeBySmallImageId(long smallImageId) { 1621 getPersistence().removeBySmallImageId(smallImageId); 1622 } 1623 1624 /** 1625 * Returns the number of journal articles where smallImageId = ?. 1626 * 1627 * @param smallImageId the small image ID 1628 * @return the number of matching journal articles 1629 */ 1630 public static int countBySmallImageId(long smallImageId) { 1631 return getPersistence().countBySmallImageId(smallImageId); 1632 } 1633 1634 /** 1635 * Returns all the journal articles where resourcePrimKey = ? and indexable = ?. 1636 * 1637 * @param resourcePrimKey the resource prim key 1638 * @param indexable the indexable 1639 * @return the matching journal articles 1640 */ 1641 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1642 long resourcePrimKey, boolean indexable) { 1643 return getPersistence().findByR_I(resourcePrimKey, indexable); 1644 } 1645 1646 /** 1647 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1648 * 1649 * <p> 1650 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1651 * </p> 1652 * 1653 * @param resourcePrimKey the resource prim key 1654 * @param indexable the indexable 1655 * @param start the lower bound of the range of journal articles 1656 * @param end the upper bound of the range of journal articles (not inclusive) 1657 * @return the range of matching journal articles 1658 */ 1659 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1660 long resourcePrimKey, boolean indexable, int start, int end) { 1661 return getPersistence().findByR_I(resourcePrimKey, indexable, start, end); 1662 } 1663 1664 /** 1665 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1669 * </p> 1670 * 1671 * @param resourcePrimKey the resource prim key 1672 * @param indexable the indexable 1673 * @param start the lower bound of the range of journal articles 1674 * @param end the upper bound of the range of journal articles (not inclusive) 1675 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1676 * @return the ordered range of matching journal articles 1677 */ 1678 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1679 long resourcePrimKey, boolean indexable, int start, int end, 1680 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1681 return getPersistence() 1682 .findByR_I(resourcePrimKey, indexable, start, end, 1683 orderByComparator); 1684 } 1685 1686 /** 1687 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1688 * 1689 * @param resourcePrimKey the resource prim key 1690 * @param indexable the indexable 1691 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1692 * @return the first matching journal article 1693 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1694 */ 1695 public static com.liferay.portlet.journal.model.JournalArticle findByR_I_First( 1696 long resourcePrimKey, boolean indexable, 1697 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1698 throws com.liferay.portlet.journal.NoSuchArticleException { 1699 return getPersistence() 1700 .findByR_I_First(resourcePrimKey, indexable, 1701 orderByComparator); 1702 } 1703 1704 /** 1705 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1706 * 1707 * @param resourcePrimKey the resource prim key 1708 * @param indexable the indexable 1709 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1710 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1711 */ 1712 public static com.liferay.portlet.journal.model.JournalArticle fetchByR_I_First( 1713 long resourcePrimKey, boolean indexable, 1714 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1715 return getPersistence() 1716 .fetchByR_I_First(resourcePrimKey, indexable, 1717 orderByComparator); 1718 } 1719 1720 /** 1721 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1722 * 1723 * @param resourcePrimKey the resource prim key 1724 * @param indexable the indexable 1725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1726 * @return the last matching journal article 1727 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1728 */ 1729 public static com.liferay.portlet.journal.model.JournalArticle findByR_I_Last( 1730 long resourcePrimKey, boolean indexable, 1731 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1732 throws com.liferay.portlet.journal.NoSuchArticleException { 1733 return getPersistence() 1734 .findByR_I_Last(resourcePrimKey, indexable, orderByComparator); 1735 } 1736 1737 /** 1738 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1739 * 1740 * @param resourcePrimKey the resource prim key 1741 * @param indexable the indexable 1742 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1743 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1744 */ 1745 public static com.liferay.portlet.journal.model.JournalArticle fetchByR_I_Last( 1746 long resourcePrimKey, boolean indexable, 1747 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1748 return getPersistence() 1749 .fetchByR_I_Last(resourcePrimKey, indexable, 1750 orderByComparator); 1751 } 1752 1753 /** 1754 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1755 * 1756 * @param id the primary key of the current journal article 1757 * @param resourcePrimKey the resource prim key 1758 * @param indexable the indexable 1759 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1760 * @return the previous, current, and next journal article 1761 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1762 */ 1763 public static com.liferay.portlet.journal.model.JournalArticle[] findByR_I_PrevAndNext( 1764 long id, long resourcePrimKey, boolean indexable, 1765 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1766 throws com.liferay.portlet.journal.NoSuchArticleException { 1767 return getPersistence() 1768 .findByR_I_PrevAndNext(id, resourcePrimKey, indexable, 1769 orderByComparator); 1770 } 1771 1772 /** 1773 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database. 1774 * 1775 * @param resourcePrimKey the resource prim key 1776 * @param indexable the indexable 1777 */ 1778 public static void removeByR_I(long resourcePrimKey, boolean indexable) { 1779 getPersistence().removeByR_I(resourcePrimKey, indexable); 1780 } 1781 1782 /** 1783 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ?. 1784 * 1785 * @param resourcePrimKey the resource prim key 1786 * @param indexable the indexable 1787 * @return the number of matching journal articles 1788 */ 1789 public static int countByR_I(long resourcePrimKey, boolean indexable) { 1790 return getPersistence().countByR_I(resourcePrimKey, indexable); 1791 } 1792 1793 /** 1794 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1795 * 1796 * @param resourcePrimKey the resource prim key 1797 * @param status the status 1798 * @return the matching journal articles 1799 */ 1800 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1801 long resourcePrimKey, int status) { 1802 return getPersistence().findByR_ST(resourcePrimKey, status); 1803 } 1804 1805 /** 1806 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1807 * 1808 * <p> 1809 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1810 * </p> 1811 * 1812 * @param resourcePrimKey the resource prim key 1813 * @param status the status 1814 * @param start the lower bound of the range of journal articles 1815 * @param end the upper bound of the range of journal articles (not inclusive) 1816 * @return the range of matching journal articles 1817 */ 1818 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1819 long resourcePrimKey, int status, int start, int end) { 1820 return getPersistence().findByR_ST(resourcePrimKey, status, start, end); 1821 } 1822 1823 /** 1824 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1825 * 1826 * <p> 1827 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1828 * </p> 1829 * 1830 * @param resourcePrimKey the resource prim key 1831 * @param status the status 1832 * @param start the lower bound of the range of journal articles 1833 * @param end the upper bound of the range of journal articles (not inclusive) 1834 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1835 * @return the ordered range of matching journal articles 1836 */ 1837 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1838 long resourcePrimKey, int status, int start, int end, 1839 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1840 return getPersistence() 1841 .findByR_ST(resourcePrimKey, status, start, end, 1842 orderByComparator); 1843 } 1844 1845 /** 1846 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1847 * 1848 * @param resourcePrimKey the resource prim key 1849 * @param status the status 1850 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1851 * @return the first matching journal article 1852 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1853 */ 1854 public static com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1855 long resourcePrimKey, int status, 1856 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1857 throws com.liferay.portlet.journal.NoSuchArticleException { 1858 return getPersistence() 1859 .findByR_ST_First(resourcePrimKey, status, orderByComparator); 1860 } 1861 1862 /** 1863 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1864 * 1865 * @param resourcePrimKey the resource prim key 1866 * @param status the status 1867 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1868 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1869 */ 1870 public static com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1871 long resourcePrimKey, int status, 1872 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1873 return getPersistence() 1874 .fetchByR_ST_First(resourcePrimKey, status, orderByComparator); 1875 } 1876 1877 /** 1878 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1879 * 1880 * @param resourcePrimKey the resource prim key 1881 * @param status the status 1882 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1883 * @return the last matching journal article 1884 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1885 */ 1886 public static com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1887 long resourcePrimKey, int status, 1888 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1889 throws com.liferay.portlet.journal.NoSuchArticleException { 1890 return getPersistence() 1891 .findByR_ST_Last(resourcePrimKey, status, orderByComparator); 1892 } 1893 1894 /** 1895 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1896 * 1897 * @param resourcePrimKey the resource prim key 1898 * @param status the status 1899 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1900 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1901 */ 1902 public static com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1903 long resourcePrimKey, int status, 1904 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1905 return getPersistence() 1906 .fetchByR_ST_Last(resourcePrimKey, status, orderByComparator); 1907 } 1908 1909 /** 1910 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1911 * 1912 * @param id the primary key of the current journal article 1913 * @param resourcePrimKey the resource prim key 1914 * @param status the status 1915 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1916 * @return the previous, current, and next journal article 1917 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1918 */ 1919 public static com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1920 long id, long resourcePrimKey, int status, 1921 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1922 throws com.liferay.portlet.journal.NoSuchArticleException { 1923 return getPersistence() 1924 .findByR_ST_PrevAndNext(id, resourcePrimKey, status, 1925 orderByComparator); 1926 } 1927 1928 /** 1929 * Returns all the journal articles where resourcePrimKey = ? and status = any ?. 1930 * 1931 * <p> 1932 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1933 * </p> 1934 * 1935 * @param resourcePrimKey the resource prim key 1936 * @param statuses the statuses 1937 * @return the matching journal articles 1938 */ 1939 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1940 long resourcePrimKey, int[] statuses) { 1941 return getPersistence().findByR_ST(resourcePrimKey, statuses); 1942 } 1943 1944 /** 1945 * Returns a range of all the journal articles where resourcePrimKey = ? and status = any ?. 1946 * 1947 * <p> 1948 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1949 * </p> 1950 * 1951 * @param resourcePrimKey the resource prim key 1952 * @param statuses the statuses 1953 * @param start the lower bound of the range of journal articles 1954 * @param end the upper bound of the range of journal articles (not inclusive) 1955 * @return the range of matching journal articles 1956 */ 1957 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1958 long resourcePrimKey, int[] statuses, int start, int end) { 1959 return getPersistence().findByR_ST(resourcePrimKey, statuses, start, end); 1960 } 1961 1962 /** 1963 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = any ?. 1964 * 1965 * <p> 1966 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1967 * </p> 1968 * 1969 * @param resourcePrimKey the resource prim key 1970 * @param statuses the statuses 1971 * @param start the lower bound of the range of journal articles 1972 * @param end the upper bound of the range of journal articles (not inclusive) 1973 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1974 * @return the ordered range of matching journal articles 1975 */ 1976 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1977 long resourcePrimKey, int[] statuses, int start, int end, 1978 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 1979 return getPersistence() 1980 .findByR_ST(resourcePrimKey, statuses, start, end, 1981 orderByComparator); 1982 } 1983 1984 /** 1985 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 1986 * 1987 * @param resourcePrimKey the resource prim key 1988 * @param status the status 1989 */ 1990 public static void removeByR_ST(long resourcePrimKey, int status) { 1991 getPersistence().removeByR_ST(resourcePrimKey, status); 1992 } 1993 1994 /** 1995 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 1996 * 1997 * @param resourcePrimKey the resource prim key 1998 * @param status the status 1999 * @return the number of matching journal articles 2000 */ 2001 public static int countByR_ST(long resourcePrimKey, int status) { 2002 return getPersistence().countByR_ST(resourcePrimKey, status); 2003 } 2004 2005 /** 2006 * Returns the number of journal articles where resourcePrimKey = ? and status = any ?. 2007 * 2008 * @param resourcePrimKey the resource prim key 2009 * @param statuses the statuses 2010 * @return the number of matching journal articles 2011 */ 2012 public static int countByR_ST(long resourcePrimKey, int[] statuses) { 2013 return getPersistence().countByR_ST(resourcePrimKey, statuses); 2014 } 2015 2016 /** 2017 * Returns all the journal articles where groupId = ? and userId = ?. 2018 * 2019 * @param groupId the group ID 2020 * @param userId the user ID 2021 * @return the matching journal articles 2022 */ 2023 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 2024 long groupId, long userId) { 2025 return getPersistence().findByG_U(groupId, userId); 2026 } 2027 2028 /** 2029 * Returns a range of all the journal articles where groupId = ? and userId = ?. 2030 * 2031 * <p> 2032 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2033 * </p> 2034 * 2035 * @param groupId the group ID 2036 * @param userId the user ID 2037 * @param start the lower bound of the range of journal articles 2038 * @param end the upper bound of the range of journal articles (not inclusive) 2039 * @return the range of matching journal articles 2040 */ 2041 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 2042 long groupId, long userId, int start, int end) { 2043 return getPersistence().findByG_U(groupId, userId, start, end); 2044 } 2045 2046 /** 2047 * Returns an ordered range of all the journal articles where groupId = ? and userId = ?. 2048 * 2049 * <p> 2050 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2051 * </p> 2052 * 2053 * @param groupId the group ID 2054 * @param userId the user ID 2055 * @param start the lower bound of the range of journal articles 2056 * @param end the upper bound of the range of journal articles (not inclusive) 2057 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2058 * @return the ordered range of matching journal articles 2059 */ 2060 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 2061 long groupId, long userId, int start, int end, 2062 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2063 return getPersistence() 2064 .findByG_U(groupId, userId, start, end, orderByComparator); 2065 } 2066 2067 /** 2068 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 2069 * 2070 * @param groupId the group ID 2071 * @param userId the user ID 2072 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2073 * @return the first matching journal article 2074 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2075 */ 2076 public static com.liferay.portlet.journal.model.JournalArticle findByG_U_First( 2077 long groupId, long userId, 2078 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2079 throws com.liferay.portlet.journal.NoSuchArticleException { 2080 return getPersistence() 2081 .findByG_U_First(groupId, userId, orderByComparator); 2082 } 2083 2084 /** 2085 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 2086 * 2087 * @param groupId the group ID 2088 * @param userId the user ID 2089 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2090 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2091 */ 2092 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First( 2093 long groupId, long userId, 2094 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2095 return getPersistence() 2096 .fetchByG_U_First(groupId, userId, orderByComparator); 2097 } 2098 2099 /** 2100 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 2101 * 2102 * @param groupId the group ID 2103 * @param userId the user ID 2104 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2105 * @return the last matching journal article 2106 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2107 */ 2108 public static com.liferay.portlet.journal.model.JournalArticle findByG_U_Last( 2109 long groupId, long userId, 2110 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2111 throws com.liferay.portlet.journal.NoSuchArticleException { 2112 return getPersistence() 2113 .findByG_U_Last(groupId, userId, orderByComparator); 2114 } 2115 2116 /** 2117 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 2118 * 2119 * @param groupId the group ID 2120 * @param userId the user ID 2121 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2122 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2123 */ 2124 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last( 2125 long groupId, long userId, 2126 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2127 return getPersistence() 2128 .fetchByG_U_Last(groupId, userId, orderByComparator); 2129 } 2130 2131 /** 2132 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?. 2133 * 2134 * @param id the primary key of the current journal article 2135 * @param groupId the group ID 2136 * @param userId the user ID 2137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2138 * @return the previous, current, and next journal article 2139 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2140 */ 2141 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext( 2142 long id, long groupId, long userId, 2143 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2144 throws com.liferay.portlet.journal.NoSuchArticleException { 2145 return getPersistence() 2146 .findByG_U_PrevAndNext(id, groupId, userId, orderByComparator); 2147 } 2148 2149 /** 2150 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?. 2151 * 2152 * @param groupId the group ID 2153 * @param userId the user ID 2154 * @return the matching journal articles that the user has permission to view 2155 */ 2156 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 2157 long groupId, long userId) { 2158 return getPersistence().filterFindByG_U(groupId, userId); 2159 } 2160 2161 /** 2162 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?. 2163 * 2164 * <p> 2165 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2166 * </p> 2167 * 2168 * @param groupId the group ID 2169 * @param userId the user ID 2170 * @param start the lower bound of the range of journal articles 2171 * @param end the upper bound of the range of journal articles (not inclusive) 2172 * @return the range of matching journal articles that the user has permission to view 2173 */ 2174 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 2175 long groupId, long userId, int start, int end) { 2176 return getPersistence().filterFindByG_U(groupId, userId, start, end); 2177 } 2178 2179 /** 2180 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?. 2181 * 2182 * <p> 2183 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2184 * </p> 2185 * 2186 * @param groupId the group ID 2187 * @param userId the user ID 2188 * @param start the lower bound of the range of journal articles 2189 * @param end the upper bound of the range of journal articles (not inclusive) 2190 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2191 * @return the ordered range of matching journal articles that the user has permission to view 2192 */ 2193 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 2194 long groupId, long userId, int start, int end, 2195 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2196 return getPersistence() 2197 .filterFindByG_U(groupId, userId, start, end, 2198 orderByComparator); 2199 } 2200 2201 /** 2202 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ?. 2203 * 2204 * @param id the primary key of the current journal article 2205 * @param groupId the group ID 2206 * @param userId the user ID 2207 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2208 * @return the previous, current, and next journal article 2209 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2210 */ 2211 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext( 2212 long id, long groupId, long userId, 2213 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2214 throws com.liferay.portlet.journal.NoSuchArticleException { 2215 return getPersistence() 2216 .filterFindByG_U_PrevAndNext(id, groupId, userId, 2217 orderByComparator); 2218 } 2219 2220 /** 2221 * Removes all the journal articles where groupId = ? and userId = ? from the database. 2222 * 2223 * @param groupId the group ID 2224 * @param userId the user ID 2225 */ 2226 public static void removeByG_U(long groupId, long userId) { 2227 getPersistence().removeByG_U(groupId, userId); 2228 } 2229 2230 /** 2231 * Returns the number of journal articles where groupId = ? and userId = ?. 2232 * 2233 * @param groupId the group ID 2234 * @param userId the user ID 2235 * @return the number of matching journal articles 2236 */ 2237 public static int countByG_U(long groupId, long userId) { 2238 return getPersistence().countByG_U(groupId, userId); 2239 } 2240 2241 /** 2242 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?. 2243 * 2244 * @param groupId the group ID 2245 * @param userId the user ID 2246 * @return the number of matching journal articles that the user has permission to view 2247 */ 2248 public static int filterCountByG_U(long groupId, long userId) { 2249 return getPersistence().filterCountByG_U(groupId, userId); 2250 } 2251 2252 /** 2253 * Returns all the journal articles where groupId = ? and folderId = ?. 2254 * 2255 * @param groupId the group ID 2256 * @param folderId the folder ID 2257 * @return the matching journal articles 2258 */ 2259 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2260 long groupId, long folderId) { 2261 return getPersistence().findByG_F(groupId, folderId); 2262 } 2263 2264 /** 2265 * Returns a range of all the journal articles where groupId = ? and folderId = ?. 2266 * 2267 * <p> 2268 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2269 * </p> 2270 * 2271 * @param groupId the group ID 2272 * @param folderId the folder ID 2273 * @param start the lower bound of the range of journal articles 2274 * @param end the upper bound of the range of journal articles (not inclusive) 2275 * @return the range of matching journal articles 2276 */ 2277 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2278 long groupId, long folderId, int start, int end) { 2279 return getPersistence().findByG_F(groupId, folderId, start, end); 2280 } 2281 2282 /** 2283 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ?. 2284 * 2285 * <p> 2286 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2287 * </p> 2288 * 2289 * @param groupId the group ID 2290 * @param folderId the folder ID 2291 * @param start the lower bound of the range of journal articles 2292 * @param end the upper bound of the range of journal articles (not inclusive) 2293 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2294 * @return the ordered range of matching journal articles 2295 */ 2296 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2297 long groupId, long folderId, int start, int end, 2298 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2299 return getPersistence() 2300 .findByG_F(groupId, folderId, start, end, orderByComparator); 2301 } 2302 2303 /** 2304 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 2305 * 2306 * @param groupId the group ID 2307 * @param folderId the folder ID 2308 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2309 * @return the first matching journal article 2310 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2311 */ 2312 public static com.liferay.portlet.journal.model.JournalArticle findByG_F_First( 2313 long groupId, long folderId, 2314 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2315 throws com.liferay.portlet.journal.NoSuchArticleException { 2316 return getPersistence() 2317 .findByG_F_First(groupId, folderId, orderByComparator); 2318 } 2319 2320 /** 2321 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 2322 * 2323 * @param groupId the group ID 2324 * @param folderId the folder ID 2325 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2326 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2327 */ 2328 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First( 2329 long groupId, long folderId, 2330 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2331 return getPersistence() 2332 .fetchByG_F_First(groupId, folderId, orderByComparator); 2333 } 2334 2335 /** 2336 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 2337 * 2338 * @param groupId the group ID 2339 * @param folderId the folder ID 2340 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2341 * @return the last matching journal article 2342 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2343 */ 2344 public static com.liferay.portlet.journal.model.JournalArticle findByG_F_Last( 2345 long groupId, long folderId, 2346 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2347 throws com.liferay.portlet.journal.NoSuchArticleException { 2348 return getPersistence() 2349 .findByG_F_Last(groupId, folderId, orderByComparator); 2350 } 2351 2352 /** 2353 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 2354 * 2355 * @param groupId the group ID 2356 * @param folderId the folder ID 2357 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2358 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2359 */ 2360 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last( 2361 long groupId, long folderId, 2362 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2363 return getPersistence() 2364 .fetchByG_F_Last(groupId, folderId, orderByComparator); 2365 } 2366 2367 /** 2368 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?. 2369 * 2370 * @param id the primary key of the current journal article 2371 * @param groupId the group ID 2372 * @param folderId the folder ID 2373 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2374 * @return the previous, current, and next journal article 2375 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2376 */ 2377 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext( 2378 long id, long groupId, long folderId, 2379 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2380 throws com.liferay.portlet.journal.NoSuchArticleException { 2381 return getPersistence() 2382 .findByG_F_PrevAndNext(id, groupId, folderId, 2383 orderByComparator); 2384 } 2385 2386 /** 2387 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 2388 * 2389 * @param groupId the group ID 2390 * @param folderId the folder ID 2391 * @return the matching journal articles that the user has permission to view 2392 */ 2393 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2394 long groupId, long folderId) { 2395 return getPersistence().filterFindByG_F(groupId, folderId); 2396 } 2397 2398 /** 2399 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 2400 * 2401 * <p> 2402 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2403 * </p> 2404 * 2405 * @param groupId the group ID 2406 * @param folderId the folder ID 2407 * @param start the lower bound of the range of journal articles 2408 * @param end the upper bound of the range of journal articles (not inclusive) 2409 * @return the range of matching journal articles that the user has permission to view 2410 */ 2411 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2412 long groupId, long folderId, int start, int end) { 2413 return getPersistence().filterFindByG_F(groupId, folderId, start, end); 2414 } 2415 2416 /** 2417 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?. 2418 * 2419 * <p> 2420 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2421 * </p> 2422 * 2423 * @param groupId the group ID 2424 * @param folderId the folder ID 2425 * @param start the lower bound of the range of journal articles 2426 * @param end the upper bound of the range of journal articles (not inclusive) 2427 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2428 * @return the ordered range of matching journal articles that the user has permission to view 2429 */ 2430 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2431 long groupId, long folderId, int start, int end, 2432 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2433 return getPersistence() 2434 .filterFindByG_F(groupId, folderId, start, end, 2435 orderByComparator); 2436 } 2437 2438 /** 2439 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2440 * 2441 * @param id the primary key of the current journal article 2442 * @param groupId the group ID 2443 * @param folderId the folder ID 2444 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2445 * @return the previous, current, and next journal article 2446 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2447 */ 2448 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext( 2449 long id, long groupId, long folderId, 2450 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2451 throws com.liferay.portlet.journal.NoSuchArticleException { 2452 return getPersistence() 2453 .filterFindByG_F_PrevAndNext(id, groupId, folderId, 2454 orderByComparator); 2455 } 2456 2457 /** 2458 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2459 * 2460 * @param groupId the group ID 2461 * @param folderIds the folder IDs 2462 * @return the matching journal articles that the user has permission to view 2463 */ 2464 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2465 long groupId, long[] folderIds) { 2466 return getPersistence().filterFindByG_F(groupId, folderIds); 2467 } 2468 2469 /** 2470 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2471 * 2472 * <p> 2473 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2474 * </p> 2475 * 2476 * @param groupId the group ID 2477 * @param folderIds the folder IDs 2478 * @param start the lower bound of the range of journal articles 2479 * @param end the upper bound of the range of journal articles (not inclusive) 2480 * @return the range of matching journal articles that the user has permission to view 2481 */ 2482 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2483 long groupId, long[] folderIds, int start, int end) { 2484 return getPersistence().filterFindByG_F(groupId, folderIds, start, end); 2485 } 2486 2487 /** 2488 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2489 * 2490 * <p> 2491 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2492 * </p> 2493 * 2494 * @param groupId the group ID 2495 * @param folderIds the folder IDs 2496 * @param start the lower bound of the range of journal articles 2497 * @param end the upper bound of the range of journal articles (not inclusive) 2498 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2499 * @return the ordered range of matching journal articles that the user has permission to view 2500 */ 2501 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2502 long groupId, long[] folderIds, int start, int end, 2503 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2504 return getPersistence() 2505 .filterFindByG_F(groupId, folderIds, start, end, 2506 orderByComparator); 2507 } 2508 2509 /** 2510 * Returns all the journal articles where groupId = ? and folderId = any ?. 2511 * 2512 * <p> 2513 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2514 * </p> 2515 * 2516 * @param groupId the group ID 2517 * @param folderIds the folder IDs 2518 * @return the matching journal articles 2519 */ 2520 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2521 long groupId, long[] folderIds) { 2522 return getPersistence().findByG_F(groupId, folderIds); 2523 } 2524 2525 /** 2526 * Returns a range of all the journal articles where groupId = ? and folderId = any ?. 2527 * 2528 * <p> 2529 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2530 * </p> 2531 * 2532 * @param groupId the group ID 2533 * @param folderIds the folder IDs 2534 * @param start the lower bound of the range of journal articles 2535 * @param end the upper bound of the range of journal articles (not inclusive) 2536 * @return the range of matching journal articles 2537 */ 2538 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2539 long groupId, long[] folderIds, int start, int end) { 2540 return getPersistence().findByG_F(groupId, folderIds, start, end); 2541 } 2542 2543 /** 2544 * Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?. 2545 * 2546 * <p> 2547 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2548 * </p> 2549 * 2550 * @param groupId the group ID 2551 * @param folderIds the folder IDs 2552 * @param start the lower bound of the range of journal articles 2553 * @param end the upper bound of the range of journal articles (not inclusive) 2554 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2555 * @return the ordered range of matching journal articles 2556 */ 2557 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2558 long groupId, long[] folderIds, int start, int end, 2559 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2560 return getPersistence() 2561 .findByG_F(groupId, folderIds, start, end, orderByComparator); 2562 } 2563 2564 /** 2565 * Removes all the journal articles where groupId = ? and folderId = ? from the database. 2566 * 2567 * @param groupId the group ID 2568 * @param folderId the folder ID 2569 */ 2570 public static void removeByG_F(long groupId, long folderId) { 2571 getPersistence().removeByG_F(groupId, folderId); 2572 } 2573 2574 /** 2575 * Returns the number of journal articles where groupId = ? and folderId = ?. 2576 * 2577 * @param groupId the group ID 2578 * @param folderId the folder ID 2579 * @return the number of matching journal articles 2580 */ 2581 public static int countByG_F(long groupId, long folderId) { 2582 return getPersistence().countByG_F(groupId, folderId); 2583 } 2584 2585 /** 2586 * Returns the number of journal articles where groupId = ? and folderId = any ?. 2587 * 2588 * @param groupId the group ID 2589 * @param folderIds the folder IDs 2590 * @return the number of matching journal articles 2591 */ 2592 public static int countByG_F(long groupId, long[] folderIds) { 2593 return getPersistence().countByG_F(groupId, folderIds); 2594 } 2595 2596 /** 2597 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2598 * 2599 * @param groupId the group ID 2600 * @param folderId the folder ID 2601 * @return the number of matching journal articles that the user has permission to view 2602 */ 2603 public static int filterCountByG_F(long groupId, long folderId) { 2604 return getPersistence().filterCountByG_F(groupId, folderId); 2605 } 2606 2607 /** 2608 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2609 * 2610 * @param groupId the group ID 2611 * @param folderIds the folder IDs 2612 * @return the number of matching journal articles that the user has permission to view 2613 */ 2614 public static int filterCountByG_F(long groupId, long[] folderIds) { 2615 return getPersistence().filterCountByG_F(groupId, folderIds); 2616 } 2617 2618 /** 2619 * Returns all the journal articles where groupId = ? and articleId = ?. 2620 * 2621 * @param groupId the group ID 2622 * @param articleId the article ID 2623 * @return the matching journal articles 2624 */ 2625 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2626 long groupId, java.lang.String articleId) { 2627 return getPersistence().findByG_A(groupId, articleId); 2628 } 2629 2630 /** 2631 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 2632 * 2633 * <p> 2634 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2635 * </p> 2636 * 2637 * @param groupId the group ID 2638 * @param articleId the article ID 2639 * @param start the lower bound of the range of journal articles 2640 * @param end the upper bound of the range of journal articles (not inclusive) 2641 * @return the range of matching journal articles 2642 */ 2643 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2644 long groupId, java.lang.String articleId, int start, int end) { 2645 return getPersistence().findByG_A(groupId, articleId, start, end); 2646 } 2647 2648 /** 2649 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 2650 * 2651 * <p> 2652 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2653 * </p> 2654 * 2655 * @param groupId the group ID 2656 * @param articleId the article ID 2657 * @param start the lower bound of the range of journal articles 2658 * @param end the upper bound of the range of journal articles (not inclusive) 2659 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2660 * @return the ordered range of matching journal articles 2661 */ 2662 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2663 long groupId, java.lang.String articleId, int start, int end, 2664 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2665 return getPersistence() 2666 .findByG_A(groupId, articleId, start, end, orderByComparator); 2667 } 2668 2669 /** 2670 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2671 * 2672 * @param groupId the group ID 2673 * @param articleId the article ID 2674 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2675 * @return the first matching journal article 2676 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2677 */ 2678 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 2679 long groupId, java.lang.String articleId, 2680 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2681 throws com.liferay.portlet.journal.NoSuchArticleException { 2682 return getPersistence() 2683 .findByG_A_First(groupId, articleId, orderByComparator); 2684 } 2685 2686 /** 2687 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2688 * 2689 * @param groupId the group ID 2690 * @param articleId the article ID 2691 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2692 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2693 */ 2694 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 2695 long groupId, java.lang.String articleId, 2696 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2697 return getPersistence() 2698 .fetchByG_A_First(groupId, articleId, orderByComparator); 2699 } 2700 2701 /** 2702 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2703 * 2704 * @param groupId the group ID 2705 * @param articleId the article ID 2706 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2707 * @return the last matching journal article 2708 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2709 */ 2710 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 2711 long groupId, java.lang.String articleId, 2712 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2713 throws com.liferay.portlet.journal.NoSuchArticleException { 2714 return getPersistence() 2715 .findByG_A_Last(groupId, articleId, orderByComparator); 2716 } 2717 2718 /** 2719 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2720 * 2721 * @param groupId the group ID 2722 * @param articleId the article ID 2723 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2724 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2725 */ 2726 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 2727 long groupId, java.lang.String articleId, 2728 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2729 return getPersistence() 2730 .fetchByG_A_Last(groupId, articleId, orderByComparator); 2731 } 2732 2733 /** 2734 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 2735 * 2736 * @param id the primary key of the current journal article 2737 * @param groupId the group ID 2738 * @param articleId the article ID 2739 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2740 * @return the previous, current, and next journal article 2741 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2742 */ 2743 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 2744 long id, long groupId, java.lang.String articleId, 2745 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2746 throws com.liferay.portlet.journal.NoSuchArticleException { 2747 return getPersistence() 2748 .findByG_A_PrevAndNext(id, groupId, articleId, 2749 orderByComparator); 2750 } 2751 2752 /** 2753 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2754 * 2755 * @param groupId the group ID 2756 * @param articleId the article ID 2757 * @return the matching journal articles that the user has permission to view 2758 */ 2759 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2760 long groupId, java.lang.String articleId) { 2761 return getPersistence().filterFindByG_A(groupId, articleId); 2762 } 2763 2764 /** 2765 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2766 * 2767 * <p> 2768 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2769 * </p> 2770 * 2771 * @param groupId the group ID 2772 * @param articleId the article ID 2773 * @param start the lower bound of the range of journal articles 2774 * @param end the upper bound of the range of journal articles (not inclusive) 2775 * @return the range of matching journal articles that the user has permission to view 2776 */ 2777 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2778 long groupId, java.lang.String articleId, int start, int end) { 2779 return getPersistence().filterFindByG_A(groupId, articleId, start, end); 2780 } 2781 2782 /** 2783 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 2784 * 2785 * <p> 2786 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2787 * </p> 2788 * 2789 * @param groupId the group ID 2790 * @param articleId the article ID 2791 * @param start the lower bound of the range of journal articles 2792 * @param end the upper bound of the range of journal articles (not inclusive) 2793 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2794 * @return the ordered range of matching journal articles that the user has permission to view 2795 */ 2796 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2797 long groupId, java.lang.String articleId, int start, int end, 2798 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2799 return getPersistence() 2800 .filterFindByG_A(groupId, articleId, start, end, 2801 orderByComparator); 2802 } 2803 2804 /** 2805 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2806 * 2807 * @param id the primary key of the current journal article 2808 * @param groupId the group ID 2809 * @param articleId the article ID 2810 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2811 * @return the previous, current, and next journal article 2812 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2813 */ 2814 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 2815 long id, long groupId, java.lang.String articleId, 2816 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2817 throws com.liferay.portlet.journal.NoSuchArticleException { 2818 return getPersistence() 2819 .filterFindByG_A_PrevAndNext(id, groupId, articleId, 2820 orderByComparator); 2821 } 2822 2823 /** 2824 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2825 * 2826 * @param groupId the group ID 2827 * @param articleId the article ID 2828 */ 2829 public static void removeByG_A(long groupId, java.lang.String articleId) { 2830 getPersistence().removeByG_A(groupId, articleId); 2831 } 2832 2833 /** 2834 * Returns the number of journal articles where groupId = ? and articleId = ?. 2835 * 2836 * @param groupId the group ID 2837 * @param articleId the article ID 2838 * @return the number of matching journal articles 2839 */ 2840 public static int countByG_A(long groupId, java.lang.String articleId) { 2841 return getPersistence().countByG_A(groupId, articleId); 2842 } 2843 2844 /** 2845 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2846 * 2847 * @param groupId the group ID 2848 * @param articleId the article ID 2849 * @return the number of matching journal articles that the user has permission to view 2850 */ 2851 public static int filterCountByG_A(long groupId, java.lang.String articleId) { 2852 return getPersistence().filterCountByG_A(groupId, articleId); 2853 } 2854 2855 /** 2856 * Returns all the journal articles where groupId = ? and urlTitle = ?. 2857 * 2858 * @param groupId the group ID 2859 * @param urlTitle the url title 2860 * @return the matching journal articles 2861 */ 2862 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2863 long groupId, java.lang.String urlTitle) { 2864 return getPersistence().findByG_UT(groupId, urlTitle); 2865 } 2866 2867 /** 2868 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 2869 * 2870 * <p> 2871 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2872 * </p> 2873 * 2874 * @param groupId the group ID 2875 * @param urlTitle the url title 2876 * @param start the lower bound of the range of journal articles 2877 * @param end the upper bound of the range of journal articles (not inclusive) 2878 * @return the range of matching journal articles 2879 */ 2880 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2881 long groupId, java.lang.String urlTitle, int start, int end) { 2882 return getPersistence().findByG_UT(groupId, urlTitle, start, end); 2883 } 2884 2885 /** 2886 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 2887 * 2888 * <p> 2889 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2890 * </p> 2891 * 2892 * @param groupId the group ID 2893 * @param urlTitle the url title 2894 * @param start the lower bound of the range of journal articles 2895 * @param end the upper bound of the range of journal articles (not inclusive) 2896 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2897 * @return the ordered range of matching journal articles 2898 */ 2899 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2900 long groupId, java.lang.String urlTitle, int start, int end, 2901 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2902 return getPersistence() 2903 .findByG_UT(groupId, urlTitle, start, end, orderByComparator); 2904 } 2905 2906 /** 2907 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2908 * 2909 * @param groupId the group ID 2910 * @param urlTitle the url title 2911 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2912 * @return the first matching journal article 2913 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2914 */ 2915 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 2916 long groupId, java.lang.String urlTitle, 2917 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2918 throws com.liferay.portlet.journal.NoSuchArticleException { 2919 return getPersistence() 2920 .findByG_UT_First(groupId, urlTitle, orderByComparator); 2921 } 2922 2923 /** 2924 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2925 * 2926 * @param groupId the group ID 2927 * @param urlTitle the url title 2928 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2929 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2930 */ 2931 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 2932 long groupId, java.lang.String urlTitle, 2933 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2934 return getPersistence() 2935 .fetchByG_UT_First(groupId, urlTitle, orderByComparator); 2936 } 2937 2938 /** 2939 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2940 * 2941 * @param groupId the group ID 2942 * @param urlTitle the url title 2943 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2944 * @return the last matching journal article 2945 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2946 */ 2947 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 2948 long groupId, java.lang.String urlTitle, 2949 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2950 throws com.liferay.portlet.journal.NoSuchArticleException { 2951 return getPersistence() 2952 .findByG_UT_Last(groupId, urlTitle, orderByComparator); 2953 } 2954 2955 /** 2956 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2957 * 2958 * @param groupId the group ID 2959 * @param urlTitle the url title 2960 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2961 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2962 */ 2963 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 2964 long groupId, java.lang.String urlTitle, 2965 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 2966 return getPersistence() 2967 .fetchByG_UT_Last(groupId, urlTitle, orderByComparator); 2968 } 2969 2970 /** 2971 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 2972 * 2973 * @param id the primary key of the current journal article 2974 * @param groupId the group ID 2975 * @param urlTitle the url title 2976 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2977 * @return the previous, current, and next journal article 2978 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2979 */ 2980 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 2981 long id, long groupId, java.lang.String urlTitle, 2982 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2983 throws com.liferay.portlet.journal.NoSuchArticleException { 2984 return getPersistence() 2985 .findByG_UT_PrevAndNext(id, groupId, urlTitle, 2986 orderByComparator); 2987 } 2988 2989 /** 2990 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2991 * 2992 * @param groupId the group ID 2993 * @param urlTitle the url title 2994 * @return the matching journal articles that the user has permission to view 2995 */ 2996 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2997 long groupId, java.lang.String urlTitle) { 2998 return getPersistence().filterFindByG_UT(groupId, urlTitle); 2999 } 3000 3001 /** 3002 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 3003 * 3004 * <p> 3005 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3006 * </p> 3007 * 3008 * @param groupId the group ID 3009 * @param urlTitle the url title 3010 * @param start the lower bound of the range of journal articles 3011 * @param end the upper bound of the range of journal articles (not inclusive) 3012 * @return the range of matching journal articles that the user has permission to view 3013 */ 3014 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 3015 long groupId, java.lang.String urlTitle, int start, int end) { 3016 return getPersistence().filterFindByG_UT(groupId, urlTitle, start, end); 3017 } 3018 3019 /** 3020 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 3021 * 3022 * <p> 3023 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3024 * </p> 3025 * 3026 * @param groupId the group ID 3027 * @param urlTitle the url title 3028 * @param start the lower bound of the range of journal articles 3029 * @param end the upper bound of the range of journal articles (not inclusive) 3030 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3031 * @return the ordered range of matching journal articles that the user has permission to view 3032 */ 3033 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 3034 long groupId, java.lang.String urlTitle, int start, int end, 3035 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3036 return getPersistence() 3037 .filterFindByG_UT(groupId, urlTitle, start, end, 3038 orderByComparator); 3039 } 3040 3041 /** 3042 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 3043 * 3044 * @param id the primary key of the current journal article 3045 * @param groupId the group ID 3046 * @param urlTitle the url title 3047 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3048 * @return the previous, current, and next journal article 3049 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3050 */ 3051 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 3052 long id, long groupId, java.lang.String urlTitle, 3053 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3054 throws com.liferay.portlet.journal.NoSuchArticleException { 3055 return getPersistence() 3056 .filterFindByG_UT_PrevAndNext(id, groupId, urlTitle, 3057 orderByComparator); 3058 } 3059 3060 /** 3061 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 3062 * 3063 * @param groupId the group ID 3064 * @param urlTitle the url title 3065 */ 3066 public static void removeByG_UT(long groupId, java.lang.String urlTitle) { 3067 getPersistence().removeByG_UT(groupId, urlTitle); 3068 } 3069 3070 /** 3071 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 3072 * 3073 * @param groupId the group ID 3074 * @param urlTitle the url title 3075 * @return the number of matching journal articles 3076 */ 3077 public static int countByG_UT(long groupId, java.lang.String urlTitle) { 3078 return getPersistence().countByG_UT(groupId, urlTitle); 3079 } 3080 3081 /** 3082 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 3083 * 3084 * @param groupId the group ID 3085 * @param urlTitle the url title 3086 * @return the number of matching journal articles that the user has permission to view 3087 */ 3088 public static int filterCountByG_UT(long groupId, java.lang.String urlTitle) { 3089 return getPersistence().filterCountByG_UT(groupId, urlTitle); 3090 } 3091 3092 /** 3093 * Returns all the journal articles where groupId = ? and DDMStructureKey = ?. 3094 * 3095 * @param groupId the group ID 3096 * @param DDMStructureKey the d d m structure key 3097 * @return the matching journal articles 3098 */ 3099 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMSK( 3100 long groupId, java.lang.String DDMStructureKey) { 3101 return getPersistence().findByG_DDMSK(groupId, DDMStructureKey); 3102 } 3103 3104 /** 3105 * Returns a range of all the journal articles where groupId = ? and DDMStructureKey = ?. 3106 * 3107 * <p> 3108 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3109 * </p> 3110 * 3111 * @param groupId the group ID 3112 * @param DDMStructureKey the d d m structure key 3113 * @param start the lower bound of the range of journal articles 3114 * @param end the upper bound of the range of journal articles (not inclusive) 3115 * @return the range of matching journal articles 3116 */ 3117 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMSK( 3118 long groupId, java.lang.String DDMStructureKey, int start, int end) { 3119 return getPersistence() 3120 .findByG_DDMSK(groupId, DDMStructureKey, start, end); 3121 } 3122 3123 /** 3124 * Returns an ordered range of all the journal articles where groupId = ? and DDMStructureKey = ?. 3125 * 3126 * <p> 3127 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3128 * </p> 3129 * 3130 * @param groupId the group ID 3131 * @param DDMStructureKey the d d m structure key 3132 * @param start the lower bound of the range of journal articles 3133 * @param end the upper bound of the range of journal articles (not inclusive) 3134 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3135 * @return the ordered range of matching journal articles 3136 */ 3137 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMSK( 3138 long groupId, java.lang.String DDMStructureKey, int start, int end, 3139 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3140 return getPersistence() 3141 .findByG_DDMSK(groupId, DDMStructureKey, start, end, 3142 orderByComparator); 3143 } 3144 3145 /** 3146 * Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?. 3147 * 3148 * @param groupId the group ID 3149 * @param DDMStructureKey the d d m structure key 3150 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3151 * @return the first matching journal article 3152 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3153 */ 3154 public static com.liferay.portlet.journal.model.JournalArticle findByG_DDMSK_First( 3155 long groupId, java.lang.String DDMStructureKey, 3156 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3157 throws com.liferay.portlet.journal.NoSuchArticleException { 3158 return getPersistence() 3159 .findByG_DDMSK_First(groupId, DDMStructureKey, 3160 orderByComparator); 3161 } 3162 3163 /** 3164 * Returns the first journal article in the ordered set where groupId = ? and DDMStructureKey = ?. 3165 * 3166 * @param groupId the group ID 3167 * @param DDMStructureKey the d d m structure key 3168 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3169 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3170 */ 3171 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_DDMSK_First( 3172 long groupId, java.lang.String DDMStructureKey, 3173 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3174 return getPersistence() 3175 .fetchByG_DDMSK_First(groupId, DDMStructureKey, 3176 orderByComparator); 3177 } 3178 3179 /** 3180 * Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?. 3181 * 3182 * @param groupId the group ID 3183 * @param DDMStructureKey the d d m structure key 3184 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3185 * @return the last matching journal article 3186 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3187 */ 3188 public static com.liferay.portlet.journal.model.JournalArticle findByG_DDMSK_Last( 3189 long groupId, java.lang.String DDMStructureKey, 3190 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3191 throws com.liferay.portlet.journal.NoSuchArticleException { 3192 return getPersistence() 3193 .findByG_DDMSK_Last(groupId, DDMStructureKey, 3194 orderByComparator); 3195 } 3196 3197 /** 3198 * Returns the last journal article in the ordered set where groupId = ? and DDMStructureKey = ?. 3199 * 3200 * @param groupId the group ID 3201 * @param DDMStructureKey the d d m structure key 3202 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3203 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3204 */ 3205 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_DDMSK_Last( 3206 long groupId, java.lang.String DDMStructureKey, 3207 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3208 return getPersistence() 3209 .fetchByG_DDMSK_Last(groupId, DDMStructureKey, 3210 orderByComparator); 3211 } 3212 3213 /** 3214 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMStructureKey = ?. 3215 * 3216 * @param id the primary key of the current journal article 3217 * @param groupId the group ID 3218 * @param DDMStructureKey the d d m structure key 3219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3220 * @return the previous, current, and next journal article 3221 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3222 */ 3223 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_DDMSK_PrevAndNext( 3224 long id, long groupId, java.lang.String DDMStructureKey, 3225 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3226 throws com.liferay.portlet.journal.NoSuchArticleException { 3227 return getPersistence() 3228 .findByG_DDMSK_PrevAndNext(id, groupId, DDMStructureKey, 3229 orderByComparator); 3230 } 3231 3232 /** 3233 * Returns all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?. 3234 * 3235 * @param groupId the group ID 3236 * @param DDMStructureKey the d d m structure key 3237 * @return the matching journal articles that the user has permission to view 3238 */ 3239 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMSK( 3240 long groupId, java.lang.String DDMStructureKey) { 3241 return getPersistence().filterFindByG_DDMSK(groupId, DDMStructureKey); 3242 } 3243 3244 /** 3245 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?. 3246 * 3247 * <p> 3248 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3249 * </p> 3250 * 3251 * @param groupId the group ID 3252 * @param DDMStructureKey the d d m structure key 3253 * @param start the lower bound of the range of journal articles 3254 * @param end the upper bound of the range of journal articles (not inclusive) 3255 * @return the range of matching journal articles that the user has permission to view 3256 */ 3257 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMSK( 3258 long groupId, java.lang.String DDMStructureKey, int start, int end) { 3259 return getPersistence() 3260 .filterFindByG_DDMSK(groupId, DDMStructureKey, start, end); 3261 } 3262 3263 /** 3264 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMStructureKey = ?. 3265 * 3266 * <p> 3267 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3268 * </p> 3269 * 3270 * @param groupId the group ID 3271 * @param DDMStructureKey the d d m structure key 3272 * @param start the lower bound of the range of journal articles 3273 * @param end the upper bound of the range of journal articles (not inclusive) 3274 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3275 * @return the ordered range of matching journal articles that the user has permission to view 3276 */ 3277 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMSK( 3278 long groupId, java.lang.String DDMStructureKey, int start, int end, 3279 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3280 return getPersistence() 3281 .filterFindByG_DDMSK(groupId, DDMStructureKey, start, end, 3282 orderByComparator); 3283 } 3284 3285 /** 3286 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?. 3287 * 3288 * @param id the primary key of the current journal article 3289 * @param groupId the group ID 3290 * @param DDMStructureKey the d d m structure key 3291 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3292 * @return the previous, current, and next journal article 3293 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3294 */ 3295 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_DDMSK_PrevAndNext( 3296 long id, long groupId, java.lang.String DDMStructureKey, 3297 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3298 throws com.liferay.portlet.journal.NoSuchArticleException { 3299 return getPersistence() 3300 .filterFindByG_DDMSK_PrevAndNext(id, groupId, 3301 DDMStructureKey, orderByComparator); 3302 } 3303 3304 /** 3305 * Removes all the journal articles where groupId = ? and DDMStructureKey = ? from the database. 3306 * 3307 * @param groupId the group ID 3308 * @param DDMStructureKey the d d m structure key 3309 */ 3310 public static void removeByG_DDMSK(long groupId, 3311 java.lang.String DDMStructureKey) { 3312 getPersistence().removeByG_DDMSK(groupId, DDMStructureKey); 3313 } 3314 3315 /** 3316 * Returns the number of journal articles where groupId = ? and DDMStructureKey = ?. 3317 * 3318 * @param groupId the group ID 3319 * @param DDMStructureKey the d d m structure key 3320 * @return the number of matching journal articles 3321 */ 3322 public static int countByG_DDMSK(long groupId, 3323 java.lang.String DDMStructureKey) { 3324 return getPersistence().countByG_DDMSK(groupId, DDMStructureKey); 3325 } 3326 3327 /** 3328 * Returns the number of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?. 3329 * 3330 * @param groupId the group ID 3331 * @param DDMStructureKey the d d m structure key 3332 * @return the number of matching journal articles that the user has permission to view 3333 */ 3334 public static int filterCountByG_DDMSK(long groupId, 3335 java.lang.String DDMStructureKey) { 3336 return getPersistence().filterCountByG_DDMSK(groupId, DDMStructureKey); 3337 } 3338 3339 /** 3340 * Returns all the journal articles where groupId = ? and DDMTemplateKey = ?. 3341 * 3342 * @param groupId the group ID 3343 * @param DDMTemplateKey the d d m template key 3344 * @return the matching journal articles 3345 */ 3346 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMTK( 3347 long groupId, java.lang.String DDMTemplateKey) { 3348 return getPersistence().findByG_DDMTK(groupId, DDMTemplateKey); 3349 } 3350 3351 /** 3352 * Returns a range of all the journal articles where groupId = ? and DDMTemplateKey = ?. 3353 * 3354 * <p> 3355 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3356 * </p> 3357 * 3358 * @param groupId the group ID 3359 * @param DDMTemplateKey the d d m template key 3360 * @param start the lower bound of the range of journal articles 3361 * @param end the upper bound of the range of journal articles (not inclusive) 3362 * @return the range of matching journal articles 3363 */ 3364 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMTK( 3365 long groupId, java.lang.String DDMTemplateKey, int start, int end) { 3366 return getPersistence() 3367 .findByG_DDMTK(groupId, DDMTemplateKey, start, end); 3368 } 3369 3370 /** 3371 * Returns an ordered range of all the journal articles where groupId = ? and DDMTemplateKey = ?. 3372 * 3373 * <p> 3374 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3375 * </p> 3376 * 3377 * @param groupId the group ID 3378 * @param DDMTemplateKey the d d m template key 3379 * @param start the lower bound of the range of journal articles 3380 * @param end the upper bound of the range of journal articles (not inclusive) 3381 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3382 * @return the ordered range of matching journal articles 3383 */ 3384 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMTK( 3385 long groupId, java.lang.String DDMTemplateKey, int start, int end, 3386 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3387 return getPersistence() 3388 .findByG_DDMTK(groupId, DDMTemplateKey, start, end, 3389 orderByComparator); 3390 } 3391 3392 /** 3393 * Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 3394 * 3395 * @param groupId the group ID 3396 * @param DDMTemplateKey the d d m template key 3397 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3398 * @return the first matching journal article 3399 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3400 */ 3401 public static com.liferay.portlet.journal.model.JournalArticle findByG_DDMTK_First( 3402 long groupId, java.lang.String DDMTemplateKey, 3403 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3404 throws com.liferay.portlet.journal.NoSuchArticleException { 3405 return getPersistence() 3406 .findByG_DDMTK_First(groupId, DDMTemplateKey, 3407 orderByComparator); 3408 } 3409 3410 /** 3411 * Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 3412 * 3413 * @param groupId the group ID 3414 * @param DDMTemplateKey the d d m template key 3415 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3416 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3417 */ 3418 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_DDMTK_First( 3419 long groupId, java.lang.String DDMTemplateKey, 3420 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3421 return getPersistence() 3422 .fetchByG_DDMTK_First(groupId, DDMTemplateKey, 3423 orderByComparator); 3424 } 3425 3426 /** 3427 * Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 3428 * 3429 * @param groupId the group ID 3430 * @param DDMTemplateKey the d d m template key 3431 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3432 * @return the last matching journal article 3433 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3434 */ 3435 public static com.liferay.portlet.journal.model.JournalArticle findByG_DDMTK_Last( 3436 long groupId, java.lang.String DDMTemplateKey, 3437 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3438 throws com.liferay.portlet.journal.NoSuchArticleException { 3439 return getPersistence() 3440 .findByG_DDMTK_Last(groupId, DDMTemplateKey, 3441 orderByComparator); 3442 } 3443 3444 /** 3445 * Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 3446 * 3447 * @param groupId the group ID 3448 * @param DDMTemplateKey the d d m template key 3449 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3450 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3451 */ 3452 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_DDMTK_Last( 3453 long groupId, java.lang.String DDMTemplateKey, 3454 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3455 return getPersistence() 3456 .fetchByG_DDMTK_Last(groupId, DDMTemplateKey, 3457 orderByComparator); 3458 } 3459 3460 /** 3461 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 3462 * 3463 * @param id the primary key of the current journal article 3464 * @param groupId the group ID 3465 * @param DDMTemplateKey the d d m template key 3466 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3467 * @return the previous, current, and next journal article 3468 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3469 */ 3470 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_DDMTK_PrevAndNext( 3471 long id, long groupId, java.lang.String DDMTemplateKey, 3472 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3473 throws com.liferay.portlet.journal.NoSuchArticleException { 3474 return getPersistence() 3475 .findByG_DDMTK_PrevAndNext(id, groupId, DDMTemplateKey, 3476 orderByComparator); 3477 } 3478 3479 /** 3480 * Returns all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 3481 * 3482 * @param groupId the group ID 3483 * @param DDMTemplateKey the d d m template key 3484 * @return the matching journal articles that the user has permission to view 3485 */ 3486 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMTK( 3487 long groupId, java.lang.String DDMTemplateKey) { 3488 return getPersistence().filterFindByG_DDMTK(groupId, DDMTemplateKey); 3489 } 3490 3491 /** 3492 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 3493 * 3494 * <p> 3495 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3496 * </p> 3497 * 3498 * @param groupId the group ID 3499 * @param DDMTemplateKey the d d m template key 3500 * @param start the lower bound of the range of journal articles 3501 * @param end the upper bound of the range of journal articles (not inclusive) 3502 * @return the range of matching journal articles that the user has permission to view 3503 */ 3504 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMTK( 3505 long groupId, java.lang.String DDMTemplateKey, int start, int end) { 3506 return getPersistence() 3507 .filterFindByG_DDMTK(groupId, DDMTemplateKey, start, end); 3508 } 3509 3510 /** 3511 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMTemplateKey = ?. 3512 * 3513 * <p> 3514 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3515 * </p> 3516 * 3517 * @param groupId the group ID 3518 * @param DDMTemplateKey the d d m template key 3519 * @param start the lower bound of the range of journal articles 3520 * @param end the upper bound of the range of journal articles (not inclusive) 3521 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3522 * @return the ordered range of matching journal articles that the user has permission to view 3523 */ 3524 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMTK( 3525 long groupId, java.lang.String DDMTemplateKey, int start, int end, 3526 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3527 return getPersistence() 3528 .filterFindByG_DDMTK(groupId, DDMTemplateKey, start, end, 3529 orderByComparator); 3530 } 3531 3532 /** 3533 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 3534 * 3535 * @param id the primary key of the current journal article 3536 * @param groupId the group ID 3537 * @param DDMTemplateKey the d d m template key 3538 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3539 * @return the previous, current, and next journal article 3540 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3541 */ 3542 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_DDMTK_PrevAndNext( 3543 long id, long groupId, java.lang.String DDMTemplateKey, 3544 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3545 throws com.liferay.portlet.journal.NoSuchArticleException { 3546 return getPersistence() 3547 .filterFindByG_DDMTK_PrevAndNext(id, groupId, 3548 DDMTemplateKey, orderByComparator); 3549 } 3550 3551 /** 3552 * Removes all the journal articles where groupId = ? and DDMTemplateKey = ? from the database. 3553 * 3554 * @param groupId the group ID 3555 * @param DDMTemplateKey the d d m template key 3556 */ 3557 public static void removeByG_DDMTK(long groupId, 3558 java.lang.String DDMTemplateKey) { 3559 getPersistence().removeByG_DDMTK(groupId, DDMTemplateKey); 3560 } 3561 3562 /** 3563 * Returns the number of journal articles where groupId = ? and DDMTemplateKey = ?. 3564 * 3565 * @param groupId the group ID 3566 * @param DDMTemplateKey the d d m template key 3567 * @return the number of matching journal articles 3568 */ 3569 public static int countByG_DDMTK(long groupId, 3570 java.lang.String DDMTemplateKey) { 3571 return getPersistence().countByG_DDMTK(groupId, DDMTemplateKey); 3572 } 3573 3574 /** 3575 * Returns the number of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 3576 * 3577 * @param groupId the group ID 3578 * @param DDMTemplateKey the d d m template key 3579 * @return the number of matching journal articles that the user has permission to view 3580 */ 3581 public static int filterCountByG_DDMTK(long groupId, 3582 java.lang.String DDMTemplateKey) { 3583 return getPersistence().filterCountByG_DDMTK(groupId, DDMTemplateKey); 3584 } 3585 3586 /** 3587 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 3588 * 3589 * @param groupId the group ID 3590 * @param layoutUuid the layout uuid 3591 * @return the matching journal articles 3592 */ 3593 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3594 long groupId, java.lang.String layoutUuid) { 3595 return getPersistence().findByG_L(groupId, layoutUuid); 3596 } 3597 3598 /** 3599 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 3600 * 3601 * <p> 3602 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3603 * </p> 3604 * 3605 * @param groupId the group ID 3606 * @param layoutUuid the layout uuid 3607 * @param start the lower bound of the range of journal articles 3608 * @param end the upper bound of the range of journal articles (not inclusive) 3609 * @return the range of matching journal articles 3610 */ 3611 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3612 long groupId, java.lang.String layoutUuid, int start, int end) { 3613 return getPersistence().findByG_L(groupId, layoutUuid, start, end); 3614 } 3615 3616 /** 3617 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 3618 * 3619 * <p> 3620 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3621 * </p> 3622 * 3623 * @param groupId the group ID 3624 * @param layoutUuid the layout uuid 3625 * @param start the lower bound of the range of journal articles 3626 * @param end the upper bound of the range of journal articles (not inclusive) 3627 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3628 * @return the ordered range of matching journal articles 3629 */ 3630 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 3631 long groupId, java.lang.String layoutUuid, int start, int end, 3632 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3633 return getPersistence() 3634 .findByG_L(groupId, layoutUuid, start, end, orderByComparator); 3635 } 3636 3637 /** 3638 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3639 * 3640 * @param groupId the group ID 3641 * @param layoutUuid the layout uuid 3642 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3643 * @return the first matching journal article 3644 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3645 */ 3646 public static com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 3647 long groupId, java.lang.String layoutUuid, 3648 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3649 throws com.liferay.portlet.journal.NoSuchArticleException { 3650 return getPersistence() 3651 .findByG_L_First(groupId, layoutUuid, orderByComparator); 3652 } 3653 3654 /** 3655 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 3656 * 3657 * @param groupId the group ID 3658 * @param layoutUuid the layout uuid 3659 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3660 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3661 */ 3662 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 3663 long groupId, java.lang.String layoutUuid, 3664 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3665 return getPersistence() 3666 .fetchByG_L_First(groupId, layoutUuid, orderByComparator); 3667 } 3668 3669 /** 3670 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3671 * 3672 * @param groupId the group ID 3673 * @param layoutUuid the layout uuid 3674 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3675 * @return the last matching journal article 3676 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3677 */ 3678 public static com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 3679 long groupId, java.lang.String layoutUuid, 3680 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3681 throws com.liferay.portlet.journal.NoSuchArticleException { 3682 return getPersistence() 3683 .findByG_L_Last(groupId, layoutUuid, orderByComparator); 3684 } 3685 3686 /** 3687 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 3688 * 3689 * @param groupId the group ID 3690 * @param layoutUuid the layout uuid 3691 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3692 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3693 */ 3694 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 3695 long groupId, java.lang.String layoutUuid, 3696 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3697 return getPersistence() 3698 .fetchByG_L_Last(groupId, layoutUuid, orderByComparator); 3699 } 3700 3701 /** 3702 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 3703 * 3704 * @param id the primary key of the current journal article 3705 * @param groupId the group ID 3706 * @param layoutUuid the layout uuid 3707 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3708 * @return the previous, current, and next journal article 3709 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3710 */ 3711 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 3712 long id, long groupId, java.lang.String layoutUuid, 3713 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3714 throws com.liferay.portlet.journal.NoSuchArticleException { 3715 return getPersistence() 3716 .findByG_L_PrevAndNext(id, groupId, layoutUuid, 3717 orderByComparator); 3718 } 3719 3720 /** 3721 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3722 * 3723 * @param groupId the group ID 3724 * @param layoutUuid the layout uuid 3725 * @return the matching journal articles that the user has permission to view 3726 */ 3727 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3728 long groupId, java.lang.String layoutUuid) { 3729 return getPersistence().filterFindByG_L(groupId, layoutUuid); 3730 } 3731 3732 /** 3733 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3734 * 3735 * <p> 3736 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3737 * </p> 3738 * 3739 * @param groupId the group ID 3740 * @param layoutUuid the layout uuid 3741 * @param start the lower bound of the range of journal articles 3742 * @param end the upper bound of the range of journal articles (not inclusive) 3743 * @return the range of matching journal articles that the user has permission to view 3744 */ 3745 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3746 long groupId, java.lang.String layoutUuid, int start, int end) { 3747 return getPersistence().filterFindByG_L(groupId, layoutUuid, start, end); 3748 } 3749 3750 /** 3751 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 3752 * 3753 * <p> 3754 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3755 * </p> 3756 * 3757 * @param groupId the group ID 3758 * @param layoutUuid the layout uuid 3759 * @param start the lower bound of the range of journal articles 3760 * @param end the upper bound of the range of journal articles (not inclusive) 3761 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3762 * @return the ordered range of matching journal articles that the user has permission to view 3763 */ 3764 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3765 long groupId, java.lang.String layoutUuid, int start, int end, 3766 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3767 return getPersistence() 3768 .filterFindByG_L(groupId, layoutUuid, start, end, 3769 orderByComparator); 3770 } 3771 3772 /** 3773 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3774 * 3775 * @param id the primary key of the current journal article 3776 * @param groupId the group ID 3777 * @param layoutUuid the layout uuid 3778 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3779 * @return the previous, current, and next journal article 3780 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3781 */ 3782 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 3783 long id, long groupId, java.lang.String layoutUuid, 3784 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3785 throws com.liferay.portlet.journal.NoSuchArticleException { 3786 return getPersistence() 3787 .filterFindByG_L_PrevAndNext(id, groupId, layoutUuid, 3788 orderByComparator); 3789 } 3790 3791 /** 3792 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3793 * 3794 * @param groupId the group ID 3795 * @param layoutUuid the layout uuid 3796 */ 3797 public static void removeByG_L(long groupId, java.lang.String layoutUuid) { 3798 getPersistence().removeByG_L(groupId, layoutUuid); 3799 } 3800 3801 /** 3802 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 3803 * 3804 * @param groupId the group ID 3805 * @param layoutUuid the layout uuid 3806 * @return the number of matching journal articles 3807 */ 3808 public static int countByG_L(long groupId, java.lang.String layoutUuid) { 3809 return getPersistence().countByG_L(groupId, layoutUuid); 3810 } 3811 3812 /** 3813 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3814 * 3815 * @param groupId the group ID 3816 * @param layoutUuid the layout uuid 3817 * @return the number of matching journal articles that the user has permission to view 3818 */ 3819 public static int filterCountByG_L(long groupId, java.lang.String layoutUuid) { 3820 return getPersistence().filterCountByG_L(groupId, layoutUuid); 3821 } 3822 3823 /** 3824 * Returns all the journal articles where groupId = ? and status = ?. 3825 * 3826 * @param groupId the group ID 3827 * @param status the status 3828 * @return the matching journal articles 3829 */ 3830 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3831 long groupId, int status) { 3832 return getPersistence().findByG_ST(groupId, status); 3833 } 3834 3835 /** 3836 * Returns a range of all the journal articles where groupId = ? and status = ?. 3837 * 3838 * <p> 3839 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3840 * </p> 3841 * 3842 * @param groupId the group ID 3843 * @param status the status 3844 * @param start the lower bound of the range of journal articles 3845 * @param end the upper bound of the range of journal articles (not inclusive) 3846 * @return the range of matching journal articles 3847 */ 3848 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3849 long groupId, int status, int start, int end) { 3850 return getPersistence().findByG_ST(groupId, status, start, end); 3851 } 3852 3853 /** 3854 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 3855 * 3856 * <p> 3857 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3858 * </p> 3859 * 3860 * @param groupId the group ID 3861 * @param status the status 3862 * @param start the lower bound of the range of journal articles 3863 * @param end the upper bound of the range of journal articles (not inclusive) 3864 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3865 * @return the ordered range of matching journal articles 3866 */ 3867 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3868 long groupId, int status, int start, int end, 3869 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3870 return getPersistence() 3871 .findByG_ST(groupId, status, start, end, orderByComparator); 3872 } 3873 3874 /** 3875 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3876 * 3877 * @param groupId the group ID 3878 * @param status the status 3879 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3880 * @return the first matching journal article 3881 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3882 */ 3883 public static com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 3884 long groupId, int status, 3885 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3886 throws com.liferay.portlet.journal.NoSuchArticleException { 3887 return getPersistence() 3888 .findByG_ST_First(groupId, status, orderByComparator); 3889 } 3890 3891 /** 3892 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3893 * 3894 * @param groupId the group ID 3895 * @param status the status 3896 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3897 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3898 */ 3899 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 3900 long groupId, int status, 3901 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3902 return getPersistence() 3903 .fetchByG_ST_First(groupId, status, orderByComparator); 3904 } 3905 3906 /** 3907 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3908 * 3909 * @param groupId the group ID 3910 * @param status the status 3911 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3912 * @return the last matching journal article 3913 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3914 */ 3915 public static com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 3916 long groupId, int status, 3917 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3918 throws com.liferay.portlet.journal.NoSuchArticleException { 3919 return getPersistence() 3920 .findByG_ST_Last(groupId, status, orderByComparator); 3921 } 3922 3923 /** 3924 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3925 * 3926 * @param groupId the group ID 3927 * @param status the status 3928 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3929 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3930 */ 3931 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 3932 long groupId, int status, 3933 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 3934 return getPersistence() 3935 .fetchByG_ST_Last(groupId, status, orderByComparator); 3936 } 3937 3938 /** 3939 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 3940 * 3941 * @param id the primary key of the current journal article 3942 * @param groupId the group ID 3943 * @param status the status 3944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3945 * @return the previous, current, and next journal article 3946 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3947 */ 3948 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 3949 long id, long groupId, int status, 3950 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3951 throws com.liferay.portlet.journal.NoSuchArticleException { 3952 return getPersistence() 3953 .findByG_ST_PrevAndNext(id, groupId, status, 3954 orderByComparator); 3955 } 3956 3957 /** 3958 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 3959 * 3960 * @param groupId the group ID 3961 * @param status the status 3962 * @return the matching journal articles that the user has permission to view 3963 */ 3964 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3965 long groupId, int status) { 3966 return getPersistence().filterFindByG_ST(groupId, status); 3967 } 3968 3969 /** 3970 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3971 * 3972 * <p> 3973 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3974 * </p> 3975 * 3976 * @param groupId the group ID 3977 * @param status the status 3978 * @param start the lower bound of the range of journal articles 3979 * @param end the upper bound of the range of journal articles (not inclusive) 3980 * @return the range of matching journal articles that the user has permission to view 3981 */ 3982 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3983 long groupId, int status, int start, int end) { 3984 return getPersistence().filterFindByG_ST(groupId, status, start, end); 3985 } 3986 3987 /** 3988 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3989 * 3990 * <p> 3991 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3992 * </p> 3993 * 3994 * @param groupId the group ID 3995 * @param status the status 3996 * @param start the lower bound of the range of journal articles 3997 * @param end the upper bound of the range of journal articles (not inclusive) 3998 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3999 * @return the ordered range of matching journal articles that the user has permission to view 4000 */ 4001 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 4002 long groupId, int status, int start, int end, 4003 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4004 return getPersistence() 4005 .filterFindByG_ST(groupId, status, start, end, 4006 orderByComparator); 4007 } 4008 4009 /** 4010 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and status = ?. 4011 * 4012 * @param id the primary key of the current journal article 4013 * @param groupId the group ID 4014 * @param status the status 4015 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4016 * @return the previous, current, and next journal article 4017 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4018 */ 4019 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 4020 long id, long groupId, int status, 4021 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4022 throws com.liferay.portlet.journal.NoSuchArticleException { 4023 return getPersistence() 4024 .filterFindByG_ST_PrevAndNext(id, groupId, status, 4025 orderByComparator); 4026 } 4027 4028 /** 4029 * Removes all the journal articles where groupId = ? and status = ? from the database. 4030 * 4031 * @param groupId the group ID 4032 * @param status the status 4033 */ 4034 public static void removeByG_ST(long groupId, int status) { 4035 getPersistence().removeByG_ST(groupId, status); 4036 } 4037 4038 /** 4039 * Returns the number of journal articles where groupId = ? and status = ?. 4040 * 4041 * @param groupId the group ID 4042 * @param status the status 4043 * @return the number of matching journal articles 4044 */ 4045 public static int countByG_ST(long groupId, int status) { 4046 return getPersistence().countByG_ST(groupId, status); 4047 } 4048 4049 /** 4050 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 4051 * 4052 * @param groupId the group ID 4053 * @param status the status 4054 * @return the number of matching journal articles that the user has permission to view 4055 */ 4056 public static int filterCountByG_ST(long groupId, int status) { 4057 return getPersistence().filterCountByG_ST(groupId, status); 4058 } 4059 4060 /** 4061 * Returns all the journal articles where companyId = ? and version = ?. 4062 * 4063 * @param companyId the company ID 4064 * @param version the version 4065 * @return the matching journal articles 4066 */ 4067 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 4068 long companyId, double version) { 4069 return getPersistence().findByC_V(companyId, version); 4070 } 4071 4072 /** 4073 * Returns a range of all the journal articles where companyId = ? and version = ?. 4074 * 4075 * <p> 4076 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4077 * </p> 4078 * 4079 * @param companyId the company ID 4080 * @param version the version 4081 * @param start the lower bound of the range of journal articles 4082 * @param end the upper bound of the range of journal articles (not inclusive) 4083 * @return the range of matching journal articles 4084 */ 4085 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 4086 long companyId, double version, int start, int end) { 4087 return getPersistence().findByC_V(companyId, version, start, end); 4088 } 4089 4090 /** 4091 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 4092 * 4093 * <p> 4094 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4095 * </p> 4096 * 4097 * @param companyId the company ID 4098 * @param version the version 4099 * @param start the lower bound of the range of journal articles 4100 * @param end the upper bound of the range of journal articles (not inclusive) 4101 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4102 * @return the ordered range of matching journal articles 4103 */ 4104 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 4105 long companyId, double version, int start, int end, 4106 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4107 return getPersistence() 4108 .findByC_V(companyId, version, start, end, orderByComparator); 4109 } 4110 4111 /** 4112 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 4113 * 4114 * @param companyId the company ID 4115 * @param version the version 4116 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4117 * @return the first matching journal article 4118 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4119 */ 4120 public static com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 4121 long companyId, double version, 4122 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4123 throws com.liferay.portlet.journal.NoSuchArticleException { 4124 return getPersistence() 4125 .findByC_V_First(companyId, version, orderByComparator); 4126 } 4127 4128 /** 4129 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 4130 * 4131 * @param companyId the company ID 4132 * @param version the version 4133 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4134 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4135 */ 4136 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 4137 long companyId, double version, 4138 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4139 return getPersistence() 4140 .fetchByC_V_First(companyId, version, orderByComparator); 4141 } 4142 4143 /** 4144 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 4145 * 4146 * @param companyId the company ID 4147 * @param version the version 4148 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4149 * @return the last matching journal article 4150 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4151 */ 4152 public static com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 4153 long companyId, double version, 4154 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4155 throws com.liferay.portlet.journal.NoSuchArticleException { 4156 return getPersistence() 4157 .findByC_V_Last(companyId, version, orderByComparator); 4158 } 4159 4160 /** 4161 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 4162 * 4163 * @param companyId the company ID 4164 * @param version the version 4165 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4166 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4167 */ 4168 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 4169 long companyId, double version, 4170 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4171 return getPersistence() 4172 .fetchByC_V_Last(companyId, version, orderByComparator); 4173 } 4174 4175 /** 4176 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 4177 * 4178 * @param id the primary key of the current journal article 4179 * @param companyId the company ID 4180 * @param version the version 4181 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4182 * @return the previous, current, and next journal article 4183 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4184 */ 4185 public static com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 4186 long id, long companyId, double version, 4187 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4188 throws com.liferay.portlet.journal.NoSuchArticleException { 4189 return getPersistence() 4190 .findByC_V_PrevAndNext(id, companyId, version, 4191 orderByComparator); 4192 } 4193 4194 /** 4195 * Removes all the journal articles where companyId = ? and version = ? from the database. 4196 * 4197 * @param companyId the company ID 4198 * @param version the version 4199 */ 4200 public static void removeByC_V(long companyId, double version) { 4201 getPersistence().removeByC_V(companyId, version); 4202 } 4203 4204 /** 4205 * Returns the number of journal articles where companyId = ? and version = ?. 4206 * 4207 * @param companyId the company ID 4208 * @param version the version 4209 * @return the number of matching journal articles 4210 */ 4211 public static int countByC_V(long companyId, double version) { 4212 return getPersistence().countByC_V(companyId, version); 4213 } 4214 4215 /** 4216 * Returns all the journal articles where companyId = ? and status = ?. 4217 * 4218 * @param companyId the company ID 4219 * @param status the status 4220 * @return the matching journal articles 4221 */ 4222 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 4223 long companyId, int status) { 4224 return getPersistence().findByC_ST(companyId, status); 4225 } 4226 4227 /** 4228 * Returns a range of all the journal articles where companyId = ? and status = ?. 4229 * 4230 * <p> 4231 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4232 * </p> 4233 * 4234 * @param companyId the company ID 4235 * @param status the status 4236 * @param start the lower bound of the range of journal articles 4237 * @param end the upper bound of the range of journal articles (not inclusive) 4238 * @return the range of matching journal articles 4239 */ 4240 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 4241 long companyId, int status, int start, int end) { 4242 return getPersistence().findByC_ST(companyId, status, start, end); 4243 } 4244 4245 /** 4246 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 4247 * 4248 * <p> 4249 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4250 * </p> 4251 * 4252 * @param companyId the company ID 4253 * @param status the status 4254 * @param start the lower bound of the range of journal articles 4255 * @param end the upper bound of the range of journal articles (not inclusive) 4256 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4257 * @return the ordered range of matching journal articles 4258 */ 4259 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 4260 long companyId, int status, int start, int end, 4261 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4262 return getPersistence() 4263 .findByC_ST(companyId, status, start, end, orderByComparator); 4264 } 4265 4266 /** 4267 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 4268 * 4269 * @param companyId the company ID 4270 * @param status the status 4271 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4272 * @return the first matching journal article 4273 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4274 */ 4275 public static com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 4276 long companyId, int status, 4277 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4278 throws com.liferay.portlet.journal.NoSuchArticleException { 4279 return getPersistence() 4280 .findByC_ST_First(companyId, status, orderByComparator); 4281 } 4282 4283 /** 4284 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 4285 * 4286 * @param companyId the company ID 4287 * @param status the status 4288 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4289 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4290 */ 4291 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 4292 long companyId, int status, 4293 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4294 return getPersistence() 4295 .fetchByC_ST_First(companyId, status, orderByComparator); 4296 } 4297 4298 /** 4299 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 4300 * 4301 * @param companyId the company ID 4302 * @param status the status 4303 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4304 * @return the last matching journal article 4305 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4306 */ 4307 public static com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 4308 long companyId, int status, 4309 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4310 throws com.liferay.portlet.journal.NoSuchArticleException { 4311 return getPersistence() 4312 .findByC_ST_Last(companyId, status, orderByComparator); 4313 } 4314 4315 /** 4316 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 4317 * 4318 * @param companyId the company ID 4319 * @param status the status 4320 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4321 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4322 */ 4323 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 4324 long companyId, int status, 4325 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4326 return getPersistence() 4327 .fetchByC_ST_Last(companyId, status, orderByComparator); 4328 } 4329 4330 /** 4331 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 4332 * 4333 * @param id the primary key of the current journal article 4334 * @param companyId the company ID 4335 * @param status the status 4336 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4337 * @return the previous, current, and next journal article 4338 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4339 */ 4340 public static com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 4341 long id, long companyId, int status, 4342 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4343 throws com.liferay.portlet.journal.NoSuchArticleException { 4344 return getPersistence() 4345 .findByC_ST_PrevAndNext(id, companyId, status, 4346 orderByComparator); 4347 } 4348 4349 /** 4350 * Removes all the journal articles where companyId = ? and status = ? from the database. 4351 * 4352 * @param companyId the company ID 4353 * @param status the status 4354 */ 4355 public static void removeByC_ST(long companyId, int status) { 4356 getPersistence().removeByC_ST(companyId, status); 4357 } 4358 4359 /** 4360 * Returns the number of journal articles where companyId = ? and status = ?. 4361 * 4362 * @param companyId the company ID 4363 * @param status the status 4364 * @return the number of matching journal articles 4365 */ 4366 public static int countByC_ST(long companyId, int status) { 4367 return getPersistence().countByC_ST(companyId, status); 4368 } 4369 4370 /** 4371 * Returns all the journal articles where companyId = ? and status ≠ ?. 4372 * 4373 * @param companyId the company ID 4374 * @param status the status 4375 * @return the matching journal articles 4376 */ 4377 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4378 long companyId, int status) { 4379 return getPersistence().findByC_NotST(companyId, status); 4380 } 4381 4382 /** 4383 * Returns a range of all the journal articles where companyId = ? and status ≠ ?. 4384 * 4385 * <p> 4386 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4387 * </p> 4388 * 4389 * @param companyId the company ID 4390 * @param status the status 4391 * @param start the lower bound of the range of journal articles 4392 * @param end the upper bound of the range of journal articles (not inclusive) 4393 * @return the range of matching journal articles 4394 */ 4395 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4396 long companyId, int status, int start, int end) { 4397 return getPersistence().findByC_NotST(companyId, status, start, end); 4398 } 4399 4400 /** 4401 * Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?. 4402 * 4403 * <p> 4404 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4405 * </p> 4406 * 4407 * @param companyId the company ID 4408 * @param status the status 4409 * @param start the lower bound of the range of journal articles 4410 * @param end the upper bound of the range of journal articles (not inclusive) 4411 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4412 * @return the ordered range of matching journal articles 4413 */ 4414 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 4415 long companyId, int status, int start, int end, 4416 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4417 return getPersistence() 4418 .findByC_NotST(companyId, status, start, end, 4419 orderByComparator); 4420 } 4421 4422 /** 4423 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 4424 * 4425 * @param companyId the company ID 4426 * @param status the status 4427 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4428 * @return the first matching journal article 4429 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4430 */ 4431 public static com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First( 4432 long companyId, int status, 4433 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4434 throws com.liferay.portlet.journal.NoSuchArticleException { 4435 return getPersistence() 4436 .findByC_NotST_First(companyId, status, orderByComparator); 4437 } 4438 4439 /** 4440 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 4441 * 4442 * @param companyId the company ID 4443 * @param status the status 4444 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4445 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4446 */ 4447 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First( 4448 long companyId, int status, 4449 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4450 return getPersistence() 4451 .fetchByC_NotST_First(companyId, status, orderByComparator); 4452 } 4453 4454 /** 4455 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 4456 * 4457 * @param companyId the company ID 4458 * @param status the status 4459 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4460 * @return the last matching journal article 4461 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4462 */ 4463 public static com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last( 4464 long companyId, int status, 4465 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4466 throws com.liferay.portlet.journal.NoSuchArticleException { 4467 return getPersistence() 4468 .findByC_NotST_Last(companyId, status, orderByComparator); 4469 } 4470 4471 /** 4472 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 4473 * 4474 * @param companyId the company ID 4475 * @param status the status 4476 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4477 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4478 */ 4479 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last( 4480 long companyId, int status, 4481 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4482 return getPersistence() 4483 .fetchByC_NotST_Last(companyId, status, orderByComparator); 4484 } 4485 4486 /** 4487 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?. 4488 * 4489 * @param id the primary key of the current journal article 4490 * @param companyId the company ID 4491 * @param status the status 4492 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4493 * @return the previous, current, and next journal article 4494 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4495 */ 4496 public static com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext( 4497 long id, long companyId, int status, 4498 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4499 throws com.liferay.portlet.journal.NoSuchArticleException { 4500 return getPersistence() 4501 .findByC_NotST_PrevAndNext(id, companyId, status, 4502 orderByComparator); 4503 } 4504 4505 /** 4506 * Removes all the journal articles where companyId = ? and status ≠ ? from the database. 4507 * 4508 * @param companyId the company ID 4509 * @param status the status 4510 */ 4511 public static void removeByC_NotST(long companyId, int status) { 4512 getPersistence().removeByC_NotST(companyId, status); 4513 } 4514 4515 /** 4516 * Returns the number of journal articles where companyId = ? and status ≠ ?. 4517 * 4518 * @param companyId the company ID 4519 * @param status the status 4520 * @return the number of matching journal articles 4521 */ 4522 public static int countByC_NotST(long companyId, int status) { 4523 return getPersistence().countByC_NotST(companyId, status); 4524 } 4525 4526 /** 4527 * Returns all the journal articles where classNameId = ? and DDMTemplateKey = ?. 4528 * 4529 * @param classNameId the class name ID 4530 * @param DDMTemplateKey the d d m template key 4531 * @return the matching journal articles 4532 */ 4533 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_DDMTK( 4534 long classNameId, java.lang.String DDMTemplateKey) { 4535 return getPersistence().findByC_DDMTK(classNameId, DDMTemplateKey); 4536 } 4537 4538 /** 4539 * Returns a range of all the journal articles where classNameId = ? and DDMTemplateKey = ?. 4540 * 4541 * <p> 4542 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4543 * </p> 4544 * 4545 * @param classNameId the class name ID 4546 * @param DDMTemplateKey the d d m template key 4547 * @param start the lower bound of the range of journal articles 4548 * @param end the upper bound of the range of journal articles (not inclusive) 4549 * @return the range of matching journal articles 4550 */ 4551 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_DDMTK( 4552 long classNameId, java.lang.String DDMTemplateKey, int start, int end) { 4553 return getPersistence() 4554 .findByC_DDMTK(classNameId, DDMTemplateKey, start, end); 4555 } 4556 4557 /** 4558 * Returns an ordered range of all the journal articles where classNameId = ? and DDMTemplateKey = ?. 4559 * 4560 * <p> 4561 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4562 * </p> 4563 * 4564 * @param classNameId the class name ID 4565 * @param DDMTemplateKey the d d m template key 4566 * @param start the lower bound of the range of journal articles 4567 * @param end the upper bound of the range of journal articles (not inclusive) 4568 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4569 * @return the ordered range of matching journal articles 4570 */ 4571 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_DDMTK( 4572 long classNameId, java.lang.String DDMTemplateKey, int start, int end, 4573 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4574 return getPersistence() 4575 .findByC_DDMTK(classNameId, DDMTemplateKey, start, end, 4576 orderByComparator); 4577 } 4578 4579 /** 4580 * Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 4581 * 4582 * @param classNameId the class name ID 4583 * @param DDMTemplateKey the d d m template key 4584 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4585 * @return the first matching journal article 4586 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4587 */ 4588 public static com.liferay.portlet.journal.model.JournalArticle findByC_DDMTK_First( 4589 long classNameId, java.lang.String DDMTemplateKey, 4590 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4591 throws com.liferay.portlet.journal.NoSuchArticleException { 4592 return getPersistence() 4593 .findByC_DDMTK_First(classNameId, DDMTemplateKey, 4594 orderByComparator); 4595 } 4596 4597 /** 4598 * Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 4599 * 4600 * @param classNameId the class name ID 4601 * @param DDMTemplateKey the d d m template key 4602 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4603 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4604 */ 4605 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_DDMTK_First( 4606 long classNameId, java.lang.String DDMTemplateKey, 4607 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4608 return getPersistence() 4609 .fetchByC_DDMTK_First(classNameId, DDMTemplateKey, 4610 orderByComparator); 4611 } 4612 4613 /** 4614 * Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 4615 * 4616 * @param classNameId the class name ID 4617 * @param DDMTemplateKey the d d m template key 4618 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4619 * @return the last matching journal article 4620 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4621 */ 4622 public static com.liferay.portlet.journal.model.JournalArticle findByC_DDMTK_Last( 4623 long classNameId, java.lang.String DDMTemplateKey, 4624 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4625 throws com.liferay.portlet.journal.NoSuchArticleException { 4626 return getPersistence() 4627 .findByC_DDMTK_Last(classNameId, DDMTemplateKey, 4628 orderByComparator); 4629 } 4630 4631 /** 4632 * Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 4633 * 4634 * @param classNameId the class name ID 4635 * @param DDMTemplateKey the d d m template key 4636 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4637 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4638 */ 4639 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_DDMTK_Last( 4640 long classNameId, java.lang.String DDMTemplateKey, 4641 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4642 return getPersistence() 4643 .fetchByC_DDMTK_Last(classNameId, DDMTemplateKey, 4644 orderByComparator); 4645 } 4646 4647 /** 4648 * Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 4649 * 4650 * @param id the primary key of the current journal article 4651 * @param classNameId the class name ID 4652 * @param DDMTemplateKey the d d m template key 4653 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4654 * @return the previous, current, and next journal article 4655 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4656 */ 4657 public static com.liferay.portlet.journal.model.JournalArticle[] findByC_DDMTK_PrevAndNext( 4658 long id, long classNameId, java.lang.String DDMTemplateKey, 4659 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4660 throws com.liferay.portlet.journal.NoSuchArticleException { 4661 return getPersistence() 4662 .findByC_DDMTK_PrevAndNext(id, classNameId, DDMTemplateKey, 4663 orderByComparator); 4664 } 4665 4666 /** 4667 * Removes all the journal articles where classNameId = ? and DDMTemplateKey = ? from the database. 4668 * 4669 * @param classNameId the class name ID 4670 * @param DDMTemplateKey the d d m template key 4671 */ 4672 public static void removeByC_DDMTK(long classNameId, 4673 java.lang.String DDMTemplateKey) { 4674 getPersistence().removeByC_DDMTK(classNameId, DDMTemplateKey); 4675 } 4676 4677 /** 4678 * Returns the number of journal articles where classNameId = ? and DDMTemplateKey = ?. 4679 * 4680 * @param classNameId the class name ID 4681 * @param DDMTemplateKey the d d m template key 4682 * @return the number of matching journal articles 4683 */ 4684 public static int countByC_DDMTK(long classNameId, 4685 java.lang.String DDMTemplateKey) { 4686 return getPersistence().countByC_DDMTK(classNameId, DDMTemplateKey); 4687 } 4688 4689 /** 4690 * Returns all the journal articles where displayDate < ? and status = ?. 4691 * 4692 * @param displayDate the display date 4693 * @param status the status 4694 * @return the matching journal articles 4695 */ 4696 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4697 java.util.Date displayDate, int status) { 4698 return getPersistence().findByLtD_S(displayDate, status); 4699 } 4700 4701 /** 4702 * Returns a range of all the journal articles where displayDate < ? and status = ?. 4703 * 4704 * <p> 4705 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4706 * </p> 4707 * 4708 * @param displayDate the display date 4709 * @param status the status 4710 * @param start the lower bound of the range of journal articles 4711 * @param end the upper bound of the range of journal articles (not inclusive) 4712 * @return the range of matching journal articles 4713 */ 4714 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4715 java.util.Date displayDate, int status, int start, int end) { 4716 return getPersistence().findByLtD_S(displayDate, status, start, end); 4717 } 4718 4719 /** 4720 * Returns an ordered range of all the journal articles where displayDate < ? and status = ?. 4721 * 4722 * <p> 4723 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4724 * </p> 4725 * 4726 * @param displayDate the display date 4727 * @param status the status 4728 * @param start the lower bound of the range of journal articles 4729 * @param end the upper bound of the range of journal articles (not inclusive) 4730 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4731 * @return the ordered range of matching journal articles 4732 */ 4733 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 4734 java.util.Date displayDate, int status, int start, int end, 4735 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4736 return getPersistence() 4737 .findByLtD_S(displayDate, status, start, end, 4738 orderByComparator); 4739 } 4740 4741 /** 4742 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4743 * 4744 * @param displayDate the display date 4745 * @param status the status 4746 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4747 * @return the first matching journal article 4748 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4749 */ 4750 public static com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First( 4751 java.util.Date displayDate, int status, 4752 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4753 throws com.liferay.portlet.journal.NoSuchArticleException { 4754 return getPersistence() 4755 .findByLtD_S_First(displayDate, status, orderByComparator); 4756 } 4757 4758 /** 4759 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 4760 * 4761 * @param displayDate the display date 4762 * @param status the status 4763 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4764 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4765 */ 4766 public static com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First( 4767 java.util.Date displayDate, int status, 4768 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4769 return getPersistence() 4770 .fetchByLtD_S_First(displayDate, status, orderByComparator); 4771 } 4772 4773 /** 4774 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4775 * 4776 * @param displayDate the display date 4777 * @param status the status 4778 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4779 * @return the last matching journal article 4780 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4781 */ 4782 public static com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last( 4783 java.util.Date displayDate, int status, 4784 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4785 throws com.liferay.portlet.journal.NoSuchArticleException { 4786 return getPersistence() 4787 .findByLtD_S_Last(displayDate, status, orderByComparator); 4788 } 4789 4790 /** 4791 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 4792 * 4793 * @param displayDate the display date 4794 * @param status the status 4795 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4796 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4797 */ 4798 public static com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last( 4799 java.util.Date displayDate, int status, 4800 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4801 return getPersistence() 4802 .fetchByLtD_S_Last(displayDate, status, orderByComparator); 4803 } 4804 4805 /** 4806 * Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?. 4807 * 4808 * @param id the primary key of the current journal article 4809 * @param displayDate the display date 4810 * @param status the status 4811 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4812 * @return the previous, current, and next journal article 4813 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4814 */ 4815 public static com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext( 4816 long id, java.util.Date displayDate, int status, 4817 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4818 throws com.liferay.portlet.journal.NoSuchArticleException { 4819 return getPersistence() 4820 .findByLtD_S_PrevAndNext(id, displayDate, status, 4821 orderByComparator); 4822 } 4823 4824 /** 4825 * Removes all the journal articles where displayDate < ? and status = ? from the database. 4826 * 4827 * @param displayDate the display date 4828 * @param status the status 4829 */ 4830 public static void removeByLtD_S(java.util.Date displayDate, int status) { 4831 getPersistence().removeByLtD_S(displayDate, status); 4832 } 4833 4834 /** 4835 * Returns the number of journal articles where displayDate < ? and status = ?. 4836 * 4837 * @param displayDate the display date 4838 * @param status the status 4839 * @return the number of matching journal articles 4840 */ 4841 public static int countByLtD_S(java.util.Date displayDate, int status) { 4842 return getPersistence().countByLtD_S(displayDate, status); 4843 } 4844 4845 /** 4846 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4847 * 4848 * @param resourcePrimKey the resource prim key 4849 * @param indexable the indexable 4850 * @param status the status 4851 * @return the matching journal articles 4852 */ 4853 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4854 long resourcePrimKey, boolean indexable, int status) { 4855 return getPersistence().findByR_I_S(resourcePrimKey, indexable, status); 4856 } 4857 4858 /** 4859 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4860 * 4861 * <p> 4862 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4863 * </p> 4864 * 4865 * @param resourcePrimKey the resource prim key 4866 * @param indexable the indexable 4867 * @param status the status 4868 * @param start the lower bound of the range of journal articles 4869 * @param end the upper bound of the range of journal articles (not inclusive) 4870 * @return the range of matching journal articles 4871 */ 4872 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4873 long resourcePrimKey, boolean indexable, int status, int start, int end) { 4874 return getPersistence() 4875 .findByR_I_S(resourcePrimKey, indexable, status, start, end); 4876 } 4877 4878 /** 4879 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4880 * 4881 * <p> 4882 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4883 * </p> 4884 * 4885 * @param resourcePrimKey the resource prim key 4886 * @param indexable the indexable 4887 * @param status the status 4888 * @param start the lower bound of the range of journal articles 4889 * @param end the upper bound of the range of journal articles (not inclusive) 4890 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4891 * @return the ordered range of matching journal articles 4892 */ 4893 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4894 long resourcePrimKey, boolean indexable, int status, int start, 4895 int end, 4896 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4897 return getPersistence() 4898 .findByR_I_S(resourcePrimKey, indexable, status, start, end, 4899 orderByComparator); 4900 } 4901 4902 /** 4903 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4904 * 4905 * @param resourcePrimKey the resource prim key 4906 * @param indexable the indexable 4907 * @param status the status 4908 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4909 * @return the first matching journal article 4910 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4911 */ 4912 public static com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First( 4913 long resourcePrimKey, boolean indexable, int status, 4914 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4915 throws com.liferay.portlet.journal.NoSuchArticleException { 4916 return getPersistence() 4917 .findByR_I_S_First(resourcePrimKey, indexable, status, 4918 orderByComparator); 4919 } 4920 4921 /** 4922 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4923 * 4924 * @param resourcePrimKey the resource prim key 4925 * @param indexable the indexable 4926 * @param status the status 4927 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4928 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4929 */ 4930 public static com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First( 4931 long resourcePrimKey, boolean indexable, int status, 4932 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4933 return getPersistence() 4934 .fetchByR_I_S_First(resourcePrimKey, indexable, status, 4935 orderByComparator); 4936 } 4937 4938 /** 4939 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4940 * 4941 * @param resourcePrimKey the resource prim key 4942 * @param indexable the indexable 4943 * @param status the status 4944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4945 * @return the last matching journal article 4946 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4947 */ 4948 public static com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last( 4949 long resourcePrimKey, boolean indexable, int status, 4950 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4951 throws com.liferay.portlet.journal.NoSuchArticleException { 4952 return getPersistence() 4953 .findByR_I_S_Last(resourcePrimKey, indexable, status, 4954 orderByComparator); 4955 } 4956 4957 /** 4958 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4959 * 4960 * @param resourcePrimKey the resource prim key 4961 * @param indexable the indexable 4962 * @param status the status 4963 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4964 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4965 */ 4966 public static com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last( 4967 long resourcePrimKey, boolean indexable, int status, 4968 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 4969 return getPersistence() 4970 .fetchByR_I_S_Last(resourcePrimKey, indexable, status, 4971 orderByComparator); 4972 } 4973 4974 /** 4975 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4976 * 4977 * @param id the primary key of the current journal article 4978 * @param resourcePrimKey the resource prim key 4979 * @param indexable the indexable 4980 * @param status the status 4981 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4982 * @return the previous, current, and next journal article 4983 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4984 */ 4985 public static com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext( 4986 long id, long resourcePrimKey, boolean indexable, int status, 4987 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4988 throws com.liferay.portlet.journal.NoSuchArticleException { 4989 return getPersistence() 4990 .findByR_I_S_PrevAndNext(id, resourcePrimKey, indexable, 4991 status, orderByComparator); 4992 } 4993 4994 /** 4995 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4996 * 4997 * <p> 4998 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4999 * </p> 5000 * 5001 * @param resourcePrimKey the resource prim key 5002 * @param indexable the indexable 5003 * @param statuses the statuses 5004 * @return the matching journal articles 5005 */ 5006 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 5007 long resourcePrimKey, boolean indexable, int[] statuses) { 5008 return getPersistence().findByR_I_S(resourcePrimKey, indexable, statuses); 5009 } 5010 5011 /** 5012 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 5013 * 5014 * <p> 5015 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5016 * </p> 5017 * 5018 * @param resourcePrimKey the resource prim key 5019 * @param indexable the indexable 5020 * @param statuses the statuses 5021 * @param start the lower bound of the range of journal articles 5022 * @param end the upper bound of the range of journal articles (not inclusive) 5023 * @return the range of matching journal articles 5024 */ 5025 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 5026 long resourcePrimKey, boolean indexable, int[] statuses, int start, 5027 int end) { 5028 return getPersistence() 5029 .findByR_I_S(resourcePrimKey, indexable, statuses, start, end); 5030 } 5031 5032 /** 5033 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 5034 * 5035 * <p> 5036 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5037 * </p> 5038 * 5039 * @param resourcePrimKey the resource prim key 5040 * @param indexable the indexable 5041 * @param statuses the statuses 5042 * @param start the lower bound of the range of journal articles 5043 * @param end the upper bound of the range of journal articles (not inclusive) 5044 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5045 * @return the ordered range of matching journal articles 5046 */ 5047 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 5048 long resourcePrimKey, boolean indexable, int[] statuses, int start, 5049 int end, 5050 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5051 return getPersistence() 5052 .findByR_I_S(resourcePrimKey, indexable, statuses, start, 5053 end, orderByComparator); 5054 } 5055 5056 /** 5057 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database. 5058 * 5059 * @param resourcePrimKey the resource prim key 5060 * @param indexable the indexable 5061 * @param status the status 5062 */ 5063 public static void removeByR_I_S(long resourcePrimKey, boolean indexable, 5064 int status) { 5065 getPersistence().removeByR_I_S(resourcePrimKey, indexable, status); 5066 } 5067 5068 /** 5069 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 5070 * 5071 * @param resourcePrimKey the resource prim key 5072 * @param indexable the indexable 5073 * @param status the status 5074 * @return the number of matching journal articles 5075 */ 5076 public static int countByR_I_S(long resourcePrimKey, boolean indexable, 5077 int status) { 5078 return getPersistence().countByR_I_S(resourcePrimKey, indexable, status); 5079 } 5080 5081 /** 5082 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 5083 * 5084 * @param resourcePrimKey the resource prim key 5085 * @param indexable the indexable 5086 * @param statuses the statuses 5087 * @return the number of matching journal articles 5088 */ 5089 public static int countByR_I_S(long resourcePrimKey, boolean indexable, 5090 int[] statuses) { 5091 return getPersistence() 5092 .countByR_I_S(resourcePrimKey, indexable, statuses); 5093 } 5094 5095 /** 5096 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5097 * 5098 * @param groupId the group ID 5099 * @param userId the user ID 5100 * @param classNameId the class name ID 5101 * @return the matching journal articles 5102 */ 5103 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5104 long groupId, long userId, long classNameId) { 5105 return getPersistence().findByG_U_C(groupId, userId, classNameId); 5106 } 5107 5108 /** 5109 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5110 * 5111 * <p> 5112 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5113 * </p> 5114 * 5115 * @param groupId the group ID 5116 * @param userId the user ID 5117 * @param classNameId the class name ID 5118 * @param start the lower bound of the range of journal articles 5119 * @param end the upper bound of the range of journal articles (not inclusive) 5120 * @return the range of matching journal articles 5121 */ 5122 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5123 long groupId, long userId, long classNameId, int start, int end) { 5124 return getPersistence() 5125 .findByG_U_C(groupId, userId, classNameId, start, end); 5126 } 5127 5128 /** 5129 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 5130 * 5131 * <p> 5132 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5133 * </p> 5134 * 5135 * @param groupId the group ID 5136 * @param userId the user ID 5137 * @param classNameId the class name ID 5138 * @param start the lower bound of the range of journal articles 5139 * @param end the upper bound of the range of journal articles (not inclusive) 5140 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5141 * @return the ordered range of matching journal articles 5142 */ 5143 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 5144 long groupId, long userId, long classNameId, int start, int end, 5145 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5146 return getPersistence() 5147 .findByG_U_C(groupId, userId, classNameId, start, end, 5148 orderByComparator); 5149 } 5150 5151 /** 5152 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5153 * 5154 * @param groupId the group ID 5155 * @param userId the user ID 5156 * @param classNameId the class name ID 5157 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5158 * @return the first matching journal article 5159 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5160 */ 5161 public static com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 5162 long groupId, long userId, long classNameId, 5163 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5164 throws com.liferay.portlet.journal.NoSuchArticleException { 5165 return getPersistence() 5166 .findByG_U_C_First(groupId, userId, classNameId, 5167 orderByComparator); 5168 } 5169 5170 /** 5171 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5172 * 5173 * @param groupId the group ID 5174 * @param userId the user ID 5175 * @param classNameId the class name ID 5176 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5177 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5178 */ 5179 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 5180 long groupId, long userId, long classNameId, 5181 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5182 return getPersistence() 5183 .fetchByG_U_C_First(groupId, userId, classNameId, 5184 orderByComparator); 5185 } 5186 5187 /** 5188 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5189 * 5190 * @param groupId the group ID 5191 * @param userId the user ID 5192 * @param classNameId the class name ID 5193 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5194 * @return the last matching journal article 5195 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5196 */ 5197 public static com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 5198 long groupId, long userId, long classNameId, 5199 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5200 throws com.liferay.portlet.journal.NoSuchArticleException { 5201 return getPersistence() 5202 .findByG_U_C_Last(groupId, userId, classNameId, 5203 orderByComparator); 5204 } 5205 5206 /** 5207 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5208 * 5209 * @param groupId the group ID 5210 * @param userId the user ID 5211 * @param classNameId the class name ID 5212 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5213 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5214 */ 5215 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 5216 long groupId, long userId, long classNameId, 5217 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5218 return getPersistence() 5219 .fetchByG_U_C_Last(groupId, userId, classNameId, 5220 orderByComparator); 5221 } 5222 5223 /** 5224 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 5225 * 5226 * @param id the primary key of the current journal article 5227 * @param groupId the group ID 5228 * @param userId the user ID 5229 * @param classNameId the class name ID 5230 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5231 * @return the previous, current, and next journal article 5232 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5233 */ 5234 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 5235 long id, long groupId, long userId, long classNameId, 5236 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5237 throws com.liferay.portlet.journal.NoSuchArticleException { 5238 return getPersistence() 5239 .findByG_U_C_PrevAndNext(id, groupId, userId, classNameId, 5240 orderByComparator); 5241 } 5242 5243 /** 5244 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5245 * 5246 * @param groupId the group ID 5247 * @param userId the user ID 5248 * @param classNameId the class name ID 5249 * @return the matching journal articles that the user has permission to view 5250 */ 5251 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5252 long groupId, long userId, long classNameId) { 5253 return getPersistence().filterFindByG_U_C(groupId, userId, classNameId); 5254 } 5255 5256 /** 5257 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5258 * 5259 * <p> 5260 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5261 * </p> 5262 * 5263 * @param groupId the group ID 5264 * @param userId the user ID 5265 * @param classNameId the class name ID 5266 * @param start the lower bound of the range of journal articles 5267 * @param end the upper bound of the range of journal articles (not inclusive) 5268 * @return the range of matching journal articles that the user has permission to view 5269 */ 5270 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5271 long groupId, long userId, long classNameId, int start, int end) { 5272 return getPersistence() 5273 .filterFindByG_U_C(groupId, userId, classNameId, start, end); 5274 } 5275 5276 /** 5277 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 5278 * 5279 * <p> 5280 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5281 * </p> 5282 * 5283 * @param groupId the group ID 5284 * @param userId the user ID 5285 * @param classNameId the class name ID 5286 * @param start the lower bound of the range of journal articles 5287 * @param end the upper bound of the range of journal articles (not inclusive) 5288 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5289 * @return the ordered range of matching journal articles that the user has permission to view 5290 */ 5291 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 5292 long groupId, long userId, long classNameId, int start, int end, 5293 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5294 return getPersistence() 5295 .filterFindByG_U_C(groupId, userId, classNameId, start, end, 5296 orderByComparator); 5297 } 5298 5299 /** 5300 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5301 * 5302 * @param id the primary key of the current journal article 5303 * @param groupId the group ID 5304 * @param userId the user ID 5305 * @param classNameId the class name ID 5306 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5307 * @return the previous, current, and next journal article 5308 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5309 */ 5310 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 5311 long id, long groupId, long userId, long classNameId, 5312 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5313 throws com.liferay.portlet.journal.NoSuchArticleException { 5314 return getPersistence() 5315 .filterFindByG_U_C_PrevAndNext(id, groupId, userId, 5316 classNameId, orderByComparator); 5317 } 5318 5319 /** 5320 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 5321 * 5322 * @param groupId the group ID 5323 * @param userId the user ID 5324 * @param classNameId the class name ID 5325 */ 5326 public static void removeByG_U_C(long groupId, long userId, long classNameId) { 5327 getPersistence().removeByG_U_C(groupId, userId, classNameId); 5328 } 5329 5330 /** 5331 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 5332 * 5333 * @param groupId the group ID 5334 * @param userId the user ID 5335 * @param classNameId the class name ID 5336 * @return the number of matching journal articles 5337 */ 5338 public static int countByG_U_C(long groupId, long userId, long classNameId) { 5339 return getPersistence().countByG_U_C(groupId, userId, classNameId); 5340 } 5341 5342 /** 5343 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 5344 * 5345 * @param groupId the group ID 5346 * @param userId the user ID 5347 * @param classNameId the class name ID 5348 * @return the number of matching journal articles that the user has permission to view 5349 */ 5350 public static int filterCountByG_U_C(long groupId, long userId, 5351 long classNameId) { 5352 return getPersistence().filterCountByG_U_C(groupId, userId, classNameId); 5353 } 5354 5355 /** 5356 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 5357 * 5358 * @param groupId the group ID 5359 * @param folderId the folder ID 5360 * @param status the status 5361 * @return the matching journal articles 5362 */ 5363 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5364 long groupId, long folderId, int status) { 5365 return getPersistence().findByG_F_ST(groupId, folderId, status); 5366 } 5367 5368 /** 5369 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 5370 * 5371 * <p> 5372 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5373 * </p> 5374 * 5375 * @param groupId the group ID 5376 * @param folderId the folder ID 5377 * @param status the status 5378 * @param start the lower bound of the range of journal articles 5379 * @param end the upper bound of the range of journal articles (not inclusive) 5380 * @return the range of matching journal articles 5381 */ 5382 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5383 long groupId, long folderId, int status, int start, int end) { 5384 return getPersistence() 5385 .findByG_F_ST(groupId, folderId, status, start, end); 5386 } 5387 5388 /** 5389 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 5390 * 5391 * <p> 5392 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5393 * </p> 5394 * 5395 * @param groupId the group ID 5396 * @param folderId the folder ID 5397 * @param status the status 5398 * @param start the lower bound of the range of journal articles 5399 * @param end the upper bound of the range of journal articles (not inclusive) 5400 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5401 * @return the ordered range of matching journal articles 5402 */ 5403 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5404 long groupId, long folderId, int status, int start, int end, 5405 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5406 return getPersistence() 5407 .findByG_F_ST(groupId, folderId, status, start, end, 5408 orderByComparator); 5409 } 5410 5411 /** 5412 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 5413 * 5414 * @param groupId the group ID 5415 * @param folderId the folder ID 5416 * @param status the status 5417 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5418 * @return the first matching journal article 5419 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5420 */ 5421 public static com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 5422 long groupId, long folderId, int status, 5423 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5424 throws com.liferay.portlet.journal.NoSuchArticleException { 5425 return getPersistence() 5426 .findByG_F_ST_First(groupId, folderId, status, 5427 orderByComparator); 5428 } 5429 5430 /** 5431 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 5432 * 5433 * @param groupId the group ID 5434 * @param folderId the folder ID 5435 * @param status the status 5436 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5437 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5438 */ 5439 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 5440 long groupId, long folderId, int status, 5441 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5442 return getPersistence() 5443 .fetchByG_F_ST_First(groupId, folderId, status, 5444 orderByComparator); 5445 } 5446 5447 /** 5448 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 5449 * 5450 * @param groupId the group ID 5451 * @param folderId the folder ID 5452 * @param status the status 5453 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5454 * @return the last matching journal article 5455 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5456 */ 5457 public static com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 5458 long groupId, long folderId, int status, 5459 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5460 throws com.liferay.portlet.journal.NoSuchArticleException { 5461 return getPersistence() 5462 .findByG_F_ST_Last(groupId, folderId, status, 5463 orderByComparator); 5464 } 5465 5466 /** 5467 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 5468 * 5469 * @param groupId the group ID 5470 * @param folderId the folder ID 5471 * @param status the status 5472 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5473 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5474 */ 5475 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 5476 long groupId, long folderId, int status, 5477 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5478 return getPersistence() 5479 .fetchByG_F_ST_Last(groupId, folderId, status, 5480 orderByComparator); 5481 } 5482 5483 /** 5484 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 5485 * 5486 * @param id the primary key of the current journal article 5487 * @param groupId the group ID 5488 * @param folderId the folder ID 5489 * @param status the status 5490 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5491 * @return the previous, current, and next journal article 5492 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5493 */ 5494 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 5495 long id, long groupId, long folderId, int status, 5496 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5497 throws com.liferay.portlet.journal.NoSuchArticleException { 5498 return getPersistence() 5499 .findByG_F_ST_PrevAndNext(id, groupId, folderId, status, 5500 orderByComparator); 5501 } 5502 5503 /** 5504 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5505 * 5506 * @param groupId the group ID 5507 * @param folderId the folder ID 5508 * @param status the status 5509 * @return the matching journal articles that the user has permission to view 5510 */ 5511 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5512 long groupId, long folderId, int status) { 5513 return getPersistence().filterFindByG_F_ST(groupId, folderId, status); 5514 } 5515 5516 /** 5517 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5518 * 5519 * <p> 5520 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5521 * </p> 5522 * 5523 * @param groupId the group ID 5524 * @param folderId the folder ID 5525 * @param status the status 5526 * @param start the lower bound of the range of journal articles 5527 * @param end the upper bound of the range of journal articles (not inclusive) 5528 * @return the range of matching journal articles that the user has permission to view 5529 */ 5530 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5531 long groupId, long folderId, int status, int start, int end) { 5532 return getPersistence() 5533 .filterFindByG_F_ST(groupId, folderId, status, start, end); 5534 } 5535 5536 /** 5537 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 5538 * 5539 * <p> 5540 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5541 * </p> 5542 * 5543 * @param groupId the group ID 5544 * @param folderId the folder ID 5545 * @param status the status 5546 * @param start the lower bound of the range of journal articles 5547 * @param end the upper bound of the range of journal articles (not inclusive) 5548 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5549 * @return the ordered range of matching journal articles that the user has permission to view 5550 */ 5551 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5552 long groupId, long folderId, int status, int start, int end, 5553 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5554 return getPersistence() 5555 .filterFindByG_F_ST(groupId, folderId, status, start, end, 5556 orderByComparator); 5557 } 5558 5559 /** 5560 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5561 * 5562 * @param id the primary key of the current journal article 5563 * @param groupId the group ID 5564 * @param folderId the folder ID 5565 * @param status the status 5566 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5567 * @return the previous, current, and next journal article 5568 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5569 */ 5570 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 5571 long id, long groupId, long folderId, int status, 5572 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5573 throws com.liferay.portlet.journal.NoSuchArticleException { 5574 return getPersistence() 5575 .filterFindByG_F_ST_PrevAndNext(id, groupId, folderId, 5576 status, orderByComparator); 5577 } 5578 5579 /** 5580 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5581 * 5582 * @param groupId the group ID 5583 * @param folderId the folder ID 5584 * @param statuses the statuses 5585 * @return the matching journal articles that the user has permission to view 5586 */ 5587 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5588 long groupId, long folderId, int[] statuses) { 5589 return getPersistence().filterFindByG_F_ST(groupId, folderId, statuses); 5590 } 5591 5592 /** 5593 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5594 * 5595 * <p> 5596 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5597 * </p> 5598 * 5599 * @param groupId the group ID 5600 * @param folderId the folder ID 5601 * @param statuses the statuses 5602 * @param start the lower bound of the range of journal articles 5603 * @param end the upper bound of the range of journal articles (not inclusive) 5604 * @return the range of matching journal articles that the user has permission to view 5605 */ 5606 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5607 long groupId, long folderId, int[] statuses, int start, int end) { 5608 return getPersistence() 5609 .filterFindByG_F_ST(groupId, folderId, statuses, start, end); 5610 } 5611 5612 /** 5613 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5614 * 5615 * <p> 5616 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5617 * </p> 5618 * 5619 * @param groupId the group ID 5620 * @param folderId the folder ID 5621 * @param statuses the statuses 5622 * @param start the lower bound of the range of journal articles 5623 * @param end the upper bound of the range of journal articles (not inclusive) 5624 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5625 * @return the ordered range of matching journal articles that the user has permission to view 5626 */ 5627 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 5628 long groupId, long folderId, int[] statuses, int start, int end, 5629 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5630 return getPersistence() 5631 .filterFindByG_F_ST(groupId, folderId, statuses, start, end, 5632 orderByComparator); 5633 } 5634 5635 /** 5636 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 5637 * 5638 * <p> 5639 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5640 * </p> 5641 * 5642 * @param groupId the group ID 5643 * @param folderId the folder ID 5644 * @param statuses the statuses 5645 * @return the matching journal articles 5646 */ 5647 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5648 long groupId, long folderId, int[] statuses) { 5649 return getPersistence().findByG_F_ST(groupId, folderId, statuses); 5650 } 5651 5652 /** 5653 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 5654 * 5655 * <p> 5656 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5657 * </p> 5658 * 5659 * @param groupId the group ID 5660 * @param folderId the folder ID 5661 * @param statuses the statuses 5662 * @param start the lower bound of the range of journal articles 5663 * @param end the upper bound of the range of journal articles (not inclusive) 5664 * @return the range of matching journal articles 5665 */ 5666 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5667 long groupId, long folderId, int[] statuses, int start, int end) { 5668 return getPersistence() 5669 .findByG_F_ST(groupId, folderId, statuses, start, end); 5670 } 5671 5672 /** 5673 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 5674 * 5675 * <p> 5676 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5677 * </p> 5678 * 5679 * @param groupId the group ID 5680 * @param folderId the folder ID 5681 * @param statuses the statuses 5682 * @param start the lower bound of the range of journal articles 5683 * @param end the upper bound of the range of journal articles (not inclusive) 5684 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5685 * @return the ordered range of matching journal articles 5686 */ 5687 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 5688 long groupId, long folderId, int[] statuses, int start, int end, 5689 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5690 return getPersistence() 5691 .findByG_F_ST(groupId, folderId, statuses, start, end, 5692 orderByComparator); 5693 } 5694 5695 /** 5696 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 5697 * 5698 * @param groupId the group ID 5699 * @param folderId the folder ID 5700 * @param status the status 5701 */ 5702 public static void removeByG_F_ST(long groupId, long folderId, int status) { 5703 getPersistence().removeByG_F_ST(groupId, folderId, status); 5704 } 5705 5706 /** 5707 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 5708 * 5709 * @param groupId the group ID 5710 * @param folderId the folder ID 5711 * @param status the status 5712 * @return the number of matching journal articles 5713 */ 5714 public static int countByG_F_ST(long groupId, long folderId, int status) { 5715 return getPersistence().countByG_F_ST(groupId, folderId, status); 5716 } 5717 5718 /** 5719 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 5720 * 5721 * @param groupId the group ID 5722 * @param folderId the folder ID 5723 * @param statuses the statuses 5724 * @return the number of matching journal articles 5725 */ 5726 public static int countByG_F_ST(long groupId, long folderId, int[] statuses) { 5727 return getPersistence().countByG_F_ST(groupId, folderId, statuses); 5728 } 5729 5730 /** 5731 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 5732 * 5733 * @param groupId the group ID 5734 * @param folderId the folder ID 5735 * @param status the status 5736 * @return the number of matching journal articles that the user has permission to view 5737 */ 5738 public static int filterCountByG_F_ST(long groupId, long folderId, 5739 int status) { 5740 return getPersistence().filterCountByG_F_ST(groupId, folderId, status); 5741 } 5742 5743 /** 5744 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 5745 * 5746 * @param groupId the group ID 5747 * @param folderId the folder ID 5748 * @param statuses the statuses 5749 * @return the number of matching journal articles that the user has permission to view 5750 */ 5751 public static int filterCountByG_F_ST(long groupId, long folderId, 5752 int[] statuses) { 5753 return getPersistence().filterCountByG_F_ST(groupId, folderId, statuses); 5754 } 5755 5756 /** 5757 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5758 * 5759 * @param groupId the group ID 5760 * @param classNameId the class name ID 5761 * @param classPK the class p k 5762 * @return the matching journal articles 5763 */ 5764 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5765 long groupId, long classNameId, long classPK) { 5766 return getPersistence().findByG_C_C(groupId, classNameId, classPK); 5767 } 5768 5769 /** 5770 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5771 * 5772 * <p> 5773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5774 * </p> 5775 * 5776 * @param groupId the group ID 5777 * @param classNameId the class name ID 5778 * @param classPK the class p k 5779 * @param start the lower bound of the range of journal articles 5780 * @param end the upper bound of the range of journal articles (not inclusive) 5781 * @return the range of matching journal articles 5782 */ 5783 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5784 long groupId, long classNameId, long classPK, int start, int end) { 5785 return getPersistence() 5786 .findByG_C_C(groupId, classNameId, classPK, start, end); 5787 } 5788 5789 /** 5790 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 5791 * 5792 * <p> 5793 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5794 * </p> 5795 * 5796 * @param groupId the group ID 5797 * @param classNameId the class name ID 5798 * @param classPK the class p k 5799 * @param start the lower bound of the range of journal articles 5800 * @param end the upper bound of the range of journal articles (not inclusive) 5801 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5802 * @return the ordered range of matching journal articles 5803 */ 5804 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 5805 long groupId, long classNameId, long classPK, int start, int end, 5806 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5807 return getPersistence() 5808 .findByG_C_C(groupId, classNameId, classPK, start, end, 5809 orderByComparator); 5810 } 5811 5812 /** 5813 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5814 * 5815 * @param groupId the group ID 5816 * @param classNameId the class name ID 5817 * @param classPK the class p k 5818 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5819 * @return the first matching journal article 5820 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5821 */ 5822 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 5823 long groupId, long classNameId, long classPK, 5824 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5825 throws com.liferay.portlet.journal.NoSuchArticleException { 5826 return getPersistence() 5827 .findByG_C_C_First(groupId, classNameId, classPK, 5828 orderByComparator); 5829 } 5830 5831 /** 5832 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5833 * 5834 * @param groupId the group ID 5835 * @param classNameId the class name ID 5836 * @param classPK the class p k 5837 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5838 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5839 */ 5840 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 5841 long groupId, long classNameId, long classPK, 5842 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5843 return getPersistence() 5844 .fetchByG_C_C_First(groupId, classNameId, classPK, 5845 orderByComparator); 5846 } 5847 5848 /** 5849 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5850 * 5851 * @param groupId the group ID 5852 * @param classNameId the class name ID 5853 * @param classPK the class p k 5854 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5855 * @return the last matching journal article 5856 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5857 */ 5858 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 5859 long groupId, long classNameId, long classPK, 5860 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5861 throws com.liferay.portlet.journal.NoSuchArticleException { 5862 return getPersistence() 5863 .findByG_C_C_Last(groupId, classNameId, classPK, 5864 orderByComparator); 5865 } 5866 5867 /** 5868 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5869 * 5870 * @param groupId the group ID 5871 * @param classNameId the class name ID 5872 * @param classPK the class p k 5873 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5874 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5875 */ 5876 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 5877 long groupId, long classNameId, long classPK, 5878 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5879 return getPersistence() 5880 .fetchByG_C_C_Last(groupId, classNameId, classPK, 5881 orderByComparator); 5882 } 5883 5884 /** 5885 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 5886 * 5887 * @param id the primary key of the current journal article 5888 * @param groupId the group ID 5889 * @param classNameId the class name ID 5890 * @param classPK the class p k 5891 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5892 * @return the previous, current, and next journal article 5893 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5894 */ 5895 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 5896 long id, long groupId, long classNameId, long classPK, 5897 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5898 throws com.liferay.portlet.journal.NoSuchArticleException { 5899 return getPersistence() 5900 .findByG_C_C_PrevAndNext(id, groupId, classNameId, classPK, 5901 orderByComparator); 5902 } 5903 5904 /** 5905 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5906 * 5907 * @param groupId the group ID 5908 * @param classNameId the class name ID 5909 * @param classPK the class p k 5910 * @return the matching journal articles that the user has permission to view 5911 */ 5912 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5913 long groupId, long classNameId, long classPK) { 5914 return getPersistence().filterFindByG_C_C(groupId, classNameId, classPK); 5915 } 5916 5917 /** 5918 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5919 * 5920 * <p> 5921 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5922 * </p> 5923 * 5924 * @param groupId the group ID 5925 * @param classNameId the class name ID 5926 * @param classPK the class p k 5927 * @param start the lower bound of the range of journal articles 5928 * @param end the upper bound of the range of journal articles (not inclusive) 5929 * @return the range of matching journal articles that the user has permission to view 5930 */ 5931 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5932 long groupId, long classNameId, long classPK, int start, int end) { 5933 return getPersistence() 5934 .filterFindByG_C_C(groupId, classNameId, classPK, start, end); 5935 } 5936 5937 /** 5938 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 5939 * 5940 * <p> 5941 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5942 * </p> 5943 * 5944 * @param groupId the group ID 5945 * @param classNameId the class name ID 5946 * @param classPK the class p k 5947 * @param start the lower bound of the range of journal articles 5948 * @param end the upper bound of the range of journal articles (not inclusive) 5949 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5950 * @return the ordered range of matching journal articles that the user has permission to view 5951 */ 5952 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 5953 long groupId, long classNameId, long classPK, int start, int end, 5954 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 5955 return getPersistence() 5956 .filterFindByG_C_C(groupId, classNameId, classPK, start, 5957 end, orderByComparator); 5958 } 5959 5960 /** 5961 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 5962 * 5963 * @param id the primary key of the current journal article 5964 * @param groupId the group ID 5965 * @param classNameId the class name ID 5966 * @param classPK the class p k 5967 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5968 * @return the previous, current, and next journal article 5969 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5970 */ 5971 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 5972 long id, long groupId, long classNameId, long classPK, 5973 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5974 throws com.liferay.portlet.journal.NoSuchArticleException { 5975 return getPersistence() 5976 .filterFindByG_C_C_PrevAndNext(id, groupId, classNameId, 5977 classPK, orderByComparator); 5978 } 5979 5980 /** 5981 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 5982 * 5983 * @param groupId the group ID 5984 * @param classNameId the class name ID 5985 * @param classPK the class p k 5986 */ 5987 public static void removeByG_C_C(long groupId, long classNameId, 5988 long classPK) { 5989 getPersistence().removeByG_C_C(groupId, classNameId, classPK); 5990 } 5991 5992 /** 5993 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 5994 * 5995 * @param groupId the group ID 5996 * @param classNameId the class name ID 5997 * @param classPK the class p k 5998 * @return the number of matching journal articles 5999 */ 6000 public static int countByG_C_C(long groupId, long classNameId, long classPK) { 6001 return getPersistence().countByG_C_C(groupId, classNameId, classPK); 6002 } 6003 6004 /** 6005 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 6006 * 6007 * @param groupId the group ID 6008 * @param classNameId the class name ID 6009 * @param classPK the class p k 6010 * @return the number of matching journal articles that the user has permission to view 6011 */ 6012 public static int filterCountByG_C_C(long groupId, long classNameId, 6013 long classPK) { 6014 return getPersistence().filterCountByG_C_C(groupId, classNameId, classPK); 6015 } 6016 6017 /** 6018 * Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 6019 * 6020 * @param groupId the group ID 6021 * @param classNameId the class name ID 6022 * @param DDMStructureKey the d d m structure key 6023 * @return the matching journal article 6024 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6025 */ 6026 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_DDMSK( 6027 long groupId, long classNameId, java.lang.String DDMStructureKey) 6028 throws com.liferay.portlet.journal.NoSuchArticleException { 6029 return getPersistence() 6030 .findByG_C_DDMSK(groupId, classNameId, DDMStructureKey); 6031 } 6032 6033 /** 6034 * Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 6035 * 6036 * @param groupId the group ID 6037 * @param classNameId the class name ID 6038 * @param DDMStructureKey the d d m structure key 6039 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 6040 */ 6041 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMSK( 6042 long groupId, long classNameId, java.lang.String DDMStructureKey) { 6043 return getPersistence() 6044 .fetchByG_C_DDMSK(groupId, classNameId, DDMStructureKey); 6045 } 6046 6047 /** 6048 * Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 6049 * 6050 * @param groupId the group ID 6051 * @param classNameId the class name ID 6052 * @param DDMStructureKey the d d m structure key 6053 * @param retrieveFromCache whether to use the finder cache 6054 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 6055 */ 6056 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMSK( 6057 long groupId, long classNameId, java.lang.String DDMStructureKey, 6058 boolean retrieveFromCache) { 6059 return getPersistence() 6060 .fetchByG_C_DDMSK(groupId, classNameId, DDMStructureKey, 6061 retrieveFromCache); 6062 } 6063 6064 /** 6065 * Removes the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? from the database. 6066 * 6067 * @param groupId the group ID 6068 * @param classNameId the class name ID 6069 * @param DDMStructureKey the d d m structure key 6070 * @return the journal article that was removed 6071 */ 6072 public static com.liferay.portlet.journal.model.JournalArticle removeByG_C_DDMSK( 6073 long groupId, long classNameId, java.lang.String DDMStructureKey) 6074 throws com.liferay.portlet.journal.NoSuchArticleException { 6075 return getPersistence() 6076 .removeByG_C_DDMSK(groupId, classNameId, DDMStructureKey); 6077 } 6078 6079 /** 6080 * Returns the number of journal articles where groupId = ? and classNameId = ? and DDMStructureKey = ?. 6081 * 6082 * @param groupId the group ID 6083 * @param classNameId the class name ID 6084 * @param DDMStructureKey the d d m structure key 6085 * @return the number of matching journal articles 6086 */ 6087 public static int countByG_C_DDMSK(long groupId, long classNameId, 6088 java.lang.String DDMStructureKey) { 6089 return getPersistence() 6090 .countByG_C_DDMSK(groupId, classNameId, DDMStructureKey); 6091 } 6092 6093 /** 6094 * Returns all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6095 * 6096 * @param groupId the group ID 6097 * @param classNameId the class name ID 6098 * @param DDMTemplateKey the d d m template key 6099 * @return the matching journal articles 6100 */ 6101 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_DDMTK( 6102 long groupId, long classNameId, java.lang.String DDMTemplateKey) { 6103 return getPersistence() 6104 .findByG_C_DDMTK(groupId, classNameId, DDMTemplateKey); 6105 } 6106 6107 /** 6108 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6109 * 6110 * <p> 6111 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6112 * </p> 6113 * 6114 * @param groupId the group ID 6115 * @param classNameId the class name ID 6116 * @param DDMTemplateKey the d d m template key 6117 * @param start the lower bound of the range of journal articles 6118 * @param end the upper bound of the range of journal articles (not inclusive) 6119 * @return the range of matching journal articles 6120 */ 6121 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_DDMTK( 6122 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6123 int start, int end) { 6124 return getPersistence() 6125 .findByG_C_DDMTK(groupId, classNameId, DDMTemplateKey, 6126 start, end); 6127 } 6128 6129 /** 6130 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6131 * 6132 * <p> 6133 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6134 * </p> 6135 * 6136 * @param groupId the group ID 6137 * @param classNameId the class name ID 6138 * @param DDMTemplateKey the d d m template key 6139 * @param start the lower bound of the range of journal articles 6140 * @param end the upper bound of the range of journal articles (not inclusive) 6141 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6142 * @return the ordered range of matching journal articles 6143 */ 6144 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_DDMTK( 6145 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6146 int start, int end, 6147 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6148 return getPersistence() 6149 .findByG_C_DDMTK(groupId, classNameId, DDMTemplateKey, 6150 start, end, orderByComparator); 6151 } 6152 6153 /** 6154 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6155 * 6156 * @param groupId the group ID 6157 * @param classNameId the class name ID 6158 * @param DDMTemplateKey the d d m template key 6159 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6160 * @return the first matching journal article 6161 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6162 */ 6163 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_DDMTK_First( 6164 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6165 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6166 throws com.liferay.portlet.journal.NoSuchArticleException { 6167 return getPersistence() 6168 .findByG_C_DDMTK_First(groupId, classNameId, DDMTemplateKey, 6169 orderByComparator); 6170 } 6171 6172 /** 6173 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6174 * 6175 * @param groupId the group ID 6176 * @param classNameId the class name ID 6177 * @param DDMTemplateKey the d d m template key 6178 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6179 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6180 */ 6181 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMTK_First( 6182 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6183 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6184 return getPersistence() 6185 .fetchByG_C_DDMTK_First(groupId, classNameId, 6186 DDMTemplateKey, orderByComparator); 6187 } 6188 6189 /** 6190 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6191 * 6192 * @param groupId the group ID 6193 * @param classNameId the class name ID 6194 * @param DDMTemplateKey the d d m template key 6195 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6196 * @return the last matching journal article 6197 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6198 */ 6199 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_DDMTK_Last( 6200 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6201 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6202 throws com.liferay.portlet.journal.NoSuchArticleException { 6203 return getPersistence() 6204 .findByG_C_DDMTK_Last(groupId, classNameId, DDMTemplateKey, 6205 orderByComparator); 6206 } 6207 6208 /** 6209 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6210 * 6211 * @param groupId the group ID 6212 * @param classNameId the class name ID 6213 * @param DDMTemplateKey the d d m template key 6214 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6215 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6216 */ 6217 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMTK_Last( 6218 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6219 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6220 return getPersistence() 6221 .fetchByG_C_DDMTK_Last(groupId, classNameId, DDMTemplateKey, 6222 orderByComparator); 6223 } 6224 6225 /** 6226 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6227 * 6228 * @param id the primary key of the current journal article 6229 * @param groupId the group ID 6230 * @param classNameId the class name ID 6231 * @param DDMTemplateKey the d d m template key 6232 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6233 * @return the previous, current, and next journal article 6234 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6235 */ 6236 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_C_DDMTK_PrevAndNext( 6237 long id, long groupId, long classNameId, 6238 java.lang.String DDMTemplateKey, 6239 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6240 throws com.liferay.portlet.journal.NoSuchArticleException { 6241 return getPersistence() 6242 .findByG_C_DDMTK_PrevAndNext(id, groupId, classNameId, 6243 DDMTemplateKey, orderByComparator); 6244 } 6245 6246 /** 6247 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6248 * 6249 * @param groupId the group ID 6250 * @param classNameId the class name ID 6251 * @param DDMTemplateKey the d d m template key 6252 * @return the matching journal articles that the user has permission to view 6253 */ 6254 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_DDMTK( 6255 long groupId, long classNameId, java.lang.String DDMTemplateKey) { 6256 return getPersistence() 6257 .filterFindByG_C_DDMTK(groupId, classNameId, DDMTemplateKey); 6258 } 6259 6260 /** 6261 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6262 * 6263 * <p> 6264 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6265 * </p> 6266 * 6267 * @param groupId the group ID 6268 * @param classNameId the class name ID 6269 * @param DDMTemplateKey the d d m template key 6270 * @param start the lower bound of the range of journal articles 6271 * @param end the upper bound of the range of journal articles (not inclusive) 6272 * @return the range of matching journal articles that the user has permission to view 6273 */ 6274 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_DDMTK( 6275 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6276 int start, int end) { 6277 return getPersistence() 6278 .filterFindByG_C_DDMTK(groupId, classNameId, DDMTemplateKey, 6279 start, end); 6280 } 6281 6282 /** 6283 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6284 * 6285 * <p> 6286 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6287 * </p> 6288 * 6289 * @param groupId the group ID 6290 * @param classNameId the class name ID 6291 * @param DDMTemplateKey the d d m template key 6292 * @param start the lower bound of the range of journal articles 6293 * @param end the upper bound of the range of journal articles (not inclusive) 6294 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6295 * @return the ordered range of matching journal articles that the user has permission to view 6296 */ 6297 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_DDMTK( 6298 long groupId, long classNameId, java.lang.String DDMTemplateKey, 6299 int start, int end, 6300 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6301 return getPersistence() 6302 .filterFindByG_C_DDMTK(groupId, classNameId, DDMTemplateKey, 6303 start, end, orderByComparator); 6304 } 6305 6306 /** 6307 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6308 * 6309 * @param id the primary key of the current journal article 6310 * @param groupId the group ID 6311 * @param classNameId the class name ID 6312 * @param DDMTemplateKey the d d m template key 6313 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6314 * @return the previous, current, and next journal article 6315 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6316 */ 6317 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_DDMTK_PrevAndNext( 6318 long id, long groupId, long classNameId, 6319 java.lang.String DDMTemplateKey, 6320 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6321 throws com.liferay.portlet.journal.NoSuchArticleException { 6322 return getPersistence() 6323 .filterFindByG_C_DDMTK_PrevAndNext(id, groupId, classNameId, 6324 DDMTemplateKey, orderByComparator); 6325 } 6326 6327 /** 6328 * Removes all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ? from the database. 6329 * 6330 * @param groupId the group ID 6331 * @param classNameId the class name ID 6332 * @param DDMTemplateKey the d d m template key 6333 */ 6334 public static void removeByG_C_DDMTK(long groupId, long classNameId, 6335 java.lang.String DDMTemplateKey) { 6336 getPersistence().removeByG_C_DDMTK(groupId, classNameId, DDMTemplateKey); 6337 } 6338 6339 /** 6340 * Returns the number of journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6341 * 6342 * @param groupId the group ID 6343 * @param classNameId the class name ID 6344 * @param DDMTemplateKey the d d m template key 6345 * @return the number of matching journal articles 6346 */ 6347 public static int countByG_C_DDMTK(long groupId, long classNameId, 6348 java.lang.String DDMTemplateKey) { 6349 return getPersistence() 6350 .countByG_C_DDMTK(groupId, classNameId, DDMTemplateKey); 6351 } 6352 6353 /** 6354 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 6355 * 6356 * @param groupId the group ID 6357 * @param classNameId the class name ID 6358 * @param DDMTemplateKey the d d m template key 6359 * @return the number of matching journal articles that the user has permission to view 6360 */ 6361 public static int filterCountByG_C_DDMTK(long groupId, long classNameId, 6362 java.lang.String DDMTemplateKey) { 6363 return getPersistence() 6364 .filterCountByG_C_DDMTK(groupId, classNameId, DDMTemplateKey); 6365 } 6366 6367 /** 6368 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 6369 * 6370 * @param groupId the group ID 6371 * @param classNameId the class name ID 6372 * @param layoutUuid the layout uuid 6373 * @return the matching journal articles 6374 */ 6375 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 6376 long groupId, long classNameId, java.lang.String layoutUuid) { 6377 return getPersistence().findByG_C_L(groupId, classNameId, layoutUuid); 6378 } 6379 6380 /** 6381 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 6382 * 6383 * <p> 6384 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6385 * </p> 6386 * 6387 * @param groupId the group ID 6388 * @param classNameId the class name ID 6389 * @param layoutUuid the layout uuid 6390 * @param start the lower bound of the range of journal articles 6391 * @param end the upper bound of the range of journal articles (not inclusive) 6392 * @return the range of matching journal articles 6393 */ 6394 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 6395 long groupId, long classNameId, java.lang.String layoutUuid, int start, 6396 int end) { 6397 return getPersistence() 6398 .findByG_C_L(groupId, classNameId, layoutUuid, start, end); 6399 } 6400 6401 /** 6402 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 6403 * 6404 * <p> 6405 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6406 * </p> 6407 * 6408 * @param groupId the group ID 6409 * @param classNameId the class name ID 6410 * @param layoutUuid the layout uuid 6411 * @param start the lower bound of the range of journal articles 6412 * @param end the upper bound of the range of journal articles (not inclusive) 6413 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6414 * @return the ordered range of matching journal articles 6415 */ 6416 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 6417 long groupId, long classNameId, java.lang.String layoutUuid, int start, 6418 int end, 6419 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6420 return getPersistence() 6421 .findByG_C_L(groupId, classNameId, layoutUuid, start, end, 6422 orderByComparator); 6423 } 6424 6425 /** 6426 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 6427 * 6428 * @param groupId the group ID 6429 * @param classNameId the class name ID 6430 * @param layoutUuid the layout uuid 6431 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6432 * @return the first matching journal article 6433 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6434 */ 6435 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 6436 long groupId, long classNameId, java.lang.String layoutUuid, 6437 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6438 throws com.liferay.portlet.journal.NoSuchArticleException { 6439 return getPersistence() 6440 .findByG_C_L_First(groupId, classNameId, layoutUuid, 6441 orderByComparator); 6442 } 6443 6444 /** 6445 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 6446 * 6447 * @param groupId the group ID 6448 * @param classNameId the class name ID 6449 * @param layoutUuid the layout uuid 6450 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6451 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6452 */ 6453 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 6454 long groupId, long classNameId, java.lang.String layoutUuid, 6455 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6456 return getPersistence() 6457 .fetchByG_C_L_First(groupId, classNameId, layoutUuid, 6458 orderByComparator); 6459 } 6460 6461 /** 6462 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 6463 * 6464 * @param groupId the group ID 6465 * @param classNameId the class name ID 6466 * @param layoutUuid the layout uuid 6467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6468 * @return the last matching journal article 6469 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6470 */ 6471 public static com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 6472 long groupId, long classNameId, java.lang.String layoutUuid, 6473 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6474 throws com.liferay.portlet.journal.NoSuchArticleException { 6475 return getPersistence() 6476 .findByG_C_L_Last(groupId, classNameId, layoutUuid, 6477 orderByComparator); 6478 } 6479 6480 /** 6481 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 6482 * 6483 * @param groupId the group ID 6484 * @param classNameId the class name ID 6485 * @param layoutUuid the layout uuid 6486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6487 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6488 */ 6489 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 6490 long groupId, long classNameId, java.lang.String layoutUuid, 6491 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6492 return getPersistence() 6493 .fetchByG_C_L_Last(groupId, classNameId, layoutUuid, 6494 orderByComparator); 6495 } 6496 6497 /** 6498 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 6499 * 6500 * @param id the primary key of the current journal article 6501 * @param groupId the group ID 6502 * @param classNameId the class name ID 6503 * @param layoutUuid the layout uuid 6504 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6505 * @return the previous, current, and next journal article 6506 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6507 */ 6508 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 6509 long id, long groupId, long classNameId, java.lang.String layoutUuid, 6510 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6511 throws com.liferay.portlet.journal.NoSuchArticleException { 6512 return getPersistence() 6513 .findByG_C_L_PrevAndNext(id, groupId, classNameId, 6514 layoutUuid, orderByComparator); 6515 } 6516 6517 /** 6518 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 6519 * 6520 * @param groupId the group ID 6521 * @param classNameId the class name ID 6522 * @param layoutUuid the layout uuid 6523 * @return the matching journal articles that the user has permission to view 6524 */ 6525 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 6526 long groupId, long classNameId, java.lang.String layoutUuid) { 6527 return getPersistence() 6528 .filterFindByG_C_L(groupId, classNameId, layoutUuid); 6529 } 6530 6531 /** 6532 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 6533 * 6534 * <p> 6535 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6536 * </p> 6537 * 6538 * @param groupId the group ID 6539 * @param classNameId the class name ID 6540 * @param layoutUuid the layout uuid 6541 * @param start the lower bound of the range of journal articles 6542 * @param end the upper bound of the range of journal articles (not inclusive) 6543 * @return the range of matching journal articles that the user has permission to view 6544 */ 6545 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 6546 long groupId, long classNameId, java.lang.String layoutUuid, int start, 6547 int end) { 6548 return getPersistence() 6549 .filterFindByG_C_L(groupId, classNameId, layoutUuid, start, 6550 end); 6551 } 6552 6553 /** 6554 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 6555 * 6556 * <p> 6557 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6558 * </p> 6559 * 6560 * @param groupId the group ID 6561 * @param classNameId the class name ID 6562 * @param layoutUuid the layout uuid 6563 * @param start the lower bound of the range of journal articles 6564 * @param end the upper bound of the range of journal articles (not inclusive) 6565 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6566 * @return the ordered range of matching journal articles that the user has permission to view 6567 */ 6568 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 6569 long groupId, long classNameId, java.lang.String layoutUuid, int start, 6570 int end, 6571 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6572 return getPersistence() 6573 .filterFindByG_C_L(groupId, classNameId, layoutUuid, start, 6574 end, orderByComparator); 6575 } 6576 6577 /** 6578 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 6579 * 6580 * @param id the primary key of the current journal article 6581 * @param groupId the group ID 6582 * @param classNameId the class name ID 6583 * @param layoutUuid the layout uuid 6584 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6585 * @return the previous, current, and next journal article 6586 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6587 */ 6588 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 6589 long id, long groupId, long classNameId, java.lang.String layoutUuid, 6590 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6591 throws com.liferay.portlet.journal.NoSuchArticleException { 6592 return getPersistence() 6593 .filterFindByG_C_L_PrevAndNext(id, groupId, classNameId, 6594 layoutUuid, orderByComparator); 6595 } 6596 6597 /** 6598 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 6599 * 6600 * @param groupId the group ID 6601 * @param classNameId the class name ID 6602 * @param layoutUuid the layout uuid 6603 */ 6604 public static void removeByG_C_L(long groupId, long classNameId, 6605 java.lang.String layoutUuid) { 6606 getPersistence().removeByG_C_L(groupId, classNameId, layoutUuid); 6607 } 6608 6609 /** 6610 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 6611 * 6612 * @param groupId the group ID 6613 * @param classNameId the class name ID 6614 * @param layoutUuid the layout uuid 6615 * @return the number of matching journal articles 6616 */ 6617 public static int countByG_C_L(long groupId, long classNameId, 6618 java.lang.String layoutUuid) { 6619 return getPersistence().countByG_C_L(groupId, classNameId, layoutUuid); 6620 } 6621 6622 /** 6623 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 6624 * 6625 * @param groupId the group ID 6626 * @param classNameId the class name ID 6627 * @param layoutUuid the layout uuid 6628 * @return the number of matching journal articles that the user has permission to view 6629 */ 6630 public static int filterCountByG_C_L(long groupId, long classNameId, 6631 java.lang.String layoutUuid) { 6632 return getPersistence() 6633 .filterCountByG_C_L(groupId, classNameId, layoutUuid); 6634 } 6635 6636 /** 6637 * Returns the journal article where groupId = ? and articleId = ? and version = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 6638 * 6639 * @param groupId the group ID 6640 * @param articleId the article ID 6641 * @param version the version 6642 * @return the matching journal article 6643 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6644 */ 6645 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 6646 long groupId, java.lang.String articleId, double version) 6647 throws com.liferay.portlet.journal.NoSuchArticleException { 6648 return getPersistence().findByG_A_V(groupId, articleId, version); 6649 } 6650 6651 /** 6652 * Returns the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 6653 * 6654 * @param groupId the group ID 6655 * @param articleId the article ID 6656 * @param version the version 6657 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 6658 */ 6659 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 6660 long groupId, java.lang.String articleId, double version) { 6661 return getPersistence().fetchByG_A_V(groupId, articleId, version); 6662 } 6663 6664 /** 6665 * Returns the journal article where groupId = ? and articleId = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 6666 * 6667 * @param groupId the group ID 6668 * @param articleId the article ID 6669 * @param version the version 6670 * @param retrieveFromCache whether to use the finder cache 6671 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 6672 */ 6673 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 6674 long groupId, java.lang.String articleId, double version, 6675 boolean retrieveFromCache) { 6676 return getPersistence() 6677 .fetchByG_A_V(groupId, articleId, version, retrieveFromCache); 6678 } 6679 6680 /** 6681 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 6682 * 6683 * @param groupId the group ID 6684 * @param articleId the article ID 6685 * @param version the version 6686 * @return the journal article that was removed 6687 */ 6688 public static com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 6689 long groupId, java.lang.String articleId, double version) 6690 throws com.liferay.portlet.journal.NoSuchArticleException { 6691 return getPersistence().removeByG_A_V(groupId, articleId, version); 6692 } 6693 6694 /** 6695 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 6696 * 6697 * @param groupId the group ID 6698 * @param articleId the article ID 6699 * @param version the version 6700 * @return the number of matching journal articles 6701 */ 6702 public static int countByG_A_V(long groupId, java.lang.String articleId, 6703 double version) { 6704 return getPersistence().countByG_A_V(groupId, articleId, version); 6705 } 6706 6707 /** 6708 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 6709 * 6710 * @param groupId the group ID 6711 * @param articleId the article ID 6712 * @param status the status 6713 * @return the matching journal articles 6714 */ 6715 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6716 long groupId, java.lang.String articleId, int status) { 6717 return getPersistence().findByG_A_ST(groupId, articleId, status); 6718 } 6719 6720 /** 6721 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 6722 * 6723 * <p> 6724 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6725 * </p> 6726 * 6727 * @param groupId the group ID 6728 * @param articleId the article ID 6729 * @param status the status 6730 * @param start the lower bound of the range of journal articles 6731 * @param end the upper bound of the range of journal articles (not inclusive) 6732 * @return the range of matching journal articles 6733 */ 6734 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6735 long groupId, java.lang.String articleId, int status, int start, int end) { 6736 return getPersistence() 6737 .findByG_A_ST(groupId, articleId, status, start, end); 6738 } 6739 6740 /** 6741 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 6742 * 6743 * <p> 6744 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6745 * </p> 6746 * 6747 * @param groupId the group ID 6748 * @param articleId the article ID 6749 * @param status the status 6750 * @param start the lower bound of the range of journal articles 6751 * @param end the upper bound of the range of journal articles (not inclusive) 6752 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6753 * @return the ordered range of matching journal articles 6754 */ 6755 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 6756 long groupId, java.lang.String articleId, int status, int start, 6757 int end, 6758 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6759 return getPersistence() 6760 .findByG_A_ST(groupId, articleId, status, start, end, 6761 orderByComparator); 6762 } 6763 6764 /** 6765 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6766 * 6767 * @param groupId the group ID 6768 * @param articleId the article ID 6769 * @param status the status 6770 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6771 * @return the first matching journal article 6772 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6773 */ 6774 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 6775 long groupId, java.lang.String articleId, int status, 6776 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6777 throws com.liferay.portlet.journal.NoSuchArticleException { 6778 return getPersistence() 6779 .findByG_A_ST_First(groupId, articleId, status, 6780 orderByComparator); 6781 } 6782 6783 /** 6784 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6785 * 6786 * @param groupId the group ID 6787 * @param articleId the article ID 6788 * @param status the status 6789 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6790 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6791 */ 6792 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 6793 long groupId, java.lang.String articleId, int status, 6794 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6795 return getPersistence() 6796 .fetchByG_A_ST_First(groupId, articleId, status, 6797 orderByComparator); 6798 } 6799 6800 /** 6801 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6802 * 6803 * @param groupId the group ID 6804 * @param articleId the article ID 6805 * @param status the status 6806 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6807 * @return the last matching journal article 6808 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6809 */ 6810 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 6811 long groupId, java.lang.String articleId, int status, 6812 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6813 throws com.liferay.portlet.journal.NoSuchArticleException { 6814 return getPersistence() 6815 .findByG_A_ST_Last(groupId, articleId, status, 6816 orderByComparator); 6817 } 6818 6819 /** 6820 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6821 * 6822 * @param groupId the group ID 6823 * @param articleId the article ID 6824 * @param status the status 6825 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6826 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6827 */ 6828 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 6829 long groupId, java.lang.String articleId, int status, 6830 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6831 return getPersistence() 6832 .fetchByG_A_ST_Last(groupId, articleId, status, 6833 orderByComparator); 6834 } 6835 6836 /** 6837 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 6838 * 6839 * @param id the primary key of the current journal article 6840 * @param groupId the group ID 6841 * @param articleId the article ID 6842 * @param status the status 6843 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6844 * @return the previous, current, and next journal article 6845 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6846 */ 6847 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 6848 long id, long groupId, java.lang.String articleId, int status, 6849 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6850 throws com.liferay.portlet.journal.NoSuchArticleException { 6851 return getPersistence() 6852 .findByG_A_ST_PrevAndNext(id, groupId, articleId, status, 6853 orderByComparator); 6854 } 6855 6856 /** 6857 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6858 * 6859 * @param groupId the group ID 6860 * @param articleId the article ID 6861 * @param status the status 6862 * @return the matching journal articles that the user has permission to view 6863 */ 6864 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6865 long groupId, java.lang.String articleId, int status) { 6866 return getPersistence().filterFindByG_A_ST(groupId, articleId, status); 6867 } 6868 6869 /** 6870 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6871 * 6872 * <p> 6873 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6874 * </p> 6875 * 6876 * @param groupId the group ID 6877 * @param articleId the article ID 6878 * @param status the status 6879 * @param start the lower bound of the range of journal articles 6880 * @param end the upper bound of the range of journal articles (not inclusive) 6881 * @return the range of matching journal articles that the user has permission to view 6882 */ 6883 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6884 long groupId, java.lang.String articleId, int status, int start, int end) { 6885 return getPersistence() 6886 .filterFindByG_A_ST(groupId, articleId, status, start, end); 6887 } 6888 6889 /** 6890 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 6891 * 6892 * <p> 6893 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6894 * </p> 6895 * 6896 * @param groupId the group ID 6897 * @param articleId the article ID 6898 * @param status the status 6899 * @param start the lower bound of the range of journal articles 6900 * @param end the upper bound of the range of journal articles (not inclusive) 6901 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6902 * @return the ordered range of matching journal articles that the user has permission to view 6903 */ 6904 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6905 long groupId, java.lang.String articleId, int status, int start, 6906 int end, 6907 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6908 return getPersistence() 6909 .filterFindByG_A_ST(groupId, articleId, status, start, end, 6910 orderByComparator); 6911 } 6912 6913 /** 6914 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 6915 * 6916 * @param id the primary key of the current journal article 6917 * @param groupId the group ID 6918 * @param articleId the article ID 6919 * @param status the status 6920 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6921 * @return the previous, current, and next journal article 6922 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6923 */ 6924 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 6925 long id, long groupId, java.lang.String articleId, int status, 6926 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6927 throws com.liferay.portlet.journal.NoSuchArticleException { 6928 return getPersistence() 6929 .filterFindByG_A_ST_PrevAndNext(id, groupId, articleId, 6930 status, orderByComparator); 6931 } 6932 6933 /** 6934 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6935 * 6936 * @param groupId the group ID 6937 * @param articleId the article ID 6938 * @param statuses the statuses 6939 * @return the matching journal articles that the user has permission to view 6940 */ 6941 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6942 long groupId, java.lang.String articleId, int[] statuses) { 6943 return getPersistence().filterFindByG_A_ST(groupId, articleId, statuses); 6944 } 6945 6946 /** 6947 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6948 * 6949 * <p> 6950 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6951 * </p> 6952 * 6953 * @param groupId the group ID 6954 * @param articleId the article ID 6955 * @param statuses the statuses 6956 * @param start the lower bound of the range of journal articles 6957 * @param end the upper bound of the range of journal articles (not inclusive) 6958 * @return the range of matching journal articles that the user has permission to view 6959 */ 6960 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6961 long groupId, java.lang.String articleId, int[] statuses, int start, 6962 int end) { 6963 return getPersistence() 6964 .filterFindByG_A_ST(groupId, articleId, statuses, start, end); 6965 } 6966 6967 /** 6968 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 6969 * 6970 * <p> 6971 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6972 * </p> 6973 * 6974 * @param groupId the group ID 6975 * @param articleId the article ID 6976 * @param statuses the statuses 6977 * @param start the lower bound of the range of journal articles 6978 * @param end the upper bound of the range of journal articles (not inclusive) 6979 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6980 * @return the ordered range of matching journal articles that the user has permission to view 6981 */ 6982 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 6983 long groupId, java.lang.String articleId, int[] statuses, int start, 6984 int end, 6985 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 6986 return getPersistence() 6987 .filterFindByG_A_ST(groupId, articleId, statuses, start, 6988 end, orderByComparator); 6989 } 6990 6991 /** 6992 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 6993 * 6994 * <p> 6995 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6996 * </p> 6997 * 6998 * @param groupId the group ID 6999 * @param articleId the article ID 7000 * @param statuses the statuses 7001 * @return the matching journal articles 7002 */ 7003 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 7004 long groupId, java.lang.String articleId, int[] statuses) { 7005 return getPersistence().findByG_A_ST(groupId, articleId, statuses); 7006 } 7007 7008 /** 7009 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 7010 * 7011 * <p> 7012 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7013 * </p> 7014 * 7015 * @param groupId the group ID 7016 * @param articleId the article ID 7017 * @param statuses the statuses 7018 * @param start the lower bound of the range of journal articles 7019 * @param end the upper bound of the range of journal articles (not inclusive) 7020 * @return the range of matching journal articles 7021 */ 7022 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 7023 long groupId, java.lang.String articleId, int[] statuses, int start, 7024 int end) { 7025 return getPersistence() 7026 .findByG_A_ST(groupId, articleId, statuses, start, end); 7027 } 7028 7029 /** 7030 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 7031 * 7032 * <p> 7033 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7034 * </p> 7035 * 7036 * @param groupId the group ID 7037 * @param articleId the article ID 7038 * @param statuses the statuses 7039 * @param start the lower bound of the range of journal articles 7040 * @param end the upper bound of the range of journal articles (not inclusive) 7041 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7042 * @return the ordered range of matching journal articles 7043 */ 7044 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 7045 long groupId, java.lang.String articleId, int[] statuses, int start, 7046 int end, 7047 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7048 return getPersistence() 7049 .findByG_A_ST(groupId, articleId, statuses, start, end, 7050 orderByComparator); 7051 } 7052 7053 /** 7054 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 7055 * 7056 * @param groupId the group ID 7057 * @param articleId the article ID 7058 * @param status the status 7059 */ 7060 public static void removeByG_A_ST(long groupId, java.lang.String articleId, 7061 int status) { 7062 getPersistence().removeByG_A_ST(groupId, articleId, status); 7063 } 7064 7065 /** 7066 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 7067 * 7068 * @param groupId the group ID 7069 * @param articleId the article ID 7070 * @param status the status 7071 * @return the number of matching journal articles 7072 */ 7073 public static int countByG_A_ST(long groupId, java.lang.String articleId, 7074 int status) { 7075 return getPersistence().countByG_A_ST(groupId, articleId, status); 7076 } 7077 7078 /** 7079 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 7080 * 7081 * @param groupId the group ID 7082 * @param articleId the article ID 7083 * @param statuses the statuses 7084 * @return the number of matching journal articles 7085 */ 7086 public static int countByG_A_ST(long groupId, java.lang.String articleId, 7087 int[] statuses) { 7088 return getPersistence().countByG_A_ST(groupId, articleId, statuses); 7089 } 7090 7091 /** 7092 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 7093 * 7094 * @param groupId the group ID 7095 * @param articleId the article ID 7096 * @param status the status 7097 * @return the number of matching journal articles that the user has permission to view 7098 */ 7099 public static int filterCountByG_A_ST(long groupId, 7100 java.lang.String articleId, int status) { 7101 return getPersistence().filterCountByG_A_ST(groupId, articleId, status); 7102 } 7103 7104 /** 7105 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 7106 * 7107 * @param groupId the group ID 7108 * @param articleId the article ID 7109 * @param statuses the statuses 7110 * @return the number of matching journal articles that the user has permission to view 7111 */ 7112 public static int filterCountByG_A_ST(long groupId, 7113 java.lang.String articleId, int[] statuses) { 7114 return getPersistence().filterCountByG_A_ST(groupId, articleId, statuses); 7115 } 7116 7117 /** 7118 * Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 7119 * 7120 * @param groupId the group ID 7121 * @param articleId the article ID 7122 * @param status the status 7123 * @return the matching journal articles 7124 */ 7125 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 7126 long groupId, java.lang.String articleId, int status) { 7127 return getPersistence().findByG_A_NotST(groupId, articleId, status); 7128 } 7129 7130 /** 7131 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 7132 * 7133 * <p> 7134 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7135 * </p> 7136 * 7137 * @param groupId the group ID 7138 * @param articleId the article ID 7139 * @param status the status 7140 * @param start the lower bound of the range of journal articles 7141 * @param end the upper bound of the range of journal articles (not inclusive) 7142 * @return the range of matching journal articles 7143 */ 7144 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 7145 long groupId, java.lang.String articleId, int status, int start, int end) { 7146 return getPersistence() 7147 .findByG_A_NotST(groupId, articleId, status, start, end); 7148 } 7149 7150 /** 7151 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 7152 * 7153 * <p> 7154 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7155 * </p> 7156 * 7157 * @param groupId the group ID 7158 * @param articleId the article ID 7159 * @param status the status 7160 * @param start the lower bound of the range of journal articles 7161 * @param end the upper bound of the range of journal articles (not inclusive) 7162 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7163 * @return the ordered range of matching journal articles 7164 */ 7165 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 7166 long groupId, java.lang.String articleId, int status, int start, 7167 int end, 7168 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7169 return getPersistence() 7170 .findByG_A_NotST(groupId, articleId, status, start, end, 7171 orderByComparator); 7172 } 7173 7174 /** 7175 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 7176 * 7177 * @param groupId the group ID 7178 * @param articleId the article ID 7179 * @param status the status 7180 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7181 * @return the first matching journal article 7182 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7183 */ 7184 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First( 7185 long groupId, java.lang.String articleId, int status, 7186 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7187 throws com.liferay.portlet.journal.NoSuchArticleException { 7188 return getPersistence() 7189 .findByG_A_NotST_First(groupId, articleId, status, 7190 orderByComparator); 7191 } 7192 7193 /** 7194 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 7195 * 7196 * @param groupId the group ID 7197 * @param articleId the article ID 7198 * @param status the status 7199 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7200 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 7201 */ 7202 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First( 7203 long groupId, java.lang.String articleId, int status, 7204 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7205 return getPersistence() 7206 .fetchByG_A_NotST_First(groupId, articleId, status, 7207 orderByComparator); 7208 } 7209 7210 /** 7211 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 7212 * 7213 * @param groupId the group ID 7214 * @param articleId the article ID 7215 * @param status the status 7216 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7217 * @return the last matching journal article 7218 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7219 */ 7220 public static com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last( 7221 long groupId, java.lang.String articleId, int status, 7222 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7223 throws com.liferay.portlet.journal.NoSuchArticleException { 7224 return getPersistence() 7225 .findByG_A_NotST_Last(groupId, articleId, status, 7226 orderByComparator); 7227 } 7228 7229 /** 7230 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 7231 * 7232 * @param groupId the group ID 7233 * @param articleId the article ID 7234 * @param status the status 7235 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7236 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 7237 */ 7238 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last( 7239 long groupId, java.lang.String articleId, int status, 7240 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7241 return getPersistence() 7242 .fetchByG_A_NotST_Last(groupId, articleId, status, 7243 orderByComparator); 7244 } 7245 7246 /** 7247 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 7248 * 7249 * @param id the primary key of the current journal article 7250 * @param groupId the group ID 7251 * @param articleId the article ID 7252 * @param status the status 7253 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7254 * @return the previous, current, and next journal article 7255 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7256 */ 7257 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext( 7258 long id, long groupId, java.lang.String articleId, int status, 7259 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7260 throws com.liferay.portlet.journal.NoSuchArticleException { 7261 return getPersistence() 7262 .findByG_A_NotST_PrevAndNext(id, groupId, articleId, status, 7263 orderByComparator); 7264 } 7265 7266 /** 7267 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 7268 * 7269 * @param groupId the group ID 7270 * @param articleId the article ID 7271 * @param status the status 7272 * @return the matching journal articles that the user has permission to view 7273 */ 7274 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 7275 long groupId, java.lang.String articleId, int status) { 7276 return getPersistence().filterFindByG_A_NotST(groupId, articleId, status); 7277 } 7278 7279 /** 7280 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 7281 * 7282 * <p> 7283 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7284 * </p> 7285 * 7286 * @param groupId the group ID 7287 * @param articleId the article ID 7288 * @param status the status 7289 * @param start the lower bound of the range of journal articles 7290 * @param end the upper bound of the range of journal articles (not inclusive) 7291 * @return the range of matching journal articles that the user has permission to view 7292 */ 7293 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 7294 long groupId, java.lang.String articleId, int status, int start, int end) { 7295 return getPersistence() 7296 .filterFindByG_A_NotST(groupId, articleId, status, start, end); 7297 } 7298 7299 /** 7300 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?. 7301 * 7302 * <p> 7303 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7304 * </p> 7305 * 7306 * @param groupId the group ID 7307 * @param articleId the article ID 7308 * @param status the status 7309 * @param start the lower bound of the range of journal articles 7310 * @param end the upper bound of the range of journal articles (not inclusive) 7311 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7312 * @return the ordered range of matching journal articles that the user has permission to view 7313 */ 7314 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 7315 long groupId, java.lang.String articleId, int status, int start, 7316 int end, 7317 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7318 return getPersistence() 7319 .filterFindByG_A_NotST(groupId, articleId, status, start, 7320 end, orderByComparator); 7321 } 7322 7323 /** 7324 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 7325 * 7326 * @param id the primary key of the current journal article 7327 * @param groupId the group ID 7328 * @param articleId the article ID 7329 * @param status the status 7330 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7331 * @return the previous, current, and next journal article 7332 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7333 */ 7334 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext( 7335 long id, long groupId, java.lang.String articleId, int status, 7336 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7337 throws com.liferay.portlet.journal.NoSuchArticleException { 7338 return getPersistence() 7339 .filterFindByG_A_NotST_PrevAndNext(id, groupId, articleId, 7340 status, orderByComparator); 7341 } 7342 7343 /** 7344 * Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database. 7345 * 7346 * @param groupId the group ID 7347 * @param articleId the article ID 7348 * @param status the status 7349 */ 7350 public static void removeByG_A_NotST(long groupId, 7351 java.lang.String articleId, int status) { 7352 getPersistence().removeByG_A_NotST(groupId, articleId, status); 7353 } 7354 7355 /** 7356 * Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?. 7357 * 7358 * @param groupId the group ID 7359 * @param articleId the article ID 7360 * @param status the status 7361 * @return the number of matching journal articles 7362 */ 7363 public static int countByG_A_NotST(long groupId, 7364 java.lang.String articleId, int status) { 7365 return getPersistence().countByG_A_NotST(groupId, articleId, status); 7366 } 7367 7368 /** 7369 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 7370 * 7371 * @param groupId the group ID 7372 * @param articleId the article ID 7373 * @param status the status 7374 * @return the number of matching journal articles that the user has permission to view 7375 */ 7376 public static int filterCountByG_A_NotST(long groupId, 7377 java.lang.String articleId, int status) { 7378 return getPersistence() 7379 .filterCountByG_A_NotST(groupId, articleId, status); 7380 } 7381 7382 /** 7383 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 7384 * 7385 * @param groupId the group ID 7386 * @param urlTitle the url title 7387 * @param status the status 7388 * @return the matching journal articles 7389 */ 7390 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 7391 long groupId, java.lang.String urlTitle, int status) { 7392 return getPersistence().findByG_UT_ST(groupId, urlTitle, status); 7393 } 7394 7395 /** 7396 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 7397 * 7398 * <p> 7399 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7400 * </p> 7401 * 7402 * @param groupId the group ID 7403 * @param urlTitle the url title 7404 * @param status the status 7405 * @param start the lower bound of the range of journal articles 7406 * @param end the upper bound of the range of journal articles (not inclusive) 7407 * @return the range of matching journal articles 7408 */ 7409 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 7410 long groupId, java.lang.String urlTitle, int status, int start, int end) { 7411 return getPersistence() 7412 .findByG_UT_ST(groupId, urlTitle, status, start, end); 7413 } 7414 7415 /** 7416 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 7417 * 7418 * <p> 7419 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7420 * </p> 7421 * 7422 * @param groupId the group ID 7423 * @param urlTitle the url title 7424 * @param status the status 7425 * @param start the lower bound of the range of journal articles 7426 * @param end the upper bound of the range of journal articles (not inclusive) 7427 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7428 * @return the ordered range of matching journal articles 7429 */ 7430 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 7431 long groupId, java.lang.String urlTitle, int status, int start, 7432 int end, 7433 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7434 return getPersistence() 7435 .findByG_UT_ST(groupId, urlTitle, status, start, end, 7436 orderByComparator); 7437 } 7438 7439 /** 7440 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 7441 * 7442 * @param groupId the group ID 7443 * @param urlTitle the url title 7444 * @param status the status 7445 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7446 * @return the first matching journal article 7447 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7448 */ 7449 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 7450 long groupId, java.lang.String urlTitle, int status, 7451 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7452 throws com.liferay.portlet.journal.NoSuchArticleException { 7453 return getPersistence() 7454 .findByG_UT_ST_First(groupId, urlTitle, status, 7455 orderByComparator); 7456 } 7457 7458 /** 7459 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 7460 * 7461 * @param groupId the group ID 7462 * @param urlTitle the url title 7463 * @param status the status 7464 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7465 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 7466 */ 7467 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 7468 long groupId, java.lang.String urlTitle, int status, 7469 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7470 return getPersistence() 7471 .fetchByG_UT_ST_First(groupId, urlTitle, status, 7472 orderByComparator); 7473 } 7474 7475 /** 7476 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 7477 * 7478 * @param groupId the group ID 7479 * @param urlTitle the url title 7480 * @param status the status 7481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7482 * @return the last matching journal article 7483 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7484 */ 7485 public static com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 7486 long groupId, java.lang.String urlTitle, int status, 7487 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7488 throws com.liferay.portlet.journal.NoSuchArticleException { 7489 return getPersistence() 7490 .findByG_UT_ST_Last(groupId, urlTitle, status, 7491 orderByComparator); 7492 } 7493 7494 /** 7495 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 7496 * 7497 * @param groupId the group ID 7498 * @param urlTitle the url title 7499 * @param status the status 7500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7501 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 7502 */ 7503 public static com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 7504 long groupId, java.lang.String urlTitle, int status, 7505 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7506 return getPersistence() 7507 .fetchByG_UT_ST_Last(groupId, urlTitle, status, 7508 orderByComparator); 7509 } 7510 7511 /** 7512 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 7513 * 7514 * @param id the primary key of the current journal article 7515 * @param groupId the group ID 7516 * @param urlTitle the url title 7517 * @param status the status 7518 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7519 * @return the previous, current, and next journal article 7520 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7521 */ 7522 public static com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 7523 long id, long groupId, java.lang.String urlTitle, int status, 7524 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7525 throws com.liferay.portlet.journal.NoSuchArticleException { 7526 return getPersistence() 7527 .findByG_UT_ST_PrevAndNext(id, groupId, urlTitle, status, 7528 orderByComparator); 7529 } 7530 7531 /** 7532 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 7533 * 7534 * @param groupId the group ID 7535 * @param urlTitle the url title 7536 * @param status the status 7537 * @return the matching journal articles that the user has permission to view 7538 */ 7539 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 7540 long groupId, java.lang.String urlTitle, int status) { 7541 return getPersistence().filterFindByG_UT_ST(groupId, urlTitle, status); 7542 } 7543 7544 /** 7545 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 7546 * 7547 * <p> 7548 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7549 * </p> 7550 * 7551 * @param groupId the group ID 7552 * @param urlTitle the url title 7553 * @param status the status 7554 * @param start the lower bound of the range of journal articles 7555 * @param end the upper bound of the range of journal articles (not inclusive) 7556 * @return the range of matching journal articles that the user has permission to view 7557 */ 7558 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 7559 long groupId, java.lang.String urlTitle, int status, int start, int end) { 7560 return getPersistence() 7561 .filterFindByG_UT_ST(groupId, urlTitle, status, start, end); 7562 } 7563 7564 /** 7565 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 7566 * 7567 * <p> 7568 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7569 * </p> 7570 * 7571 * @param groupId the group ID 7572 * @param urlTitle the url title 7573 * @param status the status 7574 * @param start the lower bound of the range of journal articles 7575 * @param end the upper bound of the range of journal articles (not inclusive) 7576 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7577 * @return the ordered range of matching journal articles that the user has permission to view 7578 */ 7579 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 7580 long groupId, java.lang.String urlTitle, int status, int start, 7581 int end, 7582 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7583 return getPersistence() 7584 .filterFindByG_UT_ST(groupId, urlTitle, status, start, end, 7585 orderByComparator); 7586 } 7587 7588 /** 7589 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 7590 * 7591 * @param id the primary key of the current journal article 7592 * @param groupId the group ID 7593 * @param urlTitle the url title 7594 * @param status the status 7595 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7596 * @return the previous, current, and next journal article 7597 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7598 */ 7599 public static com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 7600 long id, long groupId, java.lang.String urlTitle, int status, 7601 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7602 throws com.liferay.portlet.journal.NoSuchArticleException { 7603 return getPersistence() 7604 .filterFindByG_UT_ST_PrevAndNext(id, groupId, urlTitle, 7605 status, orderByComparator); 7606 } 7607 7608 /** 7609 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 7610 * 7611 * @param groupId the group ID 7612 * @param urlTitle the url title 7613 * @param status the status 7614 */ 7615 public static void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 7616 int status) { 7617 getPersistence().removeByG_UT_ST(groupId, urlTitle, status); 7618 } 7619 7620 /** 7621 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 7622 * 7623 * @param groupId the group ID 7624 * @param urlTitle the url title 7625 * @param status the status 7626 * @return the number of matching journal articles 7627 */ 7628 public static int countByG_UT_ST(long groupId, java.lang.String urlTitle, 7629 int status) { 7630 return getPersistence().countByG_UT_ST(groupId, urlTitle, status); 7631 } 7632 7633 /** 7634 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 7635 * 7636 * @param groupId the group ID 7637 * @param urlTitle the url title 7638 * @param status the status 7639 * @return the number of matching journal articles that the user has permission to view 7640 */ 7641 public static int filterCountByG_UT_ST(long groupId, 7642 java.lang.String urlTitle, int status) { 7643 return getPersistence().filterCountByG_UT_ST(groupId, urlTitle, status); 7644 } 7645 7646 /** 7647 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 7648 * 7649 * @param companyId the company ID 7650 * @param version the version 7651 * @param status the status 7652 * @return the matching journal articles 7653 */ 7654 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 7655 long companyId, double version, int status) { 7656 return getPersistence().findByC_V_ST(companyId, version, status); 7657 } 7658 7659 /** 7660 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 7661 * 7662 * <p> 7663 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7664 * </p> 7665 * 7666 * @param companyId the company ID 7667 * @param version the version 7668 * @param status the status 7669 * @param start the lower bound of the range of journal articles 7670 * @param end the upper bound of the range of journal articles (not inclusive) 7671 * @return the range of matching journal articles 7672 */ 7673 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 7674 long companyId, double version, int status, int start, int end) { 7675 return getPersistence() 7676 .findByC_V_ST(companyId, version, status, start, end); 7677 } 7678 7679 /** 7680 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 7681 * 7682 * <p> 7683 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7684 * </p> 7685 * 7686 * @param companyId the company ID 7687 * @param version the version 7688 * @param status the status 7689 * @param start the lower bound of the range of journal articles 7690 * @param end the upper bound of the range of journal articles (not inclusive) 7691 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7692 * @return the ordered range of matching journal articles 7693 */ 7694 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 7695 long companyId, double version, int status, int start, int end, 7696 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7697 return getPersistence() 7698 .findByC_V_ST(companyId, version, status, start, end, 7699 orderByComparator); 7700 } 7701 7702 /** 7703 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 7704 * 7705 * @param companyId the company ID 7706 * @param version the version 7707 * @param status the status 7708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7709 * @return the first matching journal article 7710 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7711 */ 7712 public static com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 7713 long companyId, double version, int status, 7714 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7715 throws com.liferay.portlet.journal.NoSuchArticleException { 7716 return getPersistence() 7717 .findByC_V_ST_First(companyId, version, status, 7718 orderByComparator); 7719 } 7720 7721 /** 7722 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 7723 * 7724 * @param companyId the company ID 7725 * @param version the version 7726 * @param status the status 7727 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7728 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 7729 */ 7730 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 7731 long companyId, double version, int status, 7732 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7733 return getPersistence() 7734 .fetchByC_V_ST_First(companyId, version, status, 7735 orderByComparator); 7736 } 7737 7738 /** 7739 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 7740 * 7741 * @param companyId the company ID 7742 * @param version the version 7743 * @param status the status 7744 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7745 * @return the last matching journal article 7746 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 7747 */ 7748 public static com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 7749 long companyId, double version, int status, 7750 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7751 throws com.liferay.portlet.journal.NoSuchArticleException { 7752 return getPersistence() 7753 .findByC_V_ST_Last(companyId, version, status, 7754 orderByComparator); 7755 } 7756 7757 /** 7758 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 7759 * 7760 * @param companyId the company ID 7761 * @param version the version 7762 * @param status the status 7763 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7764 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 7765 */ 7766 public static com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 7767 long companyId, double version, int status, 7768 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7769 return getPersistence() 7770 .fetchByC_V_ST_Last(companyId, version, status, 7771 orderByComparator); 7772 } 7773 7774 /** 7775 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 7776 * 7777 * @param id the primary key of the current journal article 7778 * @param companyId the company ID 7779 * @param version the version 7780 * @param status the status 7781 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 7782 * @return the previous, current, and next journal article 7783 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7784 */ 7785 public static com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 7786 long id, long companyId, double version, int status, 7787 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 7788 throws com.liferay.portlet.journal.NoSuchArticleException { 7789 return getPersistence() 7790 .findByC_V_ST_PrevAndNext(id, companyId, version, status, 7791 orderByComparator); 7792 } 7793 7794 /** 7795 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 7796 * 7797 * @param companyId the company ID 7798 * @param version the version 7799 * @param status the status 7800 */ 7801 public static void removeByC_V_ST(long companyId, double version, int status) { 7802 getPersistence().removeByC_V_ST(companyId, version, status); 7803 } 7804 7805 /** 7806 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 7807 * 7808 * @param companyId the company ID 7809 * @param version the version 7810 * @param status the status 7811 * @return the number of matching journal articles 7812 */ 7813 public static int countByC_V_ST(long companyId, double version, int status) { 7814 return getPersistence().countByC_V_ST(companyId, version, status); 7815 } 7816 7817 /** 7818 * Caches the journal article in the entity cache if it is enabled. 7819 * 7820 * @param journalArticle the journal article 7821 */ 7822 public static void cacheResult( 7823 com.liferay.portlet.journal.model.JournalArticle journalArticle) { 7824 getPersistence().cacheResult(journalArticle); 7825 } 7826 7827 /** 7828 * Caches the journal articles in the entity cache if it is enabled. 7829 * 7830 * @param journalArticles the journal articles 7831 */ 7832 public static void cacheResult( 7833 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles) { 7834 getPersistence().cacheResult(journalArticles); 7835 } 7836 7837 /** 7838 * Creates a new journal article with the primary key. Does not add the journal article to the database. 7839 * 7840 * @param id the primary key for the new journal article 7841 * @return the new journal article 7842 */ 7843 public static com.liferay.portlet.journal.model.JournalArticle create( 7844 long id) { 7845 return getPersistence().create(id); 7846 } 7847 7848 /** 7849 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 7850 * 7851 * @param id the primary key of the journal article 7852 * @return the journal article that was removed 7853 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7854 */ 7855 public static com.liferay.portlet.journal.model.JournalArticle remove( 7856 long id) throws com.liferay.portlet.journal.NoSuchArticleException { 7857 return getPersistence().remove(id); 7858 } 7859 7860 public static com.liferay.portlet.journal.model.JournalArticle updateImpl( 7861 com.liferay.portlet.journal.model.JournalArticle journalArticle) { 7862 return getPersistence().updateImpl(journalArticle); 7863 } 7864 7865 /** 7866 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 7867 * 7868 * @param id the primary key of the journal article 7869 * @return the journal article 7870 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 7871 */ 7872 public static com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 7873 long id) throws com.liferay.portlet.journal.NoSuchArticleException { 7874 return getPersistence().findByPrimaryKey(id); 7875 } 7876 7877 /** 7878 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 7879 * 7880 * @param id the primary key of the journal article 7881 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 7882 */ 7883 public static com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 7884 long id) { 7885 return getPersistence().fetchByPrimaryKey(id); 7886 } 7887 7888 public static java.util.Map<java.io.Serializable, com.liferay.portlet.journal.model.JournalArticle> fetchByPrimaryKeys( 7889 java.util.Set<java.io.Serializable> primaryKeys) { 7890 return getPersistence().fetchByPrimaryKeys(primaryKeys); 7891 } 7892 7893 /** 7894 * Returns all the journal articles. 7895 * 7896 * @return the journal articles 7897 */ 7898 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll() { 7899 return getPersistence().findAll(); 7900 } 7901 7902 /** 7903 * Returns a range of all the journal articles. 7904 * 7905 * <p> 7906 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7907 * </p> 7908 * 7909 * @param start the lower bound of the range of journal articles 7910 * @param end the upper bound of the range of journal articles (not inclusive) 7911 * @return the range of journal articles 7912 */ 7913 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 7914 int start, int end) { 7915 return getPersistence().findAll(start, end); 7916 } 7917 7918 /** 7919 * Returns an ordered range of all the journal articles. 7920 * 7921 * <p> 7922 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 7923 * </p> 7924 * 7925 * @param start the lower bound of the range of journal articles 7926 * @param end the upper bound of the range of journal articles (not inclusive) 7927 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 7928 * @return the ordered range of journal articles 7929 */ 7930 public static java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 7931 int start, int end, 7932 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) { 7933 return getPersistence().findAll(start, end, orderByComparator); 7934 } 7935 7936 /** 7937 * Removes all the journal articles from the database. 7938 */ 7939 public static void removeAll() { 7940 getPersistence().removeAll(); 7941 } 7942 7943 /** 7944 * Returns the number of journal articles. 7945 * 7946 * @return the number of journal articles 7947 */ 7948 public static int countAll() { 7949 return getPersistence().countAll(); 7950 } 7951 7952 public static JournalArticlePersistence getPersistence() { 7953 if (_persistence == null) { 7954 _persistence = (JournalArticlePersistence)PortalBeanLocatorUtil.locate(JournalArticlePersistence.class.getName()); 7955 7956 ReferenceRegistry.registerReference(JournalArticleUtil.class, 7957 "_persistence"); 7958 } 7959 7960 return _persistence; 7961 } 7962 7963 /** 7964 * @deprecated As of 6.2.0 7965 */ 7966 @Deprecated 7967 public void setPersistence(JournalArticlePersistence persistence) { 7968 } 7969 7970 private static JournalArticlePersistence _persistence; 7971 }