001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.blogs.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.blogs.model.BlogsEntry; 022 023 /** 024 * The persistence interface for the blogs entry service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see BlogsEntryPersistenceImpl 032 * @see BlogsEntryUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface BlogsEntryPersistence extends BasePersistence<BlogsEntry> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * 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. 041 */ 042 043 /** 044 * Returns all the blogs entries where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching blogs entries 048 * @throws SystemException if a system exception occurred 049 */ 050 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid( 051 java.lang.String uuid) 052 throws com.liferay.portal.kernel.exception.SystemException; 053 054 /** 055 * Returns a range of all the blogs entries where uuid = ?. 056 * 057 * <p> 058 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 059 * </p> 060 * 061 * @param uuid the uuid 062 * @param start the lower bound of the range of blogs entries 063 * @param end the upper bound of the range of blogs entries (not inclusive) 064 * @return the range of matching blogs entries 065 * @throws SystemException if a system exception occurred 066 */ 067 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid( 068 java.lang.String uuid, int start, int end) 069 throws com.liferay.portal.kernel.exception.SystemException; 070 071 /** 072 * Returns an ordered range of all the blogs entries where uuid = ?. 073 * 074 * <p> 075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 076 * </p> 077 * 078 * @param uuid the uuid 079 * @param start the lower bound of the range of blogs entries 080 * @param end the upper bound of the range of blogs entries (not inclusive) 081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 082 * @return the ordered range of matching blogs entries 083 * @throws SystemException if a system exception occurred 084 */ 085 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid( 086 java.lang.String uuid, int start, int end, 087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 088 throws com.liferay.portal.kernel.exception.SystemException; 089 090 /** 091 * Returns the first blogs entry in the ordered set where uuid = ?. 092 * 093 * @param uuid the uuid 094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 095 * @return the first matching blogs entry 096 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First( 100 java.lang.String uuid, 101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 102 throws com.liferay.portal.kernel.exception.SystemException, 103 com.liferay.portlet.blogs.NoSuchEntryException; 104 105 /** 106 * Returns the first blogs entry in the ordered set where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 111 * @throws SystemException if a system exception occurred 112 */ 113 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_First( 114 java.lang.String uuid, 115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns the last blogs entry in the ordered set where uuid = ?. 120 * 121 * @param uuid the uuid 122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 123 * @return the last matching blogs entry 124 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 125 * @throws SystemException if a system exception occurred 126 */ 127 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last( 128 java.lang.String uuid, 129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 130 throws com.liferay.portal.kernel.exception.SystemException, 131 com.liferay.portlet.blogs.NoSuchEntryException; 132 133 /** 134 * Returns the last blogs entry in the ordered set where uuid = ?. 135 * 136 * @param uuid the uuid 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 139 * @throws SystemException if a system exception occurred 140 */ 141 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_Last( 142 java.lang.String uuid, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the blogs entries before and after the current blogs entry in the ordered set where uuid = ?. 148 * 149 * @param entryId the primary key of the current blogs entry 150 * @param uuid the uuid 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next blogs entry 153 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext( 157 long entryId, java.lang.String uuid, 158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 159 throws com.liferay.portal.kernel.exception.SystemException, 160 com.liferay.portlet.blogs.NoSuchEntryException; 161 162 /** 163 * Removes all the blogs entries where uuid = ? from the database. 164 * 165 * @param uuid the uuid 166 * @throws SystemException if a system exception occurred 167 */ 168 public void removeByUuid(java.lang.String uuid) 169 throws com.liferay.portal.kernel.exception.SystemException; 170 171 /** 172 * Returns the number of blogs entries where uuid = ?. 173 * 174 * @param uuid the uuid 175 * @return the number of matching blogs entries 176 * @throws SystemException if a system exception occurred 177 */ 178 public int countByUuid(java.lang.String uuid) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns the blogs entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.blogs.NoSuchEntryException} if it could not be found. 183 * 184 * @param uuid the uuid 185 * @param groupId the group ID 186 * @return the matching blogs entry 187 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 188 * @throws SystemException if a system exception occurred 189 */ 190 public com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G( 191 java.lang.String uuid, long groupId) 192 throws com.liferay.portal.kernel.exception.SystemException, 193 com.liferay.portlet.blogs.NoSuchEntryException; 194 195 /** 196 * Returns the blogs entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 197 * 198 * @param uuid the uuid 199 * @param groupId the group ID 200 * @return the matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 201 * @throws SystemException if a system exception occurred 202 */ 203 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G( 204 java.lang.String uuid, long groupId) 205 throws com.liferay.portal.kernel.exception.SystemException; 206 207 /** 208 * Returns the blogs entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 209 * 210 * @param uuid the uuid 211 * @param groupId the group ID 212 * @param retrieveFromCache whether to use the finder cache 213 * @return the matching blogs entry, or <code>null</code> 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 fetchByUUID_G( 217 java.lang.String uuid, long groupId, boolean retrieveFromCache) 218 throws com.liferay.portal.kernel.exception.SystemException; 219 220 /** 221 * Removes the blogs entry where uuid = ? and groupId = ? from the database. 222 * 223 * @param uuid the uuid 224 * @param groupId the group ID 225 * @return the blogs entry that was removed 226 * @throws SystemException if a system exception occurred 227 */ 228 public com.liferay.portlet.blogs.model.BlogsEntry removeByUUID_G( 229 java.lang.String uuid, long groupId) 230 throws com.liferay.portal.kernel.exception.SystemException, 231 com.liferay.portlet.blogs.NoSuchEntryException; 232 233 /** 234 * Returns the number of blogs entries where uuid = ? and groupId = ?. 235 * 236 * @param uuid the uuid 237 * @param groupId the group ID 238 * @return the number of matching blogs entries 239 * @throws SystemException if a system exception occurred 240 */ 241 public int countByUUID_G(java.lang.String uuid, long groupId) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Returns all the blogs entries where uuid = ? and companyId = ?. 246 * 247 * @param uuid the uuid 248 * @param companyId the company ID 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> findByUuid_C( 253 java.lang.String uuid, long companyId) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns a range of all the blogs entries where uuid = ? and companyId = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 261 * </p> 262 * 263 * @param uuid the uuid 264 * @param companyId the company ID 265 * @param start the lower bound of the range of blogs entries 266 * @param end the upper bound of the range of blogs entries (not inclusive) 267 * @return the range of matching blogs entries 268 * @throws SystemException if a system exception occurred 269 */ 270 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid_C( 271 java.lang.String uuid, long companyId, int start, int end) 272 throws com.liferay.portal.kernel.exception.SystemException; 273 274 /** 275 * Returns an ordered range of all the blogs entries where uuid = ? and companyId = ?. 276 * 277 * <p> 278 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 279 * </p> 280 * 281 * @param uuid the uuid 282 * @param companyId the company ID 283 * @param start the lower bound of the range of blogs entries 284 * @param end the upper bound of the range of blogs entries (not inclusive) 285 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 286 * @return the ordered range of matching blogs entries 287 * @throws SystemException if a system exception occurred 288 */ 289 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid_C( 290 java.lang.String uuid, long companyId, int start, int end, 291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 292 throws com.liferay.portal.kernel.exception.SystemException; 293 294 /** 295 * Returns the first blogs entry in the ordered set where uuid = ? and companyId = ?. 296 * 297 * @param uuid the uuid 298 * @param companyId the company ID 299 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 300 * @return the first matching blogs entry 301 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 302 * @throws SystemException if a system exception occurred 303 */ 304 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_C_First( 305 java.lang.String uuid, long companyId, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException, 308 com.liferay.portlet.blogs.NoSuchEntryException; 309 310 /** 311 * Returns the first blogs entry in the ordered set where uuid = ? and companyId = ?. 312 * 313 * @param uuid the uuid 314 * @param companyId the company ID 315 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 316 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_C_First( 320 java.lang.String uuid, long companyId, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException; 323 324 /** 325 * Returns the last blogs entry in the ordered set where uuid = ? and companyId = ?. 326 * 327 * @param uuid the uuid 328 * @param companyId the company ID 329 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 330 * @return the last matching blogs entry 331 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 332 * @throws SystemException if a system exception occurred 333 */ 334 public com.liferay.portlet.blogs.model.BlogsEntry findByUuid_C_Last( 335 java.lang.String uuid, long companyId, 336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 337 throws com.liferay.portal.kernel.exception.SystemException, 338 com.liferay.portlet.blogs.NoSuchEntryException; 339 340 /** 341 * Returns the last blogs entry in the ordered set where uuid = ? and companyId = ?. 342 * 343 * @param uuid the uuid 344 * @param companyId the company ID 345 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 346 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.blogs.model.BlogsEntry fetchByUuid_C_Last( 350 java.lang.String uuid, long companyId, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException; 353 354 /** 355 * Returns the blogs entries before and after the current blogs entry in the ordered set where uuid = ? and companyId = ?. 356 * 357 * @param entryId the primary key of the current blogs entry 358 * @param uuid the uuid 359 * @param companyId the company ID 360 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 361 * @return the previous, current, and next blogs entry 362 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 363 * @throws SystemException if a system exception occurred 364 */ 365 public com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_C_PrevAndNext( 366 long entryId, java.lang.String uuid, long companyId, 367 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 368 throws com.liferay.portal.kernel.exception.SystemException, 369 com.liferay.portlet.blogs.NoSuchEntryException; 370 371 /** 372 * Removes all the blogs entries where uuid = ? and companyId = ? from the database. 373 * 374 * @param uuid the uuid 375 * @param companyId the company ID 376 * @throws SystemException if a system exception occurred 377 */ 378 public void removeByUuid_C(java.lang.String uuid, long companyId) 379 throws com.liferay.portal.kernel.exception.SystemException; 380 381 /** 382 * Returns the number of blogs entries where uuid = ? and companyId = ?. 383 * 384 * @param uuid the uuid 385 * @param companyId the company ID 386 * @return the number of matching blogs entries 387 * @throws SystemException if a system exception occurred 388 */ 389 public int countByUuid_C(java.lang.String uuid, long companyId) 390 throws com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Returns all the blogs entries where groupId = ?. 394 * 395 * @param groupId the group ID 396 * @return the matching blogs entries 397 * @throws SystemException if a system exception occurred 398 */ 399 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId( 400 long groupId) 401 throws com.liferay.portal.kernel.exception.SystemException; 402 403 /** 404 * Returns a range of all the blogs entries where groupId = ?. 405 * 406 * <p> 407 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 408 * </p> 409 * 410 * @param groupId the group ID 411 * @param start the lower bound of the range of blogs entries 412 * @param end the upper bound of the range of blogs entries (not inclusive) 413 * @return the range of matching blogs entries 414 * @throws SystemException if a system exception occurred 415 */ 416 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId( 417 long groupId, int start, int end) 418 throws com.liferay.portal.kernel.exception.SystemException; 419 420 /** 421 * Returns an ordered range of all the blogs entries where groupId = ?. 422 * 423 * <p> 424 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 425 * </p> 426 * 427 * @param groupId the group ID 428 * @param start the lower bound of the range of blogs entries 429 * @param end the upper bound of the range of blogs entries (not inclusive) 430 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 431 * @return the ordered range of matching blogs entries 432 * @throws SystemException if a system exception occurred 433 */ 434 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId( 435 long groupId, int start, int end, 436 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 437 throws com.liferay.portal.kernel.exception.SystemException; 438 439 /** 440 * Returns the first blogs entry in the ordered set where groupId = ?. 441 * 442 * @param groupId the group ID 443 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 444 * @return the first matching blogs entry 445 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 446 * @throws SystemException if a system exception occurred 447 */ 448 public com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First( 449 long groupId, 450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 451 throws com.liferay.portal.kernel.exception.SystemException, 452 com.liferay.portlet.blogs.NoSuchEntryException; 453 454 /** 455 * Returns the first blogs entry in the ordered set where groupId = ?. 456 * 457 * @param groupId the group ID 458 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 459 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 460 * @throws SystemException if a system exception occurred 461 */ 462 public com.liferay.portlet.blogs.model.BlogsEntry fetchByGroupId_First( 463 long groupId, 464 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns the last blogs entry in the ordered set where groupId = ?. 469 * 470 * @param groupId the group ID 471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 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 findByGroupId_Last( 477 long groupId, 478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 479 throws com.liferay.portal.kernel.exception.SystemException, 480 com.liferay.portlet.blogs.NoSuchEntryException; 481 482 /** 483 * Returns the last blogs entry in the ordered set where groupId = ?. 484 * 485 * @param groupId the group ID 486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 487 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 488 * @throws SystemException if a system exception occurred 489 */ 490 public com.liferay.portlet.blogs.model.BlogsEntry fetchByGroupId_Last( 491 long groupId, 492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 493 throws com.liferay.portal.kernel.exception.SystemException; 494 495 /** 496 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ?. 497 * 498 * @param entryId the primary key of the current blogs entry 499 * @param groupId the group ID 500 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 501 * @return the previous, current, and next blogs entry 502 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 503 * @throws SystemException if a system exception occurred 504 */ 505 public com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext( 506 long entryId, long groupId, 507 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 508 throws com.liferay.portal.kernel.exception.SystemException, 509 com.liferay.portlet.blogs.NoSuchEntryException; 510 511 /** 512 * Returns all the blogs entries that the user has permission to view where groupId = ?. 513 * 514 * @param groupId the group ID 515 * @return the matching blogs entries that the user has permission to view 516 * @throws SystemException if a system exception occurred 517 */ 518 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByGroupId( 519 long groupId) 520 throws com.liferay.portal.kernel.exception.SystemException; 521 522 /** 523 * Returns a range of all the blogs entries that the user has permission to view where groupId = ?. 524 * 525 * <p> 526 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 527 * </p> 528 * 529 * @param groupId the group ID 530 * @param start the lower bound of the range of blogs entries 531 * @param end the upper bound of the range of blogs entries (not inclusive) 532 * @return the range of matching blogs entries that the user has permission to view 533 * @throws SystemException if a system exception occurred 534 */ 535 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByGroupId( 536 long groupId, int start, int end) 537 throws com.liferay.portal.kernel.exception.SystemException; 538 539 /** 540 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ?. 541 * 542 * <p> 543 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 544 * </p> 545 * 546 * @param groupId the group ID 547 * @param start the lower bound of the range of blogs entries 548 * @param end the upper bound of the range of blogs entries (not inclusive) 549 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 550 * @return the ordered range of matching blogs entries that the user has permission to view 551 * @throws SystemException if a system exception occurred 552 */ 553 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByGroupId( 554 long groupId, int start, int end, 555 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 556 throws com.liferay.portal.kernel.exception.SystemException; 557 558 /** 559 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ?. 560 * 561 * @param entryId the primary key of the current blogs entry 562 * @param groupId the group ID 563 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 564 * @return the previous, current, and next blogs entry 565 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 566 * @throws SystemException if a system exception occurred 567 */ 568 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByGroupId_PrevAndNext( 569 long entryId, long groupId, 570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 571 throws com.liferay.portal.kernel.exception.SystemException, 572 com.liferay.portlet.blogs.NoSuchEntryException; 573 574 /** 575 * Removes all the blogs entries where groupId = ? from the database. 576 * 577 * @param groupId the group ID 578 * @throws SystemException if a system exception occurred 579 */ 580 public void removeByGroupId(long groupId) 581 throws com.liferay.portal.kernel.exception.SystemException; 582 583 /** 584 * Returns the number of blogs entries where groupId = ?. 585 * 586 * @param groupId the group ID 587 * @return the number of matching blogs entries 588 * @throws SystemException if a system exception occurred 589 */ 590 public int countByGroupId(long groupId) 591 throws com.liferay.portal.kernel.exception.SystemException; 592 593 /** 594 * Returns the number of blogs entries that the user has permission to view where groupId = ?. 595 * 596 * @param groupId the group ID 597 * @return the number of matching blogs entries that the user has permission to view 598 * @throws SystemException if a system exception occurred 599 */ 600 public int filterCountByGroupId(long groupId) 601 throws com.liferay.portal.kernel.exception.SystemException; 602 603 /** 604 * Returns all the blogs entries where companyId = ?. 605 * 606 * @param companyId the company ID 607 * @return the matching blogs entries 608 * @throws SystemException if a system exception occurred 609 */ 610 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId( 611 long companyId) 612 throws com.liferay.portal.kernel.exception.SystemException; 613 614 /** 615 * Returns a range of all the blogs entries where companyId = ?. 616 * 617 * <p> 618 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 619 * </p> 620 * 621 * @param companyId the company ID 622 * @param start the lower bound of the range of blogs entries 623 * @param end the upper bound of the range of blogs entries (not inclusive) 624 * @return the range of matching blogs entries 625 * @throws SystemException if a system exception occurred 626 */ 627 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId( 628 long companyId, int start, int end) 629 throws com.liferay.portal.kernel.exception.SystemException; 630 631 /** 632 * Returns an ordered range of all the blogs entries where companyId = ?. 633 * 634 * <p> 635 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 636 * </p> 637 * 638 * @param companyId the company ID 639 * @param start the lower bound of the range of blogs entries 640 * @param end the upper bound of the range of blogs entries (not inclusive) 641 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 642 * @return the ordered range of matching blogs entries 643 * @throws SystemException if a system exception occurred 644 */ 645 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId( 646 long companyId, int start, int end, 647 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 648 throws com.liferay.portal.kernel.exception.SystemException; 649 650 /** 651 * Returns the first blogs entry in the ordered set where companyId = ?. 652 * 653 * @param companyId the company ID 654 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 655 * @return the first matching blogs entry 656 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 657 * @throws SystemException if a system exception occurred 658 */ 659 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First( 660 long companyId, 661 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 662 throws com.liferay.portal.kernel.exception.SystemException, 663 com.liferay.portlet.blogs.NoSuchEntryException; 664 665 /** 666 * Returns the first blogs entry in the ordered set where companyId = ?. 667 * 668 * @param companyId the company ID 669 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 670 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 671 * @throws SystemException if a system exception occurred 672 */ 673 public com.liferay.portlet.blogs.model.BlogsEntry fetchByCompanyId_First( 674 long companyId, 675 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 676 throws com.liferay.portal.kernel.exception.SystemException; 677 678 /** 679 * Returns the last blogs entry in the ordered set where companyId = ?. 680 * 681 * @param companyId the company ID 682 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 683 * @return the last matching blogs entry 684 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 685 * @throws SystemException if a system exception occurred 686 */ 687 public com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last( 688 long companyId, 689 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 690 throws com.liferay.portal.kernel.exception.SystemException, 691 com.liferay.portlet.blogs.NoSuchEntryException; 692 693 /** 694 * Returns the last blogs entry in the ordered set where companyId = ?. 695 * 696 * @param companyId the company ID 697 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 698 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 699 * @throws SystemException if a system exception occurred 700 */ 701 public com.liferay.portlet.blogs.model.BlogsEntry fetchByCompanyId_Last( 702 long companyId, 703 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 704 throws com.liferay.portal.kernel.exception.SystemException; 705 706 /** 707 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ?. 708 * 709 * @param entryId the primary key of the current blogs entry 710 * @param companyId the company ID 711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 712 * @return the previous, current, and next blogs entry 713 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 714 * @throws SystemException if a system exception occurred 715 */ 716 public com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext( 717 long entryId, long companyId, 718 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 719 throws com.liferay.portal.kernel.exception.SystemException, 720 com.liferay.portlet.blogs.NoSuchEntryException; 721 722 /** 723 * Removes all the blogs entries where companyId = ? from the database. 724 * 725 * @param companyId the company ID 726 * @throws SystemException if a system exception occurred 727 */ 728 public void removeByCompanyId(long companyId) 729 throws com.liferay.portal.kernel.exception.SystemException; 730 731 /** 732 * Returns the number of blogs entries where companyId = ?. 733 * 734 * @param companyId the company ID 735 * @return the number of matching blogs entries 736 * @throws SystemException if a system exception occurred 737 */ 738 public int countByCompanyId(long companyId) 739 throws com.liferay.portal.kernel.exception.SystemException; 740 741 /** 742 * Returns all the blogs entries where companyId = ? and userId = ?. 743 * 744 * @param companyId the company ID 745 * @param userId the user ID 746 * @return the matching blogs entries 747 * @throws SystemException if a system exception occurred 748 */ 749 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U( 750 long companyId, long userId) 751 throws com.liferay.portal.kernel.exception.SystemException; 752 753 /** 754 * Returns a range of all the blogs entries where companyId = ? and userId = ?. 755 * 756 * <p> 757 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 758 * </p> 759 * 760 * @param companyId the company ID 761 * @param userId the user ID 762 * @param start the lower bound of the range of blogs entries 763 * @param end the upper bound of the range of blogs entries (not inclusive) 764 * @return the range of matching blogs entries 765 * @throws SystemException if a system exception occurred 766 */ 767 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U( 768 long companyId, long userId, int start, int end) 769 throws com.liferay.portal.kernel.exception.SystemException; 770 771 /** 772 * Returns an ordered range of all the blogs entries where companyId = ? and userId = ?. 773 * 774 * <p> 775 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 776 * </p> 777 * 778 * @param companyId the company ID 779 * @param userId the user ID 780 * @param start the lower bound of the range of blogs entries 781 * @param end the upper bound of the range of blogs entries (not inclusive) 782 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 783 * @return the ordered range of matching blogs entries 784 * @throws SystemException if a system exception occurred 785 */ 786 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U( 787 long companyId, long userId, int start, int end, 788 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 789 throws com.liferay.portal.kernel.exception.SystemException; 790 791 /** 792 * Returns the first blogs entry in the ordered set where companyId = ? and userId = ?. 793 * 794 * @param companyId the company ID 795 * @param userId the user ID 796 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 797 * @return the first matching blogs entry 798 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 799 * @throws SystemException if a system exception occurred 800 */ 801 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First( 802 long companyId, long userId, 803 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 804 throws com.liferay.portal.kernel.exception.SystemException, 805 com.liferay.portlet.blogs.NoSuchEntryException; 806 807 /** 808 * Returns the first blogs entry in the ordered set where companyId = ? and userId = ?. 809 * 810 * @param companyId the company ID 811 * @param userId the user ID 812 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 813 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 814 * @throws SystemException if a system exception occurred 815 */ 816 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_First( 817 long companyId, long userId, 818 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 819 throws com.liferay.portal.kernel.exception.SystemException; 820 821 /** 822 * Returns the last blogs entry in the ordered set where companyId = ? and userId = ?. 823 * 824 * @param companyId the company ID 825 * @param userId the user ID 826 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 827 * @return the last matching blogs entry 828 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 829 * @throws SystemException if a system exception occurred 830 */ 831 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last( 832 long companyId, long userId, 833 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 834 throws com.liferay.portal.kernel.exception.SystemException, 835 com.liferay.portlet.blogs.NoSuchEntryException; 836 837 /** 838 * Returns the last blogs entry in the ordered set where companyId = ? and userId = ?. 839 * 840 * @param companyId the company ID 841 * @param userId the user ID 842 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 843 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 844 * @throws SystemException if a system exception occurred 845 */ 846 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_Last( 847 long companyId, long userId, 848 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 849 throws com.liferay.portal.kernel.exception.SystemException; 850 851 /** 852 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ?. 853 * 854 * @param entryId the primary key of the current blogs entry 855 * @param companyId the company ID 856 * @param userId the user ID 857 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 858 * @return the previous, current, and next blogs entry 859 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 860 * @throws SystemException if a system exception occurred 861 */ 862 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext( 863 long entryId, long companyId, long userId, 864 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 865 throws com.liferay.portal.kernel.exception.SystemException, 866 com.liferay.portlet.blogs.NoSuchEntryException; 867 868 /** 869 * Removes all the blogs entries where companyId = ? and userId = ? from the database. 870 * 871 * @param companyId the company ID 872 * @param userId the user ID 873 * @throws SystemException if a system exception occurred 874 */ 875 public void removeByC_U(long companyId, long userId) 876 throws com.liferay.portal.kernel.exception.SystemException; 877 878 /** 879 * Returns the number of blogs entries where companyId = ? and userId = ?. 880 * 881 * @param companyId the company ID 882 * @param userId the user ID 883 * @return the number of matching blogs entries 884 * @throws SystemException if a system exception occurred 885 */ 886 public int countByC_U(long companyId, long userId) 887 throws com.liferay.portal.kernel.exception.SystemException; 888 889 /** 890 * Returns all the blogs entries where companyId = ? and displayDate < ?. 891 * 892 * @param companyId the company ID 893 * @param displayDate the display date 894 * @return the matching blogs entries 895 * @throws SystemException if a system exception occurred 896 */ 897 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD( 898 long companyId, java.util.Date displayDate) 899 throws com.liferay.portal.kernel.exception.SystemException; 900 901 /** 902 * Returns a range of all the blogs entries where companyId = ? and displayDate < ?. 903 * 904 * <p> 905 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 906 * </p> 907 * 908 * @param companyId the company ID 909 * @param displayDate the display date 910 * @param start the lower bound of the range of blogs entries 911 * @param end the upper bound of the range of blogs entries (not inclusive) 912 * @return the range of matching blogs entries 913 * @throws SystemException if a system exception occurred 914 */ 915 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD( 916 long companyId, java.util.Date displayDate, int start, int end) 917 throws com.liferay.portal.kernel.exception.SystemException; 918 919 /** 920 * Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ?. 921 * 922 * <p> 923 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 924 * </p> 925 * 926 * @param companyId the company ID 927 * @param displayDate the display date 928 * @param start the lower bound of the range of blogs entries 929 * @param end the upper bound of the range of blogs entries (not inclusive) 930 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 931 * @return the ordered range of matching blogs entries 932 * @throws SystemException if a system exception occurred 933 */ 934 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD( 935 long companyId, java.util.Date displayDate, int start, int end, 936 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 937 throws com.liferay.portal.kernel.exception.SystemException; 938 939 /** 940 * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?. 941 * 942 * @param companyId the company ID 943 * @param displayDate the display date 944 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 945 * @return the first matching blogs entry 946 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 947 * @throws SystemException if a system exception occurred 948 */ 949 public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_First( 950 long companyId, java.util.Date displayDate, 951 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 952 throws com.liferay.portal.kernel.exception.SystemException, 953 com.liferay.portlet.blogs.NoSuchEntryException; 954 955 /** 956 * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ?. 957 * 958 * @param companyId the company ID 959 * @param displayDate the display date 960 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 961 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 962 * @throws SystemException if a system exception occurred 963 */ 964 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_First( 965 long companyId, java.util.Date displayDate, 966 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 967 throws com.liferay.portal.kernel.exception.SystemException; 968 969 /** 970 * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?. 971 * 972 * @param companyId the company ID 973 * @param displayDate the display date 974 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 975 * @return the last matching blogs entry 976 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 977 * @throws SystemException if a system exception occurred 978 */ 979 public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_Last( 980 long companyId, java.util.Date displayDate, 981 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 982 throws com.liferay.portal.kernel.exception.SystemException, 983 com.liferay.portlet.blogs.NoSuchEntryException; 984 985 /** 986 * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ?. 987 * 988 * @param companyId the company ID 989 * @param displayDate the display date 990 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 991 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 992 * @throws SystemException if a system exception occurred 993 */ 994 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_Last( 995 long companyId, java.util.Date displayDate, 996 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 997 throws com.liferay.portal.kernel.exception.SystemException; 998 999 /** 1000 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ?. 1001 * 1002 * @param entryId the primary key of the current blogs entry 1003 * @param companyId the company ID 1004 * @param displayDate the display date 1005 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1006 * @return the previous, current, and next blogs entry 1007 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1008 * @throws SystemException if a system exception occurred 1009 */ 1010 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_LtD_PrevAndNext( 1011 long entryId, long companyId, java.util.Date displayDate, 1012 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1013 throws com.liferay.portal.kernel.exception.SystemException, 1014 com.liferay.portlet.blogs.NoSuchEntryException; 1015 1016 /** 1017 * Removes all the blogs entries where companyId = ? and displayDate < ? from the database. 1018 * 1019 * @param companyId the company ID 1020 * @param displayDate the display date 1021 * @throws SystemException if a system exception occurred 1022 */ 1023 public void removeByC_LtD(long companyId, java.util.Date displayDate) 1024 throws com.liferay.portal.kernel.exception.SystemException; 1025 1026 /** 1027 * Returns the number of blogs entries where companyId = ? and displayDate < ?. 1028 * 1029 * @param companyId the company ID 1030 * @param displayDate the display date 1031 * @return the number of matching blogs entries 1032 * @throws SystemException if a system exception occurred 1033 */ 1034 public int countByC_LtD(long companyId, java.util.Date displayDate) 1035 throws com.liferay.portal.kernel.exception.SystemException; 1036 1037 /** 1038 * Returns all the blogs entries where companyId = ? and status ≠ ?. 1039 * 1040 * @param companyId the company ID 1041 * @param status the status 1042 * @return the matching blogs entries 1043 * @throws SystemException if a system exception occurred 1044 */ 1045 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_NotS( 1046 long companyId, int status) 1047 throws com.liferay.portal.kernel.exception.SystemException; 1048 1049 /** 1050 * Returns a range of all the blogs entries where companyId = ? and status ≠ ?. 1051 * 1052 * <p> 1053 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1054 * </p> 1055 * 1056 * @param companyId the company ID 1057 * @param status the status 1058 * @param start the lower bound of the range of blogs entries 1059 * @param end the upper bound of the range of blogs entries (not inclusive) 1060 * @return the range of matching blogs entries 1061 * @throws SystemException if a system exception occurred 1062 */ 1063 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_NotS( 1064 long companyId, int status, int start, int end) 1065 throws com.liferay.portal.kernel.exception.SystemException; 1066 1067 /** 1068 * Returns an ordered range of all the blogs entries where companyId = ? and status ≠ ?. 1069 * 1070 * <p> 1071 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1072 * </p> 1073 * 1074 * @param companyId the company ID 1075 * @param status the status 1076 * @param start the lower bound of the range of blogs entries 1077 * @param end the upper bound of the range of blogs entries (not inclusive) 1078 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1079 * @return the ordered range of matching blogs entries 1080 * @throws SystemException if a system exception occurred 1081 */ 1082 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_NotS( 1083 long companyId, int status, int start, int end, 1084 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1085 throws com.liferay.portal.kernel.exception.SystemException; 1086 1087 /** 1088 * Returns the first blogs entry in the ordered set where companyId = ? and status ≠ ?. 1089 * 1090 * @param companyId the company ID 1091 * @param status the status 1092 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1093 * @return the first matching blogs entry 1094 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1095 * @throws SystemException if a system exception occurred 1096 */ 1097 public com.liferay.portlet.blogs.model.BlogsEntry findByC_NotS_First( 1098 long companyId, int status, 1099 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1100 throws com.liferay.portal.kernel.exception.SystemException, 1101 com.liferay.portlet.blogs.NoSuchEntryException; 1102 1103 /** 1104 * Returns the first blogs entry in the ordered set where companyId = ? and status ≠ ?. 1105 * 1106 * @param companyId the company ID 1107 * @param status the status 1108 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1109 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1110 * @throws SystemException if a system exception occurred 1111 */ 1112 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_NotS_First( 1113 long companyId, int status, 1114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1115 throws com.liferay.portal.kernel.exception.SystemException; 1116 1117 /** 1118 * Returns the last blogs entry in the ordered set where companyId = ? and status ≠ ?. 1119 * 1120 * @param companyId the company ID 1121 * @param status the status 1122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1123 * @return the last matching blogs entry 1124 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1125 * @throws SystemException if a system exception occurred 1126 */ 1127 public com.liferay.portlet.blogs.model.BlogsEntry findByC_NotS_Last( 1128 long companyId, int status, 1129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1130 throws com.liferay.portal.kernel.exception.SystemException, 1131 com.liferay.portlet.blogs.NoSuchEntryException; 1132 1133 /** 1134 * Returns the last blogs entry in the ordered set where companyId = ? and status ≠ ?. 1135 * 1136 * @param companyId the company ID 1137 * @param status the status 1138 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1139 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1140 * @throws SystemException if a system exception occurred 1141 */ 1142 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_NotS_Last( 1143 long companyId, int status, 1144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1145 throws com.liferay.portal.kernel.exception.SystemException; 1146 1147 /** 1148 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and status ≠ ?. 1149 * 1150 * @param entryId the primary key of the current blogs entry 1151 * @param companyId the company ID 1152 * @param status the status 1153 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1154 * @return the previous, current, and next blogs entry 1155 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1156 * @throws SystemException if a system exception occurred 1157 */ 1158 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_NotS_PrevAndNext( 1159 long entryId, long companyId, int status, 1160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1161 throws com.liferay.portal.kernel.exception.SystemException, 1162 com.liferay.portlet.blogs.NoSuchEntryException; 1163 1164 /** 1165 * Removes all the blogs entries where companyId = ? and status ≠ ? from the database. 1166 * 1167 * @param companyId the company ID 1168 * @param status the status 1169 * @throws SystemException if a system exception occurred 1170 */ 1171 public void removeByC_NotS(long companyId, int status) 1172 throws com.liferay.portal.kernel.exception.SystemException; 1173 1174 /** 1175 * Returns the number of blogs entries where companyId = ? and status ≠ ?. 1176 * 1177 * @param companyId the company ID 1178 * @param status the status 1179 * @return the number of matching blogs entries 1180 * @throws SystemException if a system exception occurred 1181 */ 1182 public int countByC_NotS(long companyId, int status) 1183 throws com.liferay.portal.kernel.exception.SystemException; 1184 1185 /** 1186 * Returns all the blogs entries where companyId = ? and status = ?. 1187 * 1188 * @param companyId the company ID 1189 * @param status the status 1190 * @return the matching blogs entries 1191 * @throws SystemException if a system exception occurred 1192 */ 1193 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S( 1194 long companyId, int status) 1195 throws com.liferay.portal.kernel.exception.SystemException; 1196 1197 /** 1198 * Returns a range of all the blogs entries where companyId = ? and status = ?. 1199 * 1200 * <p> 1201 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1202 * </p> 1203 * 1204 * @param companyId the company ID 1205 * @param status the status 1206 * @param start the lower bound of the range of blogs entries 1207 * @param end the upper bound of the range of blogs entries (not inclusive) 1208 * @return the range of matching blogs entries 1209 * @throws SystemException if a system exception occurred 1210 */ 1211 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S( 1212 long companyId, int status, int start, int end) 1213 throws com.liferay.portal.kernel.exception.SystemException; 1214 1215 /** 1216 * Returns an ordered range of all the blogs entries where companyId = ? and status = ?. 1217 * 1218 * <p> 1219 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1220 * </p> 1221 * 1222 * @param companyId the company ID 1223 * @param status the status 1224 * @param start the lower bound of the range of blogs entries 1225 * @param end the upper bound of the range of blogs entries (not inclusive) 1226 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1227 * @return the ordered range of matching blogs entries 1228 * @throws SystemException if a system exception occurred 1229 */ 1230 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S( 1231 long companyId, int status, int start, int end, 1232 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1233 throws com.liferay.portal.kernel.exception.SystemException; 1234 1235 /** 1236 * Returns the first blogs entry in the ordered set where companyId = ? and status = ?. 1237 * 1238 * @param companyId the company ID 1239 * @param status the status 1240 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1241 * @return the first matching blogs entry 1242 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1243 * @throws SystemException if a system exception occurred 1244 */ 1245 public com.liferay.portlet.blogs.model.BlogsEntry findByC_S_First( 1246 long companyId, int status, 1247 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1248 throws com.liferay.portal.kernel.exception.SystemException, 1249 com.liferay.portlet.blogs.NoSuchEntryException; 1250 1251 /** 1252 * Returns the first blogs entry in the ordered set where companyId = ? and status = ?. 1253 * 1254 * @param companyId the company ID 1255 * @param status the status 1256 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1257 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1258 * @throws SystemException if a system exception occurred 1259 */ 1260 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_S_First( 1261 long companyId, int status, 1262 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1263 throws com.liferay.portal.kernel.exception.SystemException; 1264 1265 /** 1266 * Returns the last blogs entry in the ordered set where companyId = ? and status = ?. 1267 * 1268 * @param companyId the company ID 1269 * @param status the status 1270 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1271 * @return the last matching blogs entry 1272 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1273 * @throws SystemException if a system exception occurred 1274 */ 1275 public com.liferay.portlet.blogs.model.BlogsEntry findByC_S_Last( 1276 long companyId, int status, 1277 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1278 throws com.liferay.portal.kernel.exception.SystemException, 1279 com.liferay.portlet.blogs.NoSuchEntryException; 1280 1281 /** 1282 * Returns the last blogs entry in the ordered set where companyId = ? and status = ?. 1283 * 1284 * @param companyId the company ID 1285 * @param status the status 1286 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1287 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1288 * @throws SystemException if a system exception occurred 1289 */ 1290 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_S_Last( 1291 long companyId, int status, 1292 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1293 throws com.liferay.portal.kernel.exception.SystemException; 1294 1295 /** 1296 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and status = ?. 1297 * 1298 * @param entryId the primary key of the current blogs entry 1299 * @param companyId the company ID 1300 * @param status the status 1301 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 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_S_PrevAndNext( 1307 long entryId, long companyId, 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 * Removes all the blogs entries where companyId = ? and status = ? from the database. 1314 * 1315 * @param companyId the company ID 1316 * @param status the status 1317 * @throws SystemException if a system exception occurred 1318 */ 1319 public void removeByC_S(long companyId, int status) 1320 throws com.liferay.portal.kernel.exception.SystemException; 1321 1322 /** 1323 * Returns the number of blogs entries where companyId = ? and status = ?. 1324 * 1325 * @param companyId the company ID 1326 * @param status the status 1327 * @return the number of matching blogs entries 1328 * @throws SystemException if a system exception occurred 1329 */ 1330 public int countByC_S(long companyId, int status) 1331 throws com.liferay.portal.kernel.exception.SystemException; 1332 1333 /** 1334 * Returns the blogs entry where groupId = ? and urlTitle = ? or throws a {@link com.liferay.portlet.blogs.NoSuchEntryException} if it could not be found. 1335 * 1336 * @param groupId the group ID 1337 * @param urlTitle the url title 1338 * @return the matching blogs entry 1339 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1340 * @throws SystemException if a system exception occurred 1341 */ 1342 public com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(long groupId, 1343 java.lang.String urlTitle) 1344 throws com.liferay.portal.kernel.exception.SystemException, 1345 com.liferay.portlet.blogs.NoSuchEntryException; 1346 1347 /** 1348 * Returns the blogs entry where groupId = ? and urlTitle = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1349 * 1350 * @param groupId the group ID 1351 * @param urlTitle the url title 1352 * @return the matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1353 * @throws SystemException if a system exception occurred 1354 */ 1355 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT( 1356 long groupId, java.lang.String urlTitle) 1357 throws com.liferay.portal.kernel.exception.SystemException; 1358 1359 /** 1360 * Returns the blogs entry where groupId = ? and urlTitle = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1361 * 1362 * @param groupId the group ID 1363 * @param urlTitle the url title 1364 * @param retrieveFromCache whether to use the finder cache 1365 * @return the matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1366 * @throws SystemException if a system exception occurred 1367 */ 1368 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT( 1369 long groupId, java.lang.String urlTitle, boolean retrieveFromCache) 1370 throws com.liferay.portal.kernel.exception.SystemException; 1371 1372 /** 1373 * Removes the blogs entry where groupId = ? and urlTitle = ? from the database. 1374 * 1375 * @param groupId the group ID 1376 * @param urlTitle the url title 1377 * @return the blogs entry that was removed 1378 * @throws SystemException if a system exception occurred 1379 */ 1380 public com.liferay.portlet.blogs.model.BlogsEntry removeByG_UT( 1381 long groupId, java.lang.String urlTitle) 1382 throws com.liferay.portal.kernel.exception.SystemException, 1383 com.liferay.portlet.blogs.NoSuchEntryException; 1384 1385 /** 1386 * Returns the number of blogs entries where groupId = ? and urlTitle = ?. 1387 * 1388 * @param groupId the group ID 1389 * @param urlTitle the url title 1390 * @return the number of matching blogs entries 1391 * @throws SystemException if a system exception occurred 1392 */ 1393 public int countByG_UT(long groupId, java.lang.String urlTitle) 1394 throws com.liferay.portal.kernel.exception.SystemException; 1395 1396 /** 1397 * Returns all the blogs entries where groupId = ? and displayDate < ?. 1398 * 1399 * @param groupId the group ID 1400 * @param displayDate the display date 1401 * @return the matching blogs entries 1402 * @throws SystemException if a system exception occurred 1403 */ 1404 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD( 1405 long groupId, java.util.Date displayDate) 1406 throws com.liferay.portal.kernel.exception.SystemException; 1407 1408 /** 1409 * Returns a range of all the blogs entries where groupId = ? and displayDate < ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1413 * </p> 1414 * 1415 * @param groupId the group ID 1416 * @param displayDate the display date 1417 * @param start the lower bound of the range of blogs entries 1418 * @param end the upper bound of the range of blogs entries (not inclusive) 1419 * @return the range of matching blogs entries 1420 * @throws SystemException if a system exception occurred 1421 */ 1422 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD( 1423 long groupId, java.util.Date displayDate, int start, int end) 1424 throws com.liferay.portal.kernel.exception.SystemException; 1425 1426 /** 1427 * Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ?. 1428 * 1429 * <p> 1430 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1431 * </p> 1432 * 1433 * @param groupId the group ID 1434 * @param displayDate the display date 1435 * @param start the lower bound of the range of blogs entries 1436 * @param end the upper bound of the range of blogs entries (not inclusive) 1437 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1438 * @return the ordered range of matching blogs entries 1439 * @throws SystemException if a system exception occurred 1440 */ 1441 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD( 1442 long groupId, java.util.Date displayDate, int start, int end, 1443 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1444 throws com.liferay.portal.kernel.exception.SystemException; 1445 1446 /** 1447 * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?. 1448 * 1449 * @param groupId the group ID 1450 * @param displayDate the display date 1451 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1452 * @return the first matching blogs entry 1453 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1454 * @throws SystemException if a system exception occurred 1455 */ 1456 public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_First( 1457 long groupId, java.util.Date displayDate, 1458 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1459 throws com.liferay.portal.kernel.exception.SystemException, 1460 com.liferay.portlet.blogs.NoSuchEntryException; 1461 1462 /** 1463 * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ?. 1464 * 1465 * @param groupId the group ID 1466 * @param displayDate the display date 1467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1468 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1469 * @throws SystemException if a system exception occurred 1470 */ 1471 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_First( 1472 long groupId, java.util.Date displayDate, 1473 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1474 throws com.liferay.portal.kernel.exception.SystemException; 1475 1476 /** 1477 * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?. 1478 * 1479 * @param groupId the group ID 1480 * @param displayDate the display date 1481 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1482 * @return the last matching blogs entry 1483 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1484 * @throws SystemException if a system exception occurred 1485 */ 1486 public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_Last( 1487 long groupId, java.util.Date displayDate, 1488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1489 throws com.liferay.portal.kernel.exception.SystemException, 1490 com.liferay.portlet.blogs.NoSuchEntryException; 1491 1492 /** 1493 * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ?. 1494 * 1495 * @param groupId the group ID 1496 * @param displayDate the display date 1497 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1498 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1499 * @throws SystemException if a system exception occurred 1500 */ 1501 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_Last( 1502 long groupId, java.util.Date displayDate, 1503 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1504 throws com.liferay.portal.kernel.exception.SystemException; 1505 1506 /** 1507 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ?. 1508 * 1509 * @param entryId the primary key of the current blogs entry 1510 * @param groupId the group ID 1511 * @param displayDate the display date 1512 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1513 * @return the previous, current, and next blogs entry 1514 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1515 * @throws SystemException if a system exception occurred 1516 */ 1517 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_LtD_PrevAndNext( 1518 long entryId, long groupId, java.util.Date displayDate, 1519 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1520 throws com.liferay.portal.kernel.exception.SystemException, 1521 com.liferay.portlet.blogs.NoSuchEntryException; 1522 1523 /** 1524 * Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?. 1525 * 1526 * @param groupId the group ID 1527 * @param displayDate the display date 1528 * @return the matching blogs entries that the user has permission to view 1529 * @throws SystemException if a system exception occurred 1530 */ 1531 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD( 1532 long groupId, java.util.Date displayDate) 1533 throws com.liferay.portal.kernel.exception.SystemException; 1534 1535 /** 1536 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ?. 1537 * 1538 * <p> 1539 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1540 * </p> 1541 * 1542 * @param groupId the group ID 1543 * @param displayDate the display date 1544 * @param start the lower bound of the range of blogs entries 1545 * @param end the upper bound of the range of blogs entries (not inclusive) 1546 * @return the range of matching blogs entries that the user has permission to view 1547 * @throws SystemException if a system exception occurred 1548 */ 1549 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD( 1550 long groupId, java.util.Date displayDate, int start, int end) 1551 throws com.liferay.portal.kernel.exception.SystemException; 1552 1553 /** 1554 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ?. 1555 * 1556 * <p> 1557 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1558 * </p> 1559 * 1560 * @param groupId the group ID 1561 * @param displayDate the display date 1562 * @param start the lower bound of the range of blogs entries 1563 * @param end the upper bound of the range of blogs entries (not inclusive) 1564 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1565 * @return the ordered range of matching blogs entries that the user has permission to view 1566 * @throws SystemException if a system exception occurred 1567 */ 1568 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD( 1569 long groupId, java.util.Date displayDate, int start, int end, 1570 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1571 throws com.liferay.portal.kernel.exception.SystemException; 1572 1573 /** 1574 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ?. 1575 * 1576 * @param entryId the primary key of the current blogs entry 1577 * @param groupId the group ID 1578 * @param displayDate the display date 1579 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1580 * @return the previous, current, and next blogs entry 1581 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1582 * @throws SystemException if a system exception occurred 1583 */ 1584 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_LtD_PrevAndNext( 1585 long entryId, long groupId, java.util.Date displayDate, 1586 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1587 throws com.liferay.portal.kernel.exception.SystemException, 1588 com.liferay.portlet.blogs.NoSuchEntryException; 1589 1590 /** 1591 * Removes all the blogs entries where groupId = ? and displayDate < ? from the database. 1592 * 1593 * @param groupId the group ID 1594 * @param displayDate the display date 1595 * @throws SystemException if a system exception occurred 1596 */ 1597 public void removeByG_LtD(long groupId, java.util.Date displayDate) 1598 throws com.liferay.portal.kernel.exception.SystemException; 1599 1600 /** 1601 * Returns the number of blogs entries where groupId = ? and displayDate < ?. 1602 * 1603 * @param groupId the group ID 1604 * @param displayDate the display date 1605 * @return the number of matching blogs entries 1606 * @throws SystemException if a system exception occurred 1607 */ 1608 public int countByG_LtD(long groupId, java.util.Date displayDate) 1609 throws com.liferay.portal.kernel.exception.SystemException; 1610 1611 /** 1612 * Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ?. 1613 * 1614 * @param groupId the group ID 1615 * @param displayDate the display date 1616 * @return the number of matching blogs entries that the user has permission to view 1617 * @throws SystemException if a system exception occurred 1618 */ 1619 public int filterCountByG_LtD(long groupId, java.util.Date displayDate) 1620 throws com.liferay.portal.kernel.exception.SystemException; 1621 1622 /** 1623 * Returns all the blogs entries where groupId = ? and status ≠ ?. 1624 * 1625 * @param groupId the group ID 1626 * @param status the status 1627 * @return the matching blogs entries 1628 * @throws SystemException if a system exception occurred 1629 */ 1630 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_NotS( 1631 long groupId, int status) 1632 throws com.liferay.portal.kernel.exception.SystemException; 1633 1634 /** 1635 * Returns a range of all the blogs entries where groupId = ? 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1639 * </p> 1640 * 1641 * @param groupId the group ID 1642 * @param status the status 1643 * @param start the lower bound of the range of blogs entries 1644 * @param end the upper bound of the range of blogs entries (not inclusive) 1645 * @return the range of matching blogs entries 1646 * @throws SystemException if a system exception occurred 1647 */ 1648 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_NotS( 1649 long groupId, int status, int start, int end) 1650 throws com.liferay.portal.kernel.exception.SystemException; 1651 1652 /** 1653 * Returns an ordered range of all the blogs entries where groupId = ? and status ≠ ?. 1654 * 1655 * <p> 1656 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1657 * </p> 1658 * 1659 * @param groupId the group ID 1660 * @param status the status 1661 * @param start the lower bound of the range of blogs entries 1662 * @param end the upper bound of the range of blogs entries (not inclusive) 1663 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1664 * @return the ordered range of matching blogs entries 1665 * @throws SystemException if a system exception occurred 1666 */ 1667 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_NotS( 1668 long groupId, int status, int start, int end, 1669 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1670 throws com.liferay.portal.kernel.exception.SystemException; 1671 1672 /** 1673 * Returns the first blogs entry in the ordered set where groupId = ? and status ≠ ?. 1674 * 1675 * @param groupId the group ID 1676 * @param status the status 1677 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1678 * @return the first matching blogs entry 1679 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1680 * @throws SystemException if a system exception occurred 1681 */ 1682 public com.liferay.portlet.blogs.model.BlogsEntry findByG_NotS_First( 1683 long groupId, int status, 1684 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1685 throws com.liferay.portal.kernel.exception.SystemException, 1686 com.liferay.portlet.blogs.NoSuchEntryException; 1687 1688 /** 1689 * Returns the first blogs entry in the ordered set where groupId = ? and status ≠ ?. 1690 * 1691 * @param groupId the group ID 1692 * @param status the status 1693 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1694 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1695 * @throws SystemException if a system exception occurred 1696 */ 1697 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_NotS_First( 1698 long groupId, int status, 1699 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1700 throws com.liferay.portal.kernel.exception.SystemException; 1701 1702 /** 1703 * Returns the last blogs entry in the ordered set where groupId = ? and status ≠ ?. 1704 * 1705 * @param groupId the group ID 1706 * @param status the status 1707 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1708 * @return the last matching blogs entry 1709 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1710 * @throws SystemException if a system exception occurred 1711 */ 1712 public com.liferay.portlet.blogs.model.BlogsEntry findByG_NotS_Last( 1713 long groupId, int status, 1714 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1715 throws com.liferay.portal.kernel.exception.SystemException, 1716 com.liferay.portlet.blogs.NoSuchEntryException; 1717 1718 /** 1719 * Returns the last blogs entry in the ordered set where groupId = ? and status ≠ ?. 1720 * 1721 * @param groupId the group ID 1722 * @param status the status 1723 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1724 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1725 * @throws SystemException if a system exception occurred 1726 */ 1727 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_NotS_Last( 1728 long groupId, int status, 1729 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1730 throws com.liferay.portal.kernel.exception.SystemException; 1731 1732 /** 1733 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and status ≠ ?. 1734 * 1735 * @param entryId the primary key of the current blogs entry 1736 * @param groupId the group ID 1737 * @param status the status 1738 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1739 * @return the previous, current, and next blogs entry 1740 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1741 * @throws SystemException if a system exception occurred 1742 */ 1743 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_NotS_PrevAndNext( 1744 long entryId, long groupId, int status, 1745 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1746 throws com.liferay.portal.kernel.exception.SystemException, 1747 com.liferay.portlet.blogs.NoSuchEntryException; 1748 1749 /** 1750 * Returns all the blogs entries that the user has permission to view where groupId = ? and status ≠ ?. 1751 * 1752 * @param groupId the group ID 1753 * @param status the status 1754 * @return the matching blogs entries that the user has permission to view 1755 * @throws SystemException if a system exception occurred 1756 */ 1757 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_NotS( 1758 long groupId, int status) 1759 throws com.liferay.portal.kernel.exception.SystemException; 1760 1761 /** 1762 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and status ≠ ?. 1763 * 1764 * <p> 1765 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1766 * </p> 1767 * 1768 * @param groupId the group ID 1769 * @param status the status 1770 * @param start the lower bound of the range of blogs entries 1771 * @param end the upper bound of the range of blogs entries (not inclusive) 1772 * @return the range of matching blogs entries that the user has permission to view 1773 * @throws SystemException if a system exception occurred 1774 */ 1775 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_NotS( 1776 long groupId, int status, int start, int end) 1777 throws com.liferay.portal.kernel.exception.SystemException; 1778 1779 /** 1780 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and status ≠ ?. 1781 * 1782 * <p> 1783 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1784 * </p> 1785 * 1786 * @param groupId the group ID 1787 * @param status the status 1788 * @param start the lower bound of the range of blogs entries 1789 * @param end the upper bound of the range of blogs entries (not inclusive) 1790 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1791 * @return the ordered range of matching blogs entries that the user has permission to view 1792 * @throws SystemException if a system exception occurred 1793 */ 1794 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_NotS( 1795 long groupId, int status, int start, int end, 1796 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1797 throws com.liferay.portal.kernel.exception.SystemException; 1798 1799 /** 1800 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and status ≠ ?. 1801 * 1802 * @param entryId the primary key of the current blogs entry 1803 * @param groupId the group ID 1804 * @param status the status 1805 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1806 * @return the previous, current, and next blogs entry 1807 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1808 * @throws SystemException if a system exception occurred 1809 */ 1810 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_NotS_PrevAndNext( 1811 long entryId, long groupId, int status, 1812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1813 throws com.liferay.portal.kernel.exception.SystemException, 1814 com.liferay.portlet.blogs.NoSuchEntryException; 1815 1816 /** 1817 * Removes all the blogs entries where groupId = ? and status ≠ ? from the database. 1818 * 1819 * @param groupId the group ID 1820 * @param status the status 1821 * @throws SystemException if a system exception occurred 1822 */ 1823 public void removeByG_NotS(long groupId, int status) 1824 throws com.liferay.portal.kernel.exception.SystemException; 1825 1826 /** 1827 * Returns the number of blogs entries where groupId = ? and status ≠ ?. 1828 * 1829 * @param groupId the group ID 1830 * @param status the status 1831 * @return the number of matching blogs entries 1832 * @throws SystemException if a system exception occurred 1833 */ 1834 public int countByG_NotS(long groupId, int status) 1835 throws com.liferay.portal.kernel.exception.SystemException; 1836 1837 /** 1838 * Returns the number of blogs entries that the user has permission to view where groupId = ? and status ≠ ?. 1839 * 1840 * @param groupId the group ID 1841 * @param status the status 1842 * @return the number of matching blogs entries that the user has permission to view 1843 * @throws SystemException if a system exception occurred 1844 */ 1845 public int filterCountByG_NotS(long groupId, int status) 1846 throws com.liferay.portal.kernel.exception.SystemException; 1847 1848 /** 1849 * Returns all the blogs entries where groupId = ? and status = ?. 1850 * 1851 * @param groupId the group ID 1852 * @param status the status 1853 * @return the matching blogs entries 1854 * @throws SystemException if a system exception occurred 1855 */ 1856 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S( 1857 long groupId, int status) 1858 throws com.liferay.portal.kernel.exception.SystemException; 1859 1860 /** 1861 * Returns a range of all the blogs entries where groupId = ? and status = ?. 1862 * 1863 * <p> 1864 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1865 * </p> 1866 * 1867 * @param groupId the group ID 1868 * @param status the status 1869 * @param start the lower bound of the range of blogs entries 1870 * @param end the upper bound of the range of blogs entries (not inclusive) 1871 * @return the range of matching blogs entries 1872 * @throws SystemException if a system exception occurred 1873 */ 1874 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S( 1875 long groupId, int status, int start, int end) 1876 throws com.liferay.portal.kernel.exception.SystemException; 1877 1878 /** 1879 * Returns an ordered range of all the blogs entries where groupId = ? and status = ?. 1880 * 1881 * <p> 1882 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1883 * </p> 1884 * 1885 * @param groupId the group ID 1886 * @param status the status 1887 * @param start the lower bound of the range of blogs entries 1888 * @param end the upper bound of the range of blogs entries (not inclusive) 1889 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1890 * @return the ordered range of matching blogs entries 1891 * @throws SystemException if a system exception occurred 1892 */ 1893 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S( 1894 long groupId, int status, int start, int end, 1895 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1896 throws com.liferay.portal.kernel.exception.SystemException; 1897 1898 /** 1899 * Returns the first blogs entry in the ordered set where groupId = ? and status = ?. 1900 * 1901 * @param groupId the group ID 1902 * @param status the status 1903 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1904 * @return the first matching blogs entry 1905 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1906 * @throws SystemException if a system exception occurred 1907 */ 1908 public com.liferay.portlet.blogs.model.BlogsEntry findByG_S_First( 1909 long groupId, int status, 1910 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1911 throws com.liferay.portal.kernel.exception.SystemException, 1912 com.liferay.portlet.blogs.NoSuchEntryException; 1913 1914 /** 1915 * Returns the first blogs entry in the ordered set where groupId = ? and status = ?. 1916 * 1917 * @param groupId the group ID 1918 * @param status the status 1919 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1920 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1921 * @throws SystemException if a system exception occurred 1922 */ 1923 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_S_First( 1924 long groupId, int status, 1925 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1926 throws com.liferay.portal.kernel.exception.SystemException; 1927 1928 /** 1929 * Returns the last blogs entry in the ordered set where groupId = ? and status = ?. 1930 * 1931 * @param groupId the group ID 1932 * @param status the status 1933 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1934 * @return the last matching blogs entry 1935 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 1936 * @throws SystemException if a system exception occurred 1937 */ 1938 public com.liferay.portlet.blogs.model.BlogsEntry findByG_S_Last( 1939 long groupId, int status, 1940 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1941 throws com.liferay.portal.kernel.exception.SystemException, 1942 com.liferay.portlet.blogs.NoSuchEntryException; 1943 1944 /** 1945 * Returns the last blogs entry in the ordered set where groupId = ? and status = ?. 1946 * 1947 * @param groupId the group ID 1948 * @param status the status 1949 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1950 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 1951 * @throws SystemException if a system exception occurred 1952 */ 1953 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_S_Last( 1954 long groupId, int status, 1955 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1956 throws com.liferay.portal.kernel.exception.SystemException; 1957 1958 /** 1959 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and status = ?. 1960 * 1961 * @param entryId the primary key of the current blogs entry 1962 * @param groupId the group ID 1963 * @param status the status 1964 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1965 * @return the previous, current, and next blogs entry 1966 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 1967 * @throws SystemException if a system exception occurred 1968 */ 1969 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_S_PrevAndNext( 1970 long entryId, long groupId, int status, 1971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1972 throws com.liferay.portal.kernel.exception.SystemException, 1973 com.liferay.portlet.blogs.NoSuchEntryException; 1974 1975 /** 1976 * Returns all the blogs entries that the user has permission to view where groupId = ? and status = ?. 1977 * 1978 * @param groupId the group ID 1979 * @param status the status 1980 * @return the matching blogs entries that the user has permission to view 1981 * @throws SystemException if a system exception occurred 1982 */ 1983 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_S( 1984 long groupId, int status) 1985 throws com.liferay.portal.kernel.exception.SystemException; 1986 1987 /** 1988 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and status = ?. 1989 * 1990 * <p> 1991 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1992 * </p> 1993 * 1994 * @param groupId the group ID 1995 * @param status the status 1996 * @param start the lower bound of the range of blogs entries 1997 * @param end the upper bound of the range of blogs entries (not inclusive) 1998 * @return the range of matching blogs entries that the user has permission to view 1999 * @throws SystemException if a system exception occurred 2000 */ 2001 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_S( 2002 long groupId, int status, int start, int end) 2003 throws com.liferay.portal.kernel.exception.SystemException; 2004 2005 /** 2006 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and status = ?. 2007 * 2008 * <p> 2009 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2010 * </p> 2011 * 2012 * @param groupId the group ID 2013 * @param status the status 2014 * @param start the lower bound of the range of blogs entries 2015 * @param end the upper bound of the range of blogs entries (not inclusive) 2016 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2017 * @return the ordered range of matching blogs entries that the user has permission to view 2018 * @throws SystemException if a system exception occurred 2019 */ 2020 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_S( 2021 long groupId, int status, int start, int end, 2022 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2023 throws com.liferay.portal.kernel.exception.SystemException; 2024 2025 /** 2026 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and status = ?. 2027 * 2028 * @param entryId the primary key of the current blogs entry 2029 * @param groupId the group ID 2030 * @param status the status 2031 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2032 * @return the previous, current, and next blogs entry 2033 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2034 * @throws SystemException if a system exception occurred 2035 */ 2036 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_S_PrevAndNext( 2037 long entryId, long groupId, int status, 2038 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2039 throws com.liferay.portal.kernel.exception.SystemException, 2040 com.liferay.portlet.blogs.NoSuchEntryException; 2041 2042 /** 2043 * Removes all the blogs entries where groupId = ? and status = ? from the database. 2044 * 2045 * @param groupId the group ID 2046 * @param status the status 2047 * @throws SystemException if a system exception occurred 2048 */ 2049 public void removeByG_S(long groupId, int status) 2050 throws com.liferay.portal.kernel.exception.SystemException; 2051 2052 /** 2053 * Returns the number of blogs entries where groupId = ? and status = ?. 2054 * 2055 * @param groupId the group ID 2056 * @param status the status 2057 * @return the number of matching blogs entries 2058 * @throws SystemException if a system exception occurred 2059 */ 2060 public int countByG_S(long groupId, int status) 2061 throws com.liferay.portal.kernel.exception.SystemException; 2062 2063 /** 2064 * Returns the number of blogs entries that the user has permission to view where groupId = ? and status = ?. 2065 * 2066 * @param groupId the group ID 2067 * @param status the status 2068 * @return the number of matching blogs entries that the user has permission to view 2069 * @throws SystemException if a system exception occurred 2070 */ 2071 public int filterCountByG_S(long groupId, int status) 2072 throws com.liferay.portal.kernel.exception.SystemException; 2073 2074 /** 2075 * Returns all the blogs entries where displayDate < ? and status = ?. 2076 * 2077 * @param displayDate the display date 2078 * @param status the status 2079 * @return the matching blogs entries 2080 * @throws SystemException if a system exception occurred 2081 */ 2082 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByLtD_S( 2083 java.util.Date displayDate, int status) 2084 throws com.liferay.portal.kernel.exception.SystemException; 2085 2086 /** 2087 * Returns a range of all the blogs entries where displayDate < ? and status = ?. 2088 * 2089 * <p> 2090 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2091 * </p> 2092 * 2093 * @param displayDate the display date 2094 * @param status the status 2095 * @param start the lower bound of the range of blogs entries 2096 * @param end the upper bound of the range of blogs entries (not inclusive) 2097 * @return the range of matching blogs entries 2098 * @throws SystemException if a system exception occurred 2099 */ 2100 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByLtD_S( 2101 java.util.Date displayDate, int status, int start, int end) 2102 throws com.liferay.portal.kernel.exception.SystemException; 2103 2104 /** 2105 * Returns an ordered range of all the blogs entries where displayDate < ? and status = ?. 2106 * 2107 * <p> 2108 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2109 * </p> 2110 * 2111 * @param displayDate the display date 2112 * @param status the status 2113 * @param start the lower bound of the range of blogs entries 2114 * @param end the upper bound of the range of blogs entries (not inclusive) 2115 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2116 * @return the ordered range of matching blogs entries 2117 * @throws SystemException if a system exception occurred 2118 */ 2119 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByLtD_S( 2120 java.util.Date displayDate, int status, int start, int end, 2121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2122 throws com.liferay.portal.kernel.exception.SystemException; 2123 2124 /** 2125 * Returns the first blogs entry in the ordered set where displayDate < ? and status = ?. 2126 * 2127 * @param displayDate the display date 2128 * @param status the status 2129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2130 * @return the first matching blogs entry 2131 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2132 * @throws SystemException if a system exception occurred 2133 */ 2134 public com.liferay.portlet.blogs.model.BlogsEntry findByLtD_S_First( 2135 java.util.Date displayDate, int status, 2136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2137 throws com.liferay.portal.kernel.exception.SystemException, 2138 com.liferay.portlet.blogs.NoSuchEntryException; 2139 2140 /** 2141 * Returns the first blogs entry in the ordered set where displayDate < ? and status = ?. 2142 * 2143 * @param displayDate the display date 2144 * @param status the status 2145 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2146 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2147 * @throws SystemException if a system exception occurred 2148 */ 2149 public com.liferay.portlet.blogs.model.BlogsEntry fetchByLtD_S_First( 2150 java.util.Date displayDate, int status, 2151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2152 throws com.liferay.portal.kernel.exception.SystemException; 2153 2154 /** 2155 * Returns the last blogs entry in the ordered set where displayDate < ? and status = ?. 2156 * 2157 * @param displayDate the display date 2158 * @param status the status 2159 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2160 * @return the last matching blogs entry 2161 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2162 * @throws SystemException if a system exception occurred 2163 */ 2164 public com.liferay.portlet.blogs.model.BlogsEntry findByLtD_S_Last( 2165 java.util.Date displayDate, int status, 2166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2167 throws com.liferay.portal.kernel.exception.SystemException, 2168 com.liferay.portlet.blogs.NoSuchEntryException; 2169 2170 /** 2171 * Returns the last blogs entry in the ordered set where displayDate < ? and status = ?. 2172 * 2173 * @param displayDate the display date 2174 * @param status the status 2175 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2176 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2177 * @throws SystemException if a system exception occurred 2178 */ 2179 public com.liferay.portlet.blogs.model.BlogsEntry fetchByLtD_S_Last( 2180 java.util.Date displayDate, int status, 2181 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2182 throws com.liferay.portal.kernel.exception.SystemException; 2183 2184 /** 2185 * Returns the blogs entries before and after the current blogs entry in the ordered set where displayDate < ? and status = ?. 2186 * 2187 * @param entryId the primary key of the current blogs entry 2188 * @param displayDate the display date 2189 * @param status the status 2190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2191 * @return the previous, current, and next blogs entry 2192 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2193 * @throws SystemException if a system exception occurred 2194 */ 2195 public com.liferay.portlet.blogs.model.BlogsEntry[] findByLtD_S_PrevAndNext( 2196 long entryId, java.util.Date displayDate, int status, 2197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2198 throws com.liferay.portal.kernel.exception.SystemException, 2199 com.liferay.portlet.blogs.NoSuchEntryException; 2200 2201 /** 2202 * Removes all the blogs entries where displayDate < ? and status = ? from the database. 2203 * 2204 * @param displayDate the display date 2205 * @param status the status 2206 * @throws SystemException if a system exception occurred 2207 */ 2208 public void removeByLtD_S(java.util.Date displayDate, int status) 2209 throws com.liferay.portal.kernel.exception.SystemException; 2210 2211 /** 2212 * Returns the number of blogs entries where displayDate < ? and status = ?. 2213 * 2214 * @param displayDate the display date 2215 * @param status the status 2216 * @return the number of matching blogs entries 2217 * @throws SystemException if a system exception occurred 2218 */ 2219 public int countByLtD_S(java.util.Date displayDate, int status) 2220 throws com.liferay.portal.kernel.exception.SystemException; 2221 2222 /** 2223 * Returns all the blogs entries where companyId = ? and userId = ? and status ≠ ?. 2224 * 2225 * @param companyId the company ID 2226 * @param userId the user ID 2227 * @param status the status 2228 * @return the matching blogs entries 2229 * @throws SystemException if a system exception occurred 2230 */ 2231 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_NotS( 2232 long companyId, long userId, int status) 2233 throws com.liferay.portal.kernel.exception.SystemException; 2234 2235 /** 2236 * Returns a range of all the blogs entries where companyId = ? and userId = ? and status ≠ ?. 2237 * 2238 * <p> 2239 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2240 * </p> 2241 * 2242 * @param companyId the company ID 2243 * @param userId the user ID 2244 * @param status the status 2245 * @param start the lower bound of the range of blogs entries 2246 * @param end the upper bound of the range of blogs entries (not inclusive) 2247 * @return the range of matching blogs entries 2248 * @throws SystemException if a system exception occurred 2249 */ 2250 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_NotS( 2251 long companyId, long userId, int status, int start, int end) 2252 throws com.liferay.portal.kernel.exception.SystemException; 2253 2254 /** 2255 * Returns an ordered range of all the blogs entries where companyId = ? and userId = ? and status ≠ ?. 2256 * 2257 * <p> 2258 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2259 * </p> 2260 * 2261 * @param companyId the company ID 2262 * @param userId the user ID 2263 * @param status the status 2264 * @param start the lower bound of the range of blogs entries 2265 * @param end the upper bound of the range of blogs entries (not inclusive) 2266 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2267 * @return the ordered range of matching blogs entries 2268 * @throws SystemException if a system exception occurred 2269 */ 2270 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_NotS( 2271 long companyId, long userId, int status, int start, int end, 2272 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2273 throws com.liferay.portal.kernel.exception.SystemException; 2274 2275 /** 2276 * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. 2277 * 2278 * @param companyId the company ID 2279 * @param userId the user ID 2280 * @param status the status 2281 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2282 * @return the first matching blogs entry 2283 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2284 * @throws SystemException if a system exception occurred 2285 */ 2286 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_NotS_First( 2287 long companyId, long userId, int status, 2288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2289 throws com.liferay.portal.kernel.exception.SystemException, 2290 com.liferay.portlet.blogs.NoSuchEntryException; 2291 2292 /** 2293 * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. 2294 * 2295 * @param companyId the company ID 2296 * @param userId the user ID 2297 * @param status the status 2298 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2299 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2300 * @throws SystemException if a system exception occurred 2301 */ 2302 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_NotS_First( 2303 long companyId, long userId, int status, 2304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2305 throws com.liferay.portal.kernel.exception.SystemException; 2306 2307 /** 2308 * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. 2309 * 2310 * @param companyId the company ID 2311 * @param userId the user ID 2312 * @param status the status 2313 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2314 * @return the last matching blogs entry 2315 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2316 * @throws SystemException if a system exception occurred 2317 */ 2318 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_NotS_Last( 2319 long companyId, long userId, int status, 2320 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2321 throws com.liferay.portal.kernel.exception.SystemException, 2322 com.liferay.portlet.blogs.NoSuchEntryException; 2323 2324 /** 2325 * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. 2326 * 2327 * @param companyId the company ID 2328 * @param userId the user ID 2329 * @param status the status 2330 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2331 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2332 * @throws SystemException if a system exception occurred 2333 */ 2334 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_NotS_Last( 2335 long companyId, long userId, int status, 2336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2337 throws com.liferay.portal.kernel.exception.SystemException; 2338 2339 /** 2340 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ? and status ≠ ?. 2341 * 2342 * @param entryId the primary key of the current blogs entry 2343 * @param companyId the company ID 2344 * @param userId the user ID 2345 * @param status the status 2346 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2347 * @return the previous, current, and next blogs entry 2348 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2349 * @throws SystemException if a system exception occurred 2350 */ 2351 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_NotS_PrevAndNext( 2352 long entryId, long companyId, long userId, int status, 2353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2354 throws com.liferay.portal.kernel.exception.SystemException, 2355 com.liferay.portlet.blogs.NoSuchEntryException; 2356 2357 /** 2358 * Removes all the blogs entries where companyId = ? and userId = ? and status ≠ ? from the database. 2359 * 2360 * @param companyId the company ID 2361 * @param userId the user ID 2362 * @param status the status 2363 * @throws SystemException if a system exception occurred 2364 */ 2365 public void removeByC_U_NotS(long companyId, long userId, int status) 2366 throws com.liferay.portal.kernel.exception.SystemException; 2367 2368 /** 2369 * Returns the number of blogs entries where companyId = ? and userId = ? and status ≠ ?. 2370 * 2371 * @param companyId the company ID 2372 * @param userId the user ID 2373 * @param status the status 2374 * @return the number of matching blogs entries 2375 * @throws SystemException if a system exception occurred 2376 */ 2377 public int countByC_U_NotS(long companyId, long userId, int status) 2378 throws com.liferay.portal.kernel.exception.SystemException; 2379 2380 /** 2381 * Returns all the blogs entries where companyId = ? and userId = ? and status = ?. 2382 * 2383 * @param companyId the company ID 2384 * @param userId the user ID 2385 * @param status the status 2386 * @return the matching blogs entries 2387 * @throws SystemException if a system exception occurred 2388 */ 2389 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S( 2390 long companyId, long userId, int status) 2391 throws com.liferay.portal.kernel.exception.SystemException; 2392 2393 /** 2394 * Returns a range of all the blogs entries where companyId = ? and userId = ? and status = ?. 2395 * 2396 * <p> 2397 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2398 * </p> 2399 * 2400 * @param companyId the company ID 2401 * @param userId the user ID 2402 * @param status the status 2403 * @param start the lower bound of the range of blogs entries 2404 * @param end the upper bound of the range of blogs entries (not inclusive) 2405 * @return the range of matching blogs entries 2406 * @throws SystemException if a system exception occurred 2407 */ 2408 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S( 2409 long companyId, long userId, int status, int start, int end) 2410 throws com.liferay.portal.kernel.exception.SystemException; 2411 2412 /** 2413 * Returns an ordered range of all the blogs entries where companyId = ? and userId = ? and status = ?. 2414 * 2415 * <p> 2416 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2417 * </p> 2418 * 2419 * @param companyId the company ID 2420 * @param userId the user ID 2421 * @param status the status 2422 * @param start the lower bound of the range of blogs entries 2423 * @param end the upper bound of the range of blogs entries (not inclusive) 2424 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2425 * @return the ordered range of matching blogs entries 2426 * @throws SystemException if a system exception occurred 2427 */ 2428 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S( 2429 long companyId, long userId, int status, int start, int end, 2430 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2431 throws com.liferay.portal.kernel.exception.SystemException; 2432 2433 /** 2434 * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. 2435 * 2436 * @param companyId the company ID 2437 * @param userId the user ID 2438 * @param status the status 2439 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2440 * @return the first matching blogs entry 2441 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2442 * @throws SystemException if a system exception occurred 2443 */ 2444 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_First( 2445 long companyId, long userId, int status, 2446 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2447 throws com.liferay.portal.kernel.exception.SystemException, 2448 com.liferay.portlet.blogs.NoSuchEntryException; 2449 2450 /** 2451 * Returns the first blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. 2452 * 2453 * @param companyId the company ID 2454 * @param userId the user ID 2455 * @param status the status 2456 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2457 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2458 * @throws SystemException if a system exception occurred 2459 */ 2460 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_S_First( 2461 long companyId, long userId, int status, 2462 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2463 throws com.liferay.portal.kernel.exception.SystemException; 2464 2465 /** 2466 * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. 2467 * 2468 * @param companyId the company ID 2469 * @param userId the user ID 2470 * @param status the status 2471 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2472 * @return the last matching blogs entry 2473 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2474 * @throws SystemException if a system exception occurred 2475 */ 2476 public com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_Last( 2477 long companyId, long userId, int status, 2478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2479 throws com.liferay.portal.kernel.exception.SystemException, 2480 com.liferay.portlet.blogs.NoSuchEntryException; 2481 2482 /** 2483 * Returns the last blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. 2484 * 2485 * @param companyId the company ID 2486 * @param userId the user ID 2487 * @param status the status 2488 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2489 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2490 * @throws SystemException if a system exception occurred 2491 */ 2492 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_U_S_Last( 2493 long companyId, long userId, int status, 2494 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2495 throws com.liferay.portal.kernel.exception.SystemException; 2496 2497 /** 2498 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and userId = ? and status = ?. 2499 * 2500 * @param entryId the primary key of the current blogs entry 2501 * @param companyId the company ID 2502 * @param userId the user ID 2503 * @param status the status 2504 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2505 * @return the previous, current, and next blogs entry 2506 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2507 * @throws SystemException if a system exception occurred 2508 */ 2509 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_S_PrevAndNext( 2510 long entryId, long companyId, long userId, int status, 2511 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2512 throws com.liferay.portal.kernel.exception.SystemException, 2513 com.liferay.portlet.blogs.NoSuchEntryException; 2514 2515 /** 2516 * Removes all the blogs entries where companyId = ? and userId = ? and status = ? from the database. 2517 * 2518 * @param companyId the company ID 2519 * @param userId the user ID 2520 * @param status the status 2521 * @throws SystemException if a system exception occurred 2522 */ 2523 public void removeByC_U_S(long companyId, long userId, int status) 2524 throws com.liferay.portal.kernel.exception.SystemException; 2525 2526 /** 2527 * Returns the number of blogs entries where companyId = ? and userId = ? and status = ?. 2528 * 2529 * @param companyId the company ID 2530 * @param userId the user ID 2531 * @param status the status 2532 * @return the number of matching blogs entries 2533 * @throws SystemException if a system exception occurred 2534 */ 2535 public int countByC_U_S(long companyId, long userId, int status) 2536 throws com.liferay.portal.kernel.exception.SystemException; 2537 2538 /** 2539 * Returns all the blogs entries where companyId = ? and displayDate < ? and status ≠ ?. 2540 * 2541 * @param companyId the company ID 2542 * @param displayDate the display date 2543 * @param status the status 2544 * @return the matching blogs entries 2545 * @throws SystemException if a system exception occurred 2546 */ 2547 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD_NotS( 2548 long companyId, java.util.Date displayDate, int status) 2549 throws com.liferay.portal.kernel.exception.SystemException; 2550 2551 /** 2552 * Returns a range of all the blogs entries where companyId = ? and displayDate < ? and status ≠ ?. 2553 * 2554 * <p> 2555 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2556 * </p> 2557 * 2558 * @param companyId the company ID 2559 * @param displayDate the display date 2560 * @param status the status 2561 * @param start the lower bound of the range of blogs entries 2562 * @param end the upper bound of the range of blogs entries (not inclusive) 2563 * @return the range of matching blogs entries 2564 * @throws SystemException if a system exception occurred 2565 */ 2566 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD_NotS( 2567 long companyId, java.util.Date displayDate, int status, int start, 2568 int end) throws com.liferay.portal.kernel.exception.SystemException; 2569 2570 /** 2571 * Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status ≠ ?. 2572 * 2573 * <p> 2574 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2575 * </p> 2576 * 2577 * @param companyId the company ID 2578 * @param displayDate the display date 2579 * @param status the status 2580 * @param start the lower bound of the range of blogs entries 2581 * @param end the upper bound of the range of blogs entries (not inclusive) 2582 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2583 * @return the ordered range of matching blogs entries 2584 * @throws SystemException if a system exception occurred 2585 */ 2586 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD_NotS( 2587 long companyId, java.util.Date displayDate, int status, int start, 2588 int end, 2589 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2590 throws com.liferay.portal.kernel.exception.SystemException; 2591 2592 /** 2593 * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. 2594 * 2595 * @param companyId the company ID 2596 * @param displayDate the display date 2597 * @param status the status 2598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2599 * @return the first matching blogs entry 2600 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2601 * @throws SystemException if a system exception occurred 2602 */ 2603 public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_NotS_First( 2604 long companyId, java.util.Date displayDate, int status, 2605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2606 throws com.liferay.portal.kernel.exception.SystemException, 2607 com.liferay.portlet.blogs.NoSuchEntryException; 2608 2609 /** 2610 * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. 2611 * 2612 * @param companyId the company ID 2613 * @param displayDate the display date 2614 * @param status the status 2615 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2616 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2617 * @throws SystemException if a system exception occurred 2618 */ 2619 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_NotS_First( 2620 long companyId, java.util.Date displayDate, int status, 2621 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2622 throws com.liferay.portal.kernel.exception.SystemException; 2623 2624 /** 2625 * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. 2626 * 2627 * @param companyId the company ID 2628 * @param displayDate the display date 2629 * @param status the status 2630 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2631 * @return the last matching blogs entry 2632 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2633 * @throws SystemException if a system exception occurred 2634 */ 2635 public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_NotS_Last( 2636 long companyId, java.util.Date displayDate, int status, 2637 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2638 throws com.liferay.portal.kernel.exception.SystemException, 2639 com.liferay.portlet.blogs.NoSuchEntryException; 2640 2641 /** 2642 * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. 2643 * 2644 * @param companyId the company ID 2645 * @param displayDate the display date 2646 * @param status the status 2647 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2648 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2649 * @throws SystemException if a system exception occurred 2650 */ 2651 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_NotS_Last( 2652 long companyId, java.util.Date displayDate, int status, 2653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2654 throws com.liferay.portal.kernel.exception.SystemException; 2655 2656 /** 2657 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ? and status ≠ ?. 2658 * 2659 * @param entryId the primary key of the current blogs entry 2660 * @param companyId the company ID 2661 * @param displayDate the display date 2662 * @param status the status 2663 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2664 * @return the previous, current, and next blogs entry 2665 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2666 * @throws SystemException if a system exception occurred 2667 */ 2668 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_LtD_NotS_PrevAndNext( 2669 long entryId, long companyId, java.util.Date displayDate, int status, 2670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2671 throws com.liferay.portal.kernel.exception.SystemException, 2672 com.liferay.portlet.blogs.NoSuchEntryException; 2673 2674 /** 2675 * Removes all the blogs entries where companyId = ? and displayDate < ? and status ≠ ? from the database. 2676 * 2677 * @param companyId the company ID 2678 * @param displayDate the display date 2679 * @param status the status 2680 * @throws SystemException if a system exception occurred 2681 */ 2682 public void removeByC_LtD_NotS(long companyId, java.util.Date displayDate, 2683 int status) throws com.liferay.portal.kernel.exception.SystemException; 2684 2685 /** 2686 * Returns the number of blogs entries where companyId = ? and displayDate < ? and status ≠ ?. 2687 * 2688 * @param companyId the company ID 2689 * @param displayDate the display date 2690 * @param status the status 2691 * @return the number of matching blogs entries 2692 * @throws SystemException if a system exception occurred 2693 */ 2694 public int countByC_LtD_NotS(long companyId, java.util.Date displayDate, 2695 int status) throws com.liferay.portal.kernel.exception.SystemException; 2696 2697 /** 2698 * Returns all the blogs entries where companyId = ? and displayDate < ? and status = ?. 2699 * 2700 * @param companyId the company ID 2701 * @param displayDate the display date 2702 * @param status the status 2703 * @return the matching blogs entries 2704 * @throws SystemException if a system exception occurred 2705 */ 2706 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD_S( 2707 long companyId, java.util.Date displayDate, int status) 2708 throws com.liferay.portal.kernel.exception.SystemException; 2709 2710 /** 2711 * Returns a range of all the blogs entries where companyId = ? and displayDate < ? and status = ?. 2712 * 2713 * <p> 2714 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2715 * </p> 2716 * 2717 * @param companyId the company ID 2718 * @param displayDate the display date 2719 * @param status the status 2720 * @param start the lower bound of the range of blogs entries 2721 * @param end the upper bound of the range of blogs entries (not inclusive) 2722 * @return the range of matching blogs entries 2723 * @throws SystemException if a system exception occurred 2724 */ 2725 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD_S( 2726 long companyId, java.util.Date displayDate, int status, int start, 2727 int end) throws com.liferay.portal.kernel.exception.SystemException; 2728 2729 /** 2730 * Returns an ordered range of all the blogs entries where companyId = ? and displayDate < ? and status = ?. 2731 * 2732 * <p> 2733 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2734 * </p> 2735 * 2736 * @param companyId the company ID 2737 * @param displayDate the display date 2738 * @param status the status 2739 * @param start the lower bound of the range of blogs entries 2740 * @param end the upper bound of the range of blogs entries (not inclusive) 2741 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2742 * @return the ordered range of matching blogs entries 2743 * @throws SystemException if a system exception occurred 2744 */ 2745 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_LtD_S( 2746 long companyId, java.util.Date displayDate, int status, int start, 2747 int end, 2748 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2749 throws com.liferay.portal.kernel.exception.SystemException; 2750 2751 /** 2752 * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. 2753 * 2754 * @param companyId the company ID 2755 * @param displayDate the display date 2756 * @param status the status 2757 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2758 * @return the first matching blogs entry 2759 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2760 * @throws SystemException if a system exception occurred 2761 */ 2762 public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_S_First( 2763 long companyId, java.util.Date displayDate, int status, 2764 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2765 throws com.liferay.portal.kernel.exception.SystemException, 2766 com.liferay.portlet.blogs.NoSuchEntryException; 2767 2768 /** 2769 * Returns the first blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. 2770 * 2771 * @param companyId the company ID 2772 * @param displayDate the display date 2773 * @param status the status 2774 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2775 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2776 * @throws SystemException if a system exception occurred 2777 */ 2778 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_S_First( 2779 long companyId, java.util.Date displayDate, int status, 2780 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2781 throws com.liferay.portal.kernel.exception.SystemException; 2782 2783 /** 2784 * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. 2785 * 2786 * @param companyId the company ID 2787 * @param displayDate the display date 2788 * @param status the status 2789 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2790 * @return the last matching blogs entry 2791 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2792 * @throws SystemException if a system exception occurred 2793 */ 2794 public com.liferay.portlet.blogs.model.BlogsEntry findByC_LtD_S_Last( 2795 long companyId, java.util.Date displayDate, int status, 2796 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2797 throws com.liferay.portal.kernel.exception.SystemException, 2798 com.liferay.portlet.blogs.NoSuchEntryException; 2799 2800 /** 2801 * Returns the last blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. 2802 * 2803 * @param companyId the company ID 2804 * @param displayDate the display date 2805 * @param status the status 2806 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2807 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2808 * @throws SystemException if a system exception occurred 2809 */ 2810 public com.liferay.portlet.blogs.model.BlogsEntry fetchByC_LtD_S_Last( 2811 long companyId, java.util.Date displayDate, int status, 2812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2813 throws com.liferay.portal.kernel.exception.SystemException; 2814 2815 /** 2816 * Returns the blogs entries before and after the current blogs entry in the ordered set where companyId = ? and displayDate < ? and status = ?. 2817 * 2818 * @param entryId the primary key of the current blogs entry 2819 * @param companyId the company ID 2820 * @param displayDate the display date 2821 * @param status the status 2822 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2823 * @return the previous, current, and next blogs entry 2824 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2825 * @throws SystemException if a system exception occurred 2826 */ 2827 public com.liferay.portlet.blogs.model.BlogsEntry[] findByC_LtD_S_PrevAndNext( 2828 long entryId, long companyId, java.util.Date displayDate, int status, 2829 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2830 throws com.liferay.portal.kernel.exception.SystemException, 2831 com.liferay.portlet.blogs.NoSuchEntryException; 2832 2833 /** 2834 * Removes all the blogs entries where companyId = ? and displayDate < ? and status = ? from the database. 2835 * 2836 * @param companyId the company ID 2837 * @param displayDate the display date 2838 * @param status the status 2839 * @throws SystemException if a system exception occurred 2840 */ 2841 public void removeByC_LtD_S(long companyId, java.util.Date displayDate, 2842 int status) throws com.liferay.portal.kernel.exception.SystemException; 2843 2844 /** 2845 * Returns the number of blogs entries where companyId = ? and displayDate < ? and status = ?. 2846 * 2847 * @param companyId the company ID 2848 * @param displayDate the display date 2849 * @param status the status 2850 * @return the number of matching blogs entries 2851 * @throws SystemException if a system exception occurred 2852 */ 2853 public int countByC_LtD_S(long companyId, java.util.Date displayDate, 2854 int status) throws com.liferay.portal.kernel.exception.SystemException; 2855 2856 /** 2857 * Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ?. 2858 * 2859 * @param groupId the group ID 2860 * @param userId the user ID 2861 * @param displayDate the display date 2862 * @return the matching blogs entries 2863 * @throws SystemException if a system exception occurred 2864 */ 2865 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD( 2866 long groupId, long userId, java.util.Date displayDate) 2867 throws com.liferay.portal.kernel.exception.SystemException; 2868 2869 /** 2870 * Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?. 2871 * 2872 * <p> 2873 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2874 * </p> 2875 * 2876 * @param groupId the group ID 2877 * @param userId the user ID 2878 * @param displayDate the display date 2879 * @param start the lower bound of the range of blogs entries 2880 * @param end the upper bound of the range of blogs entries (not inclusive) 2881 * @return the range of matching blogs entries 2882 * @throws SystemException if a system exception occurred 2883 */ 2884 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD( 2885 long groupId, long userId, java.util.Date displayDate, int start, 2886 int end) throws com.liferay.portal.kernel.exception.SystemException; 2887 2888 /** 2889 * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ?. 2890 * 2891 * <p> 2892 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2893 * </p> 2894 * 2895 * @param groupId the group ID 2896 * @param userId the user ID 2897 * @param displayDate the display date 2898 * @param start the lower bound of the range of blogs entries 2899 * @param end the upper bound of the range of blogs entries (not inclusive) 2900 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2901 * @return the ordered range of matching blogs entries 2902 * @throws SystemException if a system exception occurred 2903 */ 2904 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD( 2905 long groupId, long userId, java.util.Date displayDate, int start, 2906 int end, 2907 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2908 throws com.liferay.portal.kernel.exception.SystemException; 2909 2910 /** 2911 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. 2912 * 2913 * @param groupId the group ID 2914 * @param userId the user ID 2915 * @param displayDate the display date 2916 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2917 * @return the first matching blogs entry 2918 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2919 * @throws SystemException if a system exception occurred 2920 */ 2921 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_First( 2922 long groupId, long userId, java.util.Date displayDate, 2923 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2924 throws com.liferay.portal.kernel.exception.SystemException, 2925 com.liferay.portlet.blogs.NoSuchEntryException; 2926 2927 /** 2928 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. 2929 * 2930 * @param groupId the group ID 2931 * @param userId the user ID 2932 * @param displayDate the display date 2933 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2934 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2935 * @throws SystemException if a system exception occurred 2936 */ 2937 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_First( 2938 long groupId, long userId, java.util.Date displayDate, 2939 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2940 throws com.liferay.portal.kernel.exception.SystemException; 2941 2942 /** 2943 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. 2944 * 2945 * @param groupId the group ID 2946 * @param userId the user ID 2947 * @param displayDate the display date 2948 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2949 * @return the last matching blogs entry 2950 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 2951 * @throws SystemException if a system exception occurred 2952 */ 2953 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_Last( 2954 long groupId, long userId, java.util.Date displayDate, 2955 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2956 throws com.liferay.portal.kernel.exception.SystemException, 2957 com.liferay.portlet.blogs.NoSuchEntryException; 2958 2959 /** 2960 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. 2961 * 2962 * @param groupId the group ID 2963 * @param userId the user ID 2964 * @param displayDate the display date 2965 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2966 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 2967 * @throws SystemException if a system exception occurred 2968 */ 2969 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_Last( 2970 long groupId, long userId, java.util.Date displayDate, 2971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2972 throws com.liferay.portal.kernel.exception.SystemException; 2973 2974 /** 2975 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ?. 2976 * 2977 * @param entryId the primary key of the current blogs entry 2978 * @param groupId the group ID 2979 * @param userId the user ID 2980 * @param displayDate the display date 2981 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2982 * @return the previous, current, and next blogs entry 2983 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 2984 * @throws SystemException if a system exception occurred 2985 */ 2986 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_LtD_PrevAndNext( 2987 long entryId, long groupId, long userId, java.util.Date displayDate, 2988 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2989 throws com.liferay.portal.kernel.exception.SystemException, 2990 com.liferay.portlet.blogs.NoSuchEntryException; 2991 2992 /** 2993 * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. 2994 * 2995 * @param groupId the group ID 2996 * @param userId the user ID 2997 * @param displayDate the display date 2998 * @return the matching blogs entries that the user has permission to view 2999 * @throws SystemException if a system exception occurred 3000 */ 3001 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD( 3002 long groupId, long userId, java.util.Date displayDate) 3003 throws com.liferay.portal.kernel.exception.SystemException; 3004 3005 /** 3006 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. 3007 * 3008 * <p> 3009 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3010 * </p> 3011 * 3012 * @param groupId the group ID 3013 * @param userId the user ID 3014 * @param displayDate the display date 3015 * @param start the lower bound of the range of blogs entries 3016 * @param end the upper bound of the range of blogs entries (not inclusive) 3017 * @return the range of matching blogs entries that the user has permission to view 3018 * @throws SystemException if a system exception occurred 3019 */ 3020 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD( 3021 long groupId, long userId, java.util.Date displayDate, int start, 3022 int end) throws com.liferay.portal.kernel.exception.SystemException; 3023 3024 /** 3025 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ?. 3026 * 3027 * <p> 3028 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3029 * </p> 3030 * 3031 * @param groupId the group ID 3032 * @param userId the user ID 3033 * @param displayDate the display date 3034 * @param start the lower bound of the range of blogs entries 3035 * @param end the upper bound of the range of blogs entries (not inclusive) 3036 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3037 * @return the ordered range of matching blogs entries that the user has permission to view 3038 * @throws SystemException if a system exception occurred 3039 */ 3040 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD( 3041 long groupId, long userId, java.util.Date displayDate, int start, 3042 int end, 3043 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3044 throws com.liferay.portal.kernel.exception.SystemException; 3045 3046 /** 3047 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. 3048 * 3049 * @param entryId the primary key of the current blogs entry 3050 * @param groupId the group ID 3051 * @param userId the user ID 3052 * @param displayDate the display date 3053 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3054 * @return the previous, current, and next blogs entry 3055 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3056 * @throws SystemException if a system exception occurred 3057 */ 3058 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_LtD_PrevAndNext( 3059 long entryId, long groupId, long userId, java.util.Date displayDate, 3060 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3061 throws com.liferay.portal.kernel.exception.SystemException, 3062 com.liferay.portlet.blogs.NoSuchEntryException; 3063 3064 /** 3065 * Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? from the database. 3066 * 3067 * @param groupId the group ID 3068 * @param userId the user ID 3069 * @param displayDate the display date 3070 * @throws SystemException if a system exception occurred 3071 */ 3072 public void removeByG_U_LtD(long groupId, long userId, 3073 java.util.Date displayDate) 3074 throws com.liferay.portal.kernel.exception.SystemException; 3075 3076 /** 3077 * Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ?. 3078 * 3079 * @param groupId the group ID 3080 * @param userId the user ID 3081 * @param displayDate the display date 3082 * @return the number of matching blogs entries 3083 * @throws SystemException if a system exception occurred 3084 */ 3085 public int countByG_U_LtD(long groupId, long userId, 3086 java.util.Date displayDate) 3087 throws com.liferay.portal.kernel.exception.SystemException; 3088 3089 /** 3090 * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ?. 3091 * 3092 * @param groupId the group ID 3093 * @param userId the user ID 3094 * @param displayDate the display date 3095 * @return the number of matching blogs entries that the user has permission to view 3096 * @throws SystemException if a system exception occurred 3097 */ 3098 public int filterCountByG_U_LtD(long groupId, long userId, 3099 java.util.Date displayDate) 3100 throws com.liferay.portal.kernel.exception.SystemException; 3101 3102 /** 3103 * Returns all the blogs entries where groupId = ? and userId = ? and status ≠ ?. 3104 * 3105 * @param groupId the group ID 3106 * @param userId the user ID 3107 * @param status the status 3108 * @return the matching blogs entries 3109 * @throws SystemException if a system exception occurred 3110 */ 3111 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_NotS( 3112 long groupId, long userId, int status) 3113 throws com.liferay.portal.kernel.exception.SystemException; 3114 3115 /** 3116 * Returns a range of all the blogs entries where groupId = ? and userId = ? and status ≠ ?. 3117 * 3118 * <p> 3119 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3120 * </p> 3121 * 3122 * @param groupId the group ID 3123 * @param userId the user ID 3124 * @param status the status 3125 * @param start the lower bound of the range of blogs entries 3126 * @param end the upper bound of the range of blogs entries (not inclusive) 3127 * @return the range of matching blogs entries 3128 * @throws SystemException if a system exception occurred 3129 */ 3130 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_NotS( 3131 long groupId, long userId, int status, int start, int end) 3132 throws com.liferay.portal.kernel.exception.SystemException; 3133 3134 /** 3135 * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and status ≠ ?. 3136 * 3137 * <p> 3138 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3139 * </p> 3140 * 3141 * @param groupId the group ID 3142 * @param userId the user ID 3143 * @param status the status 3144 * @param start the lower bound of the range of blogs entries 3145 * @param end the upper bound of the range of blogs entries (not inclusive) 3146 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3147 * @return the ordered range of matching blogs entries 3148 * @throws SystemException if a system exception occurred 3149 */ 3150 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_NotS( 3151 long groupId, long userId, int status, int start, int end, 3152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3153 throws com.liferay.portal.kernel.exception.SystemException; 3154 3155 /** 3156 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 3157 * 3158 * @param groupId the group ID 3159 * @param userId the user ID 3160 * @param status the status 3161 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3162 * @return the first matching blogs entry 3163 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3164 * @throws SystemException if a system exception occurred 3165 */ 3166 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_NotS_First( 3167 long groupId, long userId, int status, 3168 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3169 throws com.liferay.portal.kernel.exception.SystemException, 3170 com.liferay.portlet.blogs.NoSuchEntryException; 3171 3172 /** 3173 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 3174 * 3175 * @param groupId the group ID 3176 * @param userId the user ID 3177 * @param status the status 3178 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3179 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3180 * @throws SystemException if a system exception occurred 3181 */ 3182 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_NotS_First( 3183 long groupId, long userId, int status, 3184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3185 throws com.liferay.portal.kernel.exception.SystemException; 3186 3187 /** 3188 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 3189 * 3190 * @param groupId the group ID 3191 * @param userId the user ID 3192 * @param status the status 3193 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3194 * @return the last matching blogs entry 3195 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3196 * @throws SystemException if a system exception occurred 3197 */ 3198 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_NotS_Last( 3199 long groupId, long userId, int status, 3200 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3201 throws com.liferay.portal.kernel.exception.SystemException, 3202 com.liferay.portlet.blogs.NoSuchEntryException; 3203 3204 /** 3205 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 3206 * 3207 * @param groupId the group ID 3208 * @param userId the user ID 3209 * @param status the status 3210 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3211 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3212 * @throws SystemException if a system exception occurred 3213 */ 3214 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_NotS_Last( 3215 long groupId, long userId, int status, 3216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3217 throws com.liferay.portal.kernel.exception.SystemException; 3218 3219 /** 3220 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 3221 * 3222 * @param entryId the primary key of the current blogs entry 3223 * @param groupId the group ID 3224 * @param userId the user ID 3225 * @param status the status 3226 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3227 * @return the previous, current, and next blogs entry 3228 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3229 * @throws SystemException if a system exception occurred 3230 */ 3231 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_NotS_PrevAndNext( 3232 long entryId, long groupId, long userId, int status, 3233 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3234 throws com.liferay.portal.kernel.exception.SystemException, 3235 com.liferay.portlet.blogs.NoSuchEntryException; 3236 3237 /** 3238 * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 3239 * 3240 * @param groupId the group ID 3241 * @param userId the user ID 3242 * @param status the status 3243 * @return the matching blogs entries that the user has permission to view 3244 * @throws SystemException if a system exception occurred 3245 */ 3246 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_NotS( 3247 long groupId, long userId, int status) 3248 throws com.liferay.portal.kernel.exception.SystemException; 3249 3250 /** 3251 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 3252 * 3253 * <p> 3254 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3255 * </p> 3256 * 3257 * @param groupId the group ID 3258 * @param userId the user ID 3259 * @param status the status 3260 * @param start the lower bound of the range of blogs entries 3261 * @param end the upper bound of the range of blogs entries (not inclusive) 3262 * @return the range of matching blogs entries that the user has permission to view 3263 * @throws SystemException if a system exception occurred 3264 */ 3265 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_NotS( 3266 long groupId, long userId, int status, int start, int end) 3267 throws com.liferay.portal.kernel.exception.SystemException; 3268 3269 /** 3270 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and status ≠ ?. 3271 * 3272 * <p> 3273 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3274 * </p> 3275 * 3276 * @param groupId the group ID 3277 * @param userId the user ID 3278 * @param status the status 3279 * @param start the lower bound of the range of blogs entries 3280 * @param end the upper bound of the range of blogs entries (not inclusive) 3281 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3282 * @return the ordered range of matching blogs entries that the user has permission to view 3283 * @throws SystemException if a system exception occurred 3284 */ 3285 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_NotS( 3286 long groupId, long userId, int status, int start, int end, 3287 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3288 throws com.liferay.portal.kernel.exception.SystemException; 3289 3290 /** 3291 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 3292 * 3293 * @param entryId the primary key of the current blogs entry 3294 * @param groupId the group ID 3295 * @param userId the user ID 3296 * @param status the status 3297 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3298 * @return the previous, current, and next blogs entry 3299 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3300 * @throws SystemException if a system exception occurred 3301 */ 3302 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_NotS_PrevAndNext( 3303 long entryId, long groupId, long userId, int status, 3304 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3305 throws com.liferay.portal.kernel.exception.SystemException, 3306 com.liferay.portlet.blogs.NoSuchEntryException; 3307 3308 /** 3309 * Removes all the blogs entries where groupId = ? and userId = ? and status ≠ ? from the database. 3310 * 3311 * @param groupId the group ID 3312 * @param userId the user ID 3313 * @param status the status 3314 * @throws SystemException if a system exception occurred 3315 */ 3316 public void removeByG_U_NotS(long groupId, long userId, int status) 3317 throws com.liferay.portal.kernel.exception.SystemException; 3318 3319 /** 3320 * Returns the number of blogs entries where groupId = ? and userId = ? and status ≠ ?. 3321 * 3322 * @param groupId the group ID 3323 * @param userId the user ID 3324 * @param status the status 3325 * @return the number of matching blogs entries 3326 * @throws SystemException if a system exception occurred 3327 */ 3328 public int countByG_U_NotS(long groupId, long userId, int status) 3329 throws com.liferay.portal.kernel.exception.SystemException; 3330 3331 /** 3332 * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 3333 * 3334 * @param groupId the group ID 3335 * @param userId the user ID 3336 * @param status the status 3337 * @return the number of matching blogs entries that the user has permission to view 3338 * @throws SystemException if a system exception occurred 3339 */ 3340 public int filterCountByG_U_NotS(long groupId, long userId, int status) 3341 throws com.liferay.portal.kernel.exception.SystemException; 3342 3343 /** 3344 * Returns all the blogs entries where groupId = ? and userId = ? and status = ?. 3345 * 3346 * @param groupId the group ID 3347 * @param userId the user ID 3348 * @param status the status 3349 * @return the matching blogs entries 3350 * @throws SystemException if a system exception occurred 3351 */ 3352 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S( 3353 long groupId, long userId, int status) 3354 throws com.liferay.portal.kernel.exception.SystemException; 3355 3356 /** 3357 * Returns a range of all the blogs entries where groupId = ? and userId = ? and status = ?. 3358 * 3359 * <p> 3360 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3361 * </p> 3362 * 3363 * @param groupId the group ID 3364 * @param userId the user ID 3365 * @param status the status 3366 * @param start the lower bound of the range of blogs entries 3367 * @param end the upper bound of the range of blogs entries (not inclusive) 3368 * @return the range of matching blogs entries 3369 * @throws SystemException if a system exception occurred 3370 */ 3371 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S( 3372 long groupId, long userId, int status, int start, int end) 3373 throws com.liferay.portal.kernel.exception.SystemException; 3374 3375 /** 3376 * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and status = ?. 3377 * 3378 * <p> 3379 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3380 * </p> 3381 * 3382 * @param groupId the group ID 3383 * @param userId the user ID 3384 * @param status the status 3385 * @param start the lower bound of the range of blogs entries 3386 * @param end the upper bound of the range of blogs entries (not inclusive) 3387 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3388 * @return the ordered range of matching blogs entries 3389 * @throws SystemException if a system exception occurred 3390 */ 3391 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S( 3392 long groupId, long userId, int status, int start, int end, 3393 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3394 throws com.liferay.portal.kernel.exception.SystemException; 3395 3396 /** 3397 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. 3398 * 3399 * @param groupId the group ID 3400 * @param userId the user ID 3401 * @param status the status 3402 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3403 * @return the first matching blogs entry 3404 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3405 * @throws SystemException if a system exception occurred 3406 */ 3407 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_First( 3408 long groupId, long userId, int status, 3409 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3410 throws com.liferay.portal.kernel.exception.SystemException, 3411 com.liferay.portlet.blogs.NoSuchEntryException; 3412 3413 /** 3414 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. 3415 * 3416 * @param groupId the group ID 3417 * @param userId the user ID 3418 * @param status the status 3419 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3420 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3421 * @throws SystemException if a system exception occurred 3422 */ 3423 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_S_First( 3424 long groupId, long userId, int status, 3425 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3426 throws com.liferay.portal.kernel.exception.SystemException; 3427 3428 /** 3429 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. 3430 * 3431 * @param groupId the group ID 3432 * @param userId the user ID 3433 * @param status the status 3434 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3435 * @return the last matching blogs entry 3436 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3437 * @throws SystemException if a system exception occurred 3438 */ 3439 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_Last( 3440 long groupId, long userId, int status, 3441 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3442 throws com.liferay.portal.kernel.exception.SystemException, 3443 com.liferay.portlet.blogs.NoSuchEntryException; 3444 3445 /** 3446 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. 3447 * 3448 * @param groupId the group ID 3449 * @param userId the user ID 3450 * @param status the status 3451 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3452 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3453 * @throws SystemException if a system exception occurred 3454 */ 3455 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_S_Last( 3456 long groupId, long userId, int status, 3457 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3458 throws com.liferay.portal.kernel.exception.SystemException; 3459 3460 /** 3461 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and status = ?. 3462 * 3463 * @param entryId the primary key of the current blogs entry 3464 * @param groupId the group ID 3465 * @param userId the user ID 3466 * @param status the status 3467 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3468 * @return the previous, current, and next blogs entry 3469 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3470 * @throws SystemException if a system exception occurred 3471 */ 3472 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_S_PrevAndNext( 3473 long entryId, long groupId, long userId, int status, 3474 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3475 throws com.liferay.portal.kernel.exception.SystemException, 3476 com.liferay.portlet.blogs.NoSuchEntryException; 3477 3478 /** 3479 * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 3480 * 3481 * @param groupId the group ID 3482 * @param userId the user ID 3483 * @param status the status 3484 * @return the matching blogs entries that the user has permission to view 3485 * @throws SystemException if a system exception occurred 3486 */ 3487 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_S( 3488 long groupId, long userId, int status) 3489 throws com.liferay.portal.kernel.exception.SystemException; 3490 3491 /** 3492 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 3493 * 3494 * <p> 3495 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3496 * </p> 3497 * 3498 * @param groupId the group ID 3499 * @param userId the user ID 3500 * @param status the status 3501 * @param start the lower bound of the range of blogs entries 3502 * @param end the upper bound of the range of blogs entries (not inclusive) 3503 * @return the range of matching blogs entries that the user has permission to view 3504 * @throws SystemException if a system exception occurred 3505 */ 3506 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_S( 3507 long groupId, long userId, int status, int start, int end) 3508 throws com.liferay.portal.kernel.exception.SystemException; 3509 3510 /** 3511 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and status = ?. 3512 * 3513 * <p> 3514 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3515 * </p> 3516 * 3517 * @param groupId the group ID 3518 * @param userId the user ID 3519 * @param status the status 3520 * @param start the lower bound of the range of blogs entries 3521 * @param end the upper bound of the range of blogs entries (not inclusive) 3522 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3523 * @return the ordered range of matching blogs entries that the user has permission to view 3524 * @throws SystemException if a system exception occurred 3525 */ 3526 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_S( 3527 long groupId, long userId, int status, int start, int end, 3528 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3529 throws com.liferay.portal.kernel.exception.SystemException; 3530 3531 /** 3532 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 3533 * 3534 * @param entryId the primary key of the current blogs entry 3535 * @param groupId the group ID 3536 * @param userId the user ID 3537 * @param status the status 3538 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3539 * @return the previous, current, and next blogs entry 3540 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3541 * @throws SystemException if a system exception occurred 3542 */ 3543 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_S_PrevAndNext( 3544 long entryId, long groupId, long userId, int status, 3545 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3546 throws com.liferay.portal.kernel.exception.SystemException, 3547 com.liferay.portlet.blogs.NoSuchEntryException; 3548 3549 /** 3550 * Removes all the blogs entries where groupId = ? and userId = ? and status = ? from the database. 3551 * 3552 * @param groupId the group ID 3553 * @param userId the user ID 3554 * @param status the status 3555 * @throws SystemException if a system exception occurred 3556 */ 3557 public void removeByG_U_S(long groupId, long userId, int status) 3558 throws com.liferay.portal.kernel.exception.SystemException; 3559 3560 /** 3561 * Returns the number of blogs entries where groupId = ? and userId = ? and status = ?. 3562 * 3563 * @param groupId the group ID 3564 * @param userId the user ID 3565 * @param status the status 3566 * @return the number of matching blogs entries 3567 * @throws SystemException if a system exception occurred 3568 */ 3569 public int countByG_U_S(long groupId, long userId, int status) 3570 throws com.liferay.portal.kernel.exception.SystemException; 3571 3572 /** 3573 * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 3574 * 3575 * @param groupId the group ID 3576 * @param userId the user ID 3577 * @param status the status 3578 * @return the number of matching blogs entries that the user has permission to view 3579 * @throws SystemException if a system exception occurred 3580 */ 3581 public int filterCountByG_U_S(long groupId, long userId, int status) 3582 throws com.liferay.portal.kernel.exception.SystemException; 3583 3584 /** 3585 * Returns all the blogs entries where groupId = ? and displayDate < ? and status ≠ ?. 3586 * 3587 * @param groupId the group ID 3588 * @param displayDate the display date 3589 * @param status the status 3590 * @return the matching blogs entries 3591 * @throws SystemException if a system exception occurred 3592 */ 3593 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD_NotS( 3594 long groupId, java.util.Date displayDate, int status) 3595 throws com.liferay.portal.kernel.exception.SystemException; 3596 3597 /** 3598 * Returns a range of all the blogs entries where groupId = ? and displayDate < ? and status ≠ ?. 3599 * 3600 * <p> 3601 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3602 * </p> 3603 * 3604 * @param groupId the group ID 3605 * @param displayDate the display date 3606 * @param status the status 3607 * @param start the lower bound of the range of blogs entries 3608 * @param end the upper bound of the range of blogs entries (not inclusive) 3609 * @return the range of matching blogs entries 3610 * @throws SystemException if a system exception occurred 3611 */ 3612 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD_NotS( 3613 long groupId, java.util.Date displayDate, int status, int start, int end) 3614 throws com.liferay.portal.kernel.exception.SystemException; 3615 3616 /** 3617 * Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status ≠ ?. 3618 * 3619 * <p> 3620 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3621 * </p> 3622 * 3623 * @param groupId the group ID 3624 * @param displayDate the display date 3625 * @param status the status 3626 * @param start the lower bound of the range of blogs entries 3627 * @param end the upper bound of the range of blogs entries (not inclusive) 3628 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3629 * @return the ordered range of matching blogs entries 3630 * @throws SystemException if a system exception occurred 3631 */ 3632 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD_NotS( 3633 long groupId, java.util.Date displayDate, int status, int start, 3634 int end, 3635 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3636 throws com.liferay.portal.kernel.exception.SystemException; 3637 3638 /** 3639 * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. 3640 * 3641 * @param groupId the group ID 3642 * @param displayDate the display date 3643 * @param status the status 3644 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3645 * @return the first matching blogs entry 3646 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3647 * @throws SystemException if a system exception occurred 3648 */ 3649 public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_NotS_First( 3650 long groupId, java.util.Date displayDate, int status, 3651 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3652 throws com.liferay.portal.kernel.exception.SystemException, 3653 com.liferay.portlet.blogs.NoSuchEntryException; 3654 3655 /** 3656 * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. 3657 * 3658 * @param groupId the group ID 3659 * @param displayDate the display date 3660 * @param status the status 3661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3662 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3663 * @throws SystemException if a system exception occurred 3664 */ 3665 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_NotS_First( 3666 long groupId, java.util.Date displayDate, int status, 3667 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3668 throws com.liferay.portal.kernel.exception.SystemException; 3669 3670 /** 3671 * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. 3672 * 3673 * @param groupId the group ID 3674 * @param displayDate the display date 3675 * @param status the status 3676 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3677 * @return the last matching blogs entry 3678 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3679 * @throws SystemException if a system exception occurred 3680 */ 3681 public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_NotS_Last( 3682 long groupId, java.util.Date displayDate, int status, 3683 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3684 throws com.liferay.portal.kernel.exception.SystemException, 3685 com.liferay.portlet.blogs.NoSuchEntryException; 3686 3687 /** 3688 * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. 3689 * 3690 * @param groupId the group ID 3691 * @param displayDate the display date 3692 * @param status the status 3693 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3694 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3695 * @throws SystemException if a system exception occurred 3696 */ 3697 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_NotS_Last( 3698 long groupId, java.util.Date displayDate, int status, 3699 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3700 throws com.liferay.portal.kernel.exception.SystemException; 3701 3702 /** 3703 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ? and status ≠ ?. 3704 * 3705 * @param entryId the primary key of the current blogs entry 3706 * @param groupId the group ID 3707 * @param displayDate the display date 3708 * @param status the status 3709 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3710 * @return the previous, current, and next blogs entry 3711 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3712 * @throws SystemException if a system exception occurred 3713 */ 3714 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_LtD_NotS_PrevAndNext( 3715 long entryId, long groupId, java.util.Date displayDate, int status, 3716 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3717 throws com.liferay.portal.kernel.exception.SystemException, 3718 com.liferay.portlet.blogs.NoSuchEntryException; 3719 3720 /** 3721 * Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. 3722 * 3723 * @param groupId the group ID 3724 * @param displayDate the display date 3725 * @param status the status 3726 * @return the matching blogs entries that the user has permission to view 3727 * @throws SystemException if a system exception occurred 3728 */ 3729 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD_NotS( 3730 long groupId, java.util.Date displayDate, int status) 3731 throws com.liferay.portal.kernel.exception.SystemException; 3732 3733 /** 3734 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. 3735 * 3736 * <p> 3737 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3738 * </p> 3739 * 3740 * @param groupId the group ID 3741 * @param displayDate the display date 3742 * @param status the status 3743 * @param start the lower bound of the range of blogs entries 3744 * @param end the upper bound of the range of blogs entries (not inclusive) 3745 * @return the range of matching blogs entries that the user has permission to view 3746 * @throws SystemException if a system exception occurred 3747 */ 3748 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD_NotS( 3749 long groupId, java.util.Date displayDate, int status, int start, int end) 3750 throws com.liferay.portal.kernel.exception.SystemException; 3751 3752 /** 3753 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ? and status ≠ ?. 3754 * 3755 * <p> 3756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3757 * </p> 3758 * 3759 * @param groupId the group ID 3760 * @param displayDate the display date 3761 * @param status the status 3762 * @param start the lower bound of the range of blogs entries 3763 * @param end the upper bound of the range of blogs entries (not inclusive) 3764 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3765 * @return the ordered range of matching blogs entries that the user has permission to view 3766 * @throws SystemException if a system exception occurred 3767 */ 3768 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD_NotS( 3769 long groupId, java.util.Date displayDate, int status, int start, 3770 int end, 3771 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3772 throws com.liferay.portal.kernel.exception.SystemException; 3773 3774 /** 3775 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. 3776 * 3777 * @param entryId the primary key of the current blogs entry 3778 * @param groupId the group ID 3779 * @param displayDate the display date 3780 * @param status the status 3781 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3782 * @return the previous, current, and next blogs entry 3783 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3784 * @throws SystemException if a system exception occurred 3785 */ 3786 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_LtD_NotS_PrevAndNext( 3787 long entryId, long groupId, java.util.Date displayDate, int status, 3788 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3789 throws com.liferay.portal.kernel.exception.SystemException, 3790 com.liferay.portlet.blogs.NoSuchEntryException; 3791 3792 /** 3793 * Removes all the blogs entries where groupId = ? and displayDate < ? and status ≠ ? from the database. 3794 * 3795 * @param groupId the group ID 3796 * @param displayDate the display date 3797 * @param status the status 3798 * @throws SystemException if a system exception occurred 3799 */ 3800 public void removeByG_LtD_NotS(long groupId, java.util.Date displayDate, 3801 int status) throws com.liferay.portal.kernel.exception.SystemException; 3802 3803 /** 3804 * Returns the number of blogs entries where groupId = ? and displayDate < ? and status ≠ ?. 3805 * 3806 * @param groupId the group ID 3807 * @param displayDate the display date 3808 * @param status the status 3809 * @return the number of matching blogs entries 3810 * @throws SystemException if a system exception occurred 3811 */ 3812 public int countByG_LtD_NotS(long groupId, java.util.Date displayDate, 3813 int status) throws com.liferay.portal.kernel.exception.SystemException; 3814 3815 /** 3816 * Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status ≠ ?. 3817 * 3818 * @param groupId the group ID 3819 * @param displayDate the display date 3820 * @param status the status 3821 * @return the number of matching blogs entries that the user has permission to view 3822 * @throws SystemException if a system exception occurred 3823 */ 3824 public int filterCountByG_LtD_NotS(long groupId, 3825 java.util.Date displayDate, int status) 3826 throws com.liferay.portal.kernel.exception.SystemException; 3827 3828 /** 3829 * Returns all the blogs entries where groupId = ? and displayDate < ? and status = ?. 3830 * 3831 * @param groupId the group ID 3832 * @param displayDate the display date 3833 * @param status the status 3834 * @return the matching blogs entries 3835 * @throws SystemException if a system exception occurred 3836 */ 3837 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD_S( 3838 long groupId, java.util.Date displayDate, int status) 3839 throws com.liferay.portal.kernel.exception.SystemException; 3840 3841 /** 3842 * Returns a range of all the blogs entries where groupId = ? and displayDate < ? and status = ?. 3843 * 3844 * <p> 3845 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3846 * </p> 3847 * 3848 * @param groupId the group ID 3849 * @param displayDate the display date 3850 * @param status the status 3851 * @param start the lower bound of the range of blogs entries 3852 * @param end the upper bound of the range of blogs entries (not inclusive) 3853 * @return the range of matching blogs entries 3854 * @throws SystemException if a system exception occurred 3855 */ 3856 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD_S( 3857 long groupId, java.util.Date displayDate, int status, int start, int end) 3858 throws com.liferay.portal.kernel.exception.SystemException; 3859 3860 /** 3861 * Returns an ordered range of all the blogs entries where groupId = ? and displayDate < ? and status = ?. 3862 * 3863 * <p> 3864 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3865 * </p> 3866 * 3867 * @param groupId the group ID 3868 * @param displayDate the display date 3869 * @param status the status 3870 * @param start the lower bound of the range of blogs entries 3871 * @param end the upper bound of the range of blogs entries (not inclusive) 3872 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3873 * @return the ordered range of matching blogs entries 3874 * @throws SystemException if a system exception occurred 3875 */ 3876 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_LtD_S( 3877 long groupId, java.util.Date displayDate, int status, int start, 3878 int end, 3879 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3880 throws com.liferay.portal.kernel.exception.SystemException; 3881 3882 /** 3883 * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. 3884 * 3885 * @param groupId the group ID 3886 * @param displayDate the display date 3887 * @param status the status 3888 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3889 * @return the first matching blogs entry 3890 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3891 * @throws SystemException if a system exception occurred 3892 */ 3893 public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_S_First( 3894 long groupId, java.util.Date displayDate, int status, 3895 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3896 throws com.liferay.portal.kernel.exception.SystemException, 3897 com.liferay.portlet.blogs.NoSuchEntryException; 3898 3899 /** 3900 * Returns the first blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. 3901 * 3902 * @param groupId the group ID 3903 * @param displayDate the display date 3904 * @param status the status 3905 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3906 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3907 * @throws SystemException if a system exception occurred 3908 */ 3909 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_S_First( 3910 long groupId, java.util.Date displayDate, int status, 3911 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3912 throws com.liferay.portal.kernel.exception.SystemException; 3913 3914 /** 3915 * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. 3916 * 3917 * @param groupId the group ID 3918 * @param displayDate the display date 3919 * @param status the status 3920 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3921 * @return the last matching blogs entry 3922 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 3923 * @throws SystemException if a system exception occurred 3924 */ 3925 public com.liferay.portlet.blogs.model.BlogsEntry findByG_LtD_S_Last( 3926 long groupId, java.util.Date displayDate, int status, 3927 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3928 throws com.liferay.portal.kernel.exception.SystemException, 3929 com.liferay.portlet.blogs.NoSuchEntryException; 3930 3931 /** 3932 * Returns the last blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. 3933 * 3934 * @param groupId the group ID 3935 * @param displayDate the display date 3936 * @param status the status 3937 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3938 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 3939 * @throws SystemException if a system exception occurred 3940 */ 3941 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_LtD_S_Last( 3942 long groupId, java.util.Date displayDate, int status, 3943 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3944 throws com.liferay.portal.kernel.exception.SystemException; 3945 3946 /** 3947 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and displayDate < ? and status = ?. 3948 * 3949 * @param entryId the primary key of the current blogs entry 3950 * @param groupId the group ID 3951 * @param displayDate the display date 3952 * @param status the status 3953 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3954 * @return the previous, current, and next blogs entry 3955 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 3956 * @throws SystemException if a system exception occurred 3957 */ 3958 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_LtD_S_PrevAndNext( 3959 long entryId, long groupId, java.util.Date displayDate, int status, 3960 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3961 throws com.liferay.portal.kernel.exception.SystemException, 3962 com.liferay.portlet.blogs.NoSuchEntryException; 3963 3964 /** 3965 * Returns all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. 3966 * 3967 * @param groupId the group ID 3968 * @param displayDate the display date 3969 * @param status the status 3970 * @return the matching blogs entries that the user has permission to view 3971 * @throws SystemException if a system exception occurred 3972 */ 3973 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD_S( 3974 long groupId, java.util.Date displayDate, int status) 3975 throws com.liferay.portal.kernel.exception.SystemException; 3976 3977 /** 3978 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. 3979 * 3980 * <p> 3981 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3982 * </p> 3983 * 3984 * @param groupId the group ID 3985 * @param displayDate the display date 3986 * @param status the status 3987 * @param start the lower bound of the range of blogs entries 3988 * @param end the upper bound of the range of blogs entries (not inclusive) 3989 * @return the range of matching blogs entries that the user has permission to view 3990 * @throws SystemException if a system exception occurred 3991 */ 3992 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD_S( 3993 long groupId, java.util.Date displayDate, int status, int start, int end) 3994 throws com.liferay.portal.kernel.exception.SystemException; 3995 3996 /** 3997 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and displayDate < ? and status = ?. 3998 * 3999 * <p> 4000 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4001 * </p> 4002 * 4003 * @param groupId the group ID 4004 * @param displayDate the display date 4005 * @param status the status 4006 * @param start the lower bound of the range of blogs entries 4007 * @param end the upper bound of the range of blogs entries (not inclusive) 4008 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4009 * @return the ordered range of matching blogs entries that the user has permission to view 4010 * @throws SystemException if a system exception occurred 4011 */ 4012 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_LtD_S( 4013 long groupId, java.util.Date displayDate, int status, int start, 4014 int end, 4015 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4016 throws com.liferay.portal.kernel.exception.SystemException; 4017 4018 /** 4019 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. 4020 * 4021 * @param entryId the primary key of the current blogs entry 4022 * @param groupId the group ID 4023 * @param displayDate the display date 4024 * @param status the status 4025 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4026 * @return the previous, current, and next blogs entry 4027 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4028 * @throws SystemException if a system exception occurred 4029 */ 4030 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_LtD_S_PrevAndNext( 4031 long entryId, long groupId, java.util.Date displayDate, int status, 4032 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4033 throws com.liferay.portal.kernel.exception.SystemException, 4034 com.liferay.portlet.blogs.NoSuchEntryException; 4035 4036 /** 4037 * Removes all the blogs entries where groupId = ? and displayDate < ? and status = ? from the database. 4038 * 4039 * @param groupId the group ID 4040 * @param displayDate the display date 4041 * @param status the status 4042 * @throws SystemException if a system exception occurred 4043 */ 4044 public void removeByG_LtD_S(long groupId, java.util.Date displayDate, 4045 int status) throws com.liferay.portal.kernel.exception.SystemException; 4046 4047 /** 4048 * Returns the number of blogs entries where groupId = ? and displayDate < ? and status = ?. 4049 * 4050 * @param groupId the group ID 4051 * @param displayDate the display date 4052 * @param status the status 4053 * @return the number of matching blogs entries 4054 * @throws SystemException if a system exception occurred 4055 */ 4056 public int countByG_LtD_S(long groupId, java.util.Date displayDate, 4057 int status) throws com.liferay.portal.kernel.exception.SystemException; 4058 4059 /** 4060 * Returns the number of blogs entries that the user has permission to view where groupId = ? and displayDate < ? and status = ?. 4061 * 4062 * @param groupId the group ID 4063 * @param displayDate the display date 4064 * @param status the status 4065 * @return the number of matching blogs entries that the user has permission to view 4066 * @throws SystemException if a system exception occurred 4067 */ 4068 public int filterCountByG_LtD_S(long groupId, java.util.Date displayDate, 4069 int status) throws com.liferay.portal.kernel.exception.SystemException; 4070 4071 /** 4072 * Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4073 * 4074 * @param groupId the group ID 4075 * @param userId the user ID 4076 * @param displayDate the display date 4077 * @param status the status 4078 * @return the matching blogs entries 4079 * @throws SystemException if a system exception occurred 4080 */ 4081 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD_NotS( 4082 long groupId, long userId, java.util.Date displayDate, int status) 4083 throws com.liferay.portal.kernel.exception.SystemException; 4084 4085 /** 4086 * Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4087 * 4088 * <p> 4089 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4090 * </p> 4091 * 4092 * @param groupId the group ID 4093 * @param userId the user ID 4094 * @param displayDate the display date 4095 * @param status the status 4096 * @param start the lower bound of the range of blogs entries 4097 * @param end the upper bound of the range of blogs entries (not inclusive) 4098 * @return the range of matching blogs entries 4099 * @throws SystemException if a system exception occurred 4100 */ 4101 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD_NotS( 4102 long groupId, long userId, java.util.Date displayDate, int status, 4103 int start, int end) 4104 throws com.liferay.portal.kernel.exception.SystemException; 4105 4106 /** 4107 * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4108 * 4109 * <p> 4110 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4111 * </p> 4112 * 4113 * @param groupId the group ID 4114 * @param userId the user ID 4115 * @param displayDate the display date 4116 * @param status the status 4117 * @param start the lower bound of the range of blogs entries 4118 * @param end the upper bound of the range of blogs entries (not inclusive) 4119 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4120 * @return the ordered range of matching blogs entries 4121 * @throws SystemException if a system exception occurred 4122 */ 4123 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD_NotS( 4124 long groupId, long userId, java.util.Date displayDate, int status, 4125 int start, int end, 4126 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4127 throws com.liferay.portal.kernel.exception.SystemException; 4128 4129 /** 4130 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4131 * 4132 * @param groupId the group ID 4133 * @param userId the user ID 4134 * @param displayDate the display date 4135 * @param status the status 4136 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4137 * @return the first matching blogs entry 4138 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 4139 * @throws SystemException if a system exception occurred 4140 */ 4141 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_NotS_First( 4142 long groupId, long userId, java.util.Date displayDate, int status, 4143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4144 throws com.liferay.portal.kernel.exception.SystemException, 4145 com.liferay.portlet.blogs.NoSuchEntryException; 4146 4147 /** 4148 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4149 * 4150 * @param groupId the group ID 4151 * @param userId the user ID 4152 * @param displayDate the display date 4153 * @param status the status 4154 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4155 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 4156 * @throws SystemException if a system exception occurred 4157 */ 4158 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_NotS_First( 4159 long groupId, long userId, java.util.Date displayDate, int status, 4160 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4161 throws com.liferay.portal.kernel.exception.SystemException; 4162 4163 /** 4164 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4165 * 4166 * @param groupId the group ID 4167 * @param userId the user ID 4168 * @param displayDate the display date 4169 * @param status the status 4170 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4171 * @return the last matching blogs entry 4172 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 4173 * @throws SystemException if a system exception occurred 4174 */ 4175 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_NotS_Last( 4176 long groupId, long userId, java.util.Date displayDate, int status, 4177 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4178 throws com.liferay.portal.kernel.exception.SystemException, 4179 com.liferay.portlet.blogs.NoSuchEntryException; 4180 4181 /** 4182 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4183 * 4184 * @param groupId the group ID 4185 * @param userId the user ID 4186 * @param displayDate the display date 4187 * @param status the status 4188 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4189 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 4190 * @throws SystemException if a system exception occurred 4191 */ 4192 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_NotS_Last( 4193 long groupId, long userId, java.util.Date displayDate, int status, 4194 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4195 throws com.liferay.portal.kernel.exception.SystemException; 4196 4197 /** 4198 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4199 * 4200 * @param entryId the primary key of the current blogs entry 4201 * @param groupId the group ID 4202 * @param userId the user ID 4203 * @param displayDate the display date 4204 * @param status the status 4205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4206 * @return the previous, current, and next blogs entry 4207 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4208 * @throws SystemException if a system exception occurred 4209 */ 4210 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_LtD_NotS_PrevAndNext( 4211 long entryId, long groupId, long userId, java.util.Date displayDate, 4212 int status, 4213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4214 throws com.liferay.portal.kernel.exception.SystemException, 4215 com.liferay.portlet.blogs.NoSuchEntryException; 4216 4217 /** 4218 * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4219 * 4220 * @param groupId the group ID 4221 * @param userId the user ID 4222 * @param displayDate the display date 4223 * @param status the status 4224 * @return the matching blogs entries that the user has permission to view 4225 * @throws SystemException if a system exception occurred 4226 */ 4227 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD_NotS( 4228 long groupId, long userId, java.util.Date displayDate, int status) 4229 throws com.liferay.portal.kernel.exception.SystemException; 4230 4231 /** 4232 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4233 * 4234 * <p> 4235 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4236 * </p> 4237 * 4238 * @param groupId the group ID 4239 * @param userId the user ID 4240 * @param displayDate the display date 4241 * @param status the status 4242 * @param start the lower bound of the range of blogs entries 4243 * @param end the upper bound of the range of blogs entries (not inclusive) 4244 * @return the range of matching blogs entries that the user has permission to view 4245 * @throws SystemException if a system exception occurred 4246 */ 4247 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD_NotS( 4248 long groupId, long userId, java.util.Date displayDate, int status, 4249 int start, int end) 4250 throws com.liferay.portal.kernel.exception.SystemException; 4251 4252 /** 4253 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4254 * 4255 * <p> 4256 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4257 * </p> 4258 * 4259 * @param groupId the group ID 4260 * @param userId the user ID 4261 * @param displayDate the display date 4262 * @param status the status 4263 * @param start the lower bound of the range of blogs entries 4264 * @param end the upper bound of the range of blogs entries (not inclusive) 4265 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4266 * @return the ordered range of matching blogs entries that the user has permission to view 4267 * @throws SystemException if a system exception occurred 4268 */ 4269 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD_NotS( 4270 long groupId, long userId, java.util.Date displayDate, int status, 4271 int start, int end, 4272 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4273 throws com.liferay.portal.kernel.exception.SystemException; 4274 4275 /** 4276 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4277 * 4278 * @param entryId the primary key of the current blogs entry 4279 * @param groupId the group ID 4280 * @param userId the user ID 4281 * @param displayDate the display date 4282 * @param status the status 4283 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4284 * @return the previous, current, and next blogs entry 4285 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4286 * @throws SystemException if a system exception occurred 4287 */ 4288 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_LtD_NotS_PrevAndNext( 4289 long entryId, long groupId, long userId, java.util.Date displayDate, 4290 int status, 4291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4292 throws com.liferay.portal.kernel.exception.SystemException, 4293 com.liferay.portlet.blogs.NoSuchEntryException; 4294 4295 /** 4296 * Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ? from the database. 4297 * 4298 * @param groupId the group ID 4299 * @param userId the user ID 4300 * @param displayDate the display date 4301 * @param status the status 4302 * @throws SystemException if a system exception occurred 4303 */ 4304 public void removeByG_U_LtD_NotS(long groupId, long userId, 4305 java.util.Date displayDate, int status) 4306 throws com.liferay.portal.kernel.exception.SystemException; 4307 4308 /** 4309 * Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4310 * 4311 * @param groupId the group ID 4312 * @param userId the user ID 4313 * @param displayDate the display date 4314 * @param status the status 4315 * @return the number of matching blogs entries 4316 * @throws SystemException if a system exception occurred 4317 */ 4318 public int countByG_U_LtD_NotS(long groupId, long userId, 4319 java.util.Date displayDate, int status) 4320 throws com.liferay.portal.kernel.exception.SystemException; 4321 4322 /** 4323 * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status ≠ ?. 4324 * 4325 * @param groupId the group ID 4326 * @param userId the user ID 4327 * @param displayDate the display date 4328 * @param status the status 4329 * @return the number of matching blogs entries that the user has permission to view 4330 * @throws SystemException if a system exception occurred 4331 */ 4332 public int filterCountByG_U_LtD_NotS(long groupId, long userId, 4333 java.util.Date displayDate, int status) 4334 throws com.liferay.portal.kernel.exception.SystemException; 4335 4336 /** 4337 * Returns all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. 4338 * 4339 * @param groupId the group ID 4340 * @param userId the user ID 4341 * @param displayDate the display date 4342 * @param status the status 4343 * @return the matching blogs entries 4344 * @throws SystemException if a system exception occurred 4345 */ 4346 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD_S( 4347 long groupId, long userId, java.util.Date displayDate, int status) 4348 throws com.liferay.portal.kernel.exception.SystemException; 4349 4350 /** 4351 * Returns a range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. 4352 * 4353 * <p> 4354 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4355 * </p> 4356 * 4357 * @param groupId the group ID 4358 * @param userId the user ID 4359 * @param displayDate the display date 4360 * @param status the status 4361 * @param start the lower bound of the range of blogs entries 4362 * @param end the upper bound of the range of blogs entries (not inclusive) 4363 * @return the range of matching blogs entries 4364 * @throws SystemException if a system exception occurred 4365 */ 4366 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD_S( 4367 long groupId, long userId, java.util.Date displayDate, int status, 4368 int start, int end) 4369 throws com.liferay.portal.kernel.exception.SystemException; 4370 4371 /** 4372 * Returns an ordered range of all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. 4373 * 4374 * <p> 4375 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4376 * </p> 4377 * 4378 * @param groupId the group ID 4379 * @param userId the user ID 4380 * @param displayDate the display date 4381 * @param status the status 4382 * @param start the lower bound of the range of blogs entries 4383 * @param end the upper bound of the range of blogs entries (not inclusive) 4384 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4385 * @return the ordered range of matching blogs entries 4386 * @throws SystemException if a system exception occurred 4387 */ 4388 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_LtD_S( 4389 long groupId, long userId, java.util.Date displayDate, int status, 4390 int start, int end, 4391 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4392 throws com.liferay.portal.kernel.exception.SystemException; 4393 4394 /** 4395 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. 4396 * 4397 * @param groupId the group ID 4398 * @param userId the user ID 4399 * @param displayDate the display date 4400 * @param status the status 4401 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4402 * @return the first matching blogs entry 4403 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 4404 * @throws SystemException if a system exception occurred 4405 */ 4406 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_S_First( 4407 long groupId, long userId, java.util.Date displayDate, int status, 4408 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4409 throws com.liferay.portal.kernel.exception.SystemException, 4410 com.liferay.portlet.blogs.NoSuchEntryException; 4411 4412 /** 4413 * Returns the first blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. 4414 * 4415 * @param groupId the group ID 4416 * @param userId the user ID 4417 * @param displayDate the display date 4418 * @param status the status 4419 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4420 * @return the first matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 4421 * @throws SystemException if a system exception occurred 4422 */ 4423 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_S_First( 4424 long groupId, long userId, java.util.Date displayDate, int status, 4425 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4426 throws com.liferay.portal.kernel.exception.SystemException; 4427 4428 /** 4429 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. 4430 * 4431 * @param groupId the group ID 4432 * @param userId the user ID 4433 * @param displayDate the display date 4434 * @param status the status 4435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4436 * @return the last matching blogs entry 4437 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a matching blogs entry could not be found 4438 * @throws SystemException if a system exception occurred 4439 */ 4440 public com.liferay.portlet.blogs.model.BlogsEntry findByG_U_LtD_S_Last( 4441 long groupId, long userId, java.util.Date displayDate, int status, 4442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4443 throws com.liferay.portal.kernel.exception.SystemException, 4444 com.liferay.portlet.blogs.NoSuchEntryException; 4445 4446 /** 4447 * Returns the last blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. 4448 * 4449 * @param groupId the group ID 4450 * @param userId the user ID 4451 * @param displayDate the display date 4452 * @param status the status 4453 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4454 * @return the last matching blogs entry, or <code>null</code> if a matching blogs entry could not be found 4455 * @throws SystemException if a system exception occurred 4456 */ 4457 public com.liferay.portlet.blogs.model.BlogsEntry fetchByG_U_LtD_S_Last( 4458 long groupId, long userId, java.util.Date displayDate, int status, 4459 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4460 throws com.liferay.portal.kernel.exception.SystemException; 4461 4462 /** 4463 * Returns the blogs entries before and after the current blogs entry in the ordered set where groupId = ? and userId = ? and displayDate < ? and status = ?. 4464 * 4465 * @param entryId the primary key of the current blogs entry 4466 * @param groupId the group ID 4467 * @param userId the user ID 4468 * @param displayDate the display date 4469 * @param status the status 4470 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4471 * @return the previous, current, and next blogs entry 4472 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4473 * @throws SystemException if a system exception occurred 4474 */ 4475 public com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_LtD_S_PrevAndNext( 4476 long entryId, long groupId, long userId, java.util.Date displayDate, 4477 int status, 4478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4479 throws com.liferay.portal.kernel.exception.SystemException, 4480 com.liferay.portlet.blogs.NoSuchEntryException; 4481 4482 /** 4483 * Returns all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. 4484 * 4485 * @param groupId the group ID 4486 * @param userId the user ID 4487 * @param displayDate the display date 4488 * @param status the status 4489 * @return the matching blogs entries that the user has permission to view 4490 * @throws SystemException if a system exception occurred 4491 */ 4492 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD_S( 4493 long groupId, long userId, java.util.Date displayDate, int status) 4494 throws com.liferay.portal.kernel.exception.SystemException; 4495 4496 /** 4497 * Returns a range of all the blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. 4498 * 4499 * <p> 4500 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4501 * </p> 4502 * 4503 * @param groupId the group ID 4504 * @param userId the user ID 4505 * @param displayDate the display date 4506 * @param status the status 4507 * @param start the lower bound of the range of blogs entries 4508 * @param end the upper bound of the range of blogs entries (not inclusive) 4509 * @return the range of matching blogs entries that the user has permission to view 4510 * @throws SystemException if a system exception occurred 4511 */ 4512 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD_S( 4513 long groupId, long userId, java.util.Date displayDate, int status, 4514 int start, int end) 4515 throws com.liferay.portal.kernel.exception.SystemException; 4516 4517 /** 4518 * Returns an ordered range of all the blogs entries that the user has permissions to view where groupId = ? and userId = ? and displayDate < ? and status = ?. 4519 * 4520 * <p> 4521 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4522 * </p> 4523 * 4524 * @param groupId the group ID 4525 * @param userId the user ID 4526 * @param displayDate the display date 4527 * @param status the status 4528 * @param start the lower bound of the range of blogs entries 4529 * @param end the upper bound of the range of blogs entries (not inclusive) 4530 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4531 * @return the ordered range of matching blogs entries that the user has permission to view 4532 * @throws SystemException if a system exception occurred 4533 */ 4534 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> filterFindByG_U_LtD_S( 4535 long groupId, long userId, java.util.Date displayDate, int status, 4536 int start, int end, 4537 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4538 throws com.liferay.portal.kernel.exception.SystemException; 4539 4540 /** 4541 * Returns the blogs entries before and after the current blogs entry in the ordered set of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. 4542 * 4543 * @param entryId the primary key of the current blogs entry 4544 * @param groupId the group ID 4545 * @param userId the user ID 4546 * @param displayDate the display date 4547 * @param status the status 4548 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4549 * @return the previous, current, and next blogs entry 4550 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4551 * @throws SystemException if a system exception occurred 4552 */ 4553 public com.liferay.portlet.blogs.model.BlogsEntry[] filterFindByG_U_LtD_S_PrevAndNext( 4554 long entryId, long groupId, long userId, java.util.Date displayDate, 4555 int status, 4556 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4557 throws com.liferay.portal.kernel.exception.SystemException, 4558 com.liferay.portlet.blogs.NoSuchEntryException; 4559 4560 /** 4561 * Removes all the blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ? from the database. 4562 * 4563 * @param groupId the group ID 4564 * @param userId the user ID 4565 * @param displayDate the display date 4566 * @param status the status 4567 * @throws SystemException if a system exception occurred 4568 */ 4569 public void removeByG_U_LtD_S(long groupId, long userId, 4570 java.util.Date displayDate, int status) 4571 throws com.liferay.portal.kernel.exception.SystemException; 4572 4573 /** 4574 * Returns the number of blogs entries where groupId = ? and userId = ? and displayDate < ? and status = ?. 4575 * 4576 * @param groupId the group ID 4577 * @param userId the user ID 4578 * @param displayDate the display date 4579 * @param status the status 4580 * @return the number of matching blogs entries 4581 * @throws SystemException if a system exception occurred 4582 */ 4583 public int countByG_U_LtD_S(long groupId, long userId, 4584 java.util.Date displayDate, int status) 4585 throws com.liferay.portal.kernel.exception.SystemException; 4586 4587 /** 4588 * Returns the number of blogs entries that the user has permission to view where groupId = ? and userId = ? and displayDate < ? and status = ?. 4589 * 4590 * @param groupId the group ID 4591 * @param userId the user ID 4592 * @param displayDate the display date 4593 * @param status the status 4594 * @return the number of matching blogs entries that the user has permission to view 4595 * @throws SystemException if a system exception occurred 4596 */ 4597 public int filterCountByG_U_LtD_S(long groupId, long userId, 4598 java.util.Date displayDate, int status) 4599 throws com.liferay.portal.kernel.exception.SystemException; 4600 4601 /** 4602 * Caches the blogs entry in the entity cache if it is enabled. 4603 * 4604 * @param blogsEntry the blogs entry 4605 */ 4606 public void cacheResult( 4607 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry); 4608 4609 /** 4610 * Caches the blogs entries in the entity cache if it is enabled. 4611 * 4612 * @param blogsEntries the blogs entries 4613 */ 4614 public void cacheResult( 4615 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries); 4616 4617 /** 4618 * Creates a new blogs entry with the primary key. Does not add the blogs entry to the database. 4619 * 4620 * @param entryId the primary key for the new blogs entry 4621 * @return the new blogs entry 4622 */ 4623 public com.liferay.portlet.blogs.model.BlogsEntry create(long entryId); 4624 4625 /** 4626 * Removes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners. 4627 * 4628 * @param entryId the primary key of the blogs entry 4629 * @return the blogs entry that was removed 4630 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4631 * @throws SystemException if a system exception occurred 4632 */ 4633 public com.liferay.portlet.blogs.model.BlogsEntry remove(long entryId) 4634 throws com.liferay.portal.kernel.exception.SystemException, 4635 com.liferay.portlet.blogs.NoSuchEntryException; 4636 4637 public com.liferay.portlet.blogs.model.BlogsEntry updateImpl( 4638 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) 4639 throws com.liferay.portal.kernel.exception.SystemException; 4640 4641 /** 4642 * Returns the blogs entry with the primary key or throws a {@link com.liferay.portlet.blogs.NoSuchEntryException} if it could not be found. 4643 * 4644 * @param entryId the primary key of the blogs entry 4645 * @return the blogs entry 4646 * @throws com.liferay.portlet.blogs.NoSuchEntryException if a blogs entry with the primary key could not be found 4647 * @throws SystemException if a system exception occurred 4648 */ 4649 public com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey( 4650 long entryId) 4651 throws com.liferay.portal.kernel.exception.SystemException, 4652 com.liferay.portlet.blogs.NoSuchEntryException; 4653 4654 /** 4655 * Returns the blogs entry with the primary key or returns <code>null</code> if it could not be found. 4656 * 4657 * @param entryId the primary key of the blogs entry 4658 * @return the blogs entry, or <code>null</code> if a blogs entry with the primary key could not be found 4659 * @throws SystemException if a system exception occurred 4660 */ 4661 public com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey( 4662 long entryId) 4663 throws com.liferay.portal.kernel.exception.SystemException; 4664 4665 /** 4666 * Returns all the blogs entries. 4667 * 4668 * @return the blogs entries 4669 * @throws SystemException if a system exception occurred 4670 */ 4671 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll() 4672 throws com.liferay.portal.kernel.exception.SystemException; 4673 4674 /** 4675 * Returns a range of all the blogs entries. 4676 * 4677 * <p> 4678 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4679 * </p> 4680 * 4681 * @param start the lower bound of the range of blogs entries 4682 * @param end the upper bound of the range of blogs entries (not inclusive) 4683 * @return the range of blogs entries 4684 * @throws SystemException if a system exception occurred 4685 */ 4686 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll( 4687 int start, int end) 4688 throws com.liferay.portal.kernel.exception.SystemException; 4689 4690 /** 4691 * Returns an ordered range of all the blogs entries. 4692 * 4693 * <p> 4694 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.blogs.model.impl.BlogsEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4695 * </p> 4696 * 4697 * @param start the lower bound of the range of blogs entries 4698 * @param end the upper bound of the range of blogs entries (not inclusive) 4699 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4700 * @return the ordered range of blogs entries 4701 * @throws SystemException if a system exception occurred 4702 */ 4703 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll( 4704 int start, int end, 4705 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 4706 throws com.liferay.portal.kernel.exception.SystemException; 4707 4708 /** 4709 * Removes all the blogs entries from the database. 4710 * 4711 * @throws SystemException if a system exception occurred 4712 */ 4713 public void removeAll() 4714 throws com.liferay.portal.kernel.exception.SystemException; 4715 4716 /** 4717 * Returns the number of blogs entries. 4718 * 4719 * @return the number of blogs entries 4720 * @throws SystemException if a system exception occurred 4721 */ 4722 public int countAll() 4723 throws com.liferay.portal.kernel.exception.SystemException; 4724 }