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