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