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