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