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 DDMStructureKey = ?. 761 * 762 * @param DDMStructureKey the d d m structure key 763 * @return the matching journal articles 764 */ 765 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 766 java.lang.String DDMStructureKey); 767 768 /** 769 * Returns a range of all the journal articles where DDMStructureKey = ?. 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 DDMStructureKey the d d m structure key 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> findByDDMStructureKey( 781 java.lang.String DDMStructureKey, int start, int end); 782 783 /** 784 * Returns an ordered range of all the journal articles where DDMStructureKey = ?. 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 DDMStructureKey the d d m structure key 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> findByDDMStructureKey( 797 java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 802 * 803 * @param DDMStructureKey the d d m structure key 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 findByDDMStructureKey_First( 809 java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 815 * 816 * @param DDMStructureKey the d d m structure key 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 fetchByDDMStructureKey_First( 821 java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 826 * 827 * @param DDMStructureKey the d d m structure key 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 findByDDMStructureKey_Last( 833 java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 839 * 840 * @param DDMStructureKey the d d m structure key 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 fetchByDDMStructureKey_Last( 845 java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 850 * 851 * @param id the primary key of the current journal article 852 * @param DDMStructureKey the d d m structure key 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[] findByDDMStructureKey_PrevAndNext( 858 long id, java.lang.String DDMStructureKey, 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 DDMStructureKey = 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 DDMStructureKeies the d d m structure keies 870 * @return the matching journal articles 871 */ 872 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMStructureKey( 873 java.lang.String[] DDMStructureKeies); 874 875 /** 876 * Returns a range of all the journal articles where DDMStructureKey = 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 DDMStructureKeies the d d m structure keies 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> findByDDMStructureKey( 888 java.lang.String[] DDMStructureKeies, int start, int end); 889 890 /** 891 * Returns an ordered range of all the journal articles where DDMStructureKey = 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 DDMStructureKeies the d d m structure keies 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> findByDDMStructureKey( 904 java.lang.String[] DDMStructureKeies, 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 DDMStructureKey = ? from the database. 909 * 910 * @param DDMStructureKey the d d m structure key 911 */ 912 public void removeByDDMStructureKey(java.lang.String DDMStructureKey); 913 914 /** 915 * Returns the number of journal articles where DDMStructureKey = ?. 916 * 917 * @param DDMStructureKey the d d m structure key 918 * @return the number of matching journal articles 919 */ 920 public int countByDDMStructureKey(java.lang.String DDMStructureKey); 921 922 /** 923 * Returns the number of journal articles where DDMStructureKey = any ?. 924 * 925 * @param DDMStructureKeies the d d m structure keies 926 * @return the number of matching journal articles 927 */ 928 public int countByDDMStructureKey(java.lang.String[] DDMStructureKeies); 929 930 /** 931 * Returns all the journal articles where DDMTemplateKey = ?. 932 * 933 * @param DDMTemplateKey the d d m template key 934 * @return the matching journal articles 935 */ 936 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByDDMTemplateKey( 937 java.lang.String DDMTemplateKey); 938 939 /** 940 * Returns a range of all the journal articles where DDMTemplateKey = ?. 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 DDMTemplateKey the d d m template key 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> findByDDMTemplateKey( 952 java.lang.String DDMTemplateKey, int start, int end); 953 954 /** 955 * Returns an ordered range of all the journal articles where DDMTemplateKey = ?. 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 DDMTemplateKey the d d m template key 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> findByDDMTemplateKey( 968 java.lang.String DDMTemplateKey, 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 DDMTemplateKey = ?. 973 * 974 * @param DDMTemplateKey the d d m template key 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 findByDDMTemplateKey_First( 980 java.lang.String DDMTemplateKey, 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 DDMTemplateKey = ?. 986 * 987 * @param DDMTemplateKey the d d m template key 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 fetchByDDMTemplateKey_First( 992 java.lang.String DDMTemplateKey, 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 DDMTemplateKey = ?. 997 * 998 * @param DDMTemplateKey the d d m template key 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 findByDDMTemplateKey_Last( 1004 java.lang.String DDMTemplateKey, 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 DDMTemplateKey = ?. 1010 * 1011 * @param DDMTemplateKey the d d m template key 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 fetchByDDMTemplateKey_Last( 1016 java.lang.String DDMTemplateKey, 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 DDMTemplateKey = ?. 1021 * 1022 * @param id the primary key of the current journal article 1023 * @param DDMTemplateKey the d d m template key 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[] findByDDMTemplateKey_PrevAndNext( 1029 long id, java.lang.String DDMTemplateKey, 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 DDMTemplateKey = ? from the database. 1035 * 1036 * @param DDMTemplateKey the d d m template key 1037 */ 1038 public void removeByDDMTemplateKey(java.lang.String DDMTemplateKey); 1039 1040 /** 1041 * Returns the number of journal articles where DDMTemplateKey = ?. 1042 * 1043 * @param DDMTemplateKey the d d m template key 1044 * @return the number of matching journal articles 1045 */ 1046 public int countByDDMTemplateKey(java.lang.String DDMTemplateKey); 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 DDMStructureKey = ?. 2493 * 2494 * @param groupId the group ID 2495 * @param DDMStructureKey the d d m structure key 2496 * @return the matching journal articles 2497 */ 2498 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMSK( 2499 long groupId, java.lang.String DDMStructureKey); 2500 2501 /** 2502 * Returns a range of all the journal articles where groupId = ? and DDMStructureKey = ?. 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 DDMStructureKey the d d m structure key 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_DDMSK( 2515 long groupId, java.lang.String DDMStructureKey, int start, int end); 2516 2517 /** 2518 * Returns an ordered range of all the journal articles where groupId = ? and DDMStructureKey = ?. 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 DDMStructureKey the d d m structure key 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_DDMSK( 2532 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2537 * 2538 * @param groupId the group ID 2539 * @param DDMStructureKey the d d m structure key 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_DDMSK_First( 2545 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2551 * 2552 * @param groupId the group ID 2553 * @param DDMStructureKey the d d m structure key 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_DDMSK_First( 2558 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2563 * 2564 * @param groupId the group ID 2565 * @param DDMStructureKey the d d m structure key 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_DDMSK_Last( 2571 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2577 * 2578 * @param groupId the group ID 2579 * @param DDMStructureKey the d d m structure key 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_DDMSK_Last( 2584 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2589 * 2590 * @param id the primary key of the current journal article 2591 * @param groupId the group ID 2592 * @param DDMStructureKey the d d m structure key 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_DDMSK_PrevAndNext( 2598 long id, long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2604 * 2605 * @param groupId the group ID 2606 * @param DDMStructureKey the d d m structure key 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_DDMSK( 2610 long groupId, java.lang.String DDMStructureKey); 2611 2612 /** 2613 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?. 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 DDMStructureKey the d d m structure key 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_DDMSK( 2626 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 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 DDMStructureKey the d d m structure key 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_DDMSK( 2643 long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ?. 2648 * 2649 * @param id the primary key of the current journal article 2650 * @param groupId the group ID 2651 * @param DDMStructureKey the d d m structure key 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_DDMSK_PrevAndNext( 2657 long id, long groupId, java.lang.String DDMStructureKey, 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 DDMStructureKey = ? from the database. 2663 * 2664 * @param groupId the group ID 2665 * @param DDMStructureKey the d d m structure key 2666 */ 2667 public void removeByG_DDMSK(long groupId, java.lang.String DDMStructureKey); 2668 2669 /** 2670 * Returns the number of journal articles where groupId = ? and DDMStructureKey = ?. 2671 * 2672 * @param groupId the group ID 2673 * @param DDMStructureKey the d d m structure key 2674 * @return the number of matching journal articles 2675 */ 2676 public int countByG_DDMSK(long groupId, java.lang.String DDMStructureKey); 2677 2678 /** 2679 * Returns the number of journal articles that the user has permission to view where groupId = ? and DDMStructureKey = ?. 2680 * 2681 * @param groupId the group ID 2682 * @param DDMStructureKey the d d m structure key 2683 * @return the number of matching journal articles that the user has permission to view 2684 */ 2685 public int filterCountByG_DDMSK(long groupId, 2686 java.lang.String DDMStructureKey); 2687 2688 /** 2689 * Returns all the journal articles where groupId = ? and DDMTemplateKey = ?. 2690 * 2691 * @param groupId the group ID 2692 * @param DDMTemplateKey the d d m template key 2693 * @return the matching journal articles 2694 */ 2695 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMTK( 2696 long groupId, java.lang.String DDMTemplateKey); 2697 2698 /** 2699 * Returns a range of all the journal articles where groupId = ? and DDMTemplateKey = ?. 2700 * 2701 * <p> 2702 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2703 * </p> 2704 * 2705 * @param groupId the group ID 2706 * @param DDMTemplateKey the d d m template key 2707 * @param start the lower bound of the range of journal articles 2708 * @param end the upper bound of the range of journal articles (not inclusive) 2709 * @return the range of matching journal articles 2710 */ 2711 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMTK( 2712 long groupId, java.lang.String DDMTemplateKey, int start, int end); 2713 2714 /** 2715 * Returns an ordered range of all the journal articles where groupId = ? and DDMTemplateKey = ?. 2716 * 2717 * <p> 2718 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2719 * </p> 2720 * 2721 * @param groupId the group ID 2722 * @param DDMTemplateKey the d d m template key 2723 * @param start the lower bound of the range of journal articles 2724 * @param end the upper bound of the range of journal articles (not inclusive) 2725 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2726 * @return the ordered range of matching journal articles 2727 */ 2728 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_DDMTK( 2729 long groupId, java.lang.String DDMTemplateKey, int start, int end, 2730 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2731 2732 /** 2733 * Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 2734 * 2735 * @param groupId the group ID 2736 * @param DDMTemplateKey the d d m template key 2737 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2738 * @return the first matching journal article 2739 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2740 */ 2741 public com.liferay.portlet.journal.model.JournalArticle findByG_DDMTK_First( 2742 long groupId, java.lang.String DDMTemplateKey, 2743 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2744 throws com.liferay.portlet.journal.NoSuchArticleException; 2745 2746 /** 2747 * Returns the first journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 2748 * 2749 * @param groupId the group ID 2750 * @param DDMTemplateKey the d d m template key 2751 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2752 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2753 */ 2754 public com.liferay.portlet.journal.model.JournalArticle fetchByG_DDMTK_First( 2755 long groupId, java.lang.String DDMTemplateKey, 2756 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2757 2758 /** 2759 * Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 2760 * 2761 * @param groupId the group ID 2762 * @param DDMTemplateKey the d d m template key 2763 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2764 * @return the last matching journal article 2765 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2766 */ 2767 public com.liferay.portlet.journal.model.JournalArticle findByG_DDMTK_Last( 2768 long groupId, java.lang.String DDMTemplateKey, 2769 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2770 throws com.liferay.portlet.journal.NoSuchArticleException; 2771 2772 /** 2773 * Returns the last journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 2774 * 2775 * @param groupId the group ID 2776 * @param DDMTemplateKey the d d m template key 2777 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2778 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2779 */ 2780 public com.liferay.portlet.journal.model.JournalArticle fetchByG_DDMTK_Last( 2781 long groupId, java.lang.String DDMTemplateKey, 2782 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2783 2784 /** 2785 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and DDMTemplateKey = ?. 2786 * 2787 * @param id the primary key of the current journal article 2788 * @param groupId the group ID 2789 * @param DDMTemplateKey the d d m template key 2790 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2791 * @return the previous, current, and next journal article 2792 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2793 */ 2794 public com.liferay.portlet.journal.model.JournalArticle[] findByG_DDMTK_PrevAndNext( 2795 long id, long groupId, java.lang.String DDMTemplateKey, 2796 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2797 throws com.liferay.portlet.journal.NoSuchArticleException; 2798 2799 /** 2800 * Returns all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 2801 * 2802 * @param groupId the group ID 2803 * @param DDMTemplateKey the d d m template key 2804 * @return the matching journal articles that the user has permission to view 2805 */ 2806 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMTK( 2807 long groupId, java.lang.String DDMTemplateKey); 2808 2809 /** 2810 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 2811 * 2812 * <p> 2813 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2814 * </p> 2815 * 2816 * @param groupId the group ID 2817 * @param DDMTemplateKey the d d m template key 2818 * @param start the lower bound of the range of journal articles 2819 * @param end the upper bound of the range of journal articles (not inclusive) 2820 * @return the range of matching journal articles that the user has permission to view 2821 */ 2822 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMTK( 2823 long groupId, java.lang.String DDMTemplateKey, int start, int end); 2824 2825 /** 2826 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and DDMTemplateKey = ?. 2827 * 2828 * <p> 2829 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2830 * </p> 2831 * 2832 * @param groupId the group ID 2833 * @param DDMTemplateKey the d d m template key 2834 * @param start the lower bound of the range of journal articles 2835 * @param end the upper bound of the range of journal articles (not inclusive) 2836 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2837 * @return the ordered range of matching journal articles that the user has permission to view 2838 */ 2839 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_DDMTK( 2840 long groupId, java.lang.String DDMTemplateKey, int start, int end, 2841 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2842 2843 /** 2844 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 2845 * 2846 * @param id the primary key of the current journal article 2847 * @param groupId the group ID 2848 * @param DDMTemplateKey the d d m template key 2849 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2850 * @return the previous, current, and next journal article 2851 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2852 */ 2853 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_DDMTK_PrevAndNext( 2854 long id, long groupId, java.lang.String DDMTemplateKey, 2855 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2856 throws com.liferay.portlet.journal.NoSuchArticleException; 2857 2858 /** 2859 * Removes all the journal articles where groupId = ? and DDMTemplateKey = ? from the database. 2860 * 2861 * @param groupId the group ID 2862 * @param DDMTemplateKey the d d m template key 2863 */ 2864 public void removeByG_DDMTK(long groupId, java.lang.String DDMTemplateKey); 2865 2866 /** 2867 * Returns the number of journal articles where groupId = ? and DDMTemplateKey = ?. 2868 * 2869 * @param groupId the group ID 2870 * @param DDMTemplateKey the d d m template key 2871 * @return the number of matching journal articles 2872 */ 2873 public int countByG_DDMTK(long groupId, java.lang.String DDMTemplateKey); 2874 2875 /** 2876 * Returns the number of journal articles that the user has permission to view where groupId = ? and DDMTemplateKey = ?. 2877 * 2878 * @param groupId the group ID 2879 * @param DDMTemplateKey the d d m template key 2880 * @return the number of matching journal articles that the user has permission to view 2881 */ 2882 public int filterCountByG_DDMTK(long groupId, 2883 java.lang.String DDMTemplateKey); 2884 2885 /** 2886 * Returns all the journal articles where groupId = ? and layoutUuid = ?. 2887 * 2888 * @param groupId the group ID 2889 * @param layoutUuid the layout uuid 2890 * @return the matching journal articles 2891 */ 2892 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2893 long groupId, java.lang.String layoutUuid); 2894 2895 /** 2896 * Returns a range of all the journal articles where groupId = ? and layoutUuid = ?. 2897 * 2898 * <p> 2899 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2900 * </p> 2901 * 2902 * @param groupId the group ID 2903 * @param layoutUuid the layout uuid 2904 * @param start the lower bound of the range of journal articles 2905 * @param end the upper bound of the range of journal articles (not inclusive) 2906 * @return the range of matching journal articles 2907 */ 2908 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2909 long groupId, java.lang.String layoutUuid, int start, int end); 2910 2911 /** 2912 * Returns an ordered range of all the journal articles where groupId = ? and layoutUuid = ?. 2913 * 2914 * <p> 2915 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2916 * </p> 2917 * 2918 * @param groupId the group ID 2919 * @param layoutUuid the layout uuid 2920 * @param start the lower bound of the range of journal articles 2921 * @param end the upper bound of the range of journal articles (not inclusive) 2922 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2923 * @return the ordered range of matching journal articles 2924 */ 2925 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_L( 2926 long groupId, java.lang.String layoutUuid, int start, int end, 2927 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2928 2929 /** 2930 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2931 * 2932 * @param groupId the group ID 2933 * @param layoutUuid the layout uuid 2934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2935 * @return the first matching journal article 2936 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2937 */ 2938 public com.liferay.portlet.journal.model.JournalArticle findByG_L_First( 2939 long groupId, java.lang.String layoutUuid, 2940 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2941 throws com.liferay.portlet.journal.NoSuchArticleException; 2942 2943 /** 2944 * Returns the first journal article in the ordered set where groupId = ? and layoutUuid = ?. 2945 * 2946 * @param groupId the group ID 2947 * @param layoutUuid the layout uuid 2948 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2949 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 2950 */ 2951 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_First( 2952 long groupId, java.lang.String layoutUuid, 2953 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2954 2955 /** 2956 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2957 * 2958 * @param groupId the group ID 2959 * @param layoutUuid the layout uuid 2960 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2961 * @return the last matching journal article 2962 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 2963 */ 2964 public com.liferay.portlet.journal.model.JournalArticle findByG_L_Last( 2965 long groupId, java.lang.String layoutUuid, 2966 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2967 throws com.liferay.portlet.journal.NoSuchArticleException; 2968 2969 /** 2970 * Returns the last journal article in the ordered set where groupId = ? and layoutUuid = ?. 2971 * 2972 * @param groupId the group ID 2973 * @param layoutUuid the layout uuid 2974 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2975 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 2976 */ 2977 public com.liferay.portlet.journal.model.JournalArticle fetchByG_L_Last( 2978 long groupId, java.lang.String layoutUuid, 2979 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 2980 2981 /** 2982 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and layoutUuid = ?. 2983 * 2984 * @param id the primary key of the current journal article 2985 * @param groupId the group ID 2986 * @param layoutUuid the layout uuid 2987 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2988 * @return the previous, current, and next journal article 2989 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 2990 */ 2991 public com.liferay.portlet.journal.model.JournalArticle[] findByG_L_PrevAndNext( 2992 long id, long groupId, java.lang.String layoutUuid, 2993 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 2994 throws com.liferay.portlet.journal.NoSuchArticleException; 2995 2996 /** 2997 * Returns all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 2998 * 2999 * @param groupId the group ID 3000 * @param layoutUuid the layout uuid 3001 * @return the matching journal articles that the user has permission to view 3002 */ 3003 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3004 long groupId, java.lang.String layoutUuid); 3005 3006 /** 3007 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3008 * 3009 * <p> 3010 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3011 * </p> 3012 * 3013 * @param groupId the group ID 3014 * @param layoutUuid the layout uuid 3015 * @param start the lower bound of the range of journal articles 3016 * @param end the upper bound of the range of journal articles (not inclusive) 3017 * @return the range of matching journal articles that the user has permission to view 3018 */ 3019 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3020 long groupId, java.lang.String layoutUuid, int start, int end); 3021 3022 /** 3023 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and layoutUuid = ?. 3024 * 3025 * <p> 3026 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3027 * </p> 3028 * 3029 * @param groupId the group ID 3030 * @param layoutUuid the layout uuid 3031 * @param start the lower bound of the range of journal articles 3032 * @param end the upper bound of the range of journal articles (not inclusive) 3033 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3034 * @return the ordered range of matching journal articles that the user has permission to view 3035 */ 3036 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_L( 3037 long groupId, java.lang.String layoutUuid, int start, int end, 3038 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3039 3040 /** 3041 * 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 = ?. 3042 * 3043 * @param id the primary key of the current journal article 3044 * @param groupId the group ID 3045 * @param layoutUuid the layout uuid 3046 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3047 * @return the previous, current, and next journal article 3048 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3049 */ 3050 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_L_PrevAndNext( 3051 long id, long groupId, java.lang.String layoutUuid, 3052 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3053 throws com.liferay.portlet.journal.NoSuchArticleException; 3054 3055 /** 3056 * Removes all the journal articles where groupId = ? and layoutUuid = ? from the database. 3057 * 3058 * @param groupId the group ID 3059 * @param layoutUuid the layout uuid 3060 */ 3061 public void removeByG_L(long groupId, java.lang.String layoutUuid); 3062 3063 /** 3064 * Returns the number of journal articles where groupId = ? and layoutUuid = ?. 3065 * 3066 * @param groupId the group ID 3067 * @param layoutUuid the layout uuid 3068 * @return the number of matching journal articles 3069 */ 3070 public int countByG_L(long groupId, java.lang.String layoutUuid); 3071 3072 /** 3073 * Returns the number of journal articles that the user has permission to view where groupId = ? and layoutUuid = ?. 3074 * 3075 * @param groupId the group ID 3076 * @param layoutUuid the layout uuid 3077 * @return the number of matching journal articles that the user has permission to view 3078 */ 3079 public int filterCountByG_L(long groupId, java.lang.String layoutUuid); 3080 3081 /** 3082 * Returns all the journal articles where groupId = ? and status = ?. 3083 * 3084 * @param groupId the group ID 3085 * @param status the status 3086 * @return the matching journal articles 3087 */ 3088 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3089 long groupId, int status); 3090 3091 /** 3092 * Returns a range of all the journal articles where groupId = ? and status = ?. 3093 * 3094 * <p> 3095 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3096 * </p> 3097 * 3098 * @param groupId the group ID 3099 * @param status the status 3100 * @param start the lower bound of the range of journal articles 3101 * @param end the upper bound of the range of journal articles (not inclusive) 3102 * @return the range of matching journal articles 3103 */ 3104 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3105 long groupId, int status, int start, int end); 3106 3107 /** 3108 * Returns an ordered range of all the journal articles where groupId = ? and status = ?. 3109 * 3110 * <p> 3111 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3112 * </p> 3113 * 3114 * @param groupId the group ID 3115 * @param status the status 3116 * @param start the lower bound of the range of journal articles 3117 * @param end the upper bound of the range of journal articles (not inclusive) 3118 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3119 * @return the ordered range of matching journal articles 3120 */ 3121 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_ST( 3122 long groupId, int status, int start, int end, 3123 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3124 3125 /** 3126 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3127 * 3128 * @param groupId the group ID 3129 * @param status the status 3130 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3131 * @return the first matching journal article 3132 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3133 */ 3134 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_First( 3135 long groupId, int status, 3136 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3137 throws com.liferay.portlet.journal.NoSuchArticleException; 3138 3139 /** 3140 * Returns the first journal article in the ordered set where groupId = ? and status = ?. 3141 * 3142 * @param groupId the group ID 3143 * @param status the status 3144 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3145 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3146 */ 3147 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_First( 3148 long groupId, int status, 3149 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3150 3151 /** 3152 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3153 * 3154 * @param groupId the group ID 3155 * @param status the status 3156 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3157 * @return the last matching journal article 3158 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3159 */ 3160 public com.liferay.portlet.journal.model.JournalArticle findByG_ST_Last( 3161 long groupId, int status, 3162 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3163 throws com.liferay.portlet.journal.NoSuchArticleException; 3164 3165 /** 3166 * Returns the last journal article in the ordered set where groupId = ? and status = ?. 3167 * 3168 * @param groupId the group ID 3169 * @param status the status 3170 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3171 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3172 */ 3173 public com.liferay.portlet.journal.model.JournalArticle fetchByG_ST_Last( 3174 long groupId, int status, 3175 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3176 3177 /** 3178 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and status = ?. 3179 * 3180 * @param id the primary key of the current journal article 3181 * @param groupId the group ID 3182 * @param status the status 3183 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3184 * @return the previous, current, and next journal article 3185 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3186 */ 3187 public com.liferay.portlet.journal.model.JournalArticle[] findByG_ST_PrevAndNext( 3188 long id, long groupId, int status, 3189 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3190 throws com.liferay.portlet.journal.NoSuchArticleException; 3191 3192 /** 3193 * Returns all the journal articles that the user has permission to view where groupId = ? and status = ?. 3194 * 3195 * @param groupId the group ID 3196 * @param status the status 3197 * @return the matching journal articles that the user has permission to view 3198 */ 3199 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3200 long groupId, int status); 3201 3202 /** 3203 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and status = ?. 3204 * 3205 * <p> 3206 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3207 * </p> 3208 * 3209 * @param groupId the group ID 3210 * @param status the status 3211 * @param start the lower bound of the range of journal articles 3212 * @param end the upper bound of the range of journal articles (not inclusive) 3213 * @return the range of matching journal articles that the user has permission to view 3214 */ 3215 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3216 long groupId, int status, int start, int end); 3217 3218 /** 3219 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and status = ?. 3220 * 3221 * <p> 3222 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3223 * </p> 3224 * 3225 * @param groupId the group ID 3226 * @param status the status 3227 * @param start the lower bound of the range of journal articles 3228 * @param end the upper bound of the range of journal articles (not inclusive) 3229 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3230 * @return the ordered range of matching journal articles that the user has permission to view 3231 */ 3232 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_ST( 3233 long groupId, int status, int start, int end, 3234 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3235 3236 /** 3237 * 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 = ?. 3238 * 3239 * @param id the primary key of the current journal article 3240 * @param groupId the group ID 3241 * @param status the status 3242 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3243 * @return the previous, current, and next journal article 3244 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3245 */ 3246 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_ST_PrevAndNext( 3247 long id, long groupId, int status, 3248 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3249 throws com.liferay.portlet.journal.NoSuchArticleException; 3250 3251 /** 3252 * Removes all the journal articles where groupId = ? and status = ? from the database. 3253 * 3254 * @param groupId the group ID 3255 * @param status the status 3256 */ 3257 public void removeByG_ST(long groupId, int status); 3258 3259 /** 3260 * Returns the number of journal articles where groupId = ? and status = ?. 3261 * 3262 * @param groupId the group ID 3263 * @param status the status 3264 * @return the number of matching journal articles 3265 */ 3266 public int countByG_ST(long groupId, int status); 3267 3268 /** 3269 * Returns the number of journal articles that the user has permission to view where groupId = ? and status = ?. 3270 * 3271 * @param groupId the group ID 3272 * @param status the status 3273 * @return the number of matching journal articles that the user has permission to view 3274 */ 3275 public int filterCountByG_ST(long groupId, int status); 3276 3277 /** 3278 * Returns all the journal articles where companyId = ? and version = ?. 3279 * 3280 * @param companyId the company ID 3281 * @param version the version 3282 * @return the matching journal articles 3283 */ 3284 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3285 long companyId, double version); 3286 3287 /** 3288 * Returns a range of all the journal articles where companyId = ? and version = ?. 3289 * 3290 * <p> 3291 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3292 * </p> 3293 * 3294 * @param companyId the company ID 3295 * @param version the version 3296 * @param start the lower bound of the range of journal articles 3297 * @param end the upper bound of the range of journal articles (not inclusive) 3298 * @return the range of matching journal articles 3299 */ 3300 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3301 long companyId, double version, int start, int end); 3302 3303 /** 3304 * Returns an ordered range of all the journal articles where companyId = ? and version = ?. 3305 * 3306 * <p> 3307 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3308 * </p> 3309 * 3310 * @param companyId the company ID 3311 * @param version the version 3312 * @param start the lower bound of the range of journal articles 3313 * @param end the upper bound of the range of journal articles (not inclusive) 3314 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3315 * @return the ordered range of matching journal articles 3316 */ 3317 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V( 3318 long companyId, double version, int start, int end, 3319 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3320 3321 /** 3322 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3323 * 3324 * @param companyId the company ID 3325 * @param version the version 3326 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3327 * @return the first matching journal article 3328 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3329 */ 3330 public com.liferay.portlet.journal.model.JournalArticle findByC_V_First( 3331 long companyId, double version, 3332 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3333 throws com.liferay.portlet.journal.NoSuchArticleException; 3334 3335 /** 3336 * Returns the first journal article in the ordered set where companyId = ? and version = ?. 3337 * 3338 * @param companyId the company ID 3339 * @param version the version 3340 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3341 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3342 */ 3343 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_First( 3344 long companyId, double version, 3345 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3346 3347 /** 3348 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3349 * 3350 * @param companyId the company ID 3351 * @param version the version 3352 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3353 * @return the last matching journal article 3354 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3355 */ 3356 public com.liferay.portlet.journal.model.JournalArticle findByC_V_Last( 3357 long companyId, double version, 3358 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3359 throws com.liferay.portlet.journal.NoSuchArticleException; 3360 3361 /** 3362 * Returns the last journal article in the ordered set where companyId = ? and version = ?. 3363 * 3364 * @param companyId the company ID 3365 * @param version the version 3366 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3367 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3368 */ 3369 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_Last( 3370 long companyId, double version, 3371 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3372 3373 /** 3374 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ?. 3375 * 3376 * @param id the primary key of the current journal article 3377 * @param companyId the company ID 3378 * @param version the version 3379 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3380 * @return the previous, current, and next journal article 3381 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3382 */ 3383 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_PrevAndNext( 3384 long id, long companyId, double version, 3385 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3386 throws com.liferay.portlet.journal.NoSuchArticleException; 3387 3388 /** 3389 * Removes all the journal articles where companyId = ? and version = ? from the database. 3390 * 3391 * @param companyId the company ID 3392 * @param version the version 3393 */ 3394 public void removeByC_V(long companyId, double version); 3395 3396 /** 3397 * Returns the number of journal articles where companyId = ? and version = ?. 3398 * 3399 * @param companyId the company ID 3400 * @param version the version 3401 * @return the number of matching journal articles 3402 */ 3403 public int countByC_V(long companyId, double version); 3404 3405 /** 3406 * Returns all the journal articles where companyId = ? and status = ?. 3407 * 3408 * @param companyId the company ID 3409 * @param status the status 3410 * @return the matching journal articles 3411 */ 3412 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3413 long companyId, int status); 3414 3415 /** 3416 * Returns a range of all the journal articles where companyId = ? and status = ?. 3417 * 3418 * <p> 3419 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3420 * </p> 3421 * 3422 * @param companyId the company ID 3423 * @param status the status 3424 * @param start the lower bound of the range of journal articles 3425 * @param end the upper bound of the range of journal articles (not inclusive) 3426 * @return the range of matching journal articles 3427 */ 3428 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3429 long companyId, int status, int start, int end); 3430 3431 /** 3432 * Returns an ordered range of all the journal articles where companyId = ? and status = ?. 3433 * 3434 * <p> 3435 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3436 * </p> 3437 * 3438 * @param companyId the company ID 3439 * @param status the status 3440 * @param start the lower bound of the range of journal articles 3441 * @param end the upper bound of the range of journal articles (not inclusive) 3442 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3443 * @return the ordered range of matching journal articles 3444 */ 3445 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_ST( 3446 long companyId, int status, int start, int end, 3447 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3448 3449 /** 3450 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3451 * 3452 * @param companyId the company ID 3453 * @param status the status 3454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3455 * @return the first matching journal article 3456 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3457 */ 3458 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_First( 3459 long companyId, int status, 3460 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3461 throws com.liferay.portlet.journal.NoSuchArticleException; 3462 3463 /** 3464 * Returns the first journal article in the ordered set where companyId = ? and status = ?. 3465 * 3466 * @param companyId the company ID 3467 * @param status the status 3468 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3469 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3470 */ 3471 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_First( 3472 long companyId, int status, 3473 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3474 3475 /** 3476 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3477 * 3478 * @param companyId the company ID 3479 * @param status the status 3480 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3481 * @return the last matching journal article 3482 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3483 */ 3484 public com.liferay.portlet.journal.model.JournalArticle findByC_ST_Last( 3485 long companyId, int status, 3486 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3487 throws com.liferay.portlet.journal.NoSuchArticleException; 3488 3489 /** 3490 * Returns the last journal article in the ordered set where companyId = ? and status = ?. 3491 * 3492 * @param companyId the company ID 3493 * @param status the status 3494 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3495 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3496 */ 3497 public com.liferay.portlet.journal.model.JournalArticle fetchByC_ST_Last( 3498 long companyId, int status, 3499 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3500 3501 /** 3502 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status = ?. 3503 * 3504 * @param id the primary key of the current journal article 3505 * @param companyId the company ID 3506 * @param status the status 3507 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3508 * @return the previous, current, and next journal article 3509 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3510 */ 3511 public com.liferay.portlet.journal.model.JournalArticle[] findByC_ST_PrevAndNext( 3512 long id, long companyId, int status, 3513 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3514 throws com.liferay.portlet.journal.NoSuchArticleException; 3515 3516 /** 3517 * Removes all the journal articles where companyId = ? and status = ? from the database. 3518 * 3519 * @param companyId the company ID 3520 * @param status the status 3521 */ 3522 public void removeByC_ST(long companyId, int status); 3523 3524 /** 3525 * Returns the number of journal articles where companyId = ? and status = ?. 3526 * 3527 * @param companyId the company ID 3528 * @param status the status 3529 * @return the number of matching journal articles 3530 */ 3531 public int countByC_ST(long companyId, int status); 3532 3533 /** 3534 * Returns all the journal articles where companyId = ? and status ≠ ?. 3535 * 3536 * @param companyId the company ID 3537 * @param status the status 3538 * @return the matching journal articles 3539 */ 3540 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 3541 long companyId, int status); 3542 3543 /** 3544 * Returns a range of all the journal articles where companyId = ? and status ≠ ?. 3545 * 3546 * <p> 3547 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3548 * </p> 3549 * 3550 * @param companyId the company ID 3551 * @param status the status 3552 * @param start the lower bound of the range of journal articles 3553 * @param end the upper bound of the range of journal articles (not inclusive) 3554 * @return the range of matching journal articles 3555 */ 3556 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 3557 long companyId, int status, int start, int end); 3558 3559 /** 3560 * Returns an ordered range of all the journal articles where companyId = ? and status ≠ ?. 3561 * 3562 * <p> 3563 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3564 * </p> 3565 * 3566 * @param companyId the company ID 3567 * @param status the status 3568 * @param start the lower bound of the range of journal articles 3569 * @param end the upper bound of the range of journal articles (not inclusive) 3570 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3571 * @return the ordered range of matching journal articles 3572 */ 3573 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_NotST( 3574 long companyId, int status, int start, int end, 3575 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3576 3577 /** 3578 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 3579 * 3580 * @param companyId the company ID 3581 * @param status the status 3582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3583 * @return the first matching journal article 3584 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3585 */ 3586 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_First( 3587 long companyId, int status, 3588 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3589 throws com.liferay.portlet.journal.NoSuchArticleException; 3590 3591 /** 3592 * Returns the first journal article in the ordered set where companyId = ? and status ≠ ?. 3593 * 3594 * @param companyId the company ID 3595 * @param status the status 3596 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3597 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3598 */ 3599 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_First( 3600 long companyId, int status, 3601 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3602 3603 /** 3604 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 3605 * 3606 * @param companyId the company ID 3607 * @param status the status 3608 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3609 * @return the last matching journal article 3610 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3611 */ 3612 public com.liferay.portlet.journal.model.JournalArticle findByC_NotST_Last( 3613 long companyId, int status, 3614 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3615 throws com.liferay.portlet.journal.NoSuchArticleException; 3616 3617 /** 3618 * Returns the last journal article in the ordered set where companyId = ? and status ≠ ?. 3619 * 3620 * @param companyId the company ID 3621 * @param status the status 3622 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3623 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3624 */ 3625 public com.liferay.portlet.journal.model.JournalArticle fetchByC_NotST_Last( 3626 long companyId, int status, 3627 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3628 3629 /** 3630 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and status ≠ ?. 3631 * 3632 * @param id the primary key of the current journal article 3633 * @param companyId the company ID 3634 * @param status the status 3635 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3636 * @return the previous, current, and next journal article 3637 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3638 */ 3639 public com.liferay.portlet.journal.model.JournalArticle[] findByC_NotST_PrevAndNext( 3640 long id, long companyId, int status, 3641 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3642 throws com.liferay.portlet.journal.NoSuchArticleException; 3643 3644 /** 3645 * Removes all the journal articles where companyId = ? and status ≠ ? from the database. 3646 * 3647 * @param companyId the company ID 3648 * @param status the status 3649 */ 3650 public void removeByC_NotST(long companyId, int status); 3651 3652 /** 3653 * Returns the number of journal articles where companyId = ? and status ≠ ?. 3654 * 3655 * @param companyId the company ID 3656 * @param status the status 3657 * @return the number of matching journal articles 3658 */ 3659 public int countByC_NotST(long companyId, int status); 3660 3661 /** 3662 * Returns all the journal articles where classNameId = ? and DDMTemplateKey = ?. 3663 * 3664 * @param classNameId the class name ID 3665 * @param DDMTemplateKey the d d m template key 3666 * @return the matching journal articles 3667 */ 3668 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_DDMTK( 3669 long classNameId, java.lang.String DDMTemplateKey); 3670 3671 /** 3672 * Returns a range of all the journal articles where classNameId = ? and DDMTemplateKey = ?. 3673 * 3674 * <p> 3675 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3676 * </p> 3677 * 3678 * @param classNameId the class name ID 3679 * @param DDMTemplateKey the d d m template key 3680 * @param start the lower bound of the range of journal articles 3681 * @param end the upper bound of the range of journal articles (not inclusive) 3682 * @return the range of matching journal articles 3683 */ 3684 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_DDMTK( 3685 long classNameId, java.lang.String DDMTemplateKey, int start, int end); 3686 3687 /** 3688 * Returns an ordered range of all the journal articles where classNameId = ? and DDMTemplateKey = ?. 3689 * 3690 * <p> 3691 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3692 * </p> 3693 * 3694 * @param classNameId the class name ID 3695 * @param DDMTemplateKey the d d m template key 3696 * @param start the lower bound of the range of journal articles 3697 * @param end the upper bound of the range of journal articles (not inclusive) 3698 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3699 * @return the ordered range of matching journal articles 3700 */ 3701 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_DDMTK( 3702 long classNameId, java.lang.String DDMTemplateKey, int start, int end, 3703 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3704 3705 /** 3706 * Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 3707 * 3708 * @param classNameId the class name ID 3709 * @param DDMTemplateKey the d d m template key 3710 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3711 * @return the first matching journal article 3712 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3713 */ 3714 public com.liferay.portlet.journal.model.JournalArticle findByC_DDMTK_First( 3715 long classNameId, java.lang.String DDMTemplateKey, 3716 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3717 throws com.liferay.portlet.journal.NoSuchArticleException; 3718 3719 /** 3720 * Returns the first journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 3721 * 3722 * @param classNameId the class name ID 3723 * @param DDMTemplateKey the d d m template key 3724 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3725 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3726 */ 3727 public com.liferay.portlet.journal.model.JournalArticle fetchByC_DDMTK_First( 3728 long classNameId, java.lang.String DDMTemplateKey, 3729 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3730 3731 /** 3732 * Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 3733 * 3734 * @param classNameId the class name ID 3735 * @param DDMTemplateKey the d d m template key 3736 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3737 * @return the last matching journal article 3738 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3739 */ 3740 public com.liferay.portlet.journal.model.JournalArticle findByC_DDMTK_Last( 3741 long classNameId, java.lang.String DDMTemplateKey, 3742 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3743 throws com.liferay.portlet.journal.NoSuchArticleException; 3744 3745 /** 3746 * Returns the last journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 3747 * 3748 * @param classNameId the class name ID 3749 * @param DDMTemplateKey the d d m template key 3750 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3751 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3752 */ 3753 public com.liferay.portlet.journal.model.JournalArticle fetchByC_DDMTK_Last( 3754 long classNameId, java.lang.String DDMTemplateKey, 3755 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3756 3757 /** 3758 * Returns the journal articles before and after the current journal article in the ordered set where classNameId = ? and DDMTemplateKey = ?. 3759 * 3760 * @param id the primary key of the current journal article 3761 * @param classNameId the class name ID 3762 * @param DDMTemplateKey the d d m template key 3763 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3764 * @return the previous, current, and next journal article 3765 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3766 */ 3767 public com.liferay.portlet.journal.model.JournalArticle[] findByC_DDMTK_PrevAndNext( 3768 long id, long classNameId, java.lang.String DDMTemplateKey, 3769 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3770 throws com.liferay.portlet.journal.NoSuchArticleException; 3771 3772 /** 3773 * Removes all the journal articles where classNameId = ? and DDMTemplateKey = ? from the database. 3774 * 3775 * @param classNameId the class name ID 3776 * @param DDMTemplateKey the d d m template key 3777 */ 3778 public void removeByC_DDMTK(long classNameId, 3779 java.lang.String DDMTemplateKey); 3780 3781 /** 3782 * Returns the number of journal articles where classNameId = ? and DDMTemplateKey = ?. 3783 * 3784 * @param classNameId the class name ID 3785 * @param DDMTemplateKey the d d m template key 3786 * @return the number of matching journal articles 3787 */ 3788 public int countByC_DDMTK(long classNameId, java.lang.String DDMTemplateKey); 3789 3790 /** 3791 * Returns all the journal articles where displayDate < ? and status = ?. 3792 * 3793 * @param displayDate the display date 3794 * @param status the status 3795 * @return the matching journal articles 3796 */ 3797 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 3798 java.util.Date displayDate, int status); 3799 3800 /** 3801 * Returns a range of all the journal articles where displayDate < ? and status = ?. 3802 * 3803 * <p> 3804 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3805 * </p> 3806 * 3807 * @param displayDate the display date 3808 * @param status the status 3809 * @param start the lower bound of the range of journal articles 3810 * @param end the upper bound of the range of journal articles (not inclusive) 3811 * @return the range of matching journal articles 3812 */ 3813 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 3814 java.util.Date displayDate, int status, int start, int end); 3815 3816 /** 3817 * Returns an ordered range of all the journal articles where displayDate < ? and status = ?. 3818 * 3819 * <p> 3820 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3821 * </p> 3822 * 3823 * @param displayDate the display date 3824 * @param status the status 3825 * @param start the lower bound of the range of journal articles 3826 * @param end the upper bound of the range of journal articles (not inclusive) 3827 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3828 * @return the ordered range of matching journal articles 3829 */ 3830 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByLtD_S( 3831 java.util.Date displayDate, int status, int start, int end, 3832 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3833 3834 /** 3835 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 3836 * 3837 * @param displayDate the display date 3838 * @param status the status 3839 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3840 * @return the first matching journal article 3841 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3842 */ 3843 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_First( 3844 java.util.Date displayDate, int status, 3845 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3846 throws com.liferay.portlet.journal.NoSuchArticleException; 3847 3848 /** 3849 * Returns the first journal article in the ordered set where displayDate < ? and status = ?. 3850 * 3851 * @param displayDate the display date 3852 * @param status the status 3853 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3854 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3855 */ 3856 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_First( 3857 java.util.Date displayDate, int status, 3858 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3859 3860 /** 3861 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 3862 * 3863 * @param displayDate the display date 3864 * @param status the status 3865 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3866 * @return the last matching journal article 3867 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3868 */ 3869 public com.liferay.portlet.journal.model.JournalArticle findByLtD_S_Last( 3870 java.util.Date displayDate, int status, 3871 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3872 throws com.liferay.portlet.journal.NoSuchArticleException; 3873 3874 /** 3875 * Returns the last journal article in the ordered set where displayDate < ? and status = ?. 3876 * 3877 * @param displayDate the display date 3878 * @param status the status 3879 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3880 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 3881 */ 3882 public com.liferay.portlet.journal.model.JournalArticle fetchByLtD_S_Last( 3883 java.util.Date displayDate, int status, 3884 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3885 3886 /** 3887 * Returns the journal articles before and after the current journal article in the ordered set where displayDate < ? and status = ?. 3888 * 3889 * @param id the primary key of the current journal article 3890 * @param displayDate the display date 3891 * @param status the status 3892 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3893 * @return the previous, current, and next journal article 3894 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 3895 */ 3896 public com.liferay.portlet.journal.model.JournalArticle[] findByLtD_S_PrevAndNext( 3897 long id, java.util.Date displayDate, int status, 3898 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3899 throws com.liferay.portlet.journal.NoSuchArticleException; 3900 3901 /** 3902 * Removes all the journal articles where displayDate < ? and status = ? from the database. 3903 * 3904 * @param displayDate the display date 3905 * @param status the status 3906 */ 3907 public void removeByLtD_S(java.util.Date displayDate, int status); 3908 3909 /** 3910 * Returns the number of journal articles where displayDate < ? and status = ?. 3911 * 3912 * @param displayDate the display date 3913 * @param status the status 3914 * @return the number of matching journal articles 3915 */ 3916 public int countByLtD_S(java.util.Date displayDate, int status); 3917 3918 /** 3919 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 3920 * 3921 * @param resourcePrimKey the resource prim key 3922 * @param indexable the indexable 3923 * @param status the status 3924 * @return the matching journal articles 3925 */ 3926 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 3927 long resourcePrimKey, boolean indexable, int status); 3928 3929 /** 3930 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 3931 * 3932 * <p> 3933 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3934 * </p> 3935 * 3936 * @param resourcePrimKey the resource prim key 3937 * @param indexable the indexable 3938 * @param status the status 3939 * @param start the lower bound of the range of journal articles 3940 * @param end the upper bound of the range of journal articles (not inclusive) 3941 * @return the range of matching journal articles 3942 */ 3943 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 3944 long resourcePrimKey, boolean indexable, int status, int start, int end); 3945 3946 /** 3947 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 3948 * 3949 * <p> 3950 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3951 * </p> 3952 * 3953 * @param resourcePrimKey the resource prim key 3954 * @param indexable the indexable 3955 * @param status the status 3956 * @param start the lower bound of the range of journal articles 3957 * @param end the upper bound of the range of journal articles (not inclusive) 3958 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3959 * @return the ordered range of matching journal articles 3960 */ 3961 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 3962 long resourcePrimKey, boolean indexable, int status, int start, 3963 int end, 3964 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3965 3966 /** 3967 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 3968 * 3969 * @param resourcePrimKey the resource prim key 3970 * @param indexable the indexable 3971 * @param status the status 3972 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3973 * @return the first matching journal article 3974 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 3975 */ 3976 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_First( 3977 long resourcePrimKey, boolean indexable, int status, 3978 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 3979 throws com.liferay.portlet.journal.NoSuchArticleException; 3980 3981 /** 3982 * Returns the first journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 3983 * 3984 * @param resourcePrimKey the resource prim key 3985 * @param indexable the indexable 3986 * @param status the status 3987 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3988 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 3989 */ 3990 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_First( 3991 long resourcePrimKey, boolean indexable, int status, 3992 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 3993 3994 /** 3995 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 3996 * 3997 * @param resourcePrimKey the resource prim key 3998 * @param indexable the indexable 3999 * @param status the status 4000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4001 * @return the last matching journal article 4002 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4003 */ 4004 public com.liferay.portlet.journal.model.JournalArticle findByR_I_S_Last( 4005 long resourcePrimKey, boolean indexable, int status, 4006 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4007 throws com.liferay.portlet.journal.NoSuchArticleException; 4008 4009 /** 4010 * Returns the last journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4011 * 4012 * @param resourcePrimKey the resource prim key 4013 * @param indexable the indexable 4014 * @param status the status 4015 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4016 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4017 */ 4018 public com.liferay.portlet.journal.model.JournalArticle fetchByR_I_S_Last( 4019 long resourcePrimKey, boolean indexable, int status, 4020 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4021 4022 /** 4023 * Returns the journal articles before and after the current journal article in the ordered set where resourcePrimKey = ? and indexable = ? and status = ?. 4024 * 4025 * @param id the primary key of the current journal article 4026 * @param resourcePrimKey the resource prim key 4027 * @param indexable the indexable 4028 * @param status the status 4029 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4030 * @return the previous, current, and next journal article 4031 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4032 */ 4033 public com.liferay.portlet.journal.model.JournalArticle[] findByR_I_S_PrevAndNext( 4034 long id, long resourcePrimKey, boolean indexable, int status, 4035 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4036 throws com.liferay.portlet.journal.NoSuchArticleException; 4037 4038 /** 4039 * Returns all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4040 * 4041 * <p> 4042 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4043 * </p> 4044 * 4045 * @param resourcePrimKey the resource prim key 4046 * @param indexable the indexable 4047 * @param statuses the statuses 4048 * @return the matching journal articles 4049 */ 4050 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4051 long resourcePrimKey, boolean indexable, int[] statuses); 4052 4053 /** 4054 * Returns a range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4055 * 4056 * <p> 4057 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4058 * </p> 4059 * 4060 * @param resourcePrimKey the resource prim key 4061 * @param indexable the indexable 4062 * @param statuses the statuses 4063 * @param start the lower bound of the range of journal articles 4064 * @param end the upper bound of the range of journal articles (not inclusive) 4065 * @return the range of matching journal articles 4066 */ 4067 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4068 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4069 int end); 4070 4071 /** 4072 * Returns an ordered range of all the journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4073 * 4074 * <p> 4075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4076 * </p> 4077 * 4078 * @param resourcePrimKey the resource prim key 4079 * @param indexable the indexable 4080 * @param statuses the statuses 4081 * @param start the lower bound of the range of journal articles 4082 * @param end the upper bound of the range of journal articles (not inclusive) 4083 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4084 * @return the ordered range of matching journal articles 4085 */ 4086 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByR_I_S( 4087 long resourcePrimKey, boolean indexable, int[] statuses, int start, 4088 int end, 4089 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4090 4091 /** 4092 * Removes all the journal articles where resourcePrimKey = ? and indexable = ? and status = ? from the database. 4093 * 4094 * @param resourcePrimKey the resource prim key 4095 * @param indexable the indexable 4096 * @param status the status 4097 */ 4098 public void removeByR_I_S(long resourcePrimKey, boolean indexable, 4099 int status); 4100 4101 /** 4102 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = ?. 4103 * 4104 * @param resourcePrimKey the resource prim key 4105 * @param indexable the indexable 4106 * @param status the status 4107 * @return the number of matching journal articles 4108 */ 4109 public int countByR_I_S(long resourcePrimKey, boolean indexable, int status); 4110 4111 /** 4112 * Returns the number of journal articles where resourcePrimKey = ? and indexable = ? and status = any ?. 4113 * 4114 * @param resourcePrimKey the resource prim key 4115 * @param indexable the indexable 4116 * @param statuses the statuses 4117 * @return the number of matching journal articles 4118 */ 4119 public int countByR_I_S(long resourcePrimKey, boolean indexable, 4120 int[] statuses); 4121 4122 /** 4123 * Returns all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4124 * 4125 * @param groupId the group ID 4126 * @param userId the user ID 4127 * @param classNameId the class name ID 4128 * @return the matching journal articles 4129 */ 4130 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4131 long groupId, long userId, long classNameId); 4132 4133 /** 4134 * Returns a range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4135 * 4136 * <p> 4137 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4138 * </p> 4139 * 4140 * @param groupId the group ID 4141 * @param userId the user ID 4142 * @param classNameId the class name ID 4143 * @param start the lower bound of the range of journal articles 4144 * @param end the upper bound of the range of journal articles (not inclusive) 4145 * @return the range of matching journal articles 4146 */ 4147 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4148 long groupId, long userId, long classNameId, int start, int end); 4149 4150 /** 4151 * Returns an ordered range of all the journal articles where groupId = ? and userId = ? and classNameId = ?. 4152 * 4153 * <p> 4154 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4155 * </p> 4156 * 4157 * @param groupId the group ID 4158 * @param userId the user ID 4159 * @param classNameId the class name ID 4160 * @param start the lower bound of the range of journal articles 4161 * @param end the upper bound of the range of journal articles (not inclusive) 4162 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4163 * @return the ordered range of matching journal articles 4164 */ 4165 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_U_C( 4166 long groupId, long userId, long classNameId, int start, int end, 4167 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4168 4169 /** 4170 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4171 * 4172 * @param groupId the group ID 4173 * @param userId the user ID 4174 * @param classNameId the class name ID 4175 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4176 * @return the first matching journal article 4177 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4178 */ 4179 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_First( 4180 long groupId, long userId, long classNameId, 4181 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4182 throws com.liferay.portlet.journal.NoSuchArticleException; 4183 4184 /** 4185 * Returns the first journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4186 * 4187 * @param groupId the group ID 4188 * @param userId the user ID 4189 * @param classNameId the class name ID 4190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4191 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4192 */ 4193 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_First( 4194 long groupId, long userId, long classNameId, 4195 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4196 4197 /** 4198 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4199 * 4200 * @param groupId the group ID 4201 * @param userId the user ID 4202 * @param classNameId the class name ID 4203 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4204 * @return the last matching journal article 4205 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4206 */ 4207 public com.liferay.portlet.journal.model.JournalArticle findByG_U_C_Last( 4208 long groupId, long userId, long classNameId, 4209 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4210 throws com.liferay.portlet.journal.NoSuchArticleException; 4211 4212 /** 4213 * Returns the last journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4214 * 4215 * @param groupId the group ID 4216 * @param userId the user ID 4217 * @param classNameId the class name ID 4218 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4219 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4220 */ 4221 public com.liferay.portlet.journal.model.JournalArticle fetchByG_U_C_Last( 4222 long groupId, long userId, long classNameId, 4223 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4224 4225 /** 4226 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and userId = ? and classNameId = ?. 4227 * 4228 * @param id the primary key of the current journal article 4229 * @param groupId the group ID 4230 * @param userId the user ID 4231 * @param classNameId the class name ID 4232 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4233 * @return the previous, current, and next journal article 4234 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4235 */ 4236 public com.liferay.portlet.journal.model.JournalArticle[] findByG_U_C_PrevAndNext( 4237 long id, long groupId, long userId, long classNameId, 4238 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4239 throws com.liferay.portlet.journal.NoSuchArticleException; 4240 4241 /** 4242 * Returns all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4243 * 4244 * @param groupId the group ID 4245 * @param userId the user ID 4246 * @param classNameId the class name ID 4247 * @return the matching journal articles that the user has permission to view 4248 */ 4249 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4250 long groupId, long userId, long classNameId); 4251 4252 /** 4253 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4254 * 4255 * <p> 4256 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4257 * </p> 4258 * 4259 * @param groupId the group ID 4260 * @param userId the user ID 4261 * @param classNameId the class name ID 4262 * @param start the lower bound of the range of journal articles 4263 * @param end the upper bound of the range of journal articles (not inclusive) 4264 * @return the range of matching journal articles that the user has permission to view 4265 */ 4266 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4267 long groupId, long userId, long classNameId, int start, int end); 4268 4269 /** 4270 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and userId = ? and classNameId = ?. 4271 * 4272 * <p> 4273 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4274 * </p> 4275 * 4276 * @param groupId the group ID 4277 * @param userId the user ID 4278 * @param classNameId the class name ID 4279 * @param start the lower bound of the range of journal articles 4280 * @param end the upper bound of the range of journal articles (not inclusive) 4281 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4282 * @return the ordered range of matching journal articles that the user has permission to view 4283 */ 4284 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_U_C( 4285 long groupId, long userId, long classNameId, int start, int end, 4286 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4287 4288 /** 4289 * 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 = ?. 4290 * 4291 * @param id the primary key of the current journal article 4292 * @param groupId the group ID 4293 * @param userId the user ID 4294 * @param classNameId the class name ID 4295 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4296 * @return the previous, current, and next journal article 4297 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4298 */ 4299 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_U_C_PrevAndNext( 4300 long id, long groupId, long userId, long classNameId, 4301 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4302 throws com.liferay.portlet.journal.NoSuchArticleException; 4303 4304 /** 4305 * Removes all the journal articles where groupId = ? and userId = ? and classNameId = ? from the database. 4306 * 4307 * @param groupId the group ID 4308 * @param userId the user ID 4309 * @param classNameId the class name ID 4310 */ 4311 public void removeByG_U_C(long groupId, long userId, long classNameId); 4312 4313 /** 4314 * Returns the number of journal articles where groupId = ? and userId = ? and classNameId = ?. 4315 * 4316 * @param groupId the group ID 4317 * @param userId the user ID 4318 * @param classNameId the class name ID 4319 * @return the number of matching journal articles 4320 */ 4321 public int countByG_U_C(long groupId, long userId, long classNameId); 4322 4323 /** 4324 * Returns the number of journal articles that the user has permission to view where groupId = ? and userId = ? and classNameId = ?. 4325 * 4326 * @param groupId the group ID 4327 * @param userId the user ID 4328 * @param classNameId the class name ID 4329 * @return the number of matching journal articles that the user has permission to view 4330 */ 4331 public int filterCountByG_U_C(long groupId, long userId, long classNameId); 4332 4333 /** 4334 * Returns all the journal articles where groupId = ? and folderId = ? and status = ?. 4335 * 4336 * @param groupId the group ID 4337 * @param folderId the folder ID 4338 * @param status the status 4339 * @return the matching journal articles 4340 */ 4341 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4342 long groupId, long folderId, int status); 4343 4344 /** 4345 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4346 * 4347 * <p> 4348 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4349 * </p> 4350 * 4351 * @param groupId the group ID 4352 * @param folderId the folder ID 4353 * @param status the status 4354 * @param start the lower bound of the range of journal articles 4355 * @param end the upper bound of the range of journal articles (not inclusive) 4356 * @return the range of matching journal articles 4357 */ 4358 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4359 long groupId, long folderId, int status, int start, int end); 4360 4361 /** 4362 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = ?. 4363 * 4364 * <p> 4365 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4366 * </p> 4367 * 4368 * @param groupId the group ID 4369 * @param folderId the folder ID 4370 * @param status the status 4371 * @param start the lower bound of the range of journal articles 4372 * @param end the upper bound of the range of journal articles (not inclusive) 4373 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4374 * @return the ordered range of matching journal articles 4375 */ 4376 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4377 long groupId, long folderId, int status, int start, int end, 4378 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4379 4380 /** 4381 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4382 * 4383 * @param groupId the group ID 4384 * @param folderId the folder ID 4385 * @param status the status 4386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4387 * @return the first matching journal article 4388 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4389 */ 4390 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_First( 4391 long groupId, long folderId, int status, 4392 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4393 throws com.liferay.portlet.journal.NoSuchArticleException; 4394 4395 /** 4396 * Returns the first journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4397 * 4398 * @param groupId the group ID 4399 * @param folderId the folder ID 4400 * @param status the status 4401 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4402 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4403 */ 4404 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_First( 4405 long groupId, long folderId, int status, 4406 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4407 4408 /** 4409 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4410 * 4411 * @param groupId the group ID 4412 * @param folderId the folder ID 4413 * @param status the status 4414 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4415 * @return the last matching journal article 4416 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4417 */ 4418 public com.liferay.portlet.journal.model.JournalArticle findByG_F_ST_Last( 4419 long groupId, long folderId, int status, 4420 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4421 throws com.liferay.portlet.journal.NoSuchArticleException; 4422 4423 /** 4424 * Returns the last journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4425 * 4426 * @param groupId the group ID 4427 * @param folderId the folder ID 4428 * @param status the status 4429 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4430 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4431 */ 4432 public com.liferay.portlet.journal.model.JournalArticle fetchByG_F_ST_Last( 4433 long groupId, long folderId, int status, 4434 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4435 4436 /** 4437 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and folderId = ? and status = ?. 4438 * 4439 * @param id the primary key of the current journal article 4440 * @param groupId the group ID 4441 * @param folderId the folder ID 4442 * @param status the status 4443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4444 * @return the previous, current, and next journal article 4445 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4446 */ 4447 public com.liferay.portlet.journal.model.JournalArticle[] findByG_F_ST_PrevAndNext( 4448 long id, long groupId, long folderId, int status, 4449 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4450 throws com.liferay.portlet.journal.NoSuchArticleException; 4451 4452 /** 4453 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4454 * 4455 * @param groupId the group ID 4456 * @param folderId the folder ID 4457 * @param status the status 4458 * @return the matching journal articles that the user has permission to view 4459 */ 4460 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4461 long groupId, long folderId, int status); 4462 4463 /** 4464 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4465 * 4466 * <p> 4467 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4468 * </p> 4469 * 4470 * @param groupId the group ID 4471 * @param folderId the folder ID 4472 * @param status the status 4473 * @param start the lower bound of the range of journal articles 4474 * @param end the upper bound of the range of journal articles (not inclusive) 4475 * @return the range of matching journal articles that the user has permission to view 4476 */ 4477 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4478 long groupId, long folderId, int status, int start, int end); 4479 4480 /** 4481 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 4482 * 4483 * <p> 4484 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4485 * </p> 4486 * 4487 * @param groupId the group ID 4488 * @param folderId the folder ID 4489 * @param status the status 4490 * @param start the lower bound of the range of journal articles 4491 * @param end the upper bound of the range of journal articles (not inclusive) 4492 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4493 * @return the ordered range of matching journal articles that the user has permission to view 4494 */ 4495 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4496 long groupId, long folderId, int status, int start, int end, 4497 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4498 4499 /** 4500 * 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 = ?. 4501 * 4502 * @param id the primary key of the current journal article 4503 * @param groupId the group ID 4504 * @param folderId the folder ID 4505 * @param status the status 4506 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4507 * @return the previous, current, and next journal article 4508 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4509 */ 4510 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_F_ST_PrevAndNext( 4511 long id, long groupId, long folderId, int status, 4512 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4513 throws com.liferay.portlet.journal.NoSuchArticleException; 4514 4515 /** 4516 * Returns all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4517 * 4518 * @param groupId the group ID 4519 * @param folderId the folder ID 4520 * @param statuses the statuses 4521 * @return the matching journal articles that the user has permission to view 4522 */ 4523 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4524 long groupId, long folderId, int[] statuses); 4525 4526 /** 4527 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4528 * 4529 * <p> 4530 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4531 * </p> 4532 * 4533 * @param groupId the group ID 4534 * @param folderId the folder ID 4535 * @param statuses the statuses 4536 * @param start the lower bound of the range of journal articles 4537 * @param end the upper bound of the range of journal articles (not inclusive) 4538 * @return the range of matching journal articles that the user has permission to view 4539 */ 4540 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4541 long groupId, long folderId, int[] statuses, int start, int end); 4542 4543 /** 4544 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4545 * 4546 * <p> 4547 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4548 * </p> 4549 * 4550 * @param groupId the group ID 4551 * @param folderId the folder ID 4552 * @param statuses the statuses 4553 * @param start the lower bound of the range of journal articles 4554 * @param end the upper bound of the range of journal articles (not inclusive) 4555 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4556 * @return the ordered range of matching journal articles that the user has permission to view 4557 */ 4558 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_F_ST( 4559 long groupId, long folderId, int[] statuses, int start, int end, 4560 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4561 4562 /** 4563 * Returns all the journal articles where groupId = ? and folderId = ? and status = any ?. 4564 * 4565 * <p> 4566 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4567 * </p> 4568 * 4569 * @param groupId the group ID 4570 * @param folderId the folder ID 4571 * @param statuses the statuses 4572 * @return the matching journal articles 4573 */ 4574 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4575 long groupId, long folderId, int[] statuses); 4576 4577 /** 4578 * Returns a range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4579 * 4580 * <p> 4581 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4582 * </p> 4583 * 4584 * @param groupId the group ID 4585 * @param folderId the folder ID 4586 * @param statuses the statuses 4587 * @param start the lower bound of the range of journal articles 4588 * @param end the upper bound of the range of journal articles (not inclusive) 4589 * @return the range of matching journal articles 4590 */ 4591 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4592 long groupId, long folderId, int[] statuses, int start, int end); 4593 4594 /** 4595 * Returns an ordered range of all the journal articles where groupId = ? and folderId = ? and status = any ?. 4596 * 4597 * <p> 4598 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4599 * </p> 4600 * 4601 * @param groupId the group ID 4602 * @param folderId the folder ID 4603 * @param statuses the statuses 4604 * @param start the lower bound of the range of journal articles 4605 * @param end the upper bound of the range of journal articles (not inclusive) 4606 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4607 * @return the ordered range of matching journal articles 4608 */ 4609 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_F_ST( 4610 long groupId, long folderId, int[] statuses, int start, int end, 4611 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4612 4613 /** 4614 * Removes all the journal articles where groupId = ? and folderId = ? and status = ? from the database. 4615 * 4616 * @param groupId the group ID 4617 * @param folderId the folder ID 4618 * @param status the status 4619 */ 4620 public void removeByG_F_ST(long groupId, long folderId, int status); 4621 4622 /** 4623 * Returns the number of journal articles where groupId = ? and folderId = ? and status = ?. 4624 * 4625 * @param groupId the group ID 4626 * @param folderId the folder ID 4627 * @param status the status 4628 * @return the number of matching journal articles 4629 */ 4630 public int countByG_F_ST(long groupId, long folderId, int status); 4631 4632 /** 4633 * Returns the number of journal articles where groupId = ? and folderId = ? and status = any ?. 4634 * 4635 * @param groupId the group ID 4636 * @param folderId the folder ID 4637 * @param statuses the statuses 4638 * @return the number of matching journal articles 4639 */ 4640 public int countByG_F_ST(long groupId, long folderId, int[] statuses); 4641 4642 /** 4643 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = ?. 4644 * 4645 * @param groupId the group ID 4646 * @param folderId the folder ID 4647 * @param status the status 4648 * @return the number of matching journal articles that the user has permission to view 4649 */ 4650 public int filterCountByG_F_ST(long groupId, long folderId, int status); 4651 4652 /** 4653 * Returns the number of journal articles that the user has permission to view where groupId = ? and folderId = ? and status = any ?. 4654 * 4655 * @param groupId the group ID 4656 * @param folderId the folder ID 4657 * @param statuses the statuses 4658 * @return the number of matching journal articles that the user has permission to view 4659 */ 4660 public int filterCountByG_F_ST(long groupId, long folderId, int[] statuses); 4661 4662 /** 4663 * Returns all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4664 * 4665 * @param groupId the group ID 4666 * @param classNameId the class name ID 4667 * @param classPK the class p k 4668 * @return the matching journal articles 4669 */ 4670 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4671 long groupId, long classNameId, long classPK); 4672 4673 /** 4674 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4675 * 4676 * <p> 4677 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4678 * </p> 4679 * 4680 * @param groupId the group ID 4681 * @param classNameId the class name ID 4682 * @param classPK the class p k 4683 * @param start the lower bound of the range of journal articles 4684 * @param end the upper bound of the range of journal articles (not inclusive) 4685 * @return the range of matching journal articles 4686 */ 4687 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4688 long groupId, long classNameId, long classPK, int start, int end); 4689 4690 /** 4691 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and classPK = ?. 4692 * 4693 * <p> 4694 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4695 * </p> 4696 * 4697 * @param groupId the group ID 4698 * @param classNameId the class name ID 4699 * @param classPK the class p k 4700 * @param start the lower bound of the range of journal articles 4701 * @param end the upper bound of the range of journal articles (not inclusive) 4702 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4703 * @return the ordered range of matching journal articles 4704 */ 4705 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_C( 4706 long groupId, long classNameId, long classPK, int start, int end, 4707 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4708 4709 /** 4710 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4711 * 4712 * @param groupId the group ID 4713 * @param classNameId the class name ID 4714 * @param classPK the class p k 4715 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4716 * @return the first matching journal article 4717 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4718 */ 4719 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_First( 4720 long groupId, long classNameId, long classPK, 4721 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4722 throws com.liferay.portlet.journal.NoSuchArticleException; 4723 4724 /** 4725 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4726 * 4727 * @param groupId the group ID 4728 * @param classNameId the class name ID 4729 * @param classPK the class p k 4730 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4731 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 4732 */ 4733 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_First( 4734 long groupId, long classNameId, long classPK, 4735 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4736 4737 /** 4738 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4739 * 4740 * @param groupId the group ID 4741 * @param classNameId the class name ID 4742 * @param classPK the class p k 4743 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4744 * @return the last matching journal article 4745 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4746 */ 4747 public com.liferay.portlet.journal.model.JournalArticle findByG_C_C_Last( 4748 long groupId, long classNameId, long classPK, 4749 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4750 throws com.liferay.portlet.journal.NoSuchArticleException; 4751 4752 /** 4753 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4754 * 4755 * @param groupId the group ID 4756 * @param classNameId the class name ID 4757 * @param classPK the class p k 4758 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4759 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 4760 */ 4761 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_C_Last( 4762 long groupId, long classNameId, long classPK, 4763 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4764 4765 /** 4766 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 4767 * 4768 * @param id the primary key of the current journal article 4769 * @param groupId the group ID 4770 * @param classNameId the class name ID 4771 * @param classPK the class p k 4772 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4773 * @return the previous, current, and next journal article 4774 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4775 */ 4776 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_C_PrevAndNext( 4777 long id, long groupId, long classNameId, long classPK, 4778 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4779 throws com.liferay.portlet.journal.NoSuchArticleException; 4780 4781 /** 4782 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4783 * 4784 * @param groupId the group ID 4785 * @param classNameId the class name ID 4786 * @param classPK the class p k 4787 * @return the matching journal articles that the user has permission to view 4788 */ 4789 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4790 long groupId, long classNameId, long classPK); 4791 4792 /** 4793 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4794 * 4795 * <p> 4796 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4797 * </p> 4798 * 4799 * @param groupId the group ID 4800 * @param classNameId the class name ID 4801 * @param classPK the class p k 4802 * @param start the lower bound of the range of journal articles 4803 * @param end the upper bound of the range of journal articles (not inclusive) 4804 * @return the range of matching journal articles that the user has permission to view 4805 */ 4806 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4807 long groupId, long classNameId, long classPK, int start, int end); 4808 4809 /** 4810 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 4811 * 4812 * <p> 4813 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4814 * </p> 4815 * 4816 * @param groupId the group ID 4817 * @param classNameId the class name ID 4818 * @param classPK the class p k 4819 * @param start the lower bound of the range of journal articles 4820 * @param end the upper bound of the range of journal articles (not inclusive) 4821 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4822 * @return the ordered range of matching journal articles that the user has permission to view 4823 */ 4824 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_C( 4825 long groupId, long classNameId, long classPK, int start, int end, 4826 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4827 4828 /** 4829 * 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 = ?. 4830 * 4831 * @param id the primary key of the current journal article 4832 * @param groupId the group ID 4833 * @param classNameId the class name ID 4834 * @param classPK the class p k 4835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4836 * @return the previous, current, and next journal article 4837 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 4838 */ 4839 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_C_PrevAndNext( 4840 long id, long groupId, long classNameId, long classPK, 4841 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4842 throws com.liferay.portlet.journal.NoSuchArticleException; 4843 4844 /** 4845 * Removes all the journal articles where groupId = ? and classNameId = ? and classPK = ? from the database. 4846 * 4847 * @param groupId the group ID 4848 * @param classNameId the class name ID 4849 * @param classPK the class p k 4850 */ 4851 public void removeByG_C_C(long groupId, long classNameId, long classPK); 4852 4853 /** 4854 * Returns the number of journal articles where groupId = ? and classNameId = ? and classPK = ?. 4855 * 4856 * @param groupId the group ID 4857 * @param classNameId the class name ID 4858 * @param classPK the class p k 4859 * @return the number of matching journal articles 4860 */ 4861 public int countByG_C_C(long groupId, long classNameId, long classPK); 4862 4863 /** 4864 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 4865 * 4866 * @param groupId the group ID 4867 * @param classNameId the class name ID 4868 * @param classPK the class p k 4869 * @return the number of matching journal articles that the user has permission to view 4870 */ 4871 public int filterCountByG_C_C(long groupId, long classNameId, long classPK); 4872 4873 /** 4874 * Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 4875 * 4876 * @param groupId the group ID 4877 * @param classNameId the class name ID 4878 * @param DDMStructureKey the d d m structure key 4879 * @return the matching journal article 4880 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4881 */ 4882 public com.liferay.portlet.journal.model.JournalArticle findByG_C_DDMSK( 4883 long groupId, long classNameId, java.lang.String DDMStructureKey) 4884 throws com.liferay.portlet.journal.NoSuchArticleException; 4885 4886 /** 4887 * Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 4888 * 4889 * @param groupId the group ID 4890 * @param classNameId the class name ID 4891 * @param DDMStructureKey the d d m structure key 4892 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4893 */ 4894 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMSK( 4895 long groupId, long classNameId, java.lang.String DDMStructureKey); 4896 4897 /** 4898 * Returns the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 4899 * 4900 * @param groupId the group ID 4901 * @param classNameId the class name ID 4902 * @param DDMStructureKey the d d m structure key 4903 * @param retrieveFromCache whether to use the finder cache 4904 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 4905 */ 4906 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMSK( 4907 long groupId, long classNameId, java.lang.String DDMStructureKey, 4908 boolean retrieveFromCache); 4909 4910 /** 4911 * Removes the journal article where groupId = ? and classNameId = ? and DDMStructureKey = ? from the database. 4912 * 4913 * @param groupId the group ID 4914 * @param classNameId the class name ID 4915 * @param DDMStructureKey the d d m structure key 4916 * @return the journal article that was removed 4917 */ 4918 public com.liferay.portlet.journal.model.JournalArticle removeByG_C_DDMSK( 4919 long groupId, long classNameId, java.lang.String DDMStructureKey) 4920 throws com.liferay.portlet.journal.NoSuchArticleException; 4921 4922 /** 4923 * Returns the number of journal articles where groupId = ? and classNameId = ? and DDMStructureKey = ?. 4924 * 4925 * @param groupId the group ID 4926 * @param classNameId the class name ID 4927 * @param DDMStructureKey the d d m structure key 4928 * @return the number of matching journal articles 4929 */ 4930 public int countByG_C_DDMSK(long groupId, long classNameId, 4931 java.lang.String DDMStructureKey); 4932 4933 /** 4934 * Returns all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 4935 * 4936 * @param groupId the group ID 4937 * @param classNameId the class name ID 4938 * @param DDMTemplateKey the d d m template key 4939 * @return the matching journal articles 4940 */ 4941 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_DDMTK( 4942 long groupId, long classNameId, java.lang.String DDMTemplateKey); 4943 4944 /** 4945 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 4946 * 4947 * <p> 4948 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4949 * </p> 4950 * 4951 * @param groupId the group ID 4952 * @param classNameId the class name ID 4953 * @param DDMTemplateKey the d d m template key 4954 * @param start the lower bound of the range of journal articles 4955 * @param end the upper bound of the range of journal articles (not inclusive) 4956 * @return the range of matching journal articles 4957 */ 4958 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_DDMTK( 4959 long groupId, long classNameId, java.lang.String DDMTemplateKey, 4960 int start, int end); 4961 4962 /** 4963 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 4964 * 4965 * <p> 4966 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4967 * </p> 4968 * 4969 * @param groupId the group ID 4970 * @param classNameId the class name ID 4971 * @param DDMTemplateKey the d d m template key 4972 * @param start the lower bound of the range of journal articles 4973 * @param end the upper bound of the range of journal articles (not inclusive) 4974 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4975 * @return the ordered range of matching journal articles 4976 */ 4977 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_DDMTK( 4978 long groupId, long classNameId, java.lang.String DDMTemplateKey, 4979 int start, int end, 4980 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 4981 4982 /** 4983 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 4984 * 4985 * @param groupId the group ID 4986 * @param classNameId the class name ID 4987 * @param DDMTemplateKey the d d m template key 4988 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4989 * @return the first matching journal article 4990 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 4991 */ 4992 public com.liferay.portlet.journal.model.JournalArticle findByG_C_DDMTK_First( 4993 long groupId, long classNameId, java.lang.String DDMTemplateKey, 4994 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 4995 throws com.liferay.portlet.journal.NoSuchArticleException; 4996 4997 /** 4998 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 4999 * 5000 * @param groupId the group ID 5001 * @param classNameId the class name ID 5002 * @param DDMTemplateKey the d d m template key 5003 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5004 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5005 */ 5006 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMTK_First( 5007 long groupId, long classNameId, java.lang.String DDMTemplateKey, 5008 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5009 5010 /** 5011 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5012 * 5013 * @param groupId the group ID 5014 * @param classNameId the class name ID 5015 * @param DDMTemplateKey the d d m template key 5016 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5017 * @return the last matching journal article 5018 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5019 */ 5020 public com.liferay.portlet.journal.model.JournalArticle findByG_C_DDMTK_Last( 5021 long groupId, long classNameId, java.lang.String DDMTemplateKey, 5022 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5023 throws com.liferay.portlet.journal.NoSuchArticleException; 5024 5025 /** 5026 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5027 * 5028 * @param groupId the group ID 5029 * @param classNameId the class name ID 5030 * @param DDMTemplateKey the d d m template key 5031 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5032 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5033 */ 5034 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_DDMTK_Last( 5035 long groupId, long classNameId, java.lang.String DDMTemplateKey, 5036 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5037 5038 /** 5039 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5040 * 5041 * @param id the primary key of the current journal article 5042 * @param groupId the group ID 5043 * @param classNameId the class name ID 5044 * @param DDMTemplateKey the d d m template key 5045 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5046 * @return the previous, current, and next journal article 5047 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5048 */ 5049 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_DDMTK_PrevAndNext( 5050 long id, long groupId, long classNameId, 5051 java.lang.String DDMTemplateKey, 5052 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5053 throws com.liferay.portlet.journal.NoSuchArticleException; 5054 5055 /** 5056 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5057 * 5058 * @param groupId the group ID 5059 * @param classNameId the class name ID 5060 * @param DDMTemplateKey the d d m template key 5061 * @return the matching journal articles that the user has permission to view 5062 */ 5063 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_DDMTK( 5064 long groupId, long classNameId, java.lang.String DDMTemplateKey); 5065 5066 /** 5067 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5068 * 5069 * <p> 5070 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5071 * </p> 5072 * 5073 * @param groupId the group ID 5074 * @param classNameId the class name ID 5075 * @param DDMTemplateKey the d d m template key 5076 * @param start the lower bound of the range of journal articles 5077 * @param end the upper bound of the range of journal articles (not inclusive) 5078 * @return the range of matching journal articles that the user has permission to view 5079 */ 5080 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_DDMTK( 5081 long groupId, long classNameId, java.lang.String DDMTemplateKey, 5082 int start, int end); 5083 5084 /** 5085 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5086 * 5087 * <p> 5088 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5089 * </p> 5090 * 5091 * @param groupId the group ID 5092 * @param classNameId the class name ID 5093 * @param DDMTemplateKey the d d m template key 5094 * @param start the lower bound of the range of journal articles 5095 * @param end the upper bound of the range of journal articles (not inclusive) 5096 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5097 * @return the ordered range of matching journal articles that the user has permission to view 5098 */ 5099 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_DDMTK( 5100 long groupId, long classNameId, java.lang.String DDMTemplateKey, 5101 int start, int end, 5102 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5103 5104 /** 5105 * Returns the journal articles before and after the current journal article in the ordered set of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5106 * 5107 * @param id the primary key of the current journal article 5108 * @param groupId the group ID 5109 * @param classNameId the class name ID 5110 * @param DDMTemplateKey the d d m template key 5111 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5112 * @return the previous, current, and next journal article 5113 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5114 */ 5115 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_DDMTK_PrevAndNext( 5116 long id, long groupId, long classNameId, 5117 java.lang.String DDMTemplateKey, 5118 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5119 throws com.liferay.portlet.journal.NoSuchArticleException; 5120 5121 /** 5122 * Removes all the journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ? from the database. 5123 * 5124 * @param groupId the group ID 5125 * @param classNameId the class name ID 5126 * @param DDMTemplateKey the d d m template key 5127 */ 5128 public void removeByG_C_DDMTK(long groupId, long classNameId, 5129 java.lang.String DDMTemplateKey); 5130 5131 /** 5132 * Returns the number of journal articles where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5133 * 5134 * @param groupId the group ID 5135 * @param classNameId the class name ID 5136 * @param DDMTemplateKey the d d m template key 5137 * @return the number of matching journal articles 5138 */ 5139 public int countByG_C_DDMTK(long groupId, long classNameId, 5140 java.lang.String DDMTemplateKey); 5141 5142 /** 5143 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and DDMTemplateKey = ?. 5144 * 5145 * @param groupId the group ID 5146 * @param classNameId the class name ID 5147 * @param DDMTemplateKey the d d m template key 5148 * @return the number of matching journal articles that the user has permission to view 5149 */ 5150 public int filterCountByG_C_DDMTK(long groupId, long classNameId, 5151 java.lang.String DDMTemplateKey); 5152 5153 /** 5154 * Returns all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5155 * 5156 * @param groupId the group ID 5157 * @param classNameId the class name ID 5158 * @param layoutUuid the layout uuid 5159 * @return the matching journal articles 5160 */ 5161 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5162 long groupId, long classNameId, java.lang.String layoutUuid); 5163 5164 /** 5165 * Returns a range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5166 * 5167 * <p> 5168 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5169 * </p> 5170 * 5171 * @param groupId the group ID 5172 * @param classNameId the class name ID 5173 * @param layoutUuid the layout uuid 5174 * @param start the lower bound of the range of journal articles 5175 * @param end the upper bound of the range of journal articles (not inclusive) 5176 * @return the range of matching journal articles 5177 */ 5178 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5179 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5180 int end); 5181 5182 /** 5183 * Returns an ordered range of all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5184 * 5185 * <p> 5186 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5187 * </p> 5188 * 5189 * @param groupId the group ID 5190 * @param classNameId the class name ID 5191 * @param layoutUuid the layout uuid 5192 * @param start the lower bound of the range of journal articles 5193 * @param end the upper bound of the range of journal articles (not inclusive) 5194 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5195 * @return the ordered range of matching journal articles 5196 */ 5197 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_C_L( 5198 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5199 int end, 5200 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5201 5202 /** 5203 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5204 * 5205 * @param groupId the group ID 5206 * @param classNameId the class name ID 5207 * @param layoutUuid the layout uuid 5208 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5209 * @return the first matching journal article 5210 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5211 */ 5212 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_First( 5213 long groupId, long classNameId, java.lang.String layoutUuid, 5214 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5215 throws com.liferay.portlet.journal.NoSuchArticleException; 5216 5217 /** 5218 * Returns the first journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5219 * 5220 * @param groupId the group ID 5221 * @param classNameId the class name ID 5222 * @param layoutUuid the layout uuid 5223 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5224 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5225 */ 5226 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_First( 5227 long groupId, long classNameId, java.lang.String layoutUuid, 5228 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5229 5230 /** 5231 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5232 * 5233 * @param groupId the group ID 5234 * @param classNameId the class name ID 5235 * @param layoutUuid the layout uuid 5236 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5237 * @return the last matching journal article 5238 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5239 */ 5240 public com.liferay.portlet.journal.model.JournalArticle findByG_C_L_Last( 5241 long groupId, long classNameId, java.lang.String layoutUuid, 5242 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5243 throws com.liferay.portlet.journal.NoSuchArticleException; 5244 5245 /** 5246 * Returns the last journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5247 * 5248 * @param groupId the group ID 5249 * @param classNameId the class name ID 5250 * @param layoutUuid the layout uuid 5251 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5252 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5253 */ 5254 public com.liferay.portlet.journal.model.JournalArticle fetchByG_C_L_Last( 5255 long groupId, long classNameId, java.lang.String layoutUuid, 5256 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5257 5258 /** 5259 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and classNameId = ? and layoutUuid = ?. 5260 * 5261 * @param id the primary key of the current journal article 5262 * @param groupId the group ID 5263 * @param classNameId the class name ID 5264 * @param layoutUuid the layout uuid 5265 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5266 * @return the previous, current, and next journal article 5267 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5268 */ 5269 public com.liferay.portlet.journal.model.JournalArticle[] findByG_C_L_PrevAndNext( 5270 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5271 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5272 throws com.liferay.portlet.journal.NoSuchArticleException; 5273 5274 /** 5275 * Returns all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5276 * 5277 * @param groupId the group ID 5278 * @param classNameId the class name ID 5279 * @param layoutUuid the layout uuid 5280 * @return the matching journal articles that the user has permission to view 5281 */ 5282 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5283 long groupId, long classNameId, java.lang.String layoutUuid); 5284 5285 /** 5286 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5287 * 5288 * <p> 5289 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5290 * </p> 5291 * 5292 * @param groupId the group ID 5293 * @param classNameId the class name ID 5294 * @param layoutUuid the layout uuid 5295 * @param start the lower bound of the range of journal articles 5296 * @param end the upper bound of the range of journal articles (not inclusive) 5297 * @return the range of matching journal articles that the user has permission to view 5298 */ 5299 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5300 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5301 int end); 5302 5303 /** 5304 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5305 * 5306 * <p> 5307 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5308 * </p> 5309 * 5310 * @param groupId the group ID 5311 * @param classNameId the class name ID 5312 * @param layoutUuid the layout uuid 5313 * @param start the lower bound of the range of journal articles 5314 * @param end the upper bound of the range of journal articles (not inclusive) 5315 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5316 * @return the ordered range of matching journal articles that the user has permission to view 5317 */ 5318 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_C_L( 5319 long groupId, long classNameId, java.lang.String layoutUuid, int start, 5320 int end, 5321 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5322 5323 /** 5324 * 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 = ?. 5325 * 5326 * @param id the primary key of the current journal article 5327 * @param groupId the group ID 5328 * @param classNameId the class name ID 5329 * @param layoutUuid the layout uuid 5330 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5331 * @return the previous, current, and next journal article 5332 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5333 */ 5334 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_C_L_PrevAndNext( 5335 long id, long groupId, long classNameId, java.lang.String layoutUuid, 5336 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5337 throws com.liferay.portlet.journal.NoSuchArticleException; 5338 5339 /** 5340 * Removes all the journal articles where groupId = ? and classNameId = ? and layoutUuid = ? from the database. 5341 * 5342 * @param groupId the group ID 5343 * @param classNameId the class name ID 5344 * @param layoutUuid the layout uuid 5345 */ 5346 public void removeByG_C_L(long groupId, long classNameId, 5347 java.lang.String layoutUuid); 5348 5349 /** 5350 * Returns the number of journal articles where groupId = ? and classNameId = ? and layoutUuid = ?. 5351 * 5352 * @param groupId the group ID 5353 * @param classNameId the class name ID 5354 * @param layoutUuid the layout uuid 5355 * @return the number of matching journal articles 5356 */ 5357 public int countByG_C_L(long groupId, long classNameId, 5358 java.lang.String layoutUuid); 5359 5360 /** 5361 * Returns the number of journal articles that the user has permission to view where groupId = ? and classNameId = ? and layoutUuid = ?. 5362 * 5363 * @param groupId the group ID 5364 * @param classNameId the class name ID 5365 * @param layoutUuid the layout uuid 5366 * @return the number of matching journal articles that the user has permission to view 5367 */ 5368 public int filterCountByG_C_L(long groupId, long classNameId, 5369 java.lang.String layoutUuid); 5370 5371 /** 5372 * 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. 5373 * 5374 * @param groupId the group ID 5375 * @param articleId the article ID 5376 * @param version the version 5377 * @return the matching journal article 5378 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5379 */ 5380 public com.liferay.portlet.journal.model.JournalArticle findByG_A_V( 5381 long groupId, java.lang.String articleId, double version) 5382 throws com.liferay.portlet.journal.NoSuchArticleException; 5383 5384 /** 5385 * 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. 5386 * 5387 * @param groupId the group ID 5388 * @param articleId the article ID 5389 * @param version the version 5390 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5391 */ 5392 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5393 long groupId, java.lang.String articleId, double version); 5394 5395 /** 5396 * 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. 5397 * 5398 * @param groupId the group ID 5399 * @param articleId the article ID 5400 * @param version the version 5401 * @param retrieveFromCache whether to use the finder cache 5402 * @return the matching journal article, or <code>null</code> if a matching journal article could not be found 5403 */ 5404 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_V( 5405 long groupId, java.lang.String articleId, double version, 5406 boolean retrieveFromCache); 5407 5408 /** 5409 * Removes the journal article where groupId = ? and articleId = ? and version = ? from the database. 5410 * 5411 * @param groupId the group ID 5412 * @param articleId the article ID 5413 * @param version the version 5414 * @return the journal article that was removed 5415 */ 5416 public com.liferay.portlet.journal.model.JournalArticle removeByG_A_V( 5417 long groupId, java.lang.String articleId, double version) 5418 throws com.liferay.portlet.journal.NoSuchArticleException; 5419 5420 /** 5421 * Returns the number of journal articles where groupId = ? and articleId = ? and version = ?. 5422 * 5423 * @param groupId the group ID 5424 * @param articleId the article ID 5425 * @param version the version 5426 * @return the number of matching journal articles 5427 */ 5428 public int countByG_A_V(long groupId, java.lang.String articleId, 5429 double version); 5430 5431 /** 5432 * Returns all the journal articles where groupId = ? and articleId = ? and status = ?. 5433 * 5434 * @param groupId the group ID 5435 * @param articleId the article ID 5436 * @param status the status 5437 * @return the matching journal articles 5438 */ 5439 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5440 long groupId, java.lang.String articleId, int status); 5441 5442 /** 5443 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5444 * 5445 * <p> 5446 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5447 * </p> 5448 * 5449 * @param groupId the group ID 5450 * @param articleId the article ID 5451 * @param status the status 5452 * @param start the lower bound of the range of journal articles 5453 * @param end the upper bound of the range of journal articles (not inclusive) 5454 * @return the range of matching journal articles 5455 */ 5456 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5457 long groupId, java.lang.String articleId, int status, int start, int end); 5458 5459 /** 5460 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = ?. 5461 * 5462 * <p> 5463 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5464 * </p> 5465 * 5466 * @param groupId the group ID 5467 * @param articleId the article ID 5468 * @param status the status 5469 * @param start the lower bound of the range of journal articles 5470 * @param end the upper bound of the range of journal articles (not inclusive) 5471 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5472 * @return the ordered range of matching journal articles 5473 */ 5474 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5475 long groupId, java.lang.String articleId, int status, int start, 5476 int end, 5477 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5478 5479 /** 5480 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5481 * 5482 * @param groupId the group ID 5483 * @param articleId the article ID 5484 * @param status the status 5485 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5486 * @return the first matching journal article 5487 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5488 */ 5489 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_First( 5490 long groupId, java.lang.String articleId, int status, 5491 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5492 throws com.liferay.portlet.journal.NoSuchArticleException; 5493 5494 /** 5495 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5496 * 5497 * @param groupId the group ID 5498 * @param articleId the article ID 5499 * @param status the status 5500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5501 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5502 */ 5503 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_First( 5504 long groupId, java.lang.String articleId, int status, 5505 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5506 5507 /** 5508 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5509 * 5510 * @param groupId the group ID 5511 * @param articleId the article ID 5512 * @param status the status 5513 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5514 * @return the last matching journal article 5515 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5516 */ 5517 public com.liferay.portlet.journal.model.JournalArticle findByG_A_ST_Last( 5518 long groupId, java.lang.String articleId, int status, 5519 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5520 throws com.liferay.portlet.journal.NoSuchArticleException; 5521 5522 /** 5523 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5524 * 5525 * @param groupId the group ID 5526 * @param articleId the article ID 5527 * @param status the status 5528 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5529 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5530 */ 5531 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_ST_Last( 5532 long groupId, java.lang.String articleId, int status, 5533 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5534 5535 /** 5536 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status = ?. 5537 * 5538 * @param id the primary key of the current journal article 5539 * @param groupId the group ID 5540 * @param articleId the article ID 5541 * @param status the status 5542 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5543 * @return the previous, current, and next journal article 5544 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5545 */ 5546 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_ST_PrevAndNext( 5547 long id, long groupId, java.lang.String articleId, int status, 5548 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5549 throws com.liferay.portlet.journal.NoSuchArticleException; 5550 5551 /** 5552 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5553 * 5554 * @param groupId the group ID 5555 * @param articleId the article ID 5556 * @param status the status 5557 * @return the matching journal articles that the user has permission to view 5558 */ 5559 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5560 long groupId, java.lang.String articleId, int status); 5561 5562 /** 5563 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5564 * 5565 * <p> 5566 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5567 * </p> 5568 * 5569 * @param groupId the group ID 5570 * @param articleId the article ID 5571 * @param status the status 5572 * @param start the lower bound of the range of journal articles 5573 * @param end the upper bound of the range of journal articles (not inclusive) 5574 * @return the range of matching journal articles that the user has permission to view 5575 */ 5576 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5577 long groupId, java.lang.String articleId, int status, int start, int end); 5578 5579 /** 5580 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status = ?. 5581 * 5582 * <p> 5583 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5584 * </p> 5585 * 5586 * @param groupId the group ID 5587 * @param articleId the article ID 5588 * @param status the status 5589 * @param start the lower bound of the range of journal articles 5590 * @param end the upper bound of the range of journal articles (not inclusive) 5591 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5592 * @return the ordered range of matching journal articles that the user has permission to view 5593 */ 5594 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5595 long groupId, java.lang.String articleId, int status, int start, 5596 int end, 5597 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5598 5599 /** 5600 * 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 = ?. 5601 * 5602 * @param id the primary key of the current journal article 5603 * @param groupId the group ID 5604 * @param articleId the article ID 5605 * @param status the status 5606 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5607 * @return the previous, current, and next journal article 5608 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5609 */ 5610 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_ST_PrevAndNext( 5611 long id, long groupId, java.lang.String articleId, int status, 5612 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5613 throws com.liferay.portlet.journal.NoSuchArticleException; 5614 5615 /** 5616 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5617 * 5618 * @param groupId the group ID 5619 * @param articleId the article ID 5620 * @param statuses the statuses 5621 * @return the matching journal articles that the user has permission to view 5622 */ 5623 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5624 long groupId, java.lang.String articleId, int[] statuses); 5625 5626 /** 5627 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5628 * 5629 * <p> 5630 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5631 * </p> 5632 * 5633 * @param groupId the group ID 5634 * @param articleId the article ID 5635 * @param statuses the statuses 5636 * @param start the lower bound of the range of journal articles 5637 * @param end the upper bound of the range of journal articles (not inclusive) 5638 * @return the range of matching journal articles that the user has permission to view 5639 */ 5640 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5641 long groupId, java.lang.String articleId, int[] statuses, int start, 5642 int end); 5643 5644 /** 5645 * Returns an ordered range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5646 * 5647 * <p> 5648 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5649 * </p> 5650 * 5651 * @param groupId the group ID 5652 * @param articleId the article ID 5653 * @param statuses the statuses 5654 * @param start the lower bound of the range of journal articles 5655 * @param end the upper bound of the range of journal articles (not inclusive) 5656 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5657 * @return the ordered range of matching journal articles that the user has permission to view 5658 */ 5659 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_ST( 5660 long groupId, java.lang.String articleId, int[] statuses, int start, 5661 int end, 5662 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5663 5664 /** 5665 * Returns all the journal articles where groupId = ? and articleId = ? and status = any ?. 5666 * 5667 * <p> 5668 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5669 * </p> 5670 * 5671 * @param groupId the group ID 5672 * @param articleId the article ID 5673 * @param statuses the statuses 5674 * @return the matching journal articles 5675 */ 5676 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5677 long groupId, java.lang.String articleId, int[] statuses); 5678 5679 /** 5680 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 5681 * 5682 * <p> 5683 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5684 * </p> 5685 * 5686 * @param groupId the group ID 5687 * @param articleId the article ID 5688 * @param statuses the statuses 5689 * @param start the lower bound of the range of journal articles 5690 * @param end the upper bound of the range of journal articles (not inclusive) 5691 * @return the range of matching journal articles 5692 */ 5693 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5694 long groupId, java.lang.String articleId, int[] statuses, int start, 5695 int end); 5696 5697 /** 5698 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status = any ?. 5699 * 5700 * <p> 5701 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5702 * </p> 5703 * 5704 * @param groupId the group ID 5705 * @param articleId the article ID 5706 * @param statuses the statuses 5707 * @param start the lower bound of the range of journal articles 5708 * @param end the upper bound of the range of journal articles (not inclusive) 5709 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5710 * @return the ordered range of matching journal articles 5711 */ 5712 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_ST( 5713 long groupId, java.lang.String articleId, int[] statuses, int start, 5714 int end, 5715 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5716 5717 /** 5718 * Removes all the journal articles where groupId = ? and articleId = ? and status = ? from the database. 5719 * 5720 * @param groupId the group ID 5721 * @param articleId the article ID 5722 * @param status the status 5723 */ 5724 public void removeByG_A_ST(long groupId, java.lang.String articleId, 5725 int status); 5726 5727 /** 5728 * Returns the number of journal articles where groupId = ? and articleId = ? and status = ?. 5729 * 5730 * @param groupId the group ID 5731 * @param articleId the article ID 5732 * @param status the status 5733 * @return the number of matching journal articles 5734 */ 5735 public int countByG_A_ST(long groupId, java.lang.String articleId, 5736 int status); 5737 5738 /** 5739 * Returns the number of journal articles where groupId = ? and articleId = ? and status = any ?. 5740 * 5741 * @param groupId the group ID 5742 * @param articleId the article ID 5743 * @param statuses the statuses 5744 * @return the number of matching journal articles 5745 */ 5746 public int countByG_A_ST(long groupId, java.lang.String articleId, 5747 int[] statuses); 5748 5749 /** 5750 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = ?. 5751 * 5752 * @param groupId the group ID 5753 * @param articleId the article ID 5754 * @param status the status 5755 * @return the number of matching journal articles that the user has permission to view 5756 */ 5757 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5758 int status); 5759 5760 /** 5761 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status = any ?. 5762 * 5763 * @param groupId the group ID 5764 * @param articleId the article ID 5765 * @param statuses the statuses 5766 * @return the number of matching journal articles that the user has permission to view 5767 */ 5768 public int filterCountByG_A_ST(long groupId, java.lang.String articleId, 5769 int[] statuses); 5770 5771 /** 5772 * Returns all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 5773 * 5774 * @param groupId the group ID 5775 * @param articleId the article ID 5776 * @param status the status 5777 * @return the matching journal articles 5778 */ 5779 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 5780 long groupId, java.lang.String articleId, int status); 5781 5782 /** 5783 * Returns a range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 5784 * 5785 * <p> 5786 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5787 * </p> 5788 * 5789 * @param groupId the group ID 5790 * @param articleId the article ID 5791 * @param status the status 5792 * @param start the lower bound of the range of journal articles 5793 * @param end the upper bound of the range of journal articles (not inclusive) 5794 * @return the range of matching journal articles 5795 */ 5796 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 5797 long groupId, java.lang.String articleId, int status, int start, int end); 5798 5799 /** 5800 * Returns an ordered range of all the journal articles where groupId = ? and articleId = ? and status ≠ ?. 5801 * 5802 * <p> 5803 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5804 * </p> 5805 * 5806 * @param groupId the group ID 5807 * @param articleId the article ID 5808 * @param status the status 5809 * @param start the lower bound of the range of journal articles 5810 * @param end the upper bound of the range of journal articles (not inclusive) 5811 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5812 * @return the ordered range of matching journal articles 5813 */ 5814 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_A_NotST( 5815 long groupId, java.lang.String articleId, int status, int start, 5816 int end, 5817 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5818 5819 /** 5820 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5821 * 5822 * @param groupId the group ID 5823 * @param articleId the article ID 5824 * @param status the status 5825 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5826 * @return the first matching journal article 5827 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5828 */ 5829 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_First( 5830 long groupId, java.lang.String articleId, int status, 5831 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5832 throws com.liferay.portlet.journal.NoSuchArticleException; 5833 5834 /** 5835 * Returns the first journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5836 * 5837 * @param groupId the group ID 5838 * @param articleId the article ID 5839 * @param status the status 5840 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5841 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 5842 */ 5843 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_First( 5844 long groupId, java.lang.String articleId, int status, 5845 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5846 5847 /** 5848 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5849 * 5850 * @param groupId the group ID 5851 * @param articleId the article ID 5852 * @param status the status 5853 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5854 * @return the last matching journal article 5855 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 5856 */ 5857 public com.liferay.portlet.journal.model.JournalArticle findByG_A_NotST_Last( 5858 long groupId, java.lang.String articleId, int status, 5859 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5860 throws com.liferay.portlet.journal.NoSuchArticleException; 5861 5862 /** 5863 * Returns the last journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5864 * 5865 * @param groupId the group ID 5866 * @param articleId the article ID 5867 * @param status the status 5868 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5869 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 5870 */ 5871 public com.liferay.portlet.journal.model.JournalArticle fetchByG_A_NotST_Last( 5872 long groupId, java.lang.String articleId, int status, 5873 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5874 5875 /** 5876 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and articleId = ? and status ≠ ?. 5877 * 5878 * @param id the primary key of the current journal article 5879 * @param groupId the group ID 5880 * @param articleId the article ID 5881 * @param status the status 5882 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5883 * @return the previous, current, and next journal article 5884 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5885 */ 5886 public com.liferay.portlet.journal.model.JournalArticle[] findByG_A_NotST_PrevAndNext( 5887 long id, long groupId, java.lang.String articleId, int status, 5888 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5889 throws com.liferay.portlet.journal.NoSuchArticleException; 5890 5891 /** 5892 * Returns all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 5893 * 5894 * @param groupId the group ID 5895 * @param articleId the article ID 5896 * @param status the status 5897 * @return the matching journal articles that the user has permission to view 5898 */ 5899 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 5900 long groupId, java.lang.String articleId, int status); 5901 5902 /** 5903 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 5904 * 5905 * <p> 5906 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5907 * </p> 5908 * 5909 * @param groupId the group ID 5910 * @param articleId the article ID 5911 * @param status the status 5912 * @param start the lower bound of the range of journal articles 5913 * @param end the upper bound of the range of journal articles (not inclusive) 5914 * @return the range of matching journal articles that the user has permission to view 5915 */ 5916 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 5917 long groupId, java.lang.String articleId, int status, int start, int end); 5918 5919 /** 5920 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and articleId = ? and status ≠ ?. 5921 * 5922 * <p> 5923 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5924 * </p> 5925 * 5926 * @param groupId the group ID 5927 * @param articleId the article ID 5928 * @param status the status 5929 * @param start the lower bound of the range of journal articles 5930 * @param end the upper bound of the range of journal articles (not inclusive) 5931 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5932 * @return the ordered range of matching journal articles that the user has permission to view 5933 */ 5934 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_A_NotST( 5935 long groupId, java.lang.String articleId, int status, int start, 5936 int end, 5937 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 5938 5939 /** 5940 * 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 ≠ ?. 5941 * 5942 * @param id the primary key of the current journal article 5943 * @param groupId the group ID 5944 * @param articleId the article ID 5945 * @param status the status 5946 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5947 * @return the previous, current, and next journal article 5948 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 5949 */ 5950 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_A_NotST_PrevAndNext( 5951 long id, long groupId, java.lang.String articleId, int status, 5952 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 5953 throws com.liferay.portlet.journal.NoSuchArticleException; 5954 5955 /** 5956 * Removes all the journal articles where groupId = ? and articleId = ? and status ≠ ? from the database. 5957 * 5958 * @param groupId the group ID 5959 * @param articleId the article ID 5960 * @param status the status 5961 */ 5962 public void removeByG_A_NotST(long groupId, java.lang.String articleId, 5963 int status); 5964 5965 /** 5966 * Returns the number of journal articles where groupId = ? and articleId = ? and status ≠ ?. 5967 * 5968 * @param groupId the group ID 5969 * @param articleId the article ID 5970 * @param status the status 5971 * @return the number of matching journal articles 5972 */ 5973 public int countByG_A_NotST(long groupId, java.lang.String articleId, 5974 int status); 5975 5976 /** 5977 * Returns the number of journal articles that the user has permission to view where groupId = ? and articleId = ? and status ≠ ?. 5978 * 5979 * @param groupId the group ID 5980 * @param articleId the article ID 5981 * @param status the status 5982 * @return the number of matching journal articles that the user has permission to view 5983 */ 5984 public int filterCountByG_A_NotST(long groupId, java.lang.String articleId, 5985 int status); 5986 5987 /** 5988 * Returns all the journal articles where groupId = ? and urlTitle = ? and status = ?. 5989 * 5990 * @param groupId the group ID 5991 * @param urlTitle the url title 5992 * @param status the status 5993 * @return the matching journal articles 5994 */ 5995 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 5996 long groupId, java.lang.String urlTitle, int status); 5997 5998 /** 5999 * Returns a range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6000 * 6001 * <p> 6002 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6003 * </p> 6004 * 6005 * @param groupId the group ID 6006 * @param urlTitle the url title 6007 * @param status the status 6008 * @param start the lower bound of the range of journal articles 6009 * @param end the upper bound of the range of journal articles (not inclusive) 6010 * @return the range of matching journal articles 6011 */ 6012 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6013 long groupId, java.lang.String urlTitle, int status, int start, int end); 6014 6015 /** 6016 * Returns an ordered range of all the journal articles where groupId = ? and urlTitle = ? and status = ?. 6017 * 6018 * <p> 6019 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6020 * </p> 6021 * 6022 * @param groupId the group ID 6023 * @param urlTitle the url title 6024 * @param status the status 6025 * @param start the lower bound of the range of journal articles 6026 * @param end the upper bound of the range of journal articles (not inclusive) 6027 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6028 * @return the ordered range of matching journal articles 6029 */ 6030 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByG_UT_ST( 6031 long groupId, java.lang.String urlTitle, int status, int start, 6032 int end, 6033 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6034 6035 /** 6036 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6037 * 6038 * @param groupId the group ID 6039 * @param urlTitle the url title 6040 * @param status the status 6041 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6042 * @return the first matching journal article 6043 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6044 */ 6045 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_First( 6046 long groupId, java.lang.String urlTitle, int status, 6047 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6048 throws com.liferay.portlet.journal.NoSuchArticleException; 6049 6050 /** 6051 * Returns the first journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6052 * 6053 * @param groupId the group ID 6054 * @param urlTitle the url title 6055 * @param status the status 6056 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6057 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6058 */ 6059 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_First( 6060 long groupId, java.lang.String urlTitle, int status, 6061 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6062 6063 /** 6064 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6065 * 6066 * @param groupId the group ID 6067 * @param urlTitle the url title 6068 * @param status the status 6069 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6070 * @return the last matching journal article 6071 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6072 */ 6073 public com.liferay.portlet.journal.model.JournalArticle findByG_UT_ST_Last( 6074 long groupId, java.lang.String urlTitle, int status, 6075 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6076 throws com.liferay.portlet.journal.NoSuchArticleException; 6077 6078 /** 6079 * Returns the last journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6080 * 6081 * @param groupId the group ID 6082 * @param urlTitle the url title 6083 * @param status the status 6084 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6085 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6086 */ 6087 public com.liferay.portlet.journal.model.JournalArticle fetchByG_UT_ST_Last( 6088 long groupId, java.lang.String urlTitle, int status, 6089 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6090 6091 /** 6092 * Returns the journal articles before and after the current journal article in the ordered set where groupId = ? and urlTitle = ? and status = ?. 6093 * 6094 * @param id the primary key of the current journal article 6095 * @param groupId the group ID 6096 * @param urlTitle the url title 6097 * @param status the status 6098 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6099 * @return the previous, current, and next journal article 6100 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6101 */ 6102 public com.liferay.portlet.journal.model.JournalArticle[] findByG_UT_ST_PrevAndNext( 6103 long id, long groupId, java.lang.String urlTitle, int status, 6104 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6105 throws com.liferay.portlet.journal.NoSuchArticleException; 6106 6107 /** 6108 * Returns all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6109 * 6110 * @param groupId the group ID 6111 * @param urlTitle the url title 6112 * @param status the status 6113 * @return the matching journal articles that the user has permission to view 6114 */ 6115 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6116 long groupId, java.lang.String urlTitle, int status); 6117 6118 /** 6119 * Returns a range of all the journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6120 * 6121 * <p> 6122 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6123 * </p> 6124 * 6125 * @param groupId the group ID 6126 * @param urlTitle the url title 6127 * @param status the status 6128 * @param start the lower bound of the range of journal articles 6129 * @param end the upper bound of the range of journal articles (not inclusive) 6130 * @return the range of matching journal articles that the user has permission to view 6131 */ 6132 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6133 long groupId, java.lang.String urlTitle, int status, int start, int end); 6134 6135 /** 6136 * Returns an ordered range of all the journal articles that the user has permissions to view where groupId = ? and urlTitle = ? and status = ?. 6137 * 6138 * <p> 6139 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6140 * </p> 6141 * 6142 * @param groupId the group ID 6143 * @param urlTitle the url title 6144 * @param status the status 6145 * @param start the lower bound of the range of journal articles 6146 * @param end the upper bound of the range of journal articles (not inclusive) 6147 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6148 * @return the ordered range of matching journal articles that the user has permission to view 6149 */ 6150 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> filterFindByG_UT_ST( 6151 long groupId, java.lang.String urlTitle, int status, int start, 6152 int end, 6153 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6154 6155 /** 6156 * 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 = ?. 6157 * 6158 * @param id the primary key of the current journal article 6159 * @param groupId the group ID 6160 * @param urlTitle the url title 6161 * @param status the status 6162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6163 * @return the previous, current, and next journal article 6164 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6165 */ 6166 public com.liferay.portlet.journal.model.JournalArticle[] filterFindByG_UT_ST_PrevAndNext( 6167 long id, long groupId, java.lang.String urlTitle, int status, 6168 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6169 throws com.liferay.portlet.journal.NoSuchArticleException; 6170 6171 /** 6172 * Removes all the journal articles where groupId = ? and urlTitle = ? and status = ? from the database. 6173 * 6174 * @param groupId the group ID 6175 * @param urlTitle the url title 6176 * @param status the status 6177 */ 6178 public void removeByG_UT_ST(long groupId, java.lang.String urlTitle, 6179 int status); 6180 6181 /** 6182 * Returns the number of journal articles where groupId = ? and urlTitle = ? and status = ?. 6183 * 6184 * @param groupId the group ID 6185 * @param urlTitle the url title 6186 * @param status the status 6187 * @return the number of matching journal articles 6188 */ 6189 public int countByG_UT_ST(long groupId, java.lang.String urlTitle, 6190 int status); 6191 6192 /** 6193 * Returns the number of journal articles that the user has permission to view where groupId = ? and urlTitle = ? and status = ?. 6194 * 6195 * @param groupId the group ID 6196 * @param urlTitle the url title 6197 * @param status the status 6198 * @return the number of matching journal articles that the user has permission to view 6199 */ 6200 public int filterCountByG_UT_ST(long groupId, java.lang.String urlTitle, 6201 int status); 6202 6203 /** 6204 * Returns all the journal articles where companyId = ? and version = ? and status = ?. 6205 * 6206 * @param companyId the company ID 6207 * @param version the version 6208 * @param status the status 6209 * @return the matching journal articles 6210 */ 6211 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6212 long companyId, double version, int status); 6213 6214 /** 6215 * Returns a range of all the journal articles where companyId = ? and version = ? and status = ?. 6216 * 6217 * <p> 6218 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6219 * </p> 6220 * 6221 * @param companyId the company ID 6222 * @param version the version 6223 * @param status the status 6224 * @param start the lower bound of the range of journal articles 6225 * @param end the upper bound of the range of journal articles (not inclusive) 6226 * @return the range of matching journal articles 6227 */ 6228 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6229 long companyId, double version, int status, int start, int end); 6230 6231 /** 6232 * Returns an ordered range of all the journal articles where companyId = ? and version = ? and status = ?. 6233 * 6234 * <p> 6235 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6236 * </p> 6237 * 6238 * @param companyId the company ID 6239 * @param version the version 6240 * @param status the status 6241 * @param start the lower bound of the range of journal articles 6242 * @param end the upper bound of the range of journal articles (not inclusive) 6243 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6244 * @return the ordered range of matching journal articles 6245 */ 6246 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findByC_V_ST( 6247 long companyId, double version, int status, int start, int end, 6248 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6249 6250 /** 6251 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6252 * 6253 * @param companyId the company ID 6254 * @param version the version 6255 * @param status the status 6256 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6257 * @return the first matching journal article 6258 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6259 */ 6260 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_First( 6261 long companyId, double version, int status, 6262 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6263 throws com.liferay.portlet.journal.NoSuchArticleException; 6264 6265 /** 6266 * Returns the first journal article in the ordered set where companyId = ? and version = ? and status = ?. 6267 * 6268 * @param companyId the company ID 6269 * @param version the version 6270 * @param status the status 6271 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6272 * @return the first matching journal article, or <code>null</code> if a matching journal article could not be found 6273 */ 6274 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_First( 6275 long companyId, double version, int status, 6276 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6277 6278 /** 6279 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6280 * 6281 * @param companyId the company ID 6282 * @param version the version 6283 * @param status the status 6284 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6285 * @return the last matching journal article 6286 * @throws com.liferay.portlet.journal.NoSuchArticleException if a matching journal article could not be found 6287 */ 6288 public com.liferay.portlet.journal.model.JournalArticle findByC_V_ST_Last( 6289 long companyId, double version, int status, 6290 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6291 throws com.liferay.portlet.journal.NoSuchArticleException; 6292 6293 /** 6294 * Returns the last journal article in the ordered set where companyId = ? and version = ? and status = ?. 6295 * 6296 * @param companyId the company ID 6297 * @param version the version 6298 * @param status the status 6299 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6300 * @return the last matching journal article, or <code>null</code> if a matching journal article could not be found 6301 */ 6302 public com.liferay.portlet.journal.model.JournalArticle fetchByC_V_ST_Last( 6303 long companyId, double version, int status, 6304 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6305 6306 /** 6307 * Returns the journal articles before and after the current journal article in the ordered set where companyId = ? and version = ? and status = ?. 6308 * 6309 * @param id the primary key of the current journal article 6310 * @param companyId the company ID 6311 * @param version the version 6312 * @param status the status 6313 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6314 * @return the previous, current, and next journal article 6315 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6316 */ 6317 public com.liferay.portlet.journal.model.JournalArticle[] findByC_V_ST_PrevAndNext( 6318 long id, long companyId, double version, int status, 6319 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator) 6320 throws com.liferay.portlet.journal.NoSuchArticleException; 6321 6322 /** 6323 * Removes all the journal articles where companyId = ? and version = ? and status = ? from the database. 6324 * 6325 * @param companyId the company ID 6326 * @param version the version 6327 * @param status the status 6328 */ 6329 public void removeByC_V_ST(long companyId, double version, int status); 6330 6331 /** 6332 * Returns the number of journal articles where companyId = ? and version = ? and status = ?. 6333 * 6334 * @param companyId the company ID 6335 * @param version the version 6336 * @param status the status 6337 * @return the number of matching journal articles 6338 */ 6339 public int countByC_V_ST(long companyId, double version, int status); 6340 6341 /** 6342 * Caches the journal article in the entity cache if it is enabled. 6343 * 6344 * @param journalArticle the journal article 6345 */ 6346 public void cacheResult( 6347 com.liferay.portlet.journal.model.JournalArticle journalArticle); 6348 6349 /** 6350 * Caches the journal articles in the entity cache if it is enabled. 6351 * 6352 * @param journalArticles the journal articles 6353 */ 6354 public void cacheResult( 6355 java.util.List<com.liferay.portlet.journal.model.JournalArticle> journalArticles); 6356 6357 /** 6358 * Creates a new journal article with the primary key. Does not add the journal article to the database. 6359 * 6360 * @param id the primary key for the new journal article 6361 * @return the new journal article 6362 */ 6363 public com.liferay.portlet.journal.model.JournalArticle create(long id); 6364 6365 /** 6366 * Removes the journal article with the primary key from the database. Also notifies the appropriate model listeners. 6367 * 6368 * @param id the primary key of the journal article 6369 * @return the journal article that was removed 6370 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6371 */ 6372 public com.liferay.portlet.journal.model.JournalArticle remove(long id) 6373 throws com.liferay.portlet.journal.NoSuchArticleException; 6374 6375 public com.liferay.portlet.journal.model.JournalArticle updateImpl( 6376 com.liferay.portlet.journal.model.JournalArticle journalArticle); 6377 6378 /** 6379 * Returns the journal article with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchArticleException} if it could not be found. 6380 * 6381 * @param id the primary key of the journal article 6382 * @return the journal article 6383 * @throws com.liferay.portlet.journal.NoSuchArticleException if a journal article with the primary key could not be found 6384 */ 6385 public com.liferay.portlet.journal.model.JournalArticle findByPrimaryKey( 6386 long id) throws com.liferay.portlet.journal.NoSuchArticleException; 6387 6388 /** 6389 * Returns the journal article with the primary key or returns <code>null</code> if it could not be found. 6390 * 6391 * @param id the primary key of the journal article 6392 * @return the journal article, or <code>null</code> if a journal article with the primary key could not be found 6393 */ 6394 public com.liferay.portlet.journal.model.JournalArticle fetchByPrimaryKey( 6395 long id); 6396 6397 @Override 6398 public java.util.Map<java.io.Serializable, com.liferay.portlet.journal.model.JournalArticle> fetchByPrimaryKeys( 6399 java.util.Set<java.io.Serializable> primaryKeys); 6400 6401 /** 6402 * Returns all the journal articles. 6403 * 6404 * @return the journal articles 6405 */ 6406 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll(); 6407 6408 /** 6409 * Returns a range of all the journal articles. 6410 * 6411 * <p> 6412 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6413 * </p> 6414 * 6415 * @param start the lower bound of the range of journal articles 6416 * @param end the upper bound of the range of journal articles (not inclusive) 6417 * @return the range of journal articles 6418 */ 6419 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6420 int start, int end); 6421 6422 /** 6423 * Returns an ordered range of all the journal articles. 6424 * 6425 * <p> 6426 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6427 * </p> 6428 * 6429 * @param start the lower bound of the range of journal articles 6430 * @param end the upper bound of the range of journal articles (not inclusive) 6431 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6432 * @return the ordered range of journal articles 6433 */ 6434 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> findAll( 6435 int start, int end, 6436 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.journal.model.JournalArticle> orderByComparator); 6437 6438 /** 6439 * Removes all the journal articles from the database. 6440 */ 6441 public void removeAll(); 6442 6443 /** 6444 * Returns the number of journal articles. 6445 * 6446 * @return the number of journal articles 6447 */ 6448 public int countAll(); 6449 }