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