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