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