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