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.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.journal.model.JournalArticle; 022 023 /** 024 * The persistence interface for the journal article service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see JournalArticlePersistenceImpl 032 * @see JournalArticleUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface JournalArticlePersistence extends BasePersistence<JournalArticle> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link JournalArticleUtil} to access the journal article persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the journal articles where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching journal articles 048 */ 049 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 050 java.lang.String uuid); 051 052 /** 053 * Returns a range of all the journal articles where uuid = ?. 054 * 055 * <p> 056 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 057 * </p> 058 * 059 * @param uuid the uuid 060 * @param start the lower bound of the range of journal articles 061 * @param end the upper bound of the range of journal articles (not inclusive) 062 * @return the range of matching journal articles 063 */ 064 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 065 java.lang.String uuid, int start, int end); 066 067 /** 068 * Returns an ordered range of all the journal articles where uuid = ?. 069 * 070 * <p> 071 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 072 * </p> 073 * 074 * @param uuid the uuid 075 * @param start the lower bound of the range of journal articles 076 * @param end the upper bound of the range of journal articles (not inclusive) 077 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 078 * @return the ordered range of matching journal articles 079 */ 080 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid( 081 java.lang.String uuid, int start, int end, 082 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 083 084 /** 085 * Returns the first journal article in the ordered set where uuid = ?. 086 * 087 * @param uuid the uuid 088 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 089 * @return the first matching journal article 090 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 091 */ 092 public com.liferay.portlet.journal.model.JournalArticle findByUuid_First( 093 java.lang.String uuid, 094 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 095 throws com.liferay.portlet.journal.NoSuchArticleException; 096 097 /** 098 * Returns the first journal article in the ordered set where uuid = ?. 099 * 100 * @param uuid the uuid 101 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 102 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 103 */ 104 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_First( 105 java.lang.String uuid, 106 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 107 108 /** 109 * Returns the last journal article in the ordered set where uuid = ?. 110 * 111 * @param uuid the uuid 112 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 113 * @return the last matching journal article 114 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 115 */ 116 public com.liferay.portlet.journal.model.JournalArticle findByUuid_Last( 117 java.lang.String uuid, 118 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 119 throws com.liferay.portlet.journal.NoSuchArticleException; 120 121 /** 122 * Returns the last journal article in the ordered set where uuid = ?. 123 * 124 * @param uuid the uuid 125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 126 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 127 */ 128 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_Last( 129 java.lang.String uuid, 130 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 131 132 /** 133 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ?. 134 * 135 * @param id the primary key of the current journal article 136 * @param uuid the uuid 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the previous, current, and next journal article 139 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 140 */ 141 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_PrevAndNext( 142 long id, java.lang.String uuid, 143 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 144 throws com.liferay.portlet.journal.NoSuchArticleException; 145 146 /** 147 * Removes all the journal articles where uuid = ? from the database. 148 * 149 * @param uuid the uuid 150 */ 151 public void removeByUuid(java.lang.String uuid); 152 153 /** 154 * Returns the number of journal articles where uuid = ?. 155 * 156 * @param uuid the uuid 157 * @return the number of matching journal articles 158 */ 159 public int countByUuid(java.lang.String uuid); 160 161 /** 162 * Returns the journal article where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 163 * 164 * @param uuid the uuid 165 * @param groupId the group ID 166 * @return the matching journal article 167 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 168 */ 169 public com.liferay.portlet.journal.model.JournalArticle findByUUID_G( 170 java.lang.String uuid, long groupId) 171 throws com.liferay.portlet.journal.NoSuchArticleException; 172 173 /** 174 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 175 * 176 * @param uuid the uuid 177 * @param groupId the group ID 178 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 179 */ 180 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 181 java.lang.String uuid, long groupId); 182 183 /** 184 * Returns the journal article where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 185 * 186 * @param uuid the uuid 187 * @param groupId the group ID 188 * @param retrieveFromCache whether to use the finder cache 189 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 190 */ 191 public com.liferay.portlet.journal.model.JournalArticle fetchByUUID_G( 192 java.lang.String uuid, long groupId, boolean retrieveFromCache); 193 194 /** 195 * Removes the journal article where uuid = ? and groupId = ? from the database. 196 * 197 * @param uuid the uuid 198 * @param groupId the group ID 199 * @return the journal article that was removed 200 */ 201 public com.liferay.portlet.journal.model.JournalArticle removeByUUID_G( 202 java.lang.String uuid, long groupId) 203 throws com.liferay.portlet.journal.NoSuchArticleException; 204 205 /** 206 * Returns the number of journal articles where uuid = ? and groupId = ?. 207 * 208 * @param uuid the uuid 209 * @param groupId the group ID 210 * @return the number of matching journal articles 211 */ 212 public int countByUUID_G(java.lang.String uuid, long groupId); 213 214 /** 215 * Returns all the journal articles where uuid = ? and companyId = ?. 216 * 217 * @param uuid the uuid 218 * @param companyId the company ID 219 * @return the matching journal articles 220 */ 221 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 222 java.lang.String uuid, long companyId); 223 224 /** 225 * Returns a range of all the journal articles where uuid = ? and companyId = ?. 226 * 227 * <p> 228 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 229 * </p> 230 * 231 * @param uuid the uuid 232 * @param companyId the company ID 233 * @param start the lower bound of the range of journal articles 234 * @param end the upper bound of the range of journal articles (not inclusive) 235 * @return the range of matching journal articles 236 */ 237 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 238 java.lang.String uuid, long companyId, int start, int end); 239 240 /** 241 * Returns an ordered range of all the journal articles where uuid = ? and companyId = ?. 242 * 243 * <p> 244 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 245 * </p> 246 * 247 * @param uuid the uuid 248 * @param companyId the company ID 249 * @param start the lower bound of the range of journal articles 250 * @param end the upper bound of the range of journal articles (not inclusive) 251 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 252 * @return the ordered range of matching journal articles 253 */ 254 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByUuid_C( 255 java.lang.String uuid, long companyId, int start, int end, 256 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 257 258 /** 259 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 260 * 261 * @param uuid the uuid 262 * @param companyId the company ID 263 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 264 * @return the first matching journal article 265 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 266 */ 267 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_First( 268 java.lang.String uuid, long companyId, 269 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 270 throws com.liferay.portlet.journal.NoSuchArticleException; 271 272 /** 273 * Returns the first journal article in the ordered set where uuid = ? and companyId = ?. 274 * 275 * @param uuid the uuid 276 * @param companyId the company ID 277 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 278 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 279 */ 280 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_First( 281 java.lang.String uuid, long companyId, 282 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 283 284 /** 285 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 286 * 287 * @param uuid the uuid 288 * @param companyId the company ID 289 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 290 * @return the last matching journal article 291 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 292 */ 293 public com.liferay.portlet.journal.model.JournalArticle findByUuid_C_Last( 294 java.lang.String uuid, long companyId, 295 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 296 throws com.liferay.portlet.journal.NoSuchArticleException; 297 298 /** 299 * Returns the last journal article in the ordered set where uuid = ? and companyId = ?. 300 * 301 * @param uuid the uuid 302 * @param companyId the company ID 303 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 304 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 305 */ 306 public com.liferay.portlet.journal.model.JournalArticle fetchByUuid_C_Last( 307 java.lang.String uuid, long companyId, 308 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 309 310 /** 311 * Returns the journal articles before and after the current journal article in the ordered set where uuid = ? and companyId = ?. 312 * 313 * @param id the primary key of the current journal article 314 * @param uuid the uuid 315 * @param companyId the company ID 316 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 317 * @return the previous, current, and next journal article 318 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 319 */ 320 public com.liferay.portlet.journal.model.JournalArticle[] findByUuid_C_PrevAndNext( 321 long id, java.lang.String uuid, long companyId, 322 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 323 throws com.liferay.portlet.journal.NoSuchArticleException; 324 325 /** 326 * Removes all the journal articles where uuid = ? and companyId = ? from the database. 327 * 328 * @param uuid the uuid 329 * @param companyId the company ID 330 */ 331 public void removeByUuid_C(java.lang.String uuid, long companyId); 332 333 /** 334 * Returns the number of journal articles where uuid = ? and companyId = ?. 335 * 336 * @param uuid the uuid 337 * @param companyId the company ID 338 * @return the number of matching journal articles 339 */ 340 public int countByUuid_C(java.lang.String uuid, long companyId); 341 342 /** 343 * Returns all the journal articles where resourcePrimKey = ?. 344 * 345 * @param resourcePrimKey the resource prim key 346 * @return the matching journal articles 347 */ 348 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 349 long resourcePrimKey); 350 351 /** 352 * Returns a range of all the journal articles where resourcePrimKey = ?. 353 * 354 * <p> 355 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 356 * </p> 357 * 358 * @param resourcePrimKey the resource prim key 359 * @param start the lower bound of the range of journal articles 360 * @param end the upper bound of the range of journal articles (not inclusive) 361 * @return the range of matching journal articles 362 */ 363 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 364 long resourcePrimKey, int start, int end); 365 366 /** 367 * Returns an ordered range of all the journal articles where resourcePrimKey = ?. 368 * 369 * <p> 370 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 371 * </p> 372 * 373 * @param resourcePrimKey the resource prim key 374 * @param start the lower bound of the range of journal articles 375 * @param end the upper bound of the range of journal articles (not inclusive) 376 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 377 * @return the ordered range of matching journal articles 378 */ 379 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByResourcePrimKey( 380 long resourcePrimKey, int start, int end, 381 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 382 383 /** 384 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 385 * 386 * @param resourcePrimKey the resource prim key 387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 388 * @return the first matching journal article 389 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 390 */ 391 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_First( 392 long resourcePrimKey, 393 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 394 throws com.liferay.portlet.journal.NoSuchArticleException; 395 396 /** 397 * Returns the first journal article in the ordered set where resourcePrimKey = ?. 398 * 399 * @param resourcePrimKey the resource prim key 400 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 401 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 402 */ 403 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_First( 404 long resourcePrimKey, 405 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 406 407 /** 408 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 409 * 410 * @param resourcePrimKey the resource prim key 411 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 412 * @return the last matching journal article 413 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 414 */ 415 public com.liferay.portlet.journal.model.JournalArticle findByResourcePrimKey_Last( 416 long resourcePrimKey, 417 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 418 throws com.liferay.portlet.journal.NoSuchArticleException; 419 420 /** 421 * Returns the last journal article in the ordered set where resourcePrimKey = ?. 422 * 423 * @param resourcePrimKey the resource prim key 424 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 425 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 426 */ 427 public com.liferay.portlet.journal.model.JournalArticle fetchByResourcePrimKey_Last( 428 long resourcePrimKey, 429 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 430 431 /** 432 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ?. 433 * 434 * @param id the primary key of the current journal article 435 * @param resourcePrimKey the resource prim key 436 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 437 * @return the previous, current, and next journal article 438 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 439 */ 440 public com.liferay.portlet.journal.model.JournalArticle[] findByResourcePrimKey_PrevAndNext( 441 long id, long resourcePrimKey, 442 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 443 throws com.liferay.portlet.journal.NoSuchArticleException; 444 445 /** 446 * Removes all the journal articles where resourcePrimKey = ? from the database. 447 * 448 * @param resourcePrimKey the resource prim key 449 */ 450 public void removeByResourcePrimKey(long resourcePrimKey); 451 452 /** 453 * Returns the number of journal articles where resourcePrimKey = ?. 454 * 455 * @param resourcePrimKey the resource prim key 456 * @return the number of matching journal articles 457 */ 458 public int countByResourcePrimKey(long resourcePrimKey); 459 460 /** 461 * Returns all the journal articles where groupId = ?. 462 * 463 * @param groupId the group ID 464 * @return the matching journal articles 465 */ 466 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 467 long groupId); 468 469 /** 470 * Returns a range of all the journal articles where groupId = ?. 471 * 472 * <p> 473 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 474 * </p> 475 * 476 * @param groupId the group ID 477 * @param start the lower bound of the range of journal articles 478 * @param end the upper bound of the range of journal articles (not inclusive) 479 * @return the range of matching journal articles 480 */ 481 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 482 long groupId, int start, int end); 483 484 /** 485 * Returns an ordered range of all the journal articles where groupId = ?. 486 * 487 * <p> 488 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 489 * </p> 490 * 491 * @param groupId the group ID 492 * @param start the lower bound of the range of journal articles 493 * @param end the upper bound of the range of journal articles (not inclusive) 494 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 495 * @return the ordered range of matching journal articles 496 */ 497 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByGroupId( 498 long groupId, int start, int end, 499 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 500 501 /** 502 * Returns the first journal article in the ordered set where groupId = ?. 503 * 504 * @param groupId the group ID 505 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 506 * @return the first matching journal article 507 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 508 */ 509 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_First( 510 long groupId, 511 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 512 throws com.liferay.portlet.journal.NoSuchArticleException; 513 514 /** 515 * Returns the first journal article in the ordered set where groupId = ?. 516 * 517 * @param groupId the group ID 518 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 519 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 520 */ 521 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_First( 522 long groupId, 523 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 524 525 /** 526 * Returns the last journal article in the ordered set where groupId = ?. 527 * 528 * @param groupId the group ID 529 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 530 * @return the last matching journal article 531 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 532 */ 533 public com.liferay.portlet.journal.model.JournalArticle findByGroupId_Last( 534 long groupId, 535 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 536 throws com.liferay.portlet.journal.NoSuchArticleException; 537 538 /** 539 * Returns the last journal article in the ordered set where groupId = ?. 540 * 541 * @param groupId the group ID 542 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 543 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 544 */ 545 public com.liferay.portlet.journal.model.JournalArticle fetchByGroupId_Last( 546 long groupId, 547 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 548 549 /** 550 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ?. 551 * 552 * @param id the primary key of the current journal article 553 * @param groupId the group ID 554 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 555 * @return the previous, current, and next journal article 556 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 557 */ 558 public com.liferay.portlet.journal.model.JournalArticle[] findByGroupId_PrevAndNext( 559 long id, long groupId, 560 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 561 throws com.liferay.portlet.journal.NoSuchArticleException; 562 563 /** 564 * Returns all the journal articles that the user has permission to view where groupId = ?. 565 * 566 * @param groupId the group ID 567 * @return the matching journal articles that the user has permission to view 568 */ 569 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 570 long groupId); 571 572 /** 573 * Returns a range of all the journal articles that the user has permission to view where groupId = ?. 574 * 575 * <p> 576 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 577 * </p> 578 * 579 * @param groupId the group ID 580 * @param start the lower bound of the range of journal articles 581 * @param end the upper bound of the range of journal articles (not inclusive) 582 * @return the range of matching journal articles that the user has permission to view 583 */ 584 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 585 long groupId, int start, int end); 586 587 /** 588 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ?. 589 * 590 * <p> 591 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 592 * </p> 593 * 594 * @param groupId the group ID 595 * @param start the lower bound of the range of journal articles 596 * @param end the upper bound of the range of journal articles (not inclusive) 597 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 598 * @return the ordered range of matching journal articles that the user has permission to view 599 */ 600 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByGroupId( 601 long groupId, int start, int end, 602 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 603 604 /** 605 * 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 = ?. 606 * 607 * @param id the primary key of the current journal article 608 * @param groupId the group ID 609 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 610 * @return the previous, current, and next journal article 611 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 612 */ 613 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByGroupId_PrevAndNext( 614 long id, long groupId, 615 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 616 throws com.liferay.portlet.journal.NoSuchArticleException; 617 618 /** 619 * Removes all the journal articles where groupId = ? from the database. 620 * 621 * @param groupId the group ID 622 */ 623 public void removeByGroupId(long groupId); 624 625 /** 626 * Returns the number of journal articles where groupId = ?. 627 * 628 * @param groupId the group ID 629 * @return the number of matching journal articles 630 */ 631 public int countByGroupId(long groupId); 632 633 /** 634 * Returns the number of journal articles that the user has permission to view where groupId = ?. 635 * 636 * @param groupId the group ID 637 * @return the number of matching journal articles that the user has permission to view 638 */ 639 public int filterCountByGroupId(long groupId); 640 641 /** 642 * Returns all the journal articles where companyId = ?. 643 * 644 * @param companyId the company ID 645 * @return the matching journal articles 646 */ 647 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 648 long companyId); 649 650 /** 651 * Returns a range of all the journal articles where companyId = ?. 652 * 653 * <p> 654 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 655 * </p> 656 * 657 * @param companyId the company ID 658 * @param start the lower bound of the range of journal articles 659 * @param end the upper bound of the range of journal articles (not inclusive) 660 * @return the range of matching journal articles 661 */ 662 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 663 long companyId, int start, int end); 664 665 /** 666 * Returns an ordered range of all the journal articles where companyId = ?. 667 * 668 * <p> 669 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 670 * </p> 671 * 672 * @param companyId the company ID 673 * @param start the lower bound of the range of journal articles 674 * @param end the upper bound of the range of journal articles (not inclusive) 675 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 676 * @return the ordered range of matching journal articles 677 */ 678 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByCompanyId( 679 long companyId, int start, int end, 680 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 681 682 /** 683 * Returns the first journal article in the ordered set where companyId = ?. 684 * 685 * @param companyId the company ID 686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 687 * @return the first matching journal article 688 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 689 */ 690 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_First( 691 long companyId, 692 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 693 throws com.liferay.portlet.journal.NoSuchArticleException; 694 695 /** 696 * Returns the first journal article in the ordered set where companyId = ?. 697 * 698 * @param companyId the company ID 699 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 700 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 701 */ 702 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_First( 703 long companyId, 704 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 705 706 /** 707 * Returns the last journal article in the ordered set where companyId = ?. 708 * 709 * @param companyId the company ID 710 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 711 * @return the last matching journal article 712 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 713 */ 714 public com.liferay.portlet.journal.model.JournalArticle findByCompanyId_Last( 715 long companyId, 716 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 717 throws com.liferay.portlet.journal.NoSuchArticleException; 718 719 /** 720 * Returns the last journal article in the ordered set where companyId = ?. 721 * 722 * @param companyId the company ID 723 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 724 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 725 */ 726 public com.liferay.portlet.journal.model.JournalArticle fetchByCompanyId_Last( 727 long companyId, 728 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 729 730 /** 731 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ?. 732 * 733 * @param id the primary key of the current journal article 734 * @param companyId the company ID 735 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 736 * @return the previous, current, and next journal article 737 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 738 */ 739 public com.liferay.portlet.journal.model.JournalArticle[] findByCompanyId_PrevAndNext( 740 long id, long companyId, 741 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 742 throws com.liferay.portlet.journal.NoSuchArticleException; 743 744 /** 745 * Removes all the journal articles where companyId = ? from the database. 746 * 747 * @param companyId the company ID 748 */ 749 public void removeByCompanyId(long companyId); 750 751 /** 752 * Returns the number of journal articles where companyId = ?. 753 * 754 * @param companyId the company ID 755 * @return the number of matching journal articles 756 */ 757 public int countByCompanyId(long companyId); 758 759 /** 760 * Returns all the journal articles where structureId = ?. 761 * 762 * @param structureId the structure ID 763 * @return the matching journal articles 764 */ 765 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 766 java.lang.String structureId); 767 768 /** 769 * Returns a range of all the journal articles where structureId = ?. 770 * 771 * <p> 772 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 773 * </p> 774 * 775 * @param structureId the structure ID 776 * @param start the lower bound of the range of journal articles 777 * @param end the upper bound of the range of journal articles (not inclusive) 778 * @return the range of matching journal articles 779 */ 780 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 781 java.lang.String structureId, int start, int end); 782 783 /** 784 * Returns an ordered range of all the journal articles where structureId = ?. 785 * 786 * <p> 787 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 788 * </p> 789 * 790 * @param structureId the structure ID 791 * @param start the lower bound of the range of journal articles 792 * @param end the upper bound of the range of journal articles (not inclusive) 793 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 794 * @return the ordered range of matching journal articles 795 */ 796 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 797 java.lang.String structureId, int start, int end, 798 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 799 800 /** 801 * Returns the first journal article in the ordered set where structureId = ?. 802 * 803 * @param structureId the structure ID 804 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 805 * @return the first matching journal article 806 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 807 */ 808 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_First( 809 java.lang.String structureId, 810 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 811 throws com.liferay.portlet.journal.NoSuchArticleException; 812 813 /** 814 * Returns the first journal article in the ordered set where structureId = ?. 815 * 816 * @param structureId the structure ID 817 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 818 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 819 */ 820 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_First( 821 java.lang.String structureId, 822 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 823 824 /** 825 * Returns the last journal article in the ordered set where structureId = ?. 826 * 827 * @param structureId the structure ID 828 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 829 * @return the last matching journal article 830 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 831 */ 832 public com.liferay.portlet.journal.model.JournalArticle findByStructureId_Last( 833 java.lang.String structureId, 834 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 835 throws com.liferay.portlet.journal.NoSuchArticleException; 836 837 /** 838 * Returns the last journal article in the ordered set where structureId = ?. 839 * 840 * @param structureId the structure ID 841 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 842 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 843 */ 844 public com.liferay.portlet.journal.model.JournalArticle fetchByStructureId_Last( 845 java.lang.String structureId, 846 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 847 848 /** 849 * Returns the journal articles before and after the current journal article in the ordered set where structureId = ?. 850 * 851 * @param id the primary key of the current journal article 852 * @param structureId the structure ID 853 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 854 * @return the previous, current, and next journal article 855 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 856 */ 857 public com.liferay.portlet.journal.model.JournalArticle[] findByStructureId_PrevAndNext( 858 long id, java.lang.String structureId, 859 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 860 throws com.liferay.portlet.journal.NoSuchArticleException; 861 862 /** 863 * Returns all the journal articles where structureId = any ?. 864 * 865 * <p> 866 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 867 * </p> 868 * 869 * @param structureIds the structure IDs 870 * @return the matching journal articles 871 */ 872 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 873 java.lang.String[] structureIds); 874 875 /** 876 * Returns a range of all the journal articles where structureId = any ?. 877 * 878 * <p> 879 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 880 * </p> 881 * 882 * @param structureIds the structure IDs 883 * @param start the lower bound of the range of journal articles 884 * @param end the upper bound of the range of journal articles (not inclusive) 885 * @return the range of matching journal articles 886 */ 887 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 888 java.lang.String[] structureIds, int start, int end); 889 890 /** 891 * Returns an ordered range of all the journal articles where structureId = any ?. 892 * 893 * <p> 894 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 895 * </p> 896 * 897 * @param structureIds the structure IDs 898 * @param start the lower bound of the range of journal articles 899 * @param end the upper bound of the range of journal articles (not inclusive) 900 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 901 * @return the ordered range of matching journal articles 902 */ 903 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByStructureId( 904 java.lang.String[] structureIds, int start, int end, 905 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 906 907 /** 908 * Removes all the journal articles where structureId = ? from the database. 909 * 910 * @param structureId the structure ID 911 */ 912 public void removeByStructureId(java.lang.String structureId); 913 914 /** 915 * Returns the number of journal articles where structureId = ?. 916 * 917 * @param structureId the structure ID 918 * @return the number of matching journal articles 919 */ 920 public int countByStructureId(java.lang.String structureId); 921 922 /** 923 * Returns the number of journal articles where structureId = any ?. 924 * 925 * @param structureIds the structure IDs 926 * @return the number of matching journal articles 927 */ 928 public int countByStructureId(java.lang.String[] structureIds); 929 930 /** 931 * Returns all the journal articles where templateId = ?. 932 * 933 * @param templateId the template ID 934 * @return the matching journal articles 935 */ 936 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 937 java.lang.String templateId); 938 939 /** 940 * Returns a range of all the journal articles where templateId = ?. 941 * 942 * <p> 943 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 944 * </p> 945 * 946 * @param templateId the template ID 947 * @param start the lower bound of the range of journal articles 948 * @param end the upper bound of the range of journal articles (not inclusive) 949 * @return the range of matching journal articles 950 */ 951 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 952 java.lang.String templateId, int start, int end); 953 954 /** 955 * Returns an ordered range of all the journal articles where templateId = ?. 956 * 957 * <p> 958 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 959 * </p> 960 * 961 * @param templateId the template ID 962 * @param start the lower bound of the range of journal articles 963 * @param end the upper bound of the range of journal articles (not inclusive) 964 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 965 * @return the ordered range of matching journal articles 966 */ 967 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByTemplateId( 968 java.lang.String templateId, int start, int end, 969 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 970 971 /** 972 * Returns the first journal article in the ordered set where templateId = ?. 973 * 974 * @param templateId the template ID 975 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 976 * @return the first matching journal article 977 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 978 */ 979 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_First( 980 java.lang.String templateId, 981 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 982 throws com.liferay.portlet.journal.NoSuchArticleException; 983 984 /** 985 * Returns the first journal article in the ordered set where templateId = ?. 986 * 987 * @param templateId the template ID 988 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 989 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 990 */ 991 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_First( 992 java.lang.String templateId, 993 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 994 995 /** 996 * Returns the last journal article in the ordered set where templateId = ?. 997 * 998 * @param templateId the template ID 999 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1000 * @return the last matching journal article 1001 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1002 */ 1003 public com.liferay.portlet.journal.model.JournalArticle findByTemplateId_Last( 1004 java.lang.String templateId, 1005 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1006 throws com.liferay.portlet.journal.NoSuchArticleException; 1007 1008 /** 1009 * Returns the last journal article in the ordered set where templateId = ?. 1010 * 1011 * @param templateId the template ID 1012 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1013 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1014 */ 1015 public com.liferay.portlet.journal.model.JournalArticle fetchByTemplateId_Last( 1016 java.lang.String templateId, 1017 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1018 1019 /** 1020 * Returns the journal articles before and after the current journal article in the ordered set where templateId = ?. 1021 * 1022 * @param id the primary key of the current journal article 1023 * @param templateId the template ID 1024 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1025 * @return the previous, current, and next journal article 1026 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1027 */ 1028 public com.liferay.portlet.journal.model.JournalArticle[] findByTemplateId_PrevAndNext( 1029 long id, java.lang.String templateId, 1030 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1031 throws com.liferay.portlet.journal.NoSuchArticleException; 1032 1033 /** 1034 * Removes all the journal articles where templateId = ? from the database. 1035 * 1036 * @param templateId the template ID 1037 */ 1038 public void removeByTemplateId(java.lang.String templateId); 1039 1040 /** 1041 * Returns the number of journal articles where templateId = ?. 1042 * 1043 * @param templateId the template ID 1044 * @return the number of matching journal articles 1045 */ 1046 public int countByTemplateId(java.lang.String templateId); 1047 1048 /** 1049 * Returns all the journal articles where layoutUuid = ?. 1050 * 1051 * @param layoutUuid the layout uuid 1052 * @return the matching journal articles 1053 */ 1054 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1055 java.lang.String layoutUuid); 1056 1057 /** 1058 * Returns a range of all the journal articles where layoutUuid = ?. 1059 * 1060 * <p> 1061 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1062 * </p> 1063 * 1064 * @param layoutUuid the layout uuid 1065 * @param start the lower bound of the range of journal articles 1066 * @param end the upper bound of the range of journal articles (not inclusive) 1067 * @return the range of matching journal articles 1068 */ 1069 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1070 java.lang.String layoutUuid, int start, int end); 1071 1072 /** 1073 * Returns an ordered range of all the journal articles where layoutUuid = ?. 1074 * 1075 * <p> 1076 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1077 * </p> 1078 * 1079 * @param layoutUuid the layout uuid 1080 * @param start the lower bound of the range of journal articles 1081 * @param end the upper bound of the range of journal articles (not inclusive) 1082 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1083 * @return the ordered range of matching journal articles 1084 */ 1085 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLayoutUuid( 1086 java.lang.String layoutUuid, int start, int end, 1087 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1088 1089 /** 1090 * Returns the first journal article in the ordered set where layoutUuid = ?. 1091 * 1092 * @param layoutUuid the layout uuid 1093 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1094 * @return the first matching journal article 1095 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1096 */ 1097 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_First( 1098 java.lang.String layoutUuid, 1099 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1100 throws com.liferay.portlet.journal.NoSuchArticleException; 1101 1102 /** 1103 * Returns the first journal article in the ordered set where layoutUuid = ?. 1104 * 1105 * @param layoutUuid the layout uuid 1106 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1107 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1108 */ 1109 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_First( 1110 java.lang.String layoutUuid, 1111 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1112 1113 /** 1114 * Returns the last journal article in the ordered set where layoutUuid = ?. 1115 * 1116 * @param layoutUuid the layout uuid 1117 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1118 * @return the last matching journal article 1119 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1120 */ 1121 public com.liferay.portlet.journal.model.JournalArticle findByLayoutUuid_Last( 1122 java.lang.String layoutUuid, 1123 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1124 throws com.liferay.portlet.journal.NoSuchArticleException; 1125 1126 /** 1127 * Returns the last journal article in the ordered set where layoutUuid = ?. 1128 * 1129 * @param layoutUuid the layout uuid 1130 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1131 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1132 */ 1133 public com.liferay.portlet.journal.model.JournalArticle fetchByLayoutUuid_Last( 1134 java.lang.String layoutUuid, 1135 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1136 1137 /** 1138 * Returns the journal articles before and after the current journal article in the ordered set where layoutUuid = ?. 1139 * 1140 * @param id the primary key of the current journal article 1141 * @param layoutUuid the layout uuid 1142 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1143 * @return the previous, current, and next journal article 1144 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1145 */ 1146 public com.liferay.portlet.journal.model.JournalArticle[] findByLayoutUuid_PrevAndNext( 1147 long id, java.lang.String layoutUuid, 1148 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1149 throws com.liferay.portlet.journal.NoSuchArticleException; 1150 1151 /** 1152 * Removes all the journal articles where layoutUuid = ? from the database. 1153 * 1154 * @param layoutUuid the layout uuid 1155 */ 1156 public void removeByLayoutUuid(java.lang.String layoutUuid); 1157 1158 /** 1159 * Returns the number of journal articles where layoutUuid = ?. 1160 * 1161 * @param layoutUuid the layout uuid 1162 * @return the number of matching journal articles 1163 */ 1164 public int countByLayoutUuid(java.lang.String layoutUuid); 1165 1166 /** 1167 * Returns all the journal articles where smallImageId = ?. 1168 * 1169 * @param smallImageId the small image ID 1170 * @return the matching journal articles 1171 */ 1172 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1173 long smallImageId); 1174 1175 /** 1176 * Returns a range of all the journal articles where smallImageId = ?. 1177 * 1178 * <p> 1179 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1180 * </p> 1181 * 1182 * @param smallImageId the small image ID 1183 * @param start the lower bound of the range of journal articles 1184 * @param end the upper bound of the range of journal articles (not inclusive) 1185 * @return the range of matching journal articles 1186 */ 1187 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1188 long smallImageId, int start, int end); 1189 1190 /** 1191 * Returns an ordered range of all the journal articles where smallImageId = ?. 1192 * 1193 * <p> 1194 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1195 * </p> 1196 * 1197 * @param smallImageId the small image ID 1198 * @param start the lower bound of the range of journal articles 1199 * @param end the upper bound of the range of journal articles (not inclusive) 1200 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1201 * @return the ordered range of matching journal articles 1202 */ 1203 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findBySmallImageId( 1204 long smallImageId, int start, int end, 1205 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1206 1207 /** 1208 * Returns the first journal article in the ordered set where smallImageId = ?. 1209 * 1210 * @param smallImageId the small image ID 1211 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1212 * @return the first matching journal article 1213 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1214 */ 1215 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_First( 1216 long smallImageId, 1217 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1218 throws com.liferay.portlet.journal.NoSuchArticleException; 1219 1220 /** 1221 * Returns the first journal article in the ordered set where smallImageId = ?. 1222 * 1223 * @param smallImageId the small image ID 1224 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1225 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1226 */ 1227 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_First( 1228 long smallImageId, 1229 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1230 1231 /** 1232 * Returns the last journal article in the ordered set where smallImageId = ?. 1233 * 1234 * @param smallImageId the small image ID 1235 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1236 * @return the last matching journal article 1237 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1238 */ 1239 public com.liferay.portlet.journal.model.JournalArticle findBySmallImageId_Last( 1240 long smallImageId, 1241 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1242 throws com.liferay.portlet.journal.NoSuchArticleException; 1243 1244 /** 1245 * Returns the last journal article in the ordered set where smallImageId = ?. 1246 * 1247 * @param smallImageId the small image ID 1248 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1249 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1250 */ 1251 public com.liferay.portlet.journal.model.JournalArticle fetchBySmallImageId_Last( 1252 long smallImageId, 1253 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1254 1255 /** 1256 * Returns the journal articles before and after the current journal article in the ordered set where smallImageId = ?. 1257 * 1258 * @param id the primary key of the current journal article 1259 * @param smallImageId the small image ID 1260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1261 * @return the previous, current, and next journal article 1262 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1263 */ 1264 public com.liferay.portlet.journal.model.JournalArticle[] findBySmallImageId_PrevAndNext( 1265 long id, long smallImageId, 1266 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1267 throws com.liferay.portlet.journal.NoSuchArticleException; 1268 1269 /** 1270 * Removes all the journal articles where smallImageId = ? from the database. 1271 * 1272 * @param smallImageId the small image ID 1273 */ 1274 public void removeBySmallImageId(long smallImageId); 1275 1276 /** 1277 * Returns the number of journal articles where smallImageId = ?. 1278 * 1279 * @param smallImageId the small image ID 1280 * @return the number of matching journal articles 1281 */ 1282 public int countBySmallImageId(long smallImageId); 1283 1284 /** 1285 * Returns all the journal articles where resourcePrimKey = ? and indexable = ?. 1286 * 1287 * @param resourcePrimKey the resource prim key 1288 * @param indexable the indexable 1289 * @return the matching journal articles 1290 */ 1291 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1292 long resourcePrimKey, boolean indexable); 1293 1294 /** 1295 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1296 * 1297 * <p> 1298 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1299 * </p> 1300 * 1301 * @param resourcePrimKey the resource prim key 1302 * @param indexable the indexable 1303 * @param start the lower bound of the range of journal articles 1304 * @param end the upper bound of the range of journal articles (not inclusive) 1305 * @return the range of matching journal articles 1306 */ 1307 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1308 long resourcePrimKey, boolean indexable, int start, int end); 1309 1310 /** 1311 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ?. 1312 * 1313 * <p> 1314 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1315 * </p> 1316 * 1317 * @param resourcePrimKey the resource prim key 1318 * @param indexable the indexable 1319 * @param start the lower bound of the range of journal articles 1320 * @param end the upper bound of the range of journal articles (not inclusive) 1321 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1322 * @return the ordered range of matching journal articles 1323 */ 1324 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I( 1325 long resourcePrimKey, boolean indexable, int start, int end, 1326 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1327 1328 /** 1329 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1330 * 1331 * @param resourcePrimKey the resource prim key 1332 * @param indexable the indexable 1333 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1334 * @return the first matching journal article 1335 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1336 */ 1337 public com.liferay.portlet.journal.model.JournalArticle findByR_I_First( 1338 long resourcePrimKey, boolean indexable, 1339 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1340 throws com.liferay.portlet.journal.NoSuchArticleException; 1341 1342 /** 1343 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1344 * 1345 * @param resourcePrimKey the resource prim key 1346 * @param indexable the indexable 1347 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1348 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1349 */ 1350 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_First( 1351 long resourcePrimKey, boolean indexable, 1352 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1353 1354 /** 1355 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1356 * 1357 * @param resourcePrimKey the resource prim key 1358 * @param indexable the indexable 1359 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1360 * @return the last matching journal article 1361 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1362 */ 1363 public com.liferay.portlet.journal.model.JournalArticle findByR_I_Last( 1364 long resourcePrimKey, boolean indexable, 1365 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1366 throws com.liferay.portlet.journal.NoSuchArticleException; 1367 1368 /** 1369 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1370 * 1371 * @param resourcePrimKey the resource prim key 1372 * @param indexable the indexable 1373 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1374 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1375 */ 1376 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_Last( 1377 long resourcePrimKey, boolean indexable, 1378 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1379 1380 /** 1381 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ?. 1382 * 1383 * @param id the primary key of the current journal article 1384 * @param resourcePrimKey the resource prim key 1385 * @param indexable the indexable 1386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1387 * @return the previous, current, and next journal article 1388 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1389 */ 1390 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_PrevAndNext( 1391 long id, long resourcePrimKey, boolean indexable, 1392 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1393 throws com.liferay.portlet.journal.NoSuchArticleException; 1394 1395 /** 1396 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? from the database. 1397 * 1398 * @param resourcePrimKey the resource prim key 1399 * @param indexable the indexable 1400 */ 1401 public void removeByR_I(long resourcePrimKey, boolean indexable); 1402 1403 /** 1404 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ?. 1405 * 1406 * @param resourcePrimKey the resource prim key 1407 * @param indexable the indexable 1408 * @return the number of matching journal articles 1409 */ 1410 public int countByR_I(long resourcePrimKey, boolean indexable); 1411 1412 /** 1413 * Returns all the journal articles where resourcePrimKey = ? and status = ?. 1414 * 1415 * @param resourcePrimKey the resource prim key 1416 * @param status the status 1417 * @return the matching journal articles 1418 */ 1419 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1420 long resourcePrimKey, int status); 1421 1422 /** 1423 * Returns a range of all the journal articles where resourcePrimKey = ? and status = ?. 1424 * 1425 * <p> 1426 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1427 * </p> 1428 * 1429 * @param resourcePrimKey the resource prim key 1430 * @param status the status 1431 * @param start the lower bound of the range of journal articles 1432 * @param end the upper bound of the range of journal articles (not inclusive) 1433 * @return the range of matching journal articles 1434 */ 1435 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1436 long resourcePrimKey, int status, int start, int end); 1437 1438 /** 1439 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = ?. 1440 * 1441 * <p> 1442 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1443 * </p> 1444 * 1445 * @param resourcePrimKey the resource prim key 1446 * @param status the status 1447 * @param start the lower bound of the range of journal articles 1448 * @param end the upper bound of the range of journal articles (not inclusive) 1449 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1450 * @return the ordered range of matching journal articles 1451 */ 1452 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1453 long resourcePrimKey, int status, int start, int end, 1454 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1455 1456 /** 1457 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1458 * 1459 * @param resourcePrimKey the resource prim key 1460 * @param status the status 1461 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1462 * @return the first matching journal article 1463 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1464 */ 1465 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_First( 1466 long resourcePrimKey, int status, 1467 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1468 throws com.liferay.portlet.journal.NoSuchArticleException; 1469 1470 /** 1471 * Returns the first journal article in the ordered set where resourcePrimKey = ? and status = ?. 1472 * 1473 * @param resourcePrimKey the resource prim key 1474 * @param status the status 1475 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1476 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1477 */ 1478 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_First( 1479 long resourcePrimKey, int status, 1480 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1481 1482 /** 1483 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1484 * 1485 * @param resourcePrimKey the resource prim key 1486 * @param status the status 1487 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1488 * @return the last matching journal article 1489 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1490 */ 1491 public com.liferay.portlet.journal.model.JournalArticle findByR_ST_Last( 1492 long resourcePrimKey, int status, 1493 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1494 throws com.liferay.portlet.journal.NoSuchArticleException; 1495 1496 /** 1497 * Returns the last journal article in the ordered set where resourcePrimKey = ? and status = ?. 1498 * 1499 * @param resourcePrimKey the resource prim key 1500 * @param status the status 1501 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1502 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1503 */ 1504 public com.liferay.portlet.journal.model.JournalArticle fetchByR_ST_Last( 1505 long resourcePrimKey, int status, 1506 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1507 1508 /** 1509 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and status = ?. 1510 * 1511 * @param id the primary key of the current journal article 1512 * @param resourcePrimKey the resource prim key 1513 * @param status the status 1514 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1515 * @return the previous, current, and next journal article 1516 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1517 */ 1518 public com.liferay.portlet.journal.model.JournalArticle[] findByR_ST_PrevAndNext( 1519 long id, long resourcePrimKey, int status, 1520 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1521 throws com.liferay.portlet.journal.NoSuchArticleException; 1522 1523 /** 1524 * Returns all the journal articles where resourcePrimKey = ? and status = any ?. 1525 * 1526 * <p> 1527 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1528 * </p> 1529 * 1530 * @param resourcePrimKey the resource prim key 1531 * @param statuses the statuses 1532 * @return the matching journal articles 1533 */ 1534 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1535 long resourcePrimKey, int[] statuses); 1536 1537 /** 1538 * Returns a range of all the journal articles where resourcePrimKey = ? and status = any ?. 1539 * 1540 * <p> 1541 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1542 * </p> 1543 * 1544 * @param resourcePrimKey the resource prim key 1545 * @param statuses the statuses 1546 * @param start the lower bound of the range of journal articles 1547 * @param end the upper bound of the range of journal articles (not inclusive) 1548 * @return the range of matching journal articles 1549 */ 1550 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1551 long resourcePrimKey, int[] statuses, int start, int end); 1552 1553 /** 1554 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and status = any ?. 1555 * 1556 * <p> 1557 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1558 * </p> 1559 * 1560 * @param resourcePrimKey the resource prim key 1561 * @param statuses the statuses 1562 * @param start the lower bound of the range of journal articles 1563 * @param end the upper bound of the range of journal articles (not inclusive) 1564 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1565 * @return the ordered range of matching journal articles 1566 */ 1567 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_ST( 1568 long resourcePrimKey, int[] statuses, int start, int end, 1569 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1570 1571 /** 1572 * Removes all the journal articles where resourcePrimKey = ? and status = ? from the database. 1573 * 1574 * @param resourcePrimKey the resource prim key 1575 * @param status the status 1576 */ 1577 public void removeByR_ST(long resourcePrimKey, int status); 1578 1579 /** 1580 * Returns the number of journal articles where resourcePrimKey = ? and status = ?. 1581 * 1582 * @param resourcePrimKey the resource prim key 1583 * @param status the status 1584 * @return the number of matching journal articles 1585 */ 1586 public int countByR_ST(long resourcePrimKey, int status); 1587 1588 /** 1589 * Returns the number of journal articles where resourcePrimKey = ? and status = any ?. 1590 * 1591 * @param resourcePrimKey the resource prim key 1592 * @param statuses the statuses 1593 * @return the number of matching journal articles 1594 */ 1595 public int countByR_ST(long resourcePrimKey, int[] statuses); 1596 1597 /** 1598 * Returns all the journal articles where groupId = ? and userId = ?. 1599 * 1600 * @param groupId the group ID 1601 * @param userId the user ID 1602 * @return the matching journal articles 1603 */ 1604 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1605 long groupId, long userId); 1606 1607 /** 1608 * Returns a range of all the journal articles where groupId = ? and userId = ?. 1609 * 1610 * <p> 1611 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1612 * </p> 1613 * 1614 * @param groupId the group ID 1615 * @param userId the user ID 1616 * @param start the lower bound of the range of journal articles 1617 * @param end the upper bound of the range of journal articles (not inclusive) 1618 * @return the range of matching journal articles 1619 */ 1620 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1621 long groupId, long userId, int start, int end); 1622 1623 /** 1624 * Returns an ordered range of all the journal articles where groupId = ? and userId = ?. 1625 * 1626 * <p> 1627 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1628 * </p> 1629 * 1630 * @param groupId the group ID 1631 * @param userId the user ID 1632 * @param start the lower bound of the range of journal articles 1633 * @param end the upper bound of the range of journal articles (not inclusive) 1634 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1635 * @return the ordered range of matching journal articles 1636 */ 1637 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U( 1638 long groupId, long userId, int start, int end, 1639 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1640 1641 /** 1642 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1643 * 1644 * @param groupId the group ID 1645 * @param userId the user ID 1646 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1647 * @return the first matching journal article 1648 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1649 */ 1650 public com.liferay.portlet.journal.model.JournalArticle findByG_U_First( 1651 long groupId, long userId, 1652 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1653 throws com.liferay.portlet.journal.NoSuchArticleException; 1654 1655 /** 1656 * Returns the first journal article in the ordered set where groupId = ? and userId = ?. 1657 * 1658 * @param groupId the group ID 1659 * @param userId the user ID 1660 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1661 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1662 */ 1663 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_First( 1664 long groupId, long userId, 1665 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1666 1667 /** 1668 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1669 * 1670 * @param groupId the group ID 1671 * @param userId the user ID 1672 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1673 * @return the last matching journal article 1674 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1675 */ 1676 public com.liferay.portlet.journal.model.JournalArticle findByG_U_Last( 1677 long groupId, long userId, 1678 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1679 throws com.liferay.portlet.journal.NoSuchArticleException; 1680 1681 /** 1682 * Returns the last journal article in the ordered set where groupId = ? and userId = ?. 1683 * 1684 * @param groupId the group ID 1685 * @param userId the user ID 1686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1687 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1688 */ 1689 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_Last( 1690 long groupId, long userId, 1691 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1692 1693 /** 1694 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ?. 1695 * 1696 * @param id the primary key of the current journal article 1697 * @param groupId the group ID 1698 * @param userId the user ID 1699 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1700 * @return the previous, current, and next journal article 1701 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1702 */ 1703 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_PrevAndNext( 1704 long id, long groupId, long userId, 1705 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1706 throws com.liferay.portlet.journal.NoSuchArticleException; 1707 1708 /** 1709 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1710 * 1711 * @param groupId the group ID 1712 * @param userId the user ID 1713 * @return the matching journal articles that the user has permission to view 1714 */ 1715 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1716 long groupId, long userId); 1717 1718 /** 1719 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ?. 1720 * 1721 * <p> 1722 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1723 * </p> 1724 * 1725 * @param groupId the group ID 1726 * @param userId the user ID 1727 * @param start the lower bound of the range of journal articles 1728 * @param end the upper bound of the range of journal articles (not inclusive) 1729 * @return the range of matching journal articles that the user has permission to view 1730 */ 1731 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1732 long groupId, long userId, int start, int end); 1733 1734 /** 1735 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ?. 1736 * 1737 * <p> 1738 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1739 * </p> 1740 * 1741 * @param groupId the group ID 1742 * @param userId the user ID 1743 * @param start the lower bound of the range of journal articles 1744 * @param end the upper bound of the range of journal articles (not inclusive) 1745 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1746 * @return the ordered range of matching journal articles that the user has permission to view 1747 */ 1748 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U( 1749 long groupId, long userId, int start, int end, 1750 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1751 1752 /** 1753 * 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 = ?. 1754 * 1755 * @param id the primary key of the current journal article 1756 * @param groupId the group ID 1757 * @param userId the user ID 1758 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1759 * @return the previous, current, and next journal article 1760 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1761 */ 1762 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_PrevAndNext( 1763 long id, long groupId, long userId, 1764 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1765 throws com.liferay.portlet.journal.NoSuchArticleException; 1766 1767 /** 1768 * Removes all the journal articles where groupId = ? and userId = ? from the database. 1769 * 1770 * @param groupId the group ID 1771 * @param userId the user ID 1772 */ 1773 public void removeByG_U(long groupId, long userId); 1774 1775 /** 1776 * Returns the number of journal articles where groupId = ? and userId = ?. 1777 * 1778 * @param groupId the group ID 1779 * @param userId the user ID 1780 * @return the number of matching journal articles 1781 */ 1782 public int countByG_U(long groupId, long userId); 1783 1784 /** 1785 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ?. 1786 * 1787 * @param groupId the group ID 1788 * @param userId the user ID 1789 * @return the number of matching journal articles that the user has permission to view 1790 */ 1791 public int filterCountByG_U(long groupId, long userId); 1792 1793 /** 1794 * Returns all the journal articles where groupId = ? and folderId = ?. 1795 * 1796 * @param groupId the group ID 1797 * @param folderId the folder ID 1798 * @return the matching journal articles 1799 */ 1800 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1801 long groupId, long folderId); 1802 1803 /** 1804 * Returns a range of all the journal articles where groupId = ? and folderId = ?. 1805 * 1806 * <p> 1807 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1808 * </p> 1809 * 1810 * @param groupId the group ID 1811 * @param folderId the folder ID 1812 * @param start the lower bound of the range of journal articles 1813 * @param end the upper bound of the range of journal articles (not inclusive) 1814 * @return the range of matching journal articles 1815 */ 1816 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1817 long groupId, long folderId, int start, int end); 1818 1819 /** 1820 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ?. 1821 * 1822 * <p> 1823 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1824 * </p> 1825 * 1826 * @param groupId the group ID 1827 * @param folderId the folder ID 1828 * @param start the lower bound of the range of journal articles 1829 * @param end the upper bound of the range of journal articles (not inclusive) 1830 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1831 * @return the ordered range of matching journal articles 1832 */ 1833 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 1834 long groupId, long folderId, int start, int end, 1835 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1836 1837 /** 1838 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 1839 * 1840 * @param groupId the group ID 1841 * @param folderId the folder ID 1842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1843 * @return the first matching journal article 1844 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1845 */ 1846 public com.liferay.portlet.journal.model.JournalArticle findByG_F_First( 1847 long groupId, long folderId, 1848 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1849 throws com.liferay.portlet.journal.NoSuchArticleException; 1850 1851 /** 1852 * Returns the first journal article in the ordered set where groupId = ? and folderId = ?. 1853 * 1854 * @param groupId the group ID 1855 * @param folderId the folder ID 1856 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1857 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 1858 */ 1859 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_First( 1860 long groupId, long folderId, 1861 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1862 1863 /** 1864 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 1865 * 1866 * @param groupId the group ID 1867 * @param folderId the folder ID 1868 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1869 * @return the last matching journal article 1870 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 1871 */ 1872 public com.liferay.portlet.journal.model.JournalArticle findByG_F_Last( 1873 long groupId, long folderId, 1874 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1875 throws com.liferay.portlet.journal.NoSuchArticleException; 1876 1877 /** 1878 * Returns the last journal article in the ordered set where groupId = ? and folderId = ?. 1879 * 1880 * @param groupId the group ID 1881 * @param folderId the folder ID 1882 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1883 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 1884 */ 1885 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_Last( 1886 long groupId, long folderId, 1887 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1888 1889 /** 1890 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ?. 1891 * 1892 * @param id the primary key of the current journal article 1893 * @param groupId the group ID 1894 * @param folderId the folder ID 1895 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1896 * @return the previous, current, and next journal article 1897 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1898 */ 1899 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_PrevAndNext( 1900 long id, long groupId, long folderId, 1901 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1902 throws com.liferay.portlet.journal.NoSuchArticleException; 1903 1904 /** 1905 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 1906 * 1907 * @param groupId the group ID 1908 * @param folderId the folder ID 1909 * @return the matching journal articles that the user has permission to view 1910 */ 1911 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1912 long groupId, long folderId); 1913 1914 /** 1915 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ?. 1916 * 1917 * <p> 1918 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1919 * </p> 1920 * 1921 * @param groupId the group ID 1922 * @param folderId the folder ID 1923 * @param start the lower bound of the range of journal articles 1924 * @param end the upper bound of the range of journal articles (not inclusive) 1925 * @return the range of matching journal articles that the user has permission to view 1926 */ 1927 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1928 long groupId, long folderId, int start, int end); 1929 1930 /** 1931 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ?. 1932 * 1933 * <p> 1934 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1935 * </p> 1936 * 1937 * @param groupId the group ID 1938 * @param folderId the folder ID 1939 * @param start the lower bound of the range of journal articles 1940 * @param end the upper bound of the range of journal articles (not inclusive) 1941 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1942 * @return the ordered range of matching journal articles that the user has permission to view 1943 */ 1944 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1945 long groupId, long folderId, int start, int end, 1946 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 1947 1948 /** 1949 * 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 = ?. 1950 * 1951 * @param id the primary key of the current journal article 1952 * @param groupId the group ID 1953 * @param folderId the folder ID 1954 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1955 * @return the previous, current, and next journal article 1956 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 1957 */ 1958 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_PrevAndNext( 1959 long id, long groupId, long folderId, 1960 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 1961 throws com.liferay.portlet.journal.NoSuchArticleException; 1962 1963 /** 1964 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1965 * 1966 * @param groupId the group ID 1967 * @param folderIds the folder IDs 1968 * @return the matching journal articles that the user has permission to view 1969 */ 1970 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1971 long groupId, long[] folderIds); 1972 1973 /** 1974 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1975 * 1976 * <p> 1977 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1978 * </p> 1979 * 1980 * @param groupId the group ID 1981 * @param folderIds the folder IDs 1982 * @param start the lower bound of the range of journal articles 1983 * @param end the upper bound of the range of journal articles (not inclusive) 1984 * @return the range of matching journal articles that the user has permission to view 1985 */ 1986 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 1987 long groupId, long[] folderIds, int start, int end); 1988 1989 /** 1990 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = any ?. 1991 * 1992 * <p> 1993 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1994 * </p> 1995 * 1996 * @param groupId the group ID 1997 * @param folderIds the folder IDs 1998 * @param start the lower bound of the range of journal articles 1999 * @param end the upper bound of the range of journal articles (not inclusive) 2000 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2001 * @return the ordered range of matching journal articles that the user has permission to view 2002 */ 2003 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F( 2004 long groupId, long[] folderIds, int start, int end, 2005 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2006 2007 /** 2008 * Returns all the journal articles where groupId = ? and folderId = any ?. 2009 * 2010 * <p> 2011 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2012 * </p> 2013 * 2014 * @param groupId the group ID 2015 * @param folderIds the folder IDs 2016 * @return the matching journal articles 2017 */ 2018 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2019 long groupId, long[] folderIds); 2020 2021 /** 2022 * Returns a range of all the journal articles where groupId = ? and folderId = any ?. 2023 * 2024 * <p> 2025 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2026 * </p> 2027 * 2028 * @param groupId the group ID 2029 * @param folderIds the folder IDs 2030 * @param start the lower bound of the range of journal articles 2031 * @param end the upper bound of the range of journal articles (not inclusive) 2032 * @return the range of matching journal articles 2033 */ 2034 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2035 long groupId, long[] folderIds, int start, int end); 2036 2037 /** 2038 * Returns an ordered range of all the journal articles where groupId = ? and folderId = any ?. 2039 * 2040 * <p> 2041 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2042 * </p> 2043 * 2044 * @param groupId the group ID 2045 * @param folderIds the folder IDs 2046 * @param start the lower bound of the range of journal articles 2047 * @param end the upper bound of the range of journal articles (not inclusive) 2048 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2049 * @return the ordered range of matching journal articles 2050 */ 2051 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F( 2052 long groupId, long[] folderIds, int start, int end, 2053 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2054 2055 /** 2056 * Removes all the journal articles where groupId = ? and folderId = ? from the database. 2057 * 2058 * @param groupId the group ID 2059 * @param folderId the folder ID 2060 */ 2061 public void removeByG_F(long groupId, long folderId); 2062 2063 /** 2064 * Returns the number of journal articles where groupId = ? and folderId = ?. 2065 * 2066 * @param groupId the group ID 2067 * @param folderId the folder ID 2068 * @return the number of matching journal articles 2069 */ 2070 public int countByG_F(long groupId, long folderId); 2071 2072 /** 2073 * Returns the number of journal articles where groupId = ? and folderId = any ?. 2074 * 2075 * @param groupId the group ID 2076 * @param folderIds the folder IDs 2077 * @return the number of matching journal articles 2078 */ 2079 public int countByG_F(long groupId, long[] folderIds); 2080 2081 /** 2082 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ?. 2083 * 2084 * @param groupId the group ID 2085 * @param folderId the folder ID 2086 * @return the number of matching journal articles that the user has permission to view 2087 */ 2088 public int filterCountByG_F(long groupId, long folderId); 2089 2090 /** 2091 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = any ?. 2092 * 2093 * @param groupId the group ID 2094 * @param folderIds the folder IDs 2095 * @return the number of matching journal articles that the user has permission to view 2096 */ 2097 public int filterCountByG_F(long groupId, long[] folderIds); 2098 2099 /** 2100 * Returns all the journal articles where groupId = ? and articleId = ?. 2101 * 2102 * @param groupId the group ID 2103 * @param articleId the article ID 2104 * @return the matching journal articles 2105 */ 2106 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2107 long groupId, java.lang.String articleId); 2108 2109 /** 2110 * Returns a range of all the journal articles where groupId = ? and articleId = ?. 2111 * 2112 * <p> 2113 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2114 * </p> 2115 * 2116 * @param groupId the group ID 2117 * @param articleId the article ID 2118 * @param start the lower bound of the range of journal articles 2119 * @param end the upper bound of the range of journal articles (not inclusive) 2120 * @return the range of matching journal articles 2121 */ 2122 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2123 long groupId, java.lang.String articleId, int start, int end); 2124 2125 /** 2126 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ?. 2127 * 2128 * <p> 2129 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2130 * </p> 2131 * 2132 * @param groupId the group ID 2133 * @param articleId the article ID 2134 * @param start the lower bound of the range of journal articles 2135 * @param end the upper bound of the range of journal articles (not inclusive) 2136 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2137 * @return the ordered range of matching journal articles 2138 */ 2139 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A( 2140 long groupId, java.lang.String articleId, int start, int end, 2141 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2142 2143 /** 2144 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2145 * 2146 * @param groupId the group ID 2147 * @param articleId the article ID 2148 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2149 * @return the first matching journal article 2150 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2151 */ 2152 public com.liferay.portlet.journal.model.JournalArticle findByG_A_First( 2153 long groupId, java.lang.String articleId, 2154 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2155 throws com.liferay.portlet.journal.NoSuchArticleException; 2156 2157 /** 2158 * Returns the first journal article in the ordered set where groupId = ? and articleId = ?. 2159 * 2160 * @param groupId the group ID 2161 * @param articleId the article ID 2162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2163 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2164 */ 2165 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_First( 2166 long groupId, java.lang.String articleId, 2167 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2168 2169 /** 2170 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2171 * 2172 * @param groupId the group ID 2173 * @param articleId the article ID 2174 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2175 * @return the last matching journal article 2176 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2177 */ 2178 public com.liferay.portlet.journal.model.JournalArticle findByG_A_Last( 2179 long groupId, java.lang.String articleId, 2180 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2181 throws com.liferay.portlet.journal.NoSuchArticleException; 2182 2183 /** 2184 * Returns the last journal article in the ordered set where groupId = ? and articleId = ?. 2185 * 2186 * @param groupId the group ID 2187 * @param articleId the article ID 2188 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2189 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2190 */ 2191 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_Last( 2192 long groupId, java.lang.String articleId, 2193 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2194 2195 /** 2196 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ?. 2197 * 2198 * @param id the primary key of the current journal article 2199 * @param groupId the group ID 2200 * @param articleId the article ID 2201 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2202 * @return the previous, current, and next journal article 2203 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2204 */ 2205 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_PrevAndNext( 2206 long id, long groupId, java.lang.String articleId, 2207 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2208 throws com.liferay.portlet.journal.NoSuchArticleException; 2209 2210 /** 2211 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2212 * 2213 * @param groupId the group ID 2214 * @param articleId the article ID 2215 * @return the matching journal articles that the user has permission to view 2216 */ 2217 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2218 long groupId, java.lang.String articleId); 2219 2220 /** 2221 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ?. 2222 * 2223 * <p> 2224 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2225 * </p> 2226 * 2227 * @param groupId the group ID 2228 * @param articleId the article ID 2229 * @param start the lower bound of the range of journal articles 2230 * @param end the upper bound of the range of journal articles (not inclusive) 2231 * @return the range of matching journal articles that the user has permission to view 2232 */ 2233 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2234 long groupId, java.lang.String articleId, int start, int end); 2235 2236 /** 2237 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ?. 2238 * 2239 * <p> 2240 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2241 * </p> 2242 * 2243 * @param groupId the group ID 2244 * @param articleId the article ID 2245 * @param start the lower bound of the range of journal articles 2246 * @param end the upper bound of the range of journal articles (not inclusive) 2247 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2248 * @return the ordered range of matching journal articles that the user has permission to view 2249 */ 2250 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A( 2251 long groupId, java.lang.String articleId, int start, int end, 2252 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2253 2254 /** 2255 * 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 = ?. 2256 * 2257 * @param id the primary key of the current journal article 2258 * @param groupId the group ID 2259 * @param articleId the article ID 2260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2261 * @return the previous, current, and next journal article 2262 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2263 */ 2264 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_PrevAndNext( 2265 long id, long groupId, java.lang.String articleId, 2266 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2267 throws com.liferay.portlet.journal.NoSuchArticleException; 2268 2269 /** 2270 * Removes all the journal articles where groupId = ? and articleId = ? from the database. 2271 * 2272 * @param groupId the group ID 2273 * @param articleId the article ID 2274 */ 2275 public void removeByG_A(long groupId, java.lang.String articleId); 2276 2277 /** 2278 * Returns the number of journal articles where groupId = ? and articleId = ?. 2279 * 2280 * @param groupId the group ID 2281 * @param articleId the article ID 2282 * @return the number of matching journal articles 2283 */ 2284 public int countByG_A(long groupId, java.lang.String articleId); 2285 2286 /** 2287 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ?. 2288 * 2289 * @param groupId the group ID 2290 * @param articleId the article ID 2291 * @return the number of matching journal articles that the user has permission to view 2292 */ 2293 public int filterCountByG_A(long groupId, java.lang.String articleId); 2294 2295 /** 2296 * Returns all the journal articles where groupId = ? and urlTitle = ?. 2297 * 2298 * @param groupId the group ID 2299 * @param urlTitle the url title 2300 * @return the matching journal articles 2301 */ 2302 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2303 long groupId, java.lang.String urlTitle); 2304 2305 /** 2306 * Returns a range of all the journal articles where groupId = ? and urlTitle = ?. 2307 * 2308 * <p> 2309 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2310 * </p> 2311 * 2312 * @param groupId the group ID 2313 * @param urlTitle the url title 2314 * @param start the lower bound of the range of journal articles 2315 * @param end the upper bound of the range of journal articles (not inclusive) 2316 * @return the range of matching journal articles 2317 */ 2318 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2319 long groupId, java.lang.String urlTitle, int start, int end); 2320 2321 /** 2322 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ?. 2323 * 2324 * <p> 2325 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2326 * </p> 2327 * 2328 * @param groupId the group ID 2329 * @param urlTitle the url title 2330 * @param start the lower bound of the range of journal articles 2331 * @param end the upper bound of the range of journal articles (not inclusive) 2332 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2333 * @return the ordered range of matching journal articles 2334 */ 2335 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT( 2336 long groupId, java.lang.String urlTitle, int start, int end, 2337 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2338 2339 /** 2340 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2341 * 2342 * @param groupId the group ID 2343 * @param urlTitle the url title 2344 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2345 * @return the first matching journal article 2346 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2347 */ 2348 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_First( 2349 long groupId, java.lang.String urlTitle, 2350 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2351 throws com.liferay.portlet.journal.NoSuchArticleException; 2352 2353 /** 2354 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ?. 2355 * 2356 * @param groupId the group ID 2357 * @param urlTitle the url title 2358 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2359 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2360 */ 2361 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_First( 2362 long groupId, java.lang.String urlTitle, 2363 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2364 2365 /** 2366 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2367 * 2368 * @param groupId the group ID 2369 * @param urlTitle the url title 2370 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2371 * @return the last matching journal article 2372 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2373 */ 2374 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_Last( 2375 long groupId, java.lang.String urlTitle, 2376 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2377 throws com.liferay.portlet.journal.NoSuchArticleException; 2378 2379 /** 2380 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ?. 2381 * 2382 * @param groupId the group ID 2383 * @param urlTitle the url title 2384 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2385 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2386 */ 2387 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_Last( 2388 long groupId, java.lang.String urlTitle, 2389 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2390 2391 /** 2392 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ?. 2393 * 2394 * @param id the primary key of the current journal article 2395 * @param groupId the group ID 2396 * @param urlTitle the url title 2397 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2398 * @return the previous, current, and next journal article 2399 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2400 */ 2401 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_PrevAndNext( 2402 long id, long groupId, java.lang.String urlTitle, 2403 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2404 throws com.liferay.portlet.journal.NoSuchArticleException; 2405 2406 /** 2407 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2408 * 2409 * @param groupId the group ID 2410 * @param urlTitle the url title 2411 * @return the matching journal articles that the user has permission to view 2412 */ 2413 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2414 long groupId, java.lang.String urlTitle); 2415 2416 /** 2417 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 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 urlTitle the url title 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 * @return the range of matching journal articles that the user has permission to view 2428 */ 2429 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2430 long groupId, java.lang.String urlTitle, int start, int end); 2431 2432 /** 2433 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ?. 2434 * 2435 * <p> 2436 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2437 * </p> 2438 * 2439 * @param groupId the group ID 2440 * @param urlTitle the url title 2441 * @param start the lower bound of the range of journal articles 2442 * @param end the upper bound of the range of journal articles (not inclusive) 2443 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2444 * @return the ordered range of matching journal articles that the user has permission to view 2445 */ 2446 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT( 2447 long groupId, java.lang.String urlTitle, int start, int end, 2448 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2449 2450 /** 2451 * 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 = ?. 2452 * 2453 * @param id the primary key of the current journal article 2454 * @param groupId the group ID 2455 * @param urlTitle the url title 2456 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2457 * @return the previous, current, and next journal article 2458 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2459 */ 2460 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_PrevAndNext( 2461 long id, long groupId, java.lang.String urlTitle, 2462 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2463 throws com.liferay.portlet.journal.NoSuchArticleException; 2464 2465 /** 2466 * Removes all the journal articles where groupId = ? and urlTitle = ? from the database. 2467 * 2468 * @param groupId the group ID 2469 * @param urlTitle the url title 2470 */ 2471 public void removeByG_UT(long groupId, java.lang.String urlTitle); 2472 2473 /** 2474 * Returns the number of journal articles where groupId = ? and urlTitle = ?. 2475 * 2476 * @param groupId the group ID 2477 * @param urlTitle the url title 2478 * @return the number of matching journal articles 2479 */ 2480 public int countByG_UT(long groupId, java.lang.String urlTitle); 2481 2482 /** 2483 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ?. 2484 * 2485 * @param groupId the group ID 2486 * @param urlTitle the url title 2487 * @return the number of matching journal articles that the user has permission to view 2488 */ 2489 public int filterCountByG_UT(long groupId, java.lang.String urlTitle); 2490 2491 /** 2492 * Returns all the journal articles where groupId = ? and structureId = ?. 2493 * 2494 * @param groupId the group ID 2495 * @param structureId the structure ID 2496 * @return the matching journal articles 2497 */ 2498 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2499 long groupId, java.lang.String structureId); 2500 2501 /** 2502 * Returns a range of all the journal articles where groupId = ? and structureId = ?. 2503 * 2504 * <p> 2505 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2506 * </p> 2507 * 2508 * @param groupId the group ID 2509 * @param structureId the structure ID 2510 * @param start the lower bound of the range of journal articles 2511 * @param end the upper bound of the range of journal articles (not inclusive) 2512 * @return the range of matching journal articles 2513 */ 2514 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2515 long groupId, java.lang.String structureId, int start, int end); 2516 2517 /** 2518 * Returns an ordered range of all the journal articles where groupId = ? and structureId = ?. 2519 * 2520 * <p> 2521 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2522 * </p> 2523 * 2524 * @param groupId the group ID 2525 * @param structureId the structure ID 2526 * @param start the lower bound of the range of journal articles 2527 * @param end the upper bound of the range of journal articles (not inclusive) 2528 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2529 * @return the ordered range of matching journal articles 2530 */ 2531 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_S( 2532 long groupId, java.lang.String structureId, int start, int end, 2533 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2534 2535 /** 2536 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2537 * 2538 * @param groupId the group ID 2539 * @param structureId the structure ID 2540 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2541 * @return the first matching journal article 2542 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2543 */ 2544 public com.liferay.portlet.journal.model.JournalArticle findByG_S_First( 2545 long groupId, java.lang.String structureId, 2546 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2547 throws com.liferay.portlet.journal.NoSuchArticleException; 2548 2549 /** 2550 * Returns the first journal article in the ordered set where groupId = ? and structureId = ?. 2551 * 2552 * @param groupId the group ID 2553 * @param structureId the structure ID 2554 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2555 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2556 */ 2557 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_First( 2558 long groupId, java.lang.String structureId, 2559 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2560 2561 /** 2562 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2563 * 2564 * @param groupId the group ID 2565 * @param structureId the structure ID 2566 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2567 * @return the last matching journal article 2568 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2569 */ 2570 public com.liferay.portlet.journal.model.JournalArticle findByG_S_Last( 2571 long groupId, java.lang.String structureId, 2572 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2573 throws com.liferay.portlet.journal.NoSuchArticleException; 2574 2575 /** 2576 * Returns the last journal article in the ordered set where groupId = ? and structureId = ?. 2577 * 2578 * @param groupId the group ID 2579 * @param structureId the structure ID 2580 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2581 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2582 */ 2583 public com.liferay.portlet.journal.model.JournalArticle fetchByG_S_Last( 2584 long groupId, java.lang.String structureId, 2585 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2586 2587 /** 2588 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and structureId = ?. 2589 * 2590 * @param id the primary key of the current journal article 2591 * @param groupId the group ID 2592 * @param structureId the structure ID 2593 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2594 * @return the previous, current, and next journal article 2595 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2596 */ 2597 public com.liferay.portlet.journal.model.JournalArticle[] findByG_S_PrevAndNext( 2598 long id, long groupId, java.lang.String structureId, 2599 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2600 throws com.liferay.portlet.journal.NoSuchArticleException; 2601 2602 /** 2603 * Returns all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2604 * 2605 * @param groupId the group ID 2606 * @param structureId the structure ID 2607 * @return the matching journal articles that the user has permission to view 2608 */ 2609 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2610 long groupId, java.lang.String structureId); 2611 2612 /** 2613 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and structureId = ?. 2614 * 2615 * <p> 2616 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2617 * </p> 2618 * 2619 * @param groupId the group ID 2620 * @param structureId the structure ID 2621 * @param start the lower bound of the range of journal articles 2622 * @param end the upper bound of the range of journal articles (not inclusive) 2623 * @return the range of matching journal articles that the user has permission to view 2624 */ 2625 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2626 long groupId, java.lang.String structureId, int start, int end); 2627 2628 /** 2629 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and structureId = ?. 2630 * 2631 * <p> 2632 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2633 * </p> 2634 * 2635 * @param groupId the group ID 2636 * @param structureId the structure ID 2637 * @param start the lower bound of the range of journal articles 2638 * @param end the upper bound of the range of journal articles (not inclusive) 2639 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2640 * @return the ordered range of matching journal articles that the user has permission to view 2641 */ 2642 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_S( 2643 long groupId, java.lang.String structureId, int start, int end, 2644 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2645 2646 /** 2647 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and structureId = ?. 2648 * 2649 * @param id the primary key of the current journal article 2650 * @param groupId the group ID 2651 * @param structureId the structure ID 2652 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2653 * @return the previous, current, and next journal article 2654 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2655 */ 2656 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_S_PrevAndNext( 2657 long id, long groupId, java.lang.String structureId, 2658 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2659 throws com.liferay.portlet.journal.NoSuchArticleException; 2660 2661 /** 2662 * Removes all the journal articles where groupId = ? and structureId = ? from the database. 2663 * 2664 * @param groupId the group ID 2665 * @param structureId the structure ID 2666 */ 2667 public void removeByG_S(long groupId, java.lang.String structureId); 2668 2669 /** 2670 * Returns the number of journal articles where groupId = ? and structureId = ?. 2671 * 2672 * @param groupId the group ID 2673 * @param structureId the structure ID 2674 * @return the number of matching journal articles 2675 */ 2676 public int countByG_S(long groupId, java.lang.String structureId); 2677 2678 /** 2679 * Returns the number of journal articles that the user has permission to view where groupId = ? and structureId = ?. 2680 * 2681 * @param groupId the group ID 2682 * @param structureId the structure ID 2683 * @return the number of matching journal articles that the user has permission to view 2684 */ 2685 public int filterCountByG_S(long groupId, java.lang.String structureId); 2686 2687 /** 2688 * Returns all the journal articles where groupId = ? and templateId = ?. 2689 * 2690 * @param groupId the group ID 2691 * @param templateId the template ID 2692 * @return the matching journal articles 2693 */ 2694 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2695 long groupId, java.lang.String templateId); 2696 2697 /** 2698 * Returns a range of all the journal articles where groupId = ? and templateId = ?. 2699 * 2700 * <p> 2701 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2702 * </p> 2703 * 2704 * @param groupId the group ID 2705 * @param templateId the template ID 2706 * @param start the lower bound of the range of journal articles 2707 * @param end the upper bound of the range of journal articles (not inclusive) 2708 * @return the range of matching journal articles 2709 */ 2710 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2711 long groupId, java.lang.String templateId, int start, int end); 2712 2713 /** 2714 * Returns an ordered range of all the journal articles where groupId = ? and templateId = ?. 2715 * 2716 * <p> 2717 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2718 * </p> 2719 * 2720 * @param groupId the group ID 2721 * @param templateId the template ID 2722 * @param start the lower bound of the range of journal articles 2723 * @param end the upper bound of the range of journal articles (not inclusive) 2724 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2725 * @return the ordered range of matching journal articles 2726 */ 2727 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_T( 2728 long groupId, java.lang.String templateId, int start, int end, 2729 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2730 2731 /** 2732 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 2733 * 2734 * @param groupId the group ID 2735 * @param templateId the template ID 2736 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2737 * @return the first matching journal article 2738 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2739 */ 2740 public com.liferay.portlet.journal.model.JournalArticle findByG_T_First( 2741 long groupId, java.lang.String templateId, 2742 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2743 throws com.liferay.portlet.journal.NoSuchArticleException; 2744 2745 /** 2746 * Returns the first journal article in the ordered set where groupId = ? and templateId = ?. 2747 * 2748 * @param groupId the group ID 2749 * @param templateId the template ID 2750 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2751 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2752 */ 2753 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_First( 2754 long groupId, java.lang.String templateId, 2755 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2756 2757 /** 2758 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 2759 * 2760 * @param groupId the group ID 2761 * @param templateId the template ID 2762 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2763 * @return the last matching journal article 2764 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2765 */ 2766 public com.liferay.portlet.journal.model.JournalArticle findByG_T_Last( 2767 long groupId, java.lang.String templateId, 2768 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2769 throws com.liferay.portlet.journal.NoSuchArticleException; 2770 2771 /** 2772 * Returns the last journal article in the ordered set where groupId = ? and templateId = ?. 2773 * 2774 * @param groupId the group ID 2775 * @param templateId the template ID 2776 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2777 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2778 */ 2779 public com.liferay.portlet.journal.model.JournalArticle fetchByG_T_Last( 2780 long groupId, java.lang.String templateId, 2781 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2782 2783 /** 2784 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and templateId = ?. 2785 * 2786 * @param id the primary key of the current journal article 2787 * @param groupId the group ID 2788 * @param templateId the template ID 2789 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2790 * @return the previous, current, and next journal article 2791 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2792 */ 2793 public com.liferay.portlet.journal.model.JournalArticle[] findByG_T_PrevAndNext( 2794 long id, long groupId, java.lang.String templateId, 2795 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2796 throws com.liferay.portlet.journal.NoSuchArticleException; 2797 2798 /** 2799 * Returns all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 2800 * 2801 * @param groupId the group ID 2802 * @param templateId the template ID 2803 * @return the matching journal articles that the user has permission to view 2804 */ 2805 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2806 long groupId, java.lang.String templateId); 2807 2808 /** 2809 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and templateId = ?. 2810 * 2811 * <p> 2812 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2813 * </p> 2814 * 2815 * @param groupId the group ID 2816 * @param templateId the template ID 2817 * @param start the lower bound of the range of journal articles 2818 * @param end the upper bound of the range of journal articles (not inclusive) 2819 * @return the range of matching journal articles that the user has permission to view 2820 */ 2821 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2822 long groupId, java.lang.String templateId, int start, int end); 2823 2824 /** 2825 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and templateId = ?. 2826 * 2827 * <p> 2828 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2829 * </p> 2830 * 2831 * @param groupId the group ID 2832 * @param templateId the template ID 2833 * @param start the lower bound of the range of journal articles 2834 * @param end the upper bound of the range of journal articles (not inclusive) 2835 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2836 * @return the ordered range of matching journal articles that the user has permission to view 2837 */ 2838 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_T( 2839 long groupId, java.lang.String templateId, int start, int end, 2840 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2841 2842 /** 2843 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and templateId = ?. 2844 * 2845 * @param id the primary key of the current journal article 2846 * @param groupId the group ID 2847 * @param templateId the template ID 2848 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2849 * @return the previous, current, and next journal article 2850 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2851 */ 2852 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_T_PrevAndNext( 2853 long id, long groupId, java.lang.String templateId, 2854 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2855 throws com.liferay.portlet.journal.NoSuchArticleException; 2856 2857 /** 2858 * Removes all the journal articles where groupId = ? and templateId = ? from the database. 2859 * 2860 * @param groupId the group ID 2861 * @param templateId the template ID 2862 */ 2863 public void removeByG_T(long groupId, java.lang.String templateId); 2864 2865 /** 2866 * Returns the number of journal articles where groupId = ? and templateId = ?. 2867 * 2868 * @param groupId the group ID 2869 * @param templateId the template ID 2870 * @return the number of matching journal articles 2871 */ 2872 public int countByG_T(long groupId, java.lang.String templateId); 2873 2874 /** 2875 * Returns the number of journal articles that the user has permission to view where groupId = ? and templateId = ?. 2876 * 2877 * @param groupId the group ID 2878 * @param templateId the template ID 2879 * @return the number of matching journal articles that the user has permission to view 2880 */ 2881 public int filterCountByG_T(long groupId, java.lang.String templateId); 2882 2883 /** 2884 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 2885 * 2886 * @param groupId the group ID 2887 * @param layoutUuid the layout uuid 2888 * @return the matching journal articles 2889 */ 2890 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2891 long groupId, java.lang.String layoutUuid); 2892 2893 /** 2894 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 2895 * 2896 * <p> 2897 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2898 * </p> 2899 * 2900 * @param groupId the group ID 2901 * @param layoutUuid the layout uuid 2902 * @param start the lower bound of the range of journal articles 2903 * @param end the upper bound of the range of journal articles (not inclusive) 2904 * @return the range of matching journal articles 2905 */ 2906 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2907 long groupId, java.lang.String layoutUuid, int start, int end); 2908 2909 /** 2910 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 2911 * 2912 * <p> 2913 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2914 * </p> 2915 * 2916 * @param groupId the group ID 2917 * @param layoutUuid the layout uuid 2918 * @param start the lower bound of the range of journal articles 2919 * @param end the upper bound of the range of journal articles (not inclusive) 2920 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2921 * @return the ordered range of matching journal articles 2922 */ 2923 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2924 long groupId, java.lang.String layoutUuid, int start, int end, 2925 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2926 2927 /** 2928 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2929 * 2930 * @param groupId the group ID 2931 * @param layoutUuid the layout uuid 2932 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2933 * @return the first matching journal article 2934 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2935 */ 2936 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 2937 long groupId, java.lang.String layoutUuid, 2938 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2939 throws com.liferay.portlet.journal.NoSuchArticleException; 2940 2941 /** 2942 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2943 * 2944 * @param groupId the group ID 2945 * @param layoutUuid the layout uuid 2946 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2947 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2948 */ 2949 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 2950 long groupId, java.lang.String layoutUuid, 2951 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2952 2953 /** 2954 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2955 * 2956 * @param groupId the group ID 2957 * @param layoutUuid the layout uuid 2958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2959 * @return the last matching journal article 2960 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2961 */ 2962 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 2963 long groupId, java.lang.String layoutUuid, 2964 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2965 throws com.liferay.portlet.journal.NoSuchArticleException; 2966 2967 /** 2968 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2969 * 2970 * @param groupId the group ID 2971 * @param layoutUuid the layout uuid 2972 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2973 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2974 */ 2975 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 2976 long groupId, java.lang.String layoutUuid, 2977 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2978 2979 /** 2980 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 2981 * 2982 * @param id the primary key of the current journal article 2983 * @param groupId the group ID 2984 * @param layoutUuid the layout uuid 2985 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2986 * @return the previous, current, and next journal article 2987 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2988 */ 2989 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 2990 long id, long groupId, java.lang.String layoutUuid, 2991 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2992 throws com.liferay.portlet.journal.NoSuchArticleException; 2993 2994 /** 2995 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2996 * 2997 * @param groupId the group ID 2998 * @param layoutUuid the layout uuid 2999 * @return the matching journal articles that the user has permission to view 3000 */ 3001 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3002 long groupId, java.lang.String layoutUuid); 3003 3004 /** 3005 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3006 * 3007 * <p> 3008 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3009 * </p> 3010 * 3011 * @param groupId the group ID 3012 * @param layoutUuid the layout uuid 3013 * @param start the lower bound of the range of journal articles 3014 * @param end the upper bound of the range of journal articles (not inclusive) 3015 * @return the range of matching journal articles that the user has permission to view 3016 */ 3017 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3018 long groupId, java.lang.String layoutUuid, int start, int end); 3019 3020 /** 3021 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 3022 * 3023 * <p> 3024 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3025 * </p> 3026 * 3027 * @param groupId the group ID 3028 * @param layoutUuid the layout uuid 3029 * @param start the lower bound of the range of journal articles 3030 * @param end the upper bound of the range of journal articles (not inclusive) 3031 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3032 * @return the ordered range of matching journal articles that the user has permission to view 3033 */ 3034 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3035 long groupId, java.lang.String layoutUuid, int start, int end, 3036 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3037 3038 /** 3039 * 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 = ?. 3040 * 3041 * @param id the primary key of the current journal article 3042 * @param groupId the group ID 3043 * @param layoutUuid the layout uuid 3044 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3045 * @return the previous, current, and next journal article 3046 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3047 */ 3048 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 3049 long id, long groupId, java.lang.String layoutUuid, 3050 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3051 throws com.liferay.portlet.journal.NoSuchArticleException; 3052 3053 /** 3054 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3055 * 3056 * @param groupId the group ID 3057 * @param layoutUuid the layout uuid 3058 */ 3059 public void removeByG_L(long groupId, java.lang.String layoutUuid); 3060 3061 /** 3062 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 3063 * 3064 * @param groupId the group ID 3065 * @param layoutUuid the layout uuid 3066 * @return the number of matching journal articles 3067 */ 3068 public int countByG_L(long groupId, java.lang.String layoutUuid); 3069 3070 /** 3071 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3072 * 3073 * @param groupId the group ID 3074 * @param layoutUuid the layout uuid 3075 * @return the number of matching journal articles that the user has permission to view 3076 */ 3077 public int filterCountByG_L(long groupId, java.lang.String layoutUuid); 3078 3079 /** 3080 * Returns all the journal articles where groupId = ? and status = ?. 3081 * 3082 * @param groupId the group ID 3083 * @param status the status 3084 * @return the matching journal articles 3085 */ 3086 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3087 long groupId, int status); 3088 3089 /** 3090 * Returns a range of all the journal articles where groupId = ? and status = ?. 3091 * 3092 * <p> 3093 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3094 * </p> 3095 * 3096 * @param groupId the group ID 3097 * @param status the status 3098 * @param start the lower bound of the range of journal articles 3099 * @param end the upper bound of the range of journal articles (not inclusive) 3100 * @return the range of matching journal articles 3101 */ 3102 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3103 long groupId, int status, int start, int end); 3104 3105 /** 3106 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 3107 * 3108 * <p> 3109 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3110 * </p> 3111 * 3112 * @param groupId the group ID 3113 * @param status the status 3114 * @param start the lower bound of the range of journal articles 3115 * @param end the upper bound of the range of journal articles (not inclusive) 3116 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3117 * @return the ordered range of matching journal articles 3118 */ 3119 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3120 long groupId, int status, int start, int end, 3121 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3122 3123 /** 3124 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3125 * 3126 * @param groupId the group ID 3127 * @param status the status 3128 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3129 * @return the first matching journal article 3130 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3131 */ 3132 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 3133 long groupId, int status, 3134 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3135 throws com.liferay.portlet.journal.NoSuchArticleException; 3136 3137 /** 3138 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3139 * 3140 * @param groupId the group ID 3141 * @param status the status 3142 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3143 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3144 */ 3145 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 3146 long groupId, int status, 3147 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3148 3149 /** 3150 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3151 * 3152 * @param groupId the group ID 3153 * @param status the status 3154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3155 * @return the last matching journal article 3156 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3157 */ 3158 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 3159 long groupId, int status, 3160 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3161 throws com.liferay.portlet.journal.NoSuchArticleException; 3162 3163 /** 3164 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3165 * 3166 * @param groupId the group ID 3167 * @param status the status 3168 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3169 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3170 */ 3171 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 3172 long groupId, int status, 3173 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3174 3175 /** 3176 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 3177 * 3178 * @param id the primary key of the current journal article 3179 * @param groupId the group ID 3180 * @param status the status 3181 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3182 * @return the previous, current, and next journal article 3183 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3184 */ 3185 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 3186 long id, long groupId, int status, 3187 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3188 throws com.liferay.portlet.journal.NoSuchArticleException; 3189 3190 /** 3191 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 3192 * 3193 * @param groupId the group ID 3194 * @param status the status 3195 * @return the matching journal articles that the user has permission to view 3196 */ 3197 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3198 long groupId, int status); 3199 3200 /** 3201 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3202 * 3203 * <p> 3204 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3205 * </p> 3206 * 3207 * @param groupId the group ID 3208 * @param status the status 3209 * @param start the lower bound of the range of journal articles 3210 * @param end the upper bound of the range of journal articles (not inclusive) 3211 * @return the range of matching journal articles that the user has permission to view 3212 */ 3213 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3214 long groupId, int status, int start, int end); 3215 3216 /** 3217 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3218 * 3219 * <p> 3220 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3221 * </p> 3222 * 3223 * @param groupId the group ID 3224 * @param status the status 3225 * @param start the lower bound of the range of journal articles 3226 * @param end the upper bound of the range of journal articles (not inclusive) 3227 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3228 * @return the ordered range of matching journal articles that the user has permission to view 3229 */ 3230 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3231 long groupId, int status, int start, int end, 3232 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3233 3234 /** 3235 * 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 = ?. 3236 * 3237 * @param id the primary key of the current journal article 3238 * @param groupId the group ID 3239 * @param status the status 3240 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3241 * @return the previous, current, and next journal article 3242 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3243 */ 3244 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 3245 long id, long groupId, int status, 3246 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3247 throws com.liferay.portlet.journal.NoSuchArticleException; 3248 3249 /** 3250 * Removes all the journal articles where groupId = ? and status = ? from the database. 3251 * 3252 * @param groupId the group ID 3253 * @param status the status 3254 */ 3255 public void removeByG_ST(long groupId, int status); 3256 3257 /** 3258 * Returns the number of journal articles where groupId = ? and status = ?. 3259 * 3260 * @param groupId the group ID 3261 * @param status the status 3262 * @return the number of matching journal articles 3263 */ 3264 public int countByG_ST(long groupId, int status); 3265 3266 /** 3267 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 3268 * 3269 * @param groupId the group ID 3270 * @param status the status 3271 * @return the number of matching journal articles that the user has permission to view 3272 */ 3273 public int filterCountByG_ST(long groupId, int status); 3274 3275 /** 3276 * Returns all the journal articles where companyId = ? and version = ?. 3277 * 3278 * @param companyId the company ID 3279 * @param version the version 3280 * @return the matching journal articles 3281 */ 3282 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3283 long companyId, double version); 3284 3285 /** 3286 * Returns a range of all the journal articles where companyId = ? and version = ?. 3287 * 3288 * <p> 3289 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3290 * </p> 3291 * 3292 * @param companyId the company ID 3293 * @param version the version 3294 * @param start the lower bound of the range of journal articles 3295 * @param end the upper bound of the range of journal articles (not inclusive) 3296 * @return the range of matching journal articles 3297 */ 3298 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3299 long companyId, double version, int start, int end); 3300 3301 /** 3302 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 3303 * 3304 * <p> 3305 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3306 * </p> 3307 * 3308 * @param companyId the company ID 3309 * @param version the version 3310 * @param start the lower bound of the range of journal articles 3311 * @param end the upper bound of the range of journal articles (not inclusive) 3312 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3313 * @return the ordered range of matching journal articles 3314 */ 3315 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3316 long companyId, double version, int start, int end, 3317 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3318 3319 /** 3320 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3321 * 3322 * @param companyId the company ID 3323 * @param version the version 3324 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3325 * @return the first matching journal article 3326 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3327 */ 3328 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 3329 long companyId, double version, 3330 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3331 throws com.liferay.portlet.journal.NoSuchArticleException; 3332 3333 /** 3334 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3335 * 3336 * @param companyId the company ID 3337 * @param version the version 3338 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3339 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3340 */ 3341 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 3342 long companyId, double version, 3343 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3344 3345 /** 3346 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3347 * 3348 * @param companyId the company ID 3349 * @param version the version 3350 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3351 * @return the last matching journal article 3352 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3353 */ 3354 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 3355 long companyId, double version, 3356 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3357 throws com.liferay.portlet.journal.NoSuchArticleException; 3358 3359 /** 3360 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3361 * 3362 * @param companyId the company ID 3363 * @param version the version 3364 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3365 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3366 */ 3367 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 3368 long companyId, double version, 3369 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3370 3371 /** 3372 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 3373 * 3374 * @param id the primary key of the current journal article 3375 * @param companyId the company ID 3376 * @param version the version 3377 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3378 * @return the previous, current, and next journal article 3379 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3380 */ 3381 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 3382 long id, long companyId, double version, 3383 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3384 throws com.liferay.portlet.journal.NoSuchArticleException; 3385 3386 /** 3387 * Removes all the journal articles where companyId = ? and version = ? from the database. 3388 * 3389 * @param companyId the company ID 3390 * @param version the version 3391 */ 3392 public void removeByC_V(long companyId, double version); 3393 3394 /** 3395 * Returns the number of journal articles where companyId = ? and version = ?. 3396 * 3397 * @param companyId the company ID 3398 * @param version the version 3399 * @return the number of matching journal articles 3400 */ 3401 public int countByC_V(long companyId, double version); 3402 3403 /** 3404 * Returns all the journal articles where companyId = ? and status = ?. 3405 * 3406 * @param companyId the company ID 3407 * @param status the status 3408 * @return the matching journal articles 3409 */ 3410 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3411 long companyId, int status); 3412 3413 /** 3414 * Returns a range of all the journal articles where companyId = ? and status = ?. 3415 * 3416 * <p> 3417 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3418 * </p> 3419 * 3420 * @param companyId the company ID 3421 * @param status the status 3422 * @param start the lower bound of the range of journal articles 3423 * @param end the upper bound of the range of journal articles (not inclusive) 3424 * @return the range of matching journal articles 3425 */ 3426 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3427 long companyId, int status, int start, int end); 3428 3429 /** 3430 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 3431 * 3432 * <p> 3433 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3434 * </p> 3435 * 3436 * @param companyId the company ID 3437 * @param status the status 3438 * @param start the lower bound of the range of journal articles 3439 * @param end the upper bound of the range of journal articles (not inclusive) 3440 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3441 * @return the ordered range of matching journal articles 3442 */ 3443 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3444 long companyId, int status, int start, int end, 3445 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3446 3447 /** 3448 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3449 * 3450 * @param companyId the company ID 3451 * @param status the status 3452 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3453 * @return the first matching journal article 3454 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3455 */ 3456 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 3457 long companyId, int status, 3458 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3459 throws com.liferay.portlet.journal.NoSuchArticleException; 3460 3461 /** 3462 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3463 * 3464 * @param companyId the company ID 3465 * @param status the status 3466 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3467 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3468 */ 3469 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 3470 long companyId, int status, 3471 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3472 3473 /** 3474 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3475 * 3476 * @param companyId the company ID 3477 * @param status the status 3478 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3479 * @return the last matching journal article 3480 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3481 */ 3482 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 3483 long companyId, int status, 3484 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3485 throws com.liferay.portlet.journal.NoSuchArticleException; 3486 3487 /** 3488 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3489 * 3490 * @param companyId the company ID 3491 * @param status the status 3492 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3493 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3494 */ 3495 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 3496 long companyId, int status, 3497 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3498 3499 /** 3500 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 3501 * 3502 * @param id the primary key of the current journal article 3503 * @param companyId the company ID 3504 * @param status the status 3505 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3506 * @return the previous, current, and next journal article 3507 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3508 */ 3509 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 3510 long id, long companyId, int status, 3511 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3512 throws com.liferay.portlet.journal.NoSuchArticleException; 3513 3514 /** 3515 * Removes all the journal articles where companyId = ? and status = ? from the database. 3516 * 3517 * @param companyId the company ID 3518 * @param status the status 3519 */ 3520 public void removeByC_ST(long companyId, int status); 3521 3522 /** 3523 * Returns the number of journal articles where companyId = ? and status = ?. 3524 * 3525 * @param companyId the company ID 3526 * @param status the status 3527 * @return the number of matching journal articles 3528 */ 3529 public int countByC_ST(long companyId, int status); 3530 3531 /** 3532 * Returns all the journal articles where companyId = ? and status ≠ ?. 3533 * 3534 * @param companyId the company ID 3535 * @param status the status 3536 * @return the matching journal articles 3537 */ 3538 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 3539 long companyId, int status); 3540 3541 /** 3542 * Returns a range of all the journal articles where companyId = ? and status ≠ ?. 3543 * 3544 * <p> 3545 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3546 * </p> 3547 * 3548 * @param companyId the company ID 3549 * @param status the status 3550 * @param start the lower bound of the range of journal articles 3551 * @param end the upper bound of the range of journal articles (not inclusive) 3552 * @return the range of matching journal articles 3553 */ 3554 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 3555 long companyId, int status, int start, int end); 3556 3557 /** 3558 * Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?. 3559 * 3560 * <p> 3561 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3562 * </p> 3563 * 3564 * @param companyId the company ID 3565 * @param status the status 3566 * @param start the lower bound of the range of journal articles 3567 * @param end the upper bound of the range of journal articles (not inclusive) 3568 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3569 * @return the ordered range of matching journal articles 3570 */ 3571 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 3572 long companyId, int status, int start, int end, 3573 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3574 3575 /** 3576 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 3577 * 3578 * @param companyId the company ID 3579 * @param status the status 3580 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3581 * @return the first matching journal article 3582 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3583 */ 3584 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First( 3585 long companyId, int status, 3586 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3587 throws com.liferay.portlet.journal.NoSuchArticleException; 3588 3589 /** 3590 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 3591 * 3592 * @param companyId the company ID 3593 * @param status the status 3594 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3595 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3596 */ 3597 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First( 3598 long companyId, int status, 3599 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3600 3601 /** 3602 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 3603 * 3604 * @param companyId the company ID 3605 * @param status the status 3606 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3607 * @return the last matching journal article 3608 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3609 */ 3610 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last( 3611 long companyId, int status, 3612 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3613 throws com.liferay.portlet.journal.NoSuchArticleException; 3614 3615 /** 3616 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 3617 * 3618 * @param companyId the company ID 3619 * @param status the status 3620 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3621 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3622 */ 3623 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last( 3624 long companyId, int status, 3625 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3626 3627 /** 3628 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?. 3629 * 3630 * @param id the primary key of the current journal article 3631 * @param companyId the company ID 3632 * @param status the status 3633 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3634 * @return the previous, current, and next journal article 3635 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3636 */ 3637 public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext( 3638 long id, long companyId, int status, 3639 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3640 throws com.liferay.portlet.journal.NoSuchArticleException; 3641 3642 /** 3643 * Removes all the journal articles where companyId = ? and status ≠ ? from the database. 3644 * 3645 * @param companyId the company ID 3646 * @param status the status 3647 */ 3648 public void removeByC_NotST(long companyId, int status); 3649 3650 /** 3651 * Returns the number of journal articles where companyId = ? and status ≠ ?. 3652 * 3653 * @param companyId the company ID 3654 * @param status the status 3655 * @return the number of matching journal articles 3656 */ 3657 public int countByC_NotST(long companyId, int status); 3658 3659 /** 3660 * Returns all the journal articles where classNameId = ? and templateId = ?. 3661 * 3662 * @param classNameId the class name ID 3663 * @param templateId the template ID 3664 * @return the matching journal articles 3665 */ 3666 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T( 3667 long classNameId, java.lang.String templateId); 3668 3669 /** 3670 * Returns a range of all the journal articles where classNameId = ? and templateId = ?. 3671 * 3672 * <p> 3673 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3674 * </p> 3675 * 3676 * @param classNameId the class name ID 3677 * @param templateId the template ID 3678 * @param start the lower bound of the range of journal articles 3679 * @param end the upper bound of the range of journal articles (not inclusive) 3680 * @return the range of matching journal articles 3681 */ 3682 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T( 3683 long classNameId, java.lang.String templateId, int start, int end); 3684 3685 /** 3686 * Returns an ordered range of all the journal articles where classNameId = ? and templateId = ?. 3687 * 3688 * <p> 3689 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3690 * </p> 3691 * 3692 * @param classNameId the class name ID 3693 * @param templateId the template ID 3694 * @param start the lower bound of the range of journal articles 3695 * @param end the upper bound of the range of journal articles (not inclusive) 3696 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3697 * @return the ordered range of matching journal articles 3698 */ 3699 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_T( 3700 long classNameId, java.lang.String templateId, int start, int end, 3701 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3702 3703 /** 3704 * Returns the first journal article in the ordered set where classNameId = ? and templateId = ?. 3705 * 3706 * @param classNameId the class name ID 3707 * @param templateId the template ID 3708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3709 * @return the first matching journal article 3710 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3711 */ 3712 public com.liferay.portlet.journal.model.JournalArticle findByC_T_First( 3713 long classNameId, java.lang.String templateId, 3714 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3715 throws com.liferay.portlet.journal.NoSuchArticleException; 3716 3717 /** 3718 * Returns the first journal article in the ordered set where classNameId = ? and templateId = ?. 3719 * 3720 * @param classNameId the class name ID 3721 * @param templateId the template ID 3722 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3723 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3724 */ 3725 public com.liferay.portlet.journal.model.JournalArticle fetchByC_T_First( 3726 long classNameId, java.lang.String templateId, 3727 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3728 3729 /** 3730 * Returns the last journal article in the ordered set where classNameId = ? and templateId = ?. 3731 * 3732 * @param classNameId the class name ID 3733 * @param templateId the template ID 3734 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3735 * @return the last matching journal article 3736 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3737 */ 3738 public com.liferay.portlet.journal.model.JournalArticle findByC_T_Last( 3739 long classNameId, java.lang.String templateId, 3740 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3741 throws com.liferay.portlet.journal.NoSuchArticleException; 3742 3743 /** 3744 * Returns the last journal article in the ordered set where classNameId = ? and templateId = ?. 3745 * 3746 * @param classNameId the class name ID 3747 * @param templateId the template ID 3748 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3749 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3750 */ 3751 public com.liferay.portlet.journal.model.JournalArticle fetchByC_T_Last( 3752 long classNameId, java.lang.String templateId, 3753 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3754 3755 /** 3756 * Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and templateId = ?. 3757 * 3758 * @param id the primary key of the current journal article 3759 * @param classNameId the class name ID 3760 * @param templateId the template ID 3761 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3762 * @return the previous, current, and next journal article 3763 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3764 */ 3765 public com.liferay.portlet.journal.model.JournalArticle[] findByC_T_PrevAndNext( 3766 long id, long classNameId, java.lang.String templateId, 3767 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3768 throws com.liferay.portlet.journal.NoSuchArticleException; 3769 3770 /** 3771 * Removes all the journal articles where classNameId = ? and templateId = ? from the database. 3772 * 3773 * @param classNameId the class name ID 3774 * @param templateId the template ID 3775 */ 3776 public void removeByC_T(long classNameId, java.lang.String templateId); 3777 3778 /** 3779 * Returns the number of journal articles where classNameId = ? and templateId = ?. 3780 * 3781 * @param classNameId the class name ID 3782 * @param templateId the template ID 3783 * @return the number of matching journal articles 3784 */ 3785 public int countByC_T(long classNameId, java.lang.String templateId); 3786 3787 /** 3788 * Returns all the journal articles where displayDate < ? and status = ?. 3789 * 3790 * @param displayDate the display date 3791 * @param status the status 3792 * @return the matching journal articles 3793 */ 3794 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 3795 java.util.Date displayDate, int status); 3796 3797 /** 3798 * Returns a range of all the journal articles where displayDate < ? and status = ?. 3799 * 3800 * <p> 3801 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3802 * </p> 3803 * 3804 * @param displayDate the display date 3805 * @param status the status 3806 * @param start the lower bound of the range of journal articles 3807 * @param end the upper bound of the range of journal articles (not inclusive) 3808 * @return the range of matching journal articles 3809 */ 3810 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 3811 java.util.Date displayDate, int status, int start, int end); 3812 3813 /** 3814 * Returns an ordered range of all the journal articles where displayDate < ? and status = ?. 3815 * 3816 * <p> 3817 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3818 * </p> 3819 * 3820 * @param displayDate the display date 3821 * @param status the status 3822 * @param start the lower bound of the range of journal articles 3823 * @param end the upper bound of the range of journal articles (not inclusive) 3824 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3825 * @return the ordered range of matching journal articles 3826 */ 3827 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 3828 java.util.Date displayDate, int status, int start, int end, 3829 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3830 3831 /** 3832 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 3833 * 3834 * @param displayDate the display date 3835 * @param status the status 3836 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3837 * @return the first matching journal article 3838 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3839 */ 3840 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First( 3841 java.util.Date displayDate, int status, 3842 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3843 throws com.liferay.portlet.journal.NoSuchArticleException; 3844 3845 /** 3846 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 3847 * 3848 * @param displayDate the display date 3849 * @param status the status 3850 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3851 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3852 */ 3853 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First( 3854 java.util.Date displayDate, int status, 3855 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3856 3857 /** 3858 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 3859 * 3860 * @param displayDate the display date 3861 * @param status the status 3862 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3863 * @return the last matching journal article 3864 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3865 */ 3866 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last( 3867 java.util.Date displayDate, int status, 3868 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3869 throws com.liferay.portlet.journal.NoSuchArticleException; 3870 3871 /** 3872 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 3873 * 3874 * @param displayDate the display date 3875 * @param status the status 3876 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3877 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3878 */ 3879 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last( 3880 java.util.Date displayDate, int status, 3881 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3882 3883 /** 3884 * Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?. 3885 * 3886 * @param id the primary key of the current journal article 3887 * @param displayDate the display date 3888 * @param status the status 3889 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3890 * @return the previous, current, and next journal article 3891 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3892 */ 3893 public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext( 3894 long id, java.util.Date displayDate, int status, 3895 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3896 throws com.liferay.portlet.journal.NoSuchArticleException; 3897 3898 /** 3899 * Removes all the journal articles where displayDate < ? and status = ? from the database. 3900 * 3901 * @param displayDate the display date 3902 * @param status the status 3903 */ 3904 public void removeByLtD_S(java.util.Date displayDate, int status); 3905 3906 /** 3907 * Returns the number of journal articles where displayDate < ? and status = ?. 3908 * 3909 * @param displayDate the display date 3910 * @param status the status 3911 * @return the number of matching journal articles 3912 */ 3913 public int countByLtD_S(java.util.Date displayDate, int status); 3914 3915 /** 3916 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 3917 * 3918 * @param resourcePrimKey the resource prim key 3919 * @param indexable the indexable 3920 * @param status the status 3921 * @return the matching journal articles 3922 */ 3923 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 3924 long resourcePrimKey, boolean indexable, int status); 3925 3926 /** 3927 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 3928 * 3929 * <p> 3930 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3931 * </p> 3932 * 3933 * @param resourcePrimKey the resource prim key 3934 * @param indexable the indexable 3935 * @param status the status 3936 * @param start the lower bound of the range of journal articles 3937 * @param end the upper bound of the range of journal articles (not inclusive) 3938 * @return the range of matching journal articles 3939 */ 3940 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 3941 long resourcePrimKey, boolean indexable, int status, int start, int end); 3942 3943 /** 3944 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 3945 * 3946 * <p> 3947 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3948 * </p> 3949 * 3950 * @param resourcePrimKey the resource prim key 3951 * @param indexable the indexable 3952 * @param status the status 3953 * @param start the lower bound of the range of journal articles 3954 * @param end the upper bound of the range of journal articles (not inclusive) 3955 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3956 * @return the ordered range of matching journal articles 3957 */ 3958 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 3959 long resourcePrimKey, boolean indexable, int status, int start, 3960 int end, 3961 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3962 3963 /** 3964 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 3965 * 3966 * @param resourcePrimKey the resource prim key 3967 * @param indexable the indexable 3968 * @param status the status 3969 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3970 * @return the first matching journal article 3971 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3972 */ 3973 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First( 3974 long resourcePrimKey, boolean indexable, int status, 3975 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3976 throws com.liferay.portlet.journal.NoSuchArticleException; 3977 3978 /** 3979 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 3980 * 3981 * @param resourcePrimKey the resource prim key 3982 * @param indexable the indexable 3983 * @param status the status 3984 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3985 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3986 */ 3987 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First( 3988 long resourcePrimKey, boolean indexable, int status, 3989 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3990 3991 /** 3992 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 3993 * 3994 * @param resourcePrimKey the resource prim key 3995 * @param indexable the indexable 3996 * @param status the status 3997 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3998 * @return the last matching journal article 3999 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4000 */ 4001 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last( 4002 long resourcePrimKey, boolean indexable, int status, 4003 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4004 throws com.liferay.portlet.journal.NoSuchArticleException; 4005 4006 /** 4007 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4008 * 4009 * @param resourcePrimKey the resource prim key 4010 * @param indexable the indexable 4011 * @param status the status 4012 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4013 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4014 */ 4015 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last( 4016 long resourcePrimKey, boolean indexable, int status, 4017 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4018 4019 /** 4020 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4021 * 4022 * @param id the primary key of the current journal article 4023 * @param resourcePrimKey the resource prim key 4024 * @param indexable the indexable 4025 * @param status the status 4026 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4027 * @return the previous, current, and next journal article 4028 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4029 */ 4030 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext( 4031 long id, long resourcePrimKey, boolean indexable, int status, 4032 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4033 throws com.liferay.portlet.journal.NoSuchArticleException; 4034 4035 /** 4036 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4037 * 4038 * <p> 4039 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4040 * </p> 4041 * 4042 * @param resourcePrimKey the resource prim key 4043 * @param indexable the indexable 4044 * @param statuses the statuses 4045 * @return the matching journal articles 4046 */ 4047 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4048 long resourcePrimKey, boolean indexable, int[] statuses); 4049 4050 /** 4051 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4052 * 4053 * <p> 4054 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4055 * </p> 4056 * 4057 * @param resourcePrimKey the resource prim key 4058 * @param indexable the indexable 4059 * @param statuses the statuses 4060 * @param start the lower bound of the range of journal articles 4061 * @param end the upper bound of the range of journal articles (not inclusive) 4062 * @return the range of matching journal articles 4063 */ 4064 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4065 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4066 int end); 4067 4068 /** 4069 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4070 * 4071 * <p> 4072 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4073 * </p> 4074 * 4075 * @param resourcePrimKey the resource prim key 4076 * @param indexable the indexable 4077 * @param statuses the statuses 4078 * @param start the lower bound of the range of journal articles 4079 * @param end the upper bound of the range of journal articles (not inclusive) 4080 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4081 * @return the ordered range of matching journal articles 4082 */ 4083 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4084 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4085 int end, 4086 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4087 4088 /** 4089 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database. 4090 * 4091 * @param resourcePrimKey the resource prim key 4092 * @param indexable the indexable 4093 * @param status the status 4094 */ 4095 public void removeByR_I_S(long resourcePrimKey, boolean indexable, 4096 int status); 4097 4098 /** 4099 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4100 * 4101 * @param resourcePrimKey the resource prim key 4102 * @param indexable the indexable 4103 * @param status the status 4104 * @return the number of matching journal articles 4105 */ 4106 public int countByR_I_S(long resourcePrimKey, boolean indexable, int status); 4107 4108 /** 4109 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4110 * 4111 * @param resourcePrimKey the resource prim key 4112 * @param indexable the indexable 4113 * @param statuses the statuses 4114 * @return the number of matching journal articles 4115 */ 4116 public int countByR_I_S(long resourcePrimKey, boolean indexable, 4117 int[] statuses); 4118 4119 /** 4120 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4121 * 4122 * @param groupId the group ID 4123 * @param userId the user ID 4124 * @param classNameId the class name ID 4125 * @return the matching journal articles 4126 */ 4127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4128 long groupId, long userId, long classNameId); 4129 4130 /** 4131 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4132 * 4133 * <p> 4134 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4135 * </p> 4136 * 4137 * @param groupId the group ID 4138 * @param userId the user ID 4139 * @param classNameId the class name ID 4140 * @param start the lower bound of the range of journal articles 4141 * @param end the upper bound of the range of journal articles (not inclusive) 4142 * @return the range of matching journal articles 4143 */ 4144 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4145 long groupId, long userId, long classNameId, int start, int end); 4146 4147 /** 4148 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4149 * 4150 * <p> 4151 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4152 * </p> 4153 * 4154 * @param groupId the group ID 4155 * @param userId the user ID 4156 * @param classNameId the class name ID 4157 * @param start the lower bound of the range of journal articles 4158 * @param end the upper bound of the range of journal articles (not inclusive) 4159 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4160 * @return the ordered range of matching journal articles 4161 */ 4162 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4163 long groupId, long userId, long classNameId, int start, int end, 4164 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4165 4166 /** 4167 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4168 * 4169 * @param groupId the group ID 4170 * @param userId the user ID 4171 * @param classNameId the class name ID 4172 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4173 * @return the first matching journal article 4174 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4175 */ 4176 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 4177 long groupId, long userId, long classNameId, 4178 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4179 throws com.liferay.portlet.journal.NoSuchArticleException; 4180 4181 /** 4182 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4183 * 4184 * @param groupId the group ID 4185 * @param userId the user ID 4186 * @param classNameId the class name ID 4187 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4188 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4189 */ 4190 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 4191 long groupId, long userId, long classNameId, 4192 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4193 4194 /** 4195 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4196 * 4197 * @param groupId the group ID 4198 * @param userId the user ID 4199 * @param classNameId the class name ID 4200 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4201 * @return the last matching journal article 4202 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4203 */ 4204 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 4205 long groupId, long userId, long classNameId, 4206 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4207 throws com.liferay.portlet.journal.NoSuchArticleException; 4208 4209 /** 4210 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4211 * 4212 * @param groupId the group ID 4213 * @param userId the user ID 4214 * @param classNameId the class name ID 4215 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4216 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4217 */ 4218 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 4219 long groupId, long userId, long classNameId, 4220 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4221 4222 /** 4223 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4224 * 4225 * @param id the primary key of the current journal article 4226 * @param groupId the group ID 4227 * @param userId the user ID 4228 * @param classNameId the class name ID 4229 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4230 * @return the previous, current, and next journal article 4231 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4232 */ 4233 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 4234 long id, long groupId, long userId, long classNameId, 4235 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4236 throws com.liferay.portlet.journal.NoSuchArticleException; 4237 4238 /** 4239 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4240 * 4241 * @param groupId the group ID 4242 * @param userId the user ID 4243 * @param classNameId the class name ID 4244 * @return the matching journal articles that the user has permission to view 4245 */ 4246 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4247 long groupId, long userId, long classNameId); 4248 4249 /** 4250 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4251 * 4252 * <p> 4253 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4254 * </p> 4255 * 4256 * @param groupId the group ID 4257 * @param userId the user ID 4258 * @param classNameId the class name ID 4259 * @param start the lower bound of the range of journal articles 4260 * @param end the upper bound of the range of journal articles (not inclusive) 4261 * @return the range of matching journal articles that the user has permission to view 4262 */ 4263 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4264 long groupId, long userId, long classNameId, int start, int end); 4265 4266 /** 4267 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 4268 * 4269 * <p> 4270 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4271 * </p> 4272 * 4273 * @param groupId the group ID 4274 * @param userId the user ID 4275 * @param classNameId the class name ID 4276 * @param start the lower bound of the range of journal articles 4277 * @param end the upper bound of the range of journal articles (not inclusive) 4278 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4279 * @return the ordered range of matching journal articles that the user has permission to view 4280 */ 4281 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4282 long groupId, long userId, long classNameId, int start, int end, 4283 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4284 4285 /** 4286 * 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 = ?. 4287 * 4288 * @param id the primary key of the current journal article 4289 * @param groupId the group ID 4290 * @param userId the user ID 4291 * @param classNameId the class name ID 4292 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4293 * @return the previous, current, and next journal article 4294 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4295 */ 4296 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 4297 long id, long groupId, long userId, long classNameId, 4298 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4299 throws com.liferay.portlet.journal.NoSuchArticleException; 4300 4301 /** 4302 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 4303 * 4304 * @param groupId the group ID 4305 * @param userId the user ID 4306 * @param classNameId the class name ID 4307 */ 4308 public void removeByG_U_C(long groupId, long userId, long classNameId); 4309 4310 /** 4311 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 4312 * 4313 * @param groupId the group ID 4314 * @param userId the user ID 4315 * @param classNameId the class name ID 4316 * @return the number of matching journal articles 4317 */ 4318 public int countByG_U_C(long groupId, long userId, long classNameId); 4319 4320 /** 4321 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4322 * 4323 * @param groupId the group ID 4324 * @param userId the user ID 4325 * @param classNameId the class name ID 4326 * @return the number of matching journal articles that the user has permission to view 4327 */ 4328 public int filterCountByG_U_C(long groupId, long userId, long classNameId); 4329 4330 /** 4331 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 4332 * 4333 * @param groupId the group ID 4334 * @param folderId the folder ID 4335 * @param status the status 4336 * @return the matching journal articles 4337 */ 4338 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4339 long groupId, long folderId, int status); 4340 4341 /** 4342 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4343 * 4344 * <p> 4345 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4346 * </p> 4347 * 4348 * @param groupId the group ID 4349 * @param folderId the folder ID 4350 * @param status the status 4351 * @param start the lower bound of the range of journal articles 4352 * @param end the upper bound of the range of journal articles (not inclusive) 4353 * @return the range of matching journal articles 4354 */ 4355 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4356 long groupId, long folderId, int status, int start, int end); 4357 4358 /** 4359 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4360 * 4361 * <p> 4362 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4363 * </p> 4364 * 4365 * @param groupId the group ID 4366 * @param folderId the folder ID 4367 * @param status the status 4368 * @param start the lower bound of the range of journal articles 4369 * @param end the upper bound of the range of journal articles (not inclusive) 4370 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4371 * @return the ordered range of matching journal articles 4372 */ 4373 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4374 long groupId, long folderId, int status, int start, int end, 4375 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4376 4377 /** 4378 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4379 * 4380 * @param groupId the group ID 4381 * @param folderId the folder ID 4382 * @param status the status 4383 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4384 * @return the first matching journal article 4385 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4386 */ 4387 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 4388 long groupId, long folderId, int status, 4389 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4390 throws com.liferay.portlet.journal.NoSuchArticleException; 4391 4392 /** 4393 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4394 * 4395 * @param groupId the group ID 4396 * @param folderId the folder ID 4397 * @param status the status 4398 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4399 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4400 */ 4401 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 4402 long groupId, long folderId, int status, 4403 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4404 4405 /** 4406 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4407 * 4408 * @param groupId the group ID 4409 * @param folderId the folder ID 4410 * @param status the status 4411 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4412 * @return the last matching journal article 4413 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4414 */ 4415 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 4416 long groupId, long folderId, int status, 4417 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4418 throws com.liferay.portlet.journal.NoSuchArticleException; 4419 4420 /** 4421 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4422 * 4423 * @param groupId the group ID 4424 * @param folderId the folder ID 4425 * @param status the status 4426 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4427 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4428 */ 4429 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 4430 long groupId, long folderId, int status, 4431 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4432 4433 /** 4434 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4435 * 4436 * @param id the primary key of the current journal article 4437 * @param groupId the group ID 4438 * @param folderId the folder ID 4439 * @param status the status 4440 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4441 * @return the previous, current, and next journal article 4442 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4443 */ 4444 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 4445 long id, long groupId, long folderId, int status, 4446 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4447 throws com.liferay.portlet.journal.NoSuchArticleException; 4448 4449 /** 4450 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4451 * 4452 * @param groupId the group ID 4453 * @param folderId the folder ID 4454 * @param status the status 4455 * @return the matching journal articles that the user has permission to view 4456 */ 4457 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4458 long groupId, long folderId, int status); 4459 4460 /** 4461 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4462 * 4463 * <p> 4464 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4465 * </p> 4466 * 4467 * @param groupId the group ID 4468 * @param folderId the folder ID 4469 * @param status the status 4470 * @param start the lower bound of the range of journal articles 4471 * @param end the upper bound of the range of journal articles (not inclusive) 4472 * @return the range of matching journal articles that the user has permission to view 4473 */ 4474 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4475 long groupId, long folderId, int status, int start, int end); 4476 4477 /** 4478 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 4479 * 4480 * <p> 4481 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4482 * </p> 4483 * 4484 * @param groupId the group ID 4485 * @param folderId the folder ID 4486 * @param status the status 4487 * @param start the lower bound of the range of journal articles 4488 * @param end the upper bound of the range of journal articles (not inclusive) 4489 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4490 * @return the ordered range of matching journal articles that the user has permission to view 4491 */ 4492 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4493 long groupId, long folderId, int status, int start, int end, 4494 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4495 4496 /** 4497 * 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 = ?. 4498 * 4499 * @param id the primary key of the current journal article 4500 * @param groupId the group ID 4501 * @param folderId the folder ID 4502 * @param status the status 4503 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4504 * @return the previous, current, and next journal article 4505 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4506 */ 4507 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 4508 long id, long groupId, long folderId, int status, 4509 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4510 throws com.liferay.portlet.journal.NoSuchArticleException; 4511 4512 /** 4513 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4514 * 4515 * @param groupId the group ID 4516 * @param folderId the folder ID 4517 * @param statuses the statuses 4518 * @return the matching journal articles that the user has permission to view 4519 */ 4520 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4521 long groupId, long folderId, int[] statuses); 4522 4523 /** 4524 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4525 * 4526 * <p> 4527 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4528 * </p> 4529 * 4530 * @param groupId the group ID 4531 * @param folderId the folder ID 4532 * @param statuses the statuses 4533 * @param start the lower bound of the range of journal articles 4534 * @param end the upper bound of the range of journal articles (not inclusive) 4535 * @return the range of matching journal articles that the user has permission to view 4536 */ 4537 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4538 long groupId, long folderId, int[] statuses, int start, int end); 4539 4540 /** 4541 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4542 * 4543 * <p> 4544 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4545 * </p> 4546 * 4547 * @param groupId the group ID 4548 * @param folderId the folder ID 4549 * @param statuses the statuses 4550 * @param start the lower bound of the range of journal articles 4551 * @param end the upper bound of the range of journal articles (not inclusive) 4552 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4553 * @return the ordered range of matching journal articles that the user has permission to view 4554 */ 4555 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4556 long groupId, long folderId, int[] statuses, int start, int end, 4557 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4558 4559 /** 4560 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 4561 * 4562 * <p> 4563 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4564 * </p> 4565 * 4566 * @param groupId the group ID 4567 * @param folderId the folder ID 4568 * @param statuses the statuses 4569 * @return the matching journal articles 4570 */ 4571 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4572 long groupId, long folderId, int[] statuses); 4573 4574 /** 4575 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4576 * 4577 * <p> 4578 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4579 * </p> 4580 * 4581 * @param groupId the group ID 4582 * @param folderId the folder ID 4583 * @param statuses the statuses 4584 * @param start the lower bound of the range of journal articles 4585 * @param end the upper bound of the range of journal articles (not inclusive) 4586 * @return the range of matching journal articles 4587 */ 4588 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4589 long groupId, long folderId, int[] statuses, int start, int end); 4590 4591 /** 4592 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4593 * 4594 * <p> 4595 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4596 * </p> 4597 * 4598 * @param groupId the group ID 4599 * @param folderId the folder ID 4600 * @param statuses the statuses 4601 * @param start the lower bound of the range of journal articles 4602 * @param end the upper bound of the range of journal articles (not inclusive) 4603 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4604 * @return the ordered range of matching journal articles 4605 */ 4606 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4607 long groupId, long folderId, int[] statuses, int start, int end, 4608 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4609 4610 /** 4611 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 4612 * 4613 * @param groupId the group ID 4614 * @param folderId the folder ID 4615 * @param status the status 4616 */ 4617 public void removeByG_F_ST(long groupId, long folderId, int status); 4618 4619 /** 4620 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 4621 * 4622 * @param groupId the group ID 4623 * @param folderId the folder ID 4624 * @param status the status 4625 * @return the number of matching journal articles 4626 */ 4627 public int countByG_F_ST(long groupId, long folderId, int status); 4628 4629 /** 4630 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 4631 * 4632 * @param groupId the group ID 4633 * @param folderId the folder ID 4634 * @param statuses the statuses 4635 * @return the number of matching journal articles 4636 */ 4637 public int countByG_F_ST(long groupId, long folderId, int[] statuses); 4638 4639 /** 4640 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4641 * 4642 * @param groupId the group ID 4643 * @param folderId the folder ID 4644 * @param status the status 4645 * @return the number of matching journal articles that the user has permission to view 4646 */ 4647 public int filterCountByG_F_ST(long groupId, long folderId, int status); 4648 4649 /** 4650 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4651 * 4652 * @param groupId the group ID 4653 * @param folderId the folder ID 4654 * @param statuses the statuses 4655 * @return the number of matching journal articles that the user has permission to view 4656 */ 4657 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses); 4658 4659 /** 4660 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4661 * 4662 * @param groupId the group ID 4663 * @param classNameId the class name ID 4664 * @param classPK the class p k 4665 * @return the matching journal articles 4666 */ 4667 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4668 long groupId, long classNameId, long classPK); 4669 4670 /** 4671 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4672 * 4673 * <p> 4674 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4675 * </p> 4676 * 4677 * @param groupId the group ID 4678 * @param classNameId the class name ID 4679 * @param classPK the class p k 4680 * @param start the lower bound of the range of journal articles 4681 * @param end the upper bound of the range of journal articles (not inclusive) 4682 * @return the range of matching journal articles 4683 */ 4684 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4685 long groupId, long classNameId, long classPK, int start, int end); 4686 4687 /** 4688 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4689 * 4690 * <p> 4691 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4692 * </p> 4693 * 4694 * @param groupId the group ID 4695 * @param classNameId the class name ID 4696 * @param classPK the class p k 4697 * @param start the lower bound of the range of journal articles 4698 * @param end the upper bound of the range of journal articles (not inclusive) 4699 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4700 * @return the ordered range of matching journal articles 4701 */ 4702 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4703 long groupId, long classNameId, long classPK, int start, int end, 4704 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4705 4706 /** 4707 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4708 * 4709 * @param groupId the group ID 4710 * @param classNameId the class name ID 4711 * @param classPK the class p k 4712 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4713 * @return the first matching journal article 4714 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4715 */ 4716 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 4717 long groupId, long classNameId, long classPK, 4718 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4719 throws com.liferay.portlet.journal.NoSuchArticleException; 4720 4721 /** 4722 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4723 * 4724 * @param groupId the group ID 4725 * @param classNameId the class name ID 4726 * @param classPK the class p k 4727 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4728 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4729 */ 4730 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 4731 long groupId, long classNameId, long classPK, 4732 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4733 4734 /** 4735 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4736 * 4737 * @param groupId the group ID 4738 * @param classNameId the class name ID 4739 * @param classPK the class p k 4740 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4741 * @return the last matching journal article 4742 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4743 */ 4744 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 4745 long groupId, long classNameId, long classPK, 4746 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4747 throws com.liferay.portlet.journal.NoSuchArticleException; 4748 4749 /** 4750 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4751 * 4752 * @param groupId the group ID 4753 * @param classNameId the class name ID 4754 * @param classPK the class p k 4755 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4756 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4757 */ 4758 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 4759 long groupId, long classNameId, long classPK, 4760 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4761 4762 /** 4763 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4764 * 4765 * @param id the primary key of the current journal article 4766 * @param groupId the group ID 4767 * @param classNameId the class name ID 4768 * @param classPK the class p k 4769 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4770 * @return the previous, current, and next journal article 4771 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4772 */ 4773 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 4774 long id, long groupId, long classNameId, long classPK, 4775 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4776 throws com.liferay.portlet.journal.NoSuchArticleException; 4777 4778 /** 4779 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4780 * 4781 * @param groupId the group ID 4782 * @param classNameId the class name ID 4783 * @param classPK the class p k 4784 * @return the matching journal articles that the user has permission to view 4785 */ 4786 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4787 long groupId, long classNameId, long classPK); 4788 4789 /** 4790 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4791 * 4792 * <p> 4793 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4794 * </p> 4795 * 4796 * @param groupId the group ID 4797 * @param classNameId the class name ID 4798 * @param classPK the class p k 4799 * @param start the lower bound of the range of journal articles 4800 * @param end the upper bound of the range of journal articles (not inclusive) 4801 * @return the range of matching journal articles that the user has permission to view 4802 */ 4803 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4804 long groupId, long classNameId, long classPK, int start, int end); 4805 4806 /** 4807 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 4808 * 4809 * <p> 4810 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4811 * </p> 4812 * 4813 * @param groupId the group ID 4814 * @param classNameId the class name ID 4815 * @param classPK the class p k 4816 * @param start the lower bound of the range of journal articles 4817 * @param end the upper bound of the range of journal articles (not inclusive) 4818 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4819 * @return the ordered range of matching journal articles that the user has permission to view 4820 */ 4821 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4822 long groupId, long classNameId, long classPK, int start, int end, 4823 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4824 4825 /** 4826 * 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 = ?. 4827 * 4828 * @param id the primary key of the current journal article 4829 * @param groupId the group ID 4830 * @param classNameId the class name ID 4831 * @param classPK the class p k 4832 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4833 * @return the previous, current, and next journal article 4834 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4835 */ 4836 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 4837 long id, long groupId, long classNameId, long classPK, 4838 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4839 throws com.liferay.portlet.journal.NoSuchArticleException; 4840 4841 /** 4842 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 4843 * 4844 * @param groupId the group ID 4845 * @param classNameId the class name ID 4846 * @param classPK the class p k 4847 */ 4848 public void removeByG_C_C(long groupId, long classNameId, long classPK); 4849 4850 /** 4851 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 4852 * 4853 * @param groupId the group ID 4854 * @param classNameId the class name ID 4855 * @param classPK the class p k 4856 * @return the number of matching journal articles 4857 */ 4858 public int countByG_C_C(long groupId, long classNameId, long classPK); 4859 4860 /** 4861 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4862 * 4863 * @param groupId the group ID 4864 * @param classNameId the class name ID 4865 * @param classPK the class p k 4866 * @return the number of matching journal articles that the user has permission to view 4867 */ 4868 public int filterCountByG_C_C(long groupId, long classNameId, long classPK); 4869 4870 /** 4871 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 4872 * 4873 * @param groupId the group ID 4874 * @param classNameId the class name ID 4875 * @param structureId the structure ID 4876 * @return the matching journal article 4877 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4878 */ 4879 public com.liferay.portlet.journal.model.JournalArticle findByG_C_S( 4880 long groupId, long classNameId, java.lang.String structureId) 4881 throws com.liferay.portlet.journal.NoSuchArticleException; 4882 4883 /** 4884 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 4885 * 4886 * @param groupId the group ID 4887 * @param classNameId the class name ID 4888 * @param structureId the structure ID 4889 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4890 */ 4891 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 4892 long groupId, long classNameId, java.lang.String structureId); 4893 4894 /** 4895 * Returns the journal article where groupId = ? and classNameId = ? and structureId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 4896 * 4897 * @param groupId the group ID 4898 * @param classNameId the class name ID 4899 * @param structureId the structure ID 4900 * @param retrieveFromCache whether to use the finder cache 4901 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4902 */ 4903 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_S( 4904 long groupId, long classNameId, java.lang.String structureId, 4905 boolean retrieveFromCache); 4906 4907 /** 4908 * Removes the journal article where groupId = ? and classNameId = ? and structureId = ? from the database. 4909 * 4910 * @param groupId the group ID 4911 * @param classNameId the class name ID 4912 * @param structureId the structure ID 4913 * @return the journal article that was removed 4914 */ 4915 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_S( 4916 long groupId, long classNameId, java.lang.String structureId) 4917 throws com.liferay.portlet.journal.NoSuchArticleException; 4918 4919 /** 4920 * Returns the number of journal articles where groupId = ? and classNameId = ? and structureId = ?. 4921 * 4922 * @param groupId the group ID 4923 * @param classNameId the class name ID 4924 * @param structureId the structure ID 4925 * @return the number of matching journal articles 4926 */ 4927 public int countByG_C_S(long groupId, long classNameId, 4928 java.lang.String structureId); 4929 4930 /** 4931 * Returns all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 4932 * 4933 * @param groupId the group ID 4934 * @param classNameId the class name ID 4935 * @param templateId the template ID 4936 * @return the matching journal articles 4937 */ 4938 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 4939 long groupId, long classNameId, java.lang.String templateId); 4940 4941 /** 4942 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 4943 * 4944 * <p> 4945 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4946 * </p> 4947 * 4948 * @param groupId the group ID 4949 * @param classNameId the class name ID 4950 * @param templateId the template ID 4951 * @param start the lower bound of the range of journal articles 4952 * @param end the upper bound of the range of journal articles (not inclusive) 4953 * @return the range of matching journal articles 4954 */ 4955 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 4956 long groupId, long classNameId, java.lang.String templateId, int start, 4957 int end); 4958 4959 /** 4960 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and templateId = ?. 4961 * 4962 * <p> 4963 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4964 * </p> 4965 * 4966 * @param groupId the group ID 4967 * @param classNameId the class name ID 4968 * @param templateId the template ID 4969 * @param start the lower bound of the range of journal articles 4970 * @param end the upper bound of the range of journal articles (not inclusive) 4971 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4972 * @return the ordered range of matching journal articles 4973 */ 4974 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_T( 4975 long groupId, long classNameId, java.lang.String templateId, int start, 4976 int end, 4977 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4978 4979 /** 4980 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4981 * 4982 * @param groupId the group ID 4983 * @param classNameId the class name ID 4984 * @param templateId the template ID 4985 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4986 * @return the first matching journal article 4987 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4988 */ 4989 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_First( 4990 long groupId, long classNameId, java.lang.String templateId, 4991 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4992 throws com.liferay.portlet.journal.NoSuchArticleException; 4993 4994 /** 4995 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 4996 * 4997 * @param groupId the group ID 4998 * @param classNameId the class name ID 4999 * @param templateId the template ID 5000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5001 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5002 */ 5003 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_First( 5004 long groupId, long classNameId, java.lang.String templateId, 5005 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5006 5007 /** 5008 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5009 * 5010 * @param groupId the group ID 5011 * @param classNameId the class name ID 5012 * @param templateId the template ID 5013 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5014 * @return the last matching journal article 5015 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5016 */ 5017 public com.liferay.portlet.journal.model.JournalArticle findByG_C_T_Last( 5018 long groupId, long classNameId, java.lang.String templateId, 5019 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5020 throws com.liferay.portlet.journal.NoSuchArticleException; 5021 5022 /** 5023 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5024 * 5025 * @param groupId the group ID 5026 * @param classNameId the class name ID 5027 * @param templateId the template ID 5028 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5029 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5030 */ 5031 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_T_Last( 5032 long groupId, long classNameId, java.lang.String templateId, 5033 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5034 5035 /** 5036 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and templateId = ?. 5037 * 5038 * @param id the primary key of the current journal article 5039 * @param groupId the group ID 5040 * @param classNameId the class name ID 5041 * @param templateId the template ID 5042 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5043 * @return the previous, current, and next journal article 5044 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5045 */ 5046 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_T_PrevAndNext( 5047 long id, long groupId, long classNameId, java.lang.String templateId, 5048 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5049 throws com.liferay.portlet.journal.NoSuchArticleException; 5050 5051 /** 5052 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5053 * 5054 * @param groupId the group ID 5055 * @param classNameId the class name ID 5056 * @param templateId the template ID 5057 * @return the matching journal articles that the user has permission to view 5058 */ 5059 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5060 long groupId, long classNameId, java.lang.String templateId); 5061 5062 /** 5063 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5064 * 5065 * <p> 5066 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5067 * </p> 5068 * 5069 * @param groupId the group ID 5070 * @param classNameId the class name ID 5071 * @param templateId the template ID 5072 * @param start the lower bound of the range of journal articles 5073 * @param end the upper bound of the range of journal articles (not inclusive) 5074 * @return the range of matching journal articles that the user has permission to view 5075 */ 5076 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5077 long groupId, long classNameId, java.lang.String templateId, int start, 5078 int end); 5079 5080 /** 5081 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and templateId = ?. 5082 * 5083 * <p> 5084 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5085 * </p> 5086 * 5087 * @param groupId the group ID 5088 * @param classNameId the class name ID 5089 * @param templateId the template ID 5090 * @param start the lower bound of the range of journal articles 5091 * @param end the upper bound of the range of journal articles (not inclusive) 5092 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5093 * @return the ordered range of matching journal articles that the user has permission to view 5094 */ 5095 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_T( 5096 long groupId, long classNameId, java.lang.String templateId, int start, 5097 int end, 5098 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5099 5100 /** 5101 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5102 * 5103 * @param id the primary key of the current journal article 5104 * @param groupId the group ID 5105 * @param classNameId the class name ID 5106 * @param templateId the template ID 5107 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5108 * @return the previous, current, and next journal article 5109 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5110 */ 5111 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_T_PrevAndNext( 5112 long id, long groupId, long classNameId, java.lang.String templateId, 5113 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5114 throws com.liferay.portlet.journal.NoSuchArticleException; 5115 5116 /** 5117 * Removes all the journal articles where groupId = ? and classNameId = ? and templateId = ? from the database. 5118 * 5119 * @param groupId the group ID 5120 * @param classNameId the class name ID 5121 * @param templateId the template ID 5122 */ 5123 public void removeByG_C_T(long groupId, long classNameId, 5124 java.lang.String templateId); 5125 5126 /** 5127 * Returns the number of journal articles where groupId = ? and classNameId = ? and templateId = ?. 5128 * 5129 * @param groupId the group ID 5130 * @param classNameId the class name ID 5131 * @param templateId the template ID 5132 * @return the number of matching journal articles 5133 */ 5134 public int countByG_C_T(long groupId, long classNameId, 5135 java.lang.String templateId); 5136 5137 /** 5138 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and templateId = ?. 5139 * 5140 * @param groupId the group ID 5141 * @param classNameId the class name ID 5142 * @param templateId the template ID 5143 * @return the number of matching journal articles that the user has permission to view 5144 */ 5145 public int filterCountByG_C_T(long groupId, long classNameId, 5146 java.lang.String templateId); 5147 5148 /** 5149 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5150 * 5151 * @param groupId the group ID 5152 * @param classNameId the class name ID 5153 * @param layoutUuid the layout uuid 5154 * @return the matching journal articles 5155 */ 5156 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5157 long groupId, long classNameId, java.lang.String layoutUuid); 5158 5159 /** 5160 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5161 * 5162 * <p> 5163 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5164 * </p> 5165 * 5166 * @param groupId the group ID 5167 * @param classNameId the class name ID 5168 * @param layoutUuid the layout uuid 5169 * @param start the lower bound of the range of journal articles 5170 * @param end the upper bound of the range of journal articles (not inclusive) 5171 * @return the range of matching journal articles 5172 */ 5173 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5174 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5175 int end); 5176 5177 /** 5178 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5179 * 5180 * <p> 5181 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5182 * </p> 5183 * 5184 * @param groupId the group ID 5185 * @param classNameId the class name ID 5186 * @param layoutUuid the layout uuid 5187 * @param start the lower bound of the range of journal articles 5188 * @param end the upper bound of the range of journal articles (not inclusive) 5189 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5190 * @return the ordered range of matching journal articles 5191 */ 5192 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5193 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5194 int end, 5195 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5196 5197 /** 5198 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5199 * 5200 * @param groupId the group ID 5201 * @param classNameId the class name ID 5202 * @param layoutUuid the layout uuid 5203 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5204 * @return the first matching journal article 5205 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5206 */ 5207 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 5208 long groupId, long classNameId, java.lang.String layoutUuid, 5209 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5210 throws com.liferay.portlet.journal.NoSuchArticleException; 5211 5212 /** 5213 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5214 * 5215 * @param groupId the group ID 5216 * @param classNameId the class name ID 5217 * @param layoutUuid the layout uuid 5218 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5219 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5220 */ 5221 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 5222 long groupId, long classNameId, java.lang.String layoutUuid, 5223 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5224 5225 /** 5226 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5227 * 5228 * @param groupId the group ID 5229 * @param classNameId the class name ID 5230 * @param layoutUuid the layout uuid 5231 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5232 * @return the last matching journal article 5233 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5234 */ 5235 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 5236 long groupId, long classNameId, java.lang.String layoutUuid, 5237 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5238 throws com.liferay.portlet.journal.NoSuchArticleException; 5239 5240 /** 5241 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5242 * 5243 * @param groupId the group ID 5244 * @param classNameId the class name ID 5245 * @param layoutUuid the layout uuid 5246 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5247 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5248 */ 5249 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 5250 long groupId, long classNameId, java.lang.String layoutUuid, 5251 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5252 5253 /** 5254 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5255 * 5256 * @param id the primary key of the current journal article 5257 * @param groupId the group ID 5258 * @param classNameId the class name ID 5259 * @param layoutUuid the layout uuid 5260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5261 * @return the previous, current, and next journal article 5262 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5263 */ 5264 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 5265 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5266 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5267 throws com.liferay.portlet.journal.NoSuchArticleException; 5268 5269 /** 5270 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5271 * 5272 * @param groupId the group ID 5273 * @param classNameId the class name ID 5274 * @param layoutUuid the layout uuid 5275 * @return the matching journal articles that the user has permission to view 5276 */ 5277 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5278 long groupId, long classNameId, java.lang.String layoutUuid); 5279 5280 /** 5281 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5282 * 5283 * <p> 5284 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5285 * </p> 5286 * 5287 * @param groupId the group ID 5288 * @param classNameId the class name ID 5289 * @param layoutUuid the layout uuid 5290 * @param start the lower bound of the range of journal articles 5291 * @param end the upper bound of the range of journal articles (not inclusive) 5292 * @return the range of matching journal articles that the user has permission to view 5293 */ 5294 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5295 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5296 int end); 5297 5298 /** 5299 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5300 * 5301 * <p> 5302 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5303 * </p> 5304 * 5305 * @param groupId the group ID 5306 * @param classNameId the class name ID 5307 * @param layoutUuid the layout uuid 5308 * @param start the lower bound of the range of journal articles 5309 * @param end the upper bound of the range of journal articles (not inclusive) 5310 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5311 * @return the ordered range of matching journal articles that the user has permission to view 5312 */ 5313 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5314 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5315 int end, 5316 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5317 5318 /** 5319 * 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 = ?. 5320 * 5321 * @param id the primary key of the current journal article 5322 * @param groupId the group ID 5323 * @param classNameId the class name ID 5324 * @param layoutUuid the layout uuid 5325 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5326 * @return the previous, current, and next journal article 5327 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5328 */ 5329 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 5330 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5331 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5332 throws com.liferay.portlet.journal.NoSuchArticleException; 5333 5334 /** 5335 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5336 * 5337 * @param groupId the group ID 5338 * @param classNameId the class name ID 5339 * @param layoutUuid the layout uuid 5340 */ 5341 public void removeByG_C_L(long groupId, long classNameId, 5342 java.lang.String layoutUuid); 5343 5344 /** 5345 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5346 * 5347 * @param groupId the group ID 5348 * @param classNameId the class name ID 5349 * @param layoutUuid the layout uuid 5350 * @return the number of matching journal articles 5351 */ 5352 public int countByG_C_L(long groupId, long classNameId, 5353 java.lang.String layoutUuid); 5354 5355 /** 5356 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5357 * 5358 * @param groupId the group ID 5359 * @param classNameId the class name ID 5360 * @param layoutUuid the layout uuid 5361 * @return the number of matching journal articles that the user has permission to view 5362 */ 5363 public int filterCountByG_C_L(long groupId, long classNameId, 5364 java.lang.String layoutUuid); 5365 5366 /** 5367 * 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. 5368 * 5369 * @param groupId the group ID 5370 * @param articleId the article ID 5371 * @param version the version 5372 * @return the matching journal article 5373 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5374 */ 5375 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 5376 long groupId, java.lang.String articleId, double version) 5377 throws com.liferay.portlet.journal.NoSuchArticleException; 5378 5379 /** 5380 * 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. 5381 * 5382 * @param groupId the group ID 5383 * @param articleId the article ID 5384 * @param version the version 5385 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5386 */ 5387 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5388 long groupId, java.lang.String articleId, double version); 5389 5390 /** 5391 * 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. 5392 * 5393 * @param groupId the group ID 5394 * @param articleId the article ID 5395 * @param version the version 5396 * @param retrieveFromCache whether to use the finder cache 5397 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5398 */ 5399 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5400 long groupId, java.lang.String articleId, double version, 5401 boolean retrieveFromCache); 5402 5403 /** 5404 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 5405 * 5406 * @param groupId the group ID 5407 * @param articleId the article ID 5408 * @param version the version 5409 * @return the journal article that was removed 5410 */ 5411 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 5412 long groupId, java.lang.String articleId, double version) 5413 throws com.liferay.portlet.journal.NoSuchArticleException; 5414 5415 /** 5416 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 5417 * 5418 * @param groupId the group ID 5419 * @param articleId the article ID 5420 * @param version the version 5421 * @return the number of matching journal articles 5422 */ 5423 public int countByG_A_V(long groupId, java.lang.String articleId, 5424 double version); 5425 5426 /** 5427 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 5428 * 5429 * @param groupId the group ID 5430 * @param articleId the article ID 5431 * @param status the status 5432 * @return the matching journal articles 5433 */ 5434 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5435 long groupId, java.lang.String articleId, int status); 5436 5437 /** 5438 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5439 * 5440 * <p> 5441 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5442 * </p> 5443 * 5444 * @param groupId the group ID 5445 * @param articleId the article ID 5446 * @param status the status 5447 * @param start the lower bound of the range of journal articles 5448 * @param end the upper bound of the range of journal articles (not inclusive) 5449 * @return the range of matching journal articles 5450 */ 5451 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5452 long groupId, java.lang.String articleId, int status, int start, int end); 5453 5454 /** 5455 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5456 * 5457 * <p> 5458 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5459 * </p> 5460 * 5461 * @param groupId the group ID 5462 * @param articleId the article ID 5463 * @param status the status 5464 * @param start the lower bound of the range of journal articles 5465 * @param end the upper bound of the range of journal articles (not inclusive) 5466 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5467 * @return the ordered range of matching journal articles 5468 */ 5469 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5470 long groupId, java.lang.String articleId, int status, int start, 5471 int end, 5472 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5473 5474 /** 5475 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5476 * 5477 * @param groupId the group ID 5478 * @param articleId the article ID 5479 * @param status the status 5480 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5481 * @return the first matching journal article 5482 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5483 */ 5484 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 5485 long groupId, java.lang.String articleId, int status, 5486 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5487 throws com.liferay.portlet.journal.NoSuchArticleException; 5488 5489 /** 5490 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5491 * 5492 * @param groupId the group ID 5493 * @param articleId the article ID 5494 * @param status the status 5495 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5496 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5497 */ 5498 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 5499 long groupId, java.lang.String articleId, int status, 5500 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5501 5502 /** 5503 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5504 * 5505 * @param groupId the group ID 5506 * @param articleId the article ID 5507 * @param status the status 5508 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5509 * @return the last matching journal article 5510 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5511 */ 5512 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 5513 long groupId, java.lang.String articleId, int status, 5514 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5515 throws com.liferay.portlet.journal.NoSuchArticleException; 5516 5517 /** 5518 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5519 * 5520 * @param groupId the group ID 5521 * @param articleId the article ID 5522 * @param status the status 5523 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5524 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5525 */ 5526 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 5527 long groupId, java.lang.String articleId, int status, 5528 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5529 5530 /** 5531 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5532 * 5533 * @param id the primary key of the current journal article 5534 * @param groupId the group ID 5535 * @param articleId the article ID 5536 * @param status the status 5537 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5538 * @return the previous, current, and next journal article 5539 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5540 */ 5541 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 5542 long id, long groupId, java.lang.String articleId, int status, 5543 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5544 throws com.liferay.portlet.journal.NoSuchArticleException; 5545 5546 /** 5547 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5548 * 5549 * @param groupId the group ID 5550 * @param articleId the article ID 5551 * @param status the status 5552 * @return the matching journal articles that the user has permission to view 5553 */ 5554 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5555 long groupId, java.lang.String articleId, int status); 5556 5557 /** 5558 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5559 * 5560 * <p> 5561 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5562 * </p> 5563 * 5564 * @param groupId the group ID 5565 * @param articleId the article ID 5566 * @param status the status 5567 * @param start the lower bound of the range of journal articles 5568 * @param end the upper bound of the range of journal articles (not inclusive) 5569 * @return the range of matching journal articles that the user has permission to view 5570 */ 5571 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5572 long groupId, java.lang.String articleId, int status, int start, int end); 5573 5574 /** 5575 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 5576 * 5577 * <p> 5578 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5579 * </p> 5580 * 5581 * @param groupId the group ID 5582 * @param articleId the article ID 5583 * @param status the status 5584 * @param start the lower bound of the range of journal articles 5585 * @param end the upper bound of the range of journal articles (not inclusive) 5586 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5587 * @return the ordered range of matching journal articles that the user has permission to view 5588 */ 5589 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5590 long groupId, java.lang.String articleId, int status, int start, 5591 int end, 5592 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5593 5594 /** 5595 * 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 = ?. 5596 * 5597 * @param id the primary key of the current journal article 5598 * @param groupId the group ID 5599 * @param articleId the article ID 5600 * @param status the status 5601 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5602 * @return the previous, current, and next journal article 5603 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5604 */ 5605 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 5606 long id, long groupId, java.lang.String articleId, int status, 5607 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5608 throws com.liferay.portlet.journal.NoSuchArticleException; 5609 5610 /** 5611 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5612 * 5613 * @param groupId the group ID 5614 * @param articleId the article ID 5615 * @param statuses the statuses 5616 * @return the matching journal articles that the user has permission to view 5617 */ 5618 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5619 long groupId, java.lang.String articleId, int[] statuses); 5620 5621 /** 5622 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5623 * 5624 * <p> 5625 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5626 * </p> 5627 * 5628 * @param groupId the group ID 5629 * @param articleId the article ID 5630 * @param statuses the statuses 5631 * @param start the lower bound of the range of journal articles 5632 * @param end the upper bound of the range of journal articles (not inclusive) 5633 * @return the range of matching journal articles that the user has permission to view 5634 */ 5635 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5636 long groupId, java.lang.String articleId, int[] statuses, int start, 5637 int end); 5638 5639 /** 5640 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5641 * 5642 * <p> 5643 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5644 * </p> 5645 * 5646 * @param groupId the group ID 5647 * @param articleId the article ID 5648 * @param statuses the statuses 5649 * @param start the lower bound of the range of journal articles 5650 * @param end the upper bound of the range of journal articles (not inclusive) 5651 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5652 * @return the ordered range of matching journal articles that the user has permission to view 5653 */ 5654 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5655 long groupId, java.lang.String articleId, int[] statuses, int start, 5656 int end, 5657 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5658 5659 /** 5660 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 5661 * 5662 * <p> 5663 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5664 * </p> 5665 * 5666 * @param groupId the group ID 5667 * @param articleId the article ID 5668 * @param statuses the statuses 5669 * @return the matching journal articles 5670 */ 5671 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5672 long groupId, java.lang.String articleId, int[] statuses); 5673 5674 /** 5675 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 5676 * 5677 * <p> 5678 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5679 * </p> 5680 * 5681 * @param groupId the group ID 5682 * @param articleId the article ID 5683 * @param statuses the statuses 5684 * @param start the lower bound of the range of journal articles 5685 * @param end the upper bound of the range of journal articles (not inclusive) 5686 * @return the range of matching journal articles 5687 */ 5688 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5689 long groupId, java.lang.String articleId, int[] statuses, int start, 5690 int end); 5691 5692 /** 5693 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 5694 * 5695 * <p> 5696 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5697 * </p> 5698 * 5699 * @param groupId the group ID 5700 * @param articleId the article ID 5701 * @param statuses the statuses 5702 * @param start the lower bound of the range of journal articles 5703 * @param end the upper bound of the range of journal articles (not inclusive) 5704 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5705 * @return the ordered range of matching journal articles 5706 */ 5707 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5708 long groupId, java.lang.String articleId, int[] statuses, int start, 5709 int end, 5710 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5711 5712 /** 5713 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 5714 * 5715 * @param groupId the group ID 5716 * @param articleId the article ID 5717 * @param status the status 5718 */ 5719 public void removeByG_A_ST(long groupId, java.lang.String articleId, 5720 int status); 5721 5722 /** 5723 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 5724 * 5725 * @param groupId the group ID 5726 * @param articleId the article ID 5727 * @param status the status 5728 * @return the number of matching journal articles 5729 */ 5730 public int countByG_A_ST(long groupId, java.lang.String articleId, 5731 int status); 5732 5733 /** 5734 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 5735 * 5736 * @param groupId the group ID 5737 * @param articleId the article ID 5738 * @param statuses the statuses 5739 * @return the number of matching journal articles 5740 */ 5741 public int countByG_A_ST(long groupId, java.lang.String articleId, 5742 int[] statuses); 5743 5744 /** 5745 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5746 * 5747 * @param groupId the group ID 5748 * @param articleId the article ID 5749 * @param status the status 5750 * @return the number of matching journal articles that the user has permission to view 5751 */ 5752 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5753 int status); 5754 5755 /** 5756 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5757 * 5758 * @param groupId the group ID 5759 * @param articleId the article ID 5760 * @param statuses the statuses 5761 * @return the number of matching journal articles that the user has permission to view 5762 */ 5763 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5764 int[] statuses); 5765 5766 /** 5767 * Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 5768 * 5769 * @param groupId the group ID 5770 * @param articleId the article ID 5771 * @param status the status 5772 * @return the matching journal articles 5773 */ 5774 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 5775 long groupId, java.lang.String articleId, int status); 5776 5777 /** 5778 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 5779 * 5780 * <p> 5781 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5782 * </p> 5783 * 5784 * @param groupId the group ID 5785 * @param articleId the article ID 5786 * @param status the status 5787 * @param start the lower bound of the range of journal articles 5788 * @param end the upper bound of the range of journal articles (not inclusive) 5789 * @return the range of matching journal articles 5790 */ 5791 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 5792 long groupId, java.lang.String articleId, int status, int start, int end); 5793 5794 /** 5795 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 5796 * 5797 * <p> 5798 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5799 * </p> 5800 * 5801 * @param groupId the group ID 5802 * @param articleId the article ID 5803 * @param status the status 5804 * @param start the lower bound of the range of journal articles 5805 * @param end the upper bound of the range of journal articles (not inclusive) 5806 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5807 * @return the ordered range of matching journal articles 5808 */ 5809 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 5810 long groupId, java.lang.String articleId, int status, int start, 5811 int end, 5812 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5813 5814 /** 5815 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5816 * 5817 * @param groupId the group ID 5818 * @param articleId the article ID 5819 * @param status the status 5820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5821 * @return the first matching journal article 5822 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5823 */ 5824 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First( 5825 long groupId, java.lang.String articleId, int status, 5826 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5827 throws com.liferay.portlet.journal.NoSuchArticleException; 5828 5829 /** 5830 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5831 * 5832 * @param groupId the group ID 5833 * @param articleId the article ID 5834 * @param status the status 5835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5836 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5837 */ 5838 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First( 5839 long groupId, java.lang.String articleId, int status, 5840 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5841 5842 /** 5843 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5844 * 5845 * @param groupId the group ID 5846 * @param articleId the article ID 5847 * @param status the status 5848 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5849 * @return the last matching journal article 5850 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5851 */ 5852 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last( 5853 long groupId, java.lang.String articleId, int status, 5854 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5855 throws com.liferay.portlet.journal.NoSuchArticleException; 5856 5857 /** 5858 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5859 * 5860 * @param groupId the group ID 5861 * @param articleId the article ID 5862 * @param status the status 5863 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5864 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5865 */ 5866 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last( 5867 long groupId, java.lang.String articleId, int status, 5868 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5869 5870 /** 5871 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5872 * 5873 * @param id the primary key of the current journal article 5874 * @param groupId the group ID 5875 * @param articleId the article ID 5876 * @param status the status 5877 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5878 * @return the previous, current, and next journal article 5879 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5880 */ 5881 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext( 5882 long id, long groupId, java.lang.String articleId, int status, 5883 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5884 throws com.liferay.portlet.journal.NoSuchArticleException; 5885 5886 /** 5887 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 5888 * 5889 * @param groupId the group ID 5890 * @param articleId the article ID 5891 * @param status the status 5892 * @return the matching journal articles that the user has permission to view 5893 */ 5894 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 5895 long groupId, java.lang.String articleId, int status); 5896 5897 /** 5898 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 5899 * 5900 * <p> 5901 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5902 * </p> 5903 * 5904 * @param groupId the group ID 5905 * @param articleId the article ID 5906 * @param status the status 5907 * @param start the lower bound of the range of journal articles 5908 * @param end the upper bound of the range of journal articles (not inclusive) 5909 * @return the range of matching journal articles that the user has permission to view 5910 */ 5911 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 5912 long groupId, java.lang.String articleId, int status, int start, int end); 5913 5914 /** 5915 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?. 5916 * 5917 * <p> 5918 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5919 * </p> 5920 * 5921 * @param groupId the group ID 5922 * @param articleId the article ID 5923 * @param status the status 5924 * @param start the lower bound of the range of journal articles 5925 * @param end the upper bound of the range of journal articles (not inclusive) 5926 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5927 * @return the ordered range of matching journal articles that the user has permission to view 5928 */ 5929 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 5930 long groupId, java.lang.String articleId, int status, int start, 5931 int end, 5932 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5933 5934 /** 5935 * 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 ≠ ?. 5936 * 5937 * @param id the primary key of the current journal article 5938 * @param groupId the group ID 5939 * @param articleId the article ID 5940 * @param status the status 5941 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5942 * @return the previous, current, and next journal article 5943 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5944 */ 5945 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext( 5946 long id, long groupId, java.lang.String articleId, int status, 5947 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5948 throws com.liferay.portlet.journal.NoSuchArticleException; 5949 5950 /** 5951 * Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database. 5952 * 5953 * @param groupId the group ID 5954 * @param articleId the article ID 5955 * @param status the status 5956 */ 5957 public void removeByG_A_NotST(long groupId, java.lang.String articleId, 5958 int status); 5959 5960 /** 5961 * Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?. 5962 * 5963 * @param groupId the group ID 5964 * @param articleId the article ID 5965 * @param status the status 5966 * @return the number of matching journal articles 5967 */ 5968 public int countByG_A_NotST(long groupId, java.lang.String articleId, 5969 int status); 5970 5971 /** 5972 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 5973 * 5974 * @param groupId the group ID 5975 * @param articleId the article ID 5976 * @param status the status 5977 * @return the number of matching journal articles that the user has permission to view 5978 */ 5979 public int filterCountByG_A_NotST(long groupId, java.lang.String articleId, 5980 int status); 5981 5982 /** 5983 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 5984 * 5985 * @param groupId the group ID 5986 * @param urlTitle the url title 5987 * @param status the status 5988 * @return the matching journal articles 5989 */ 5990 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 5991 long groupId, java.lang.String urlTitle, int status); 5992 5993 /** 5994 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 5995 * 5996 * <p> 5997 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5998 * </p> 5999 * 6000 * @param groupId the group ID 6001 * @param urlTitle the url title 6002 * @param status the status 6003 * @param start the lower bound of the range of journal articles 6004 * @param end the upper bound of the range of journal articles (not inclusive) 6005 * @return the range of matching journal articles 6006 */ 6007 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6008 long groupId, java.lang.String urlTitle, int status, int start, int end); 6009 6010 /** 6011 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6012 * 6013 * <p> 6014 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6015 * </p> 6016 * 6017 * @param groupId the group ID 6018 * @param urlTitle the url title 6019 * @param status the status 6020 * @param start the lower bound of the range of journal articles 6021 * @param end the upper bound of the range of journal articles (not inclusive) 6022 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6023 * @return the ordered range of matching journal articles 6024 */ 6025 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6026 long groupId, java.lang.String urlTitle, int status, int start, 6027 int end, 6028 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6029 6030 /** 6031 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6032 * 6033 * @param groupId the group ID 6034 * @param urlTitle the url title 6035 * @param status the status 6036 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6037 * @return the first matching journal article 6038 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6039 */ 6040 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 6041 long groupId, java.lang.String urlTitle, int status, 6042 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6043 throws com.liferay.portlet.journal.NoSuchArticleException; 6044 6045 /** 6046 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6047 * 6048 * @param groupId the group ID 6049 * @param urlTitle the url title 6050 * @param status the status 6051 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6052 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6053 */ 6054 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 6055 long groupId, java.lang.String urlTitle, int status, 6056 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6057 6058 /** 6059 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6060 * 6061 * @param groupId the group ID 6062 * @param urlTitle the url title 6063 * @param status the status 6064 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6065 * @return the last matching journal article 6066 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6067 */ 6068 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 6069 long groupId, java.lang.String urlTitle, int status, 6070 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6071 throws com.liferay.portlet.journal.NoSuchArticleException; 6072 6073 /** 6074 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6075 * 6076 * @param groupId the group ID 6077 * @param urlTitle the url title 6078 * @param status the status 6079 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6080 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6081 */ 6082 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 6083 long groupId, java.lang.String urlTitle, int status, 6084 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6085 6086 /** 6087 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6088 * 6089 * @param id the primary key of the current journal article 6090 * @param groupId the group ID 6091 * @param urlTitle the url title 6092 * @param status the status 6093 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6094 * @return the previous, current, and next journal article 6095 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6096 */ 6097 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 6098 long id, long groupId, java.lang.String urlTitle, int status, 6099 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6100 throws com.liferay.portlet.journal.NoSuchArticleException; 6101 6102 /** 6103 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6104 * 6105 * @param groupId the group ID 6106 * @param urlTitle the url title 6107 * @param status the status 6108 * @return the matching journal articles that the user has permission to view 6109 */ 6110 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6111 long groupId, java.lang.String urlTitle, int status); 6112 6113 /** 6114 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6115 * 6116 * <p> 6117 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6118 * </p> 6119 * 6120 * @param groupId the group ID 6121 * @param urlTitle the url title 6122 * @param status the status 6123 * @param start the lower bound of the range of journal articles 6124 * @param end the upper bound of the range of journal articles (not inclusive) 6125 * @return the range of matching journal articles that the user has permission to view 6126 */ 6127 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6128 long groupId, java.lang.String urlTitle, int status, int start, int end); 6129 6130 /** 6131 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 6132 * 6133 * <p> 6134 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6135 * </p> 6136 * 6137 * @param groupId the group ID 6138 * @param urlTitle the url title 6139 * @param status the status 6140 * @param start the lower bound of the range of journal articles 6141 * @param end the upper bound of the range of journal articles (not inclusive) 6142 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6143 * @return the ordered range of matching journal articles that the user has permission to view 6144 */ 6145 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6146 long groupId, java.lang.String urlTitle, int status, int start, 6147 int end, 6148 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6149 6150 /** 6151 * 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 = ?. 6152 * 6153 * @param id the primary key of the current journal article 6154 * @param groupId the group ID 6155 * @param urlTitle the url title 6156 * @param status the status 6157 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6158 * @return the previous, current, and next journal article 6159 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6160 */ 6161 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 6162 long id, long groupId, java.lang.String urlTitle, int status, 6163 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6164 throws com.liferay.portlet.journal.NoSuchArticleException; 6165 6166 /** 6167 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 6168 * 6169 * @param groupId the group ID 6170 * @param urlTitle the url title 6171 * @param status the status 6172 */ 6173 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 6174 int status); 6175 6176 /** 6177 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 6178 * 6179 * @param groupId the group ID 6180 * @param urlTitle the url title 6181 * @param status the status 6182 * @return the number of matching journal articles 6183 */ 6184 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 6185 int status); 6186 6187 /** 6188 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6189 * 6190 * @param groupId the group ID 6191 * @param urlTitle the url title 6192 * @param status the status 6193 * @return the number of matching journal articles that the user has permission to view 6194 */ 6195 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 6196 int status); 6197 6198 /** 6199 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 6200 * 6201 * @param companyId the company ID 6202 * @param version the version 6203 * @param status the status 6204 * @return the matching journal articles 6205 */ 6206 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6207 long companyId, double version, int status); 6208 6209 /** 6210 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 6211 * 6212 * <p> 6213 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6214 * </p> 6215 * 6216 * @param companyId the company ID 6217 * @param version the version 6218 * @param status the status 6219 * @param start the lower bound of the range of journal articles 6220 * @param end the upper bound of the range of journal articles (not inclusive) 6221 * @return the range of matching journal articles 6222 */ 6223 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6224 long companyId, double version, int status, int start, int end); 6225 6226 /** 6227 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 6228 * 6229 * <p> 6230 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6231 * </p> 6232 * 6233 * @param companyId the company ID 6234 * @param version the version 6235 * @param status the status 6236 * @param start the lower bound of the range of journal articles 6237 * @param end the upper bound of the range of journal articles (not inclusive) 6238 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6239 * @return the ordered range of matching journal articles 6240 */ 6241 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6242 long companyId, double version, int status, int start, int end, 6243 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6244 6245 /** 6246 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6247 * 6248 * @param companyId the company ID 6249 * @param version the version 6250 * @param status the status 6251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6252 * @return the first matching journal article 6253 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6254 */ 6255 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 6256 long companyId, double version, int status, 6257 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6258 throws com.liferay.portlet.journal.NoSuchArticleException; 6259 6260 /** 6261 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6262 * 6263 * @param companyId the company ID 6264 * @param version the version 6265 * @param status the status 6266 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6267 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6268 */ 6269 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 6270 long companyId, double version, int status, 6271 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6272 6273 /** 6274 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6275 * 6276 * @param companyId the company ID 6277 * @param version the version 6278 * @param status the status 6279 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6280 * @return the last matching journal article 6281 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6282 */ 6283 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 6284 long companyId, double version, int status, 6285 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6286 throws com.liferay.portlet.journal.NoSuchArticleException; 6287 6288 /** 6289 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6290 * 6291 * @param companyId the company ID 6292 * @param version the version 6293 * @param status the status 6294 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6295 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6296 */ 6297 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 6298 long companyId, double version, int status, 6299 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6300 6301 /** 6302 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 6303 * 6304 * @param id the primary key of the current journal article 6305 * @param companyId the company ID 6306 * @param version the version 6307 * @param status the status 6308 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6309 * @return the previous, current, and next journal article 6310 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6311 */ 6312 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 6313 long id, long companyId, double version, int status, 6314 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6315 throws com.liferay.portlet.journal.NoSuchArticleException; 6316 6317 /** 6318 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 6319 * 6320 * @param companyId the company ID 6321 * @param version the version 6322 * @param status the status 6323 */ 6324 public void removeByC_V_ST(long companyId, double version, int status); 6325 6326 /** 6327 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 6328 * 6329 * @param companyId the company ID 6330 * @param version the version 6331 * @param status the status 6332 * @return the number of matching journal articles 6333 */ 6334 public int countByC_V_ST(long companyId, double version, int status); 6335 6336 /** 6337 * Caches the journal article in the entity cache if it is enabled. 6338 * 6339 * @param journalArticle the journal article 6340 */ 6341 public void cacheResult( 6342 com.liferay.portlet.journal.model.JournalArticle journalArticle); 6343 6344 /** 6345 * Caches the journal articles in the entity cache if it is enabled. 6346 * 6347 * @param journalArticles the journal articles 6348 */ 6349 public void cacheResult( 6350 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 6351 6352 /** 6353 * Creates a new journal article with the primary key. Does not add the journal article to the database. 6354 * 6355 * @param id the primary key for the new journal article 6356 * @return the new journal article 6357 */ 6358 public com.liferay.portlet.journal.model.JournalArticle create(long id); 6359 6360 /** 6361 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 6362 * 6363 * @param id the primary key of the journal article 6364 * @return the journal article that was removed 6365 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6366 */ 6367 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 6368 throws com.liferay.portlet.journal.NoSuchArticleException; 6369 6370 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 6371 com.liferay.portlet.journal.model.JournalArticle journalArticle); 6372 6373 /** 6374 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 6375 * 6376 * @param id the primary key of the journal article 6377 * @return the journal article 6378 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6379 */ 6380 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 6381 long id) throws com.liferay.portlet.journal.NoSuchArticleException; 6382 6383 /** 6384 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 6385 * 6386 * @param id the primary key of the journal article 6387 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 6388 */ 6389 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 6390 long id); 6391 6392 @Override 6393 public java.util.Map<java.io.Serializable, com.liferay.portlet.journal.model.JournalArticle> fetchByPrimaryKeys( 6394 java.util.Set<java.io.Serializable> primaryKeys); 6395 6396 /** 6397 * Returns all the journal articles. 6398 * 6399 * @return the journal articles 6400 */ 6401 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(); 6402 6403 /** 6404 * Returns a range of all the journal articles. 6405 * 6406 * <p> 6407 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6408 * </p> 6409 * 6410 * @param start the lower bound of the range of journal articles 6411 * @param end the upper bound of the range of journal articles (not inclusive) 6412 * @return the range of journal articles 6413 */ 6414 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6415 int start, int end); 6416 6417 /** 6418 * Returns an ordered range of all the journal articles. 6419 * 6420 * <p> 6421 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6422 * </p> 6423 * 6424 * @param start the lower bound of the range of journal articles 6425 * @param end the upper bound of the range of journal articles (not inclusive) 6426 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6427 * @return the ordered range of journal articles 6428 */ 6429 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6430 int start, int end, 6431 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6432 6433 /** 6434 * Removes all the journal articles from the database. 6435 */ 6436 public void removeAll(); 6437 6438 /** 6439 * Returns the number of journal articles. 6440 * 6441 * @return the number of journal articles 6442 */ 6443 public int countAll(); 6444 }