001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.bookmarks.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.bookmarks.model.BookmarksEntry; 020 021 /** 022 * The persistence interface for the bookmarks entry service. 023 * 024 * <p> 025 * Caching information and settings can be found in <code>portal.properties</code> 026 * </p> 027 * 028 * @author Brian Wing Shun Chan 029 * @see BookmarksEntryPersistenceImpl 030 * @see BookmarksEntryUtil 031 * @generated 032 */ 033 public interface BookmarksEntryPersistence extends BasePersistence<BookmarksEntry> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link BookmarksEntryUtil} to access the bookmarks entry persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Returns all the bookmarks entries where resourceBlockId = ?. 042 * 043 * @param resourceBlockId the resource block ID 044 * @return the matching bookmarks entries 045 * @throws SystemException if a system exception occurred 046 */ 047 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 048 long resourceBlockId) 049 throws com.liferay.portal.kernel.exception.SystemException; 050 051 /** 052 * Returns a range of all the bookmarks entries where resourceBlockId = ?. 053 * 054 * <p> 055 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 056 * </p> 057 * 058 * @param resourceBlockId the resource block ID 059 * @param start the lower bound of the range of bookmarks entries 060 * @param end the upper bound of the range of bookmarks entries (not inclusive) 061 * @return the range of matching bookmarks entries 062 * @throws SystemException if a system exception occurred 063 */ 064 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 065 long resourceBlockId, int start, int end) 066 throws com.liferay.portal.kernel.exception.SystemException; 067 068 /** 069 * Returns an ordered range of all the bookmarks entries where resourceBlockId = ?. 070 * 071 * <p> 072 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 073 * </p> 074 * 075 * @param resourceBlockId the resource block ID 076 * @param start the lower bound of the range of bookmarks entries 077 * @param end the upper bound of the range of bookmarks entries (not inclusive) 078 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 079 * @return the ordered range of matching bookmarks entries 080 * @throws SystemException if a system exception occurred 081 */ 082 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 083 long resourceBlockId, int start, int end, 084 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 085 throws com.liferay.portal.kernel.exception.SystemException; 086 087 /** 088 * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. 089 * 090 * @param resourceBlockId the resource block ID 091 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 092 * @return the first matching bookmarks entry 093 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 094 * @throws SystemException if a system exception occurred 095 */ 096 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First( 097 long resourceBlockId, 098 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 099 throws com.liferay.portal.kernel.exception.SystemException, 100 com.liferay.portlet.bookmarks.NoSuchEntryException; 101 102 /** 103 * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. 104 * 105 * @param resourceBlockId the resource block ID 106 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 107 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 108 * @throws SystemException if a system exception occurred 109 */ 110 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_First( 111 long resourceBlockId, 112 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 113 throws com.liferay.portal.kernel.exception.SystemException; 114 115 /** 116 * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. 117 * 118 * @param resourceBlockId the resource block ID 119 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 120 * @return the last matching bookmarks entry 121 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 122 * @throws SystemException if a system exception occurred 123 */ 124 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last( 125 long resourceBlockId, 126 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 127 throws com.liferay.portal.kernel.exception.SystemException, 128 com.liferay.portlet.bookmarks.NoSuchEntryException; 129 130 /** 131 * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. 132 * 133 * @param resourceBlockId the resource block ID 134 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 135 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 136 * @throws SystemException if a system exception occurred 137 */ 138 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_Last( 139 long resourceBlockId, 140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 141 throws com.liferay.portal.kernel.exception.SystemException; 142 143 /** 144 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = ?. 145 * 146 * @param entryId the primary key of the current bookmarks entry 147 * @param resourceBlockId the resource block ID 148 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 149 * @return the previous, current, and next bookmarks entry 150 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 151 * @throws SystemException if a system exception occurred 152 */ 153 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext( 154 long entryId, long resourceBlockId, 155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 156 throws com.liferay.portal.kernel.exception.SystemException, 157 com.liferay.portlet.bookmarks.NoSuchEntryException; 158 159 /** 160 * Removes all the bookmarks entries where resourceBlockId = ? from the database. 161 * 162 * @param resourceBlockId the resource block ID 163 * @throws SystemException if a system exception occurred 164 */ 165 public void removeByResourceBlockId(long resourceBlockId) 166 throws com.liferay.portal.kernel.exception.SystemException; 167 168 /** 169 * Returns the number of bookmarks entries where resourceBlockId = ?. 170 * 171 * @param resourceBlockId the resource block ID 172 * @return the number of matching bookmarks entries 173 * @throws SystemException if a system exception occurred 174 */ 175 public int countByResourceBlockId(long resourceBlockId) 176 throws com.liferay.portal.kernel.exception.SystemException; 177 178 /** 179 * Returns all the bookmarks entries where uuid = ?. 180 * 181 * @param uuid the uuid 182 * @return the matching bookmarks entries 183 * @throws SystemException if a system exception occurred 184 */ 185 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 186 java.lang.String uuid) 187 throws com.liferay.portal.kernel.exception.SystemException; 188 189 /** 190 * Returns a range of all the bookmarks entries where uuid = ?. 191 * 192 * <p> 193 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 194 * </p> 195 * 196 * @param uuid the uuid 197 * @param start the lower bound of the range of bookmarks entries 198 * @param end the upper bound of the range of bookmarks entries (not inclusive) 199 * @return the range of matching bookmarks entries 200 * @throws SystemException if a system exception occurred 201 */ 202 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 203 java.lang.String uuid, int start, int end) 204 throws com.liferay.portal.kernel.exception.SystemException; 205 206 /** 207 * Returns an ordered range of all the bookmarks entries where uuid = ?. 208 * 209 * <p> 210 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 211 * </p> 212 * 213 * @param uuid the uuid 214 * @param start the lower bound of the range of bookmarks entries 215 * @param end the upper bound of the range of bookmarks entries (not inclusive) 216 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 217 * @return the ordered range of matching bookmarks entries 218 * @throws SystemException if a system exception occurred 219 */ 220 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 221 java.lang.String uuid, int start, int end, 222 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 223 throws com.liferay.portal.kernel.exception.SystemException; 224 225 /** 226 * Returns the first bookmarks entry in the ordered set where uuid = ?. 227 * 228 * @param uuid the uuid 229 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 230 * @return the first matching bookmarks entry 231 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 232 * @throws SystemException if a system exception occurred 233 */ 234 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First( 235 java.lang.String uuid, 236 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 237 throws com.liferay.portal.kernel.exception.SystemException, 238 com.liferay.portlet.bookmarks.NoSuchEntryException; 239 240 /** 241 * Returns the first bookmarks entry in the ordered set where uuid = ?. 242 * 243 * @param uuid the uuid 244 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 245 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 246 * @throws SystemException if a system exception occurred 247 */ 248 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_First( 249 java.lang.String uuid, 250 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 251 throws com.liferay.portal.kernel.exception.SystemException; 252 253 /** 254 * Returns the last bookmarks entry in the ordered set where uuid = ?. 255 * 256 * @param uuid the uuid 257 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 258 * @return the last matching bookmarks entry 259 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 260 * @throws SystemException if a system exception occurred 261 */ 262 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last( 263 java.lang.String uuid, 264 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 265 throws com.liferay.portal.kernel.exception.SystemException, 266 com.liferay.portlet.bookmarks.NoSuchEntryException; 267 268 /** 269 * Returns the last bookmarks entry in the ordered set where uuid = ?. 270 * 271 * @param uuid the uuid 272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 273 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 274 * @throws SystemException if a system exception occurred 275 */ 276 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_Last( 277 java.lang.String uuid, 278 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 279 throws com.liferay.portal.kernel.exception.SystemException; 280 281 /** 282 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ?. 283 * 284 * @param entryId the primary key of the current bookmarks entry 285 * @param uuid the uuid 286 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 287 * @return the previous, current, and next bookmarks entry 288 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 289 * @throws SystemException if a system exception occurred 290 */ 291 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext( 292 long entryId, java.lang.String uuid, 293 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 294 throws com.liferay.portal.kernel.exception.SystemException, 295 com.liferay.portlet.bookmarks.NoSuchEntryException; 296 297 /** 298 * Removes all the bookmarks entries where uuid = ? from the database. 299 * 300 * @param uuid the uuid 301 * @throws SystemException if a system exception occurred 302 */ 303 public void removeByUuid(java.lang.String uuid) 304 throws com.liferay.portal.kernel.exception.SystemException; 305 306 /** 307 * Returns the number of bookmarks entries where uuid = ?. 308 * 309 * @param uuid the uuid 310 * @return the number of matching bookmarks entries 311 * @throws SystemException if a system exception occurred 312 */ 313 public int countByUuid(java.lang.String uuid) 314 throws com.liferay.portal.kernel.exception.SystemException; 315 316 /** 317 * Returns the bookmarks entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 318 * 319 * @param uuid the uuid 320 * @param groupId the group ID 321 * @return the matching bookmarks entry 322 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 323 * @throws SystemException if a system exception occurred 324 */ 325 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G( 326 java.lang.String uuid, long groupId) 327 throws com.liferay.portal.kernel.exception.SystemException, 328 com.liferay.portlet.bookmarks.NoSuchEntryException; 329 330 /** 331 * Returns the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 332 * 333 * @param uuid the uuid 334 * @param groupId the group ID 335 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 336 * @throws SystemException if a system exception occurred 337 */ 338 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 339 java.lang.String uuid, long groupId) 340 throws com.liferay.portal.kernel.exception.SystemException; 341 342 /** 343 * Returns the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 344 * 345 * @param uuid the uuid 346 * @param groupId the group ID 347 * @param retrieveFromCache whether to use the finder cache 348 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 349 * @throws SystemException if a system exception occurred 350 */ 351 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 352 java.lang.String uuid, long groupId, boolean retrieveFromCache) 353 throws com.liferay.portal.kernel.exception.SystemException; 354 355 /** 356 * Removes the bookmarks entry where uuid = ? and groupId = ? from the database. 357 * 358 * @param uuid the uuid 359 * @param groupId the group ID 360 * @return the bookmarks entry that was removed 361 * @throws SystemException if a system exception occurred 362 */ 363 public com.liferay.portlet.bookmarks.model.BookmarksEntry removeByUUID_G( 364 java.lang.String uuid, long groupId) 365 throws com.liferay.portal.kernel.exception.SystemException, 366 com.liferay.portlet.bookmarks.NoSuchEntryException; 367 368 /** 369 * Returns the number of bookmarks entries where uuid = ? and groupId = ?. 370 * 371 * @param uuid the uuid 372 * @param groupId the group ID 373 * @return the number of matching bookmarks entries 374 * @throws SystemException if a system exception occurred 375 */ 376 public int countByUUID_G(java.lang.String uuid, long groupId) 377 throws com.liferay.portal.kernel.exception.SystemException; 378 379 /** 380 * Returns all the bookmarks entries where uuid = ? and companyId = ?. 381 * 382 * @param uuid the uuid 383 * @param companyId the company ID 384 * @return the matching bookmarks entries 385 * @throws SystemException if a system exception occurred 386 */ 387 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 388 java.lang.String uuid, long companyId) 389 throws com.liferay.portal.kernel.exception.SystemException; 390 391 /** 392 * Returns a range of all the bookmarks entries where uuid = ? and companyId = ?. 393 * 394 * <p> 395 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 396 * </p> 397 * 398 * @param uuid the uuid 399 * @param companyId the company ID 400 * @param start the lower bound of the range of bookmarks entries 401 * @param end the upper bound of the range of bookmarks entries (not inclusive) 402 * @return the range of matching bookmarks entries 403 * @throws SystemException if a system exception occurred 404 */ 405 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 406 java.lang.String uuid, long companyId, int start, int end) 407 throws com.liferay.portal.kernel.exception.SystemException; 408 409 /** 410 * Returns an ordered range of all the bookmarks entries where uuid = ? and companyId = ?. 411 * 412 * <p> 413 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 414 * </p> 415 * 416 * @param uuid the uuid 417 * @param companyId the company ID 418 * @param start the lower bound of the range of bookmarks entries 419 * @param end the upper bound of the range of bookmarks entries (not inclusive) 420 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 421 * @return the ordered range of matching bookmarks entries 422 * @throws SystemException if a system exception occurred 423 */ 424 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 425 java.lang.String uuid, long companyId, int start, int end, 426 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 427 throws com.liferay.portal.kernel.exception.SystemException; 428 429 /** 430 * Returns the first bookmarks entry in the ordered set where uuid = ? and companyId = ?. 431 * 432 * @param uuid the uuid 433 * @param companyId the company ID 434 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 435 * @return the first matching bookmarks entry 436 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 437 * @throws SystemException if a system exception occurred 438 */ 439 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_First( 440 java.lang.String uuid, long companyId, 441 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 442 throws com.liferay.portal.kernel.exception.SystemException, 443 com.liferay.portlet.bookmarks.NoSuchEntryException; 444 445 /** 446 * Returns the first bookmarks entry in the ordered set where uuid = ? and companyId = ?. 447 * 448 * @param uuid the uuid 449 * @param companyId the company ID 450 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 451 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 452 * @throws SystemException if a system exception occurred 453 */ 454 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_First( 455 java.lang.String uuid, long companyId, 456 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 457 throws com.liferay.portal.kernel.exception.SystemException; 458 459 /** 460 * Returns the last bookmarks entry in the ordered set where uuid = ? and companyId = ?. 461 * 462 * @param uuid the uuid 463 * @param companyId the company ID 464 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 465 * @return the last matching bookmarks entry 466 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 467 * @throws SystemException if a system exception occurred 468 */ 469 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_Last( 470 java.lang.String uuid, long companyId, 471 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 472 throws com.liferay.portal.kernel.exception.SystemException, 473 com.liferay.portlet.bookmarks.NoSuchEntryException; 474 475 /** 476 * Returns the last bookmarks entry in the ordered set where uuid = ? and companyId = ?. 477 * 478 * @param uuid the uuid 479 * @param companyId the company ID 480 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 481 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 482 * @throws SystemException if a system exception occurred 483 */ 484 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_Last( 485 java.lang.String uuid, long companyId, 486 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 487 throws com.liferay.portal.kernel.exception.SystemException; 488 489 /** 490 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ? and companyId = ?. 491 * 492 * @param entryId the primary key of the current bookmarks entry 493 * @param uuid the uuid 494 * @param companyId the company ID 495 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 496 * @return the previous, current, and next bookmarks entry 497 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 498 * @throws SystemException if a system exception occurred 499 */ 500 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_C_PrevAndNext( 501 long entryId, java.lang.String uuid, long companyId, 502 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 503 throws com.liferay.portal.kernel.exception.SystemException, 504 com.liferay.portlet.bookmarks.NoSuchEntryException; 505 506 /** 507 * Removes all the bookmarks entries where uuid = ? and companyId = ? from the database. 508 * 509 * @param uuid the uuid 510 * @param companyId the company ID 511 * @throws SystemException if a system exception occurred 512 */ 513 public void removeByUuid_C(java.lang.String uuid, long companyId) 514 throws com.liferay.portal.kernel.exception.SystemException; 515 516 /** 517 * Returns the number of bookmarks entries where uuid = ? and companyId = ?. 518 * 519 * @param uuid the uuid 520 * @param companyId the company ID 521 * @return the number of matching bookmarks entries 522 * @throws SystemException if a system exception occurred 523 */ 524 public int countByUuid_C(java.lang.String uuid, long companyId) 525 throws com.liferay.portal.kernel.exception.SystemException; 526 527 /** 528 * Returns all the bookmarks entries where companyId = ?. 529 * 530 * @param companyId the company ID 531 * @return the matching bookmarks entries 532 * @throws SystemException if a system exception occurred 533 */ 534 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId( 535 long companyId) 536 throws com.liferay.portal.kernel.exception.SystemException; 537 538 /** 539 * Returns a range of all the bookmarks entries where companyId = ?. 540 * 541 * <p> 542 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 543 * </p> 544 * 545 * @param companyId the company ID 546 * @param start the lower bound of the range of bookmarks entries 547 * @param end the upper bound of the range of bookmarks entries (not inclusive) 548 * @return the range of matching bookmarks entries 549 * @throws SystemException if a system exception occurred 550 */ 551 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId( 552 long companyId, int start, int end) 553 throws com.liferay.portal.kernel.exception.SystemException; 554 555 /** 556 * Returns an ordered range of all the bookmarks entries where companyId = ?. 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 560 * </p> 561 * 562 * @param companyId the company ID 563 * @param start the lower bound of the range of bookmarks entries 564 * @param end the upper bound of the range of bookmarks entries (not inclusive) 565 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 566 * @return the ordered range of matching bookmarks entries 567 * @throws SystemException if a system exception occurred 568 */ 569 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByCompanyId( 570 long companyId, int start, int end, 571 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 572 throws com.liferay.portal.kernel.exception.SystemException; 573 574 /** 575 * Returns the first bookmarks entry in the ordered set where companyId = ?. 576 * 577 * @param companyId the company ID 578 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 579 * @return the first matching bookmarks entry 580 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 581 * @throws SystemException if a system exception occurred 582 */ 583 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_First( 584 long companyId, 585 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 586 throws com.liferay.portal.kernel.exception.SystemException, 587 com.liferay.portlet.bookmarks.NoSuchEntryException; 588 589 /** 590 * Returns the first bookmarks entry in the ordered set where companyId = ?. 591 * 592 * @param companyId the company ID 593 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 594 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 595 * @throws SystemException if a system exception occurred 596 */ 597 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_First( 598 long companyId, 599 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 600 throws com.liferay.portal.kernel.exception.SystemException; 601 602 /** 603 * Returns the last bookmarks entry in the ordered set where companyId = ?. 604 * 605 * @param companyId the company ID 606 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 607 * @return the last matching bookmarks entry 608 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 609 * @throws SystemException if a system exception occurred 610 */ 611 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByCompanyId_Last( 612 long companyId, 613 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 614 throws com.liferay.portal.kernel.exception.SystemException, 615 com.liferay.portlet.bookmarks.NoSuchEntryException; 616 617 /** 618 * Returns the last bookmarks entry in the ordered set where companyId = ?. 619 * 620 * @param companyId the company ID 621 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 622 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 623 * @throws SystemException if a system exception occurred 624 */ 625 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByCompanyId_Last( 626 long companyId, 627 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 628 throws com.liferay.portal.kernel.exception.SystemException; 629 630 /** 631 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = ?. 632 * 633 * @param entryId the primary key of the current bookmarks entry 634 * @param companyId the company ID 635 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 636 * @return the previous, current, and next bookmarks entry 637 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 638 * @throws SystemException if a system exception occurred 639 */ 640 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByCompanyId_PrevAndNext( 641 long entryId, long companyId, 642 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 643 throws com.liferay.portal.kernel.exception.SystemException, 644 com.liferay.portlet.bookmarks.NoSuchEntryException; 645 646 /** 647 * Removes all the bookmarks entries where companyId = ? from the database. 648 * 649 * @param companyId the company ID 650 * @throws SystemException if a system exception occurred 651 */ 652 public void removeByCompanyId(long companyId) 653 throws com.liferay.portal.kernel.exception.SystemException; 654 655 /** 656 * Returns the number of bookmarks entries where companyId = ?. 657 * 658 * @param companyId the company ID 659 * @return the number of matching bookmarks entries 660 * @throws SystemException if a system exception occurred 661 */ 662 public int countByCompanyId(long companyId) 663 throws com.liferay.portal.kernel.exception.SystemException; 664 665 /** 666 * Returns all the bookmarks entries where groupId = ? and folderId = ?. 667 * 668 * @param groupId the group ID 669 * @param folderId the folder ID 670 * @return the matching bookmarks entries 671 * @throws SystemException if a system exception occurred 672 */ 673 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 674 long groupId, long folderId) 675 throws com.liferay.portal.kernel.exception.SystemException; 676 677 /** 678 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ?. 679 * 680 * <p> 681 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 682 * </p> 683 * 684 * @param groupId the group ID 685 * @param folderId the folder ID 686 * @param start the lower bound of the range of bookmarks entries 687 * @param end the upper bound of the range of bookmarks entries (not inclusive) 688 * @return the range of matching bookmarks entries 689 * @throws SystemException if a system exception occurred 690 */ 691 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 692 long groupId, long folderId, int start, int end) 693 throws com.liferay.portal.kernel.exception.SystemException; 694 695 /** 696 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. 697 * 698 * <p> 699 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 700 * </p> 701 * 702 * @param groupId the group ID 703 * @param folderId the folder ID 704 * @param start the lower bound of the range of bookmarks entries 705 * @param end the upper bound of the range of bookmarks entries (not inclusive) 706 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 707 * @return the ordered range of matching bookmarks entries 708 * @throws SystemException if a system exception occurred 709 */ 710 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 711 long groupId, long folderId, int start, int end, 712 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 713 throws com.liferay.portal.kernel.exception.SystemException; 714 715 /** 716 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 717 * 718 * @param groupId the group ID 719 * @param folderId the folder ID 720 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 721 * @return the first matching bookmarks entry 722 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 723 * @throws SystemException if a system exception occurred 724 */ 725 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First( 726 long groupId, long folderId, 727 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 728 throws com.liferay.portal.kernel.exception.SystemException, 729 com.liferay.portlet.bookmarks.NoSuchEntryException; 730 731 /** 732 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 733 * 734 * @param groupId the group ID 735 * @param folderId the folder ID 736 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 737 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 738 * @throws SystemException if a system exception occurred 739 */ 740 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_First( 741 long groupId, long folderId, 742 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 743 throws com.liferay.portal.kernel.exception.SystemException; 744 745 /** 746 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 747 * 748 * @param groupId the group ID 749 * @param folderId the folder ID 750 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 751 * @return the last matching bookmarks entry 752 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 753 * @throws SystemException if a system exception occurred 754 */ 755 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last( 756 long groupId, long folderId, 757 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 758 throws com.liferay.portal.kernel.exception.SystemException, 759 com.liferay.portlet.bookmarks.NoSuchEntryException; 760 761 /** 762 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 763 * 764 * @param groupId the group ID 765 * @param folderId the folder ID 766 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 767 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 768 * @throws SystemException if a system exception occurred 769 */ 770 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_Last( 771 long groupId, long folderId, 772 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 773 throws com.liferay.portal.kernel.exception.SystemException; 774 775 /** 776 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ?. 777 * 778 * @param entryId the primary key of the current bookmarks entry 779 * @param groupId the group ID 780 * @param folderId the folder ID 781 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 782 * @return the previous, current, and next bookmarks entry 783 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 784 * @throws SystemException if a system exception occurred 785 */ 786 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext( 787 long entryId, long groupId, long folderId, 788 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 789 throws com.liferay.portal.kernel.exception.SystemException, 790 com.liferay.portlet.bookmarks.NoSuchEntryException; 791 792 /** 793 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 794 * 795 * @param groupId the group ID 796 * @param folderId the folder ID 797 * @return the matching bookmarks entries that the user has permission to view 798 * @throws SystemException if a system exception occurred 799 */ 800 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 801 long groupId, long folderId) 802 throws com.liferay.portal.kernel.exception.SystemException; 803 804 /** 805 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 806 * 807 * <p> 808 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 809 * </p> 810 * 811 * @param groupId the group ID 812 * @param folderId the folder ID 813 * @param start the lower bound of the range of bookmarks entries 814 * @param end the upper bound of the range of bookmarks entries (not inclusive) 815 * @return the range of matching bookmarks entries that the user has permission to view 816 * @throws SystemException if a system exception occurred 817 */ 818 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 819 long groupId, long folderId, int start, int end) 820 throws com.liferay.portal.kernel.exception.SystemException; 821 822 /** 823 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ?. 824 * 825 * <p> 826 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 827 * </p> 828 * 829 * @param groupId the group ID 830 * @param folderId the folder ID 831 * @param start the lower bound of the range of bookmarks entries 832 * @param end the upper bound of the range of bookmarks entries (not inclusive) 833 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 834 * @return the ordered range of matching bookmarks entries that the user has permission to view 835 * @throws SystemException if a system exception occurred 836 */ 837 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 838 long groupId, long folderId, int start, int end, 839 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 840 throws com.liferay.portal.kernel.exception.SystemException; 841 842 /** 843 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 844 * 845 * @param entryId the primary key of the current bookmarks entry 846 * @param groupId the group ID 847 * @param folderId the folder ID 848 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 849 * @return the previous, current, and next bookmarks entry 850 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 851 * @throws SystemException if a system exception occurred 852 */ 853 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext( 854 long entryId, long groupId, long folderId, 855 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 856 throws com.liferay.portal.kernel.exception.SystemException, 857 com.liferay.portlet.bookmarks.NoSuchEntryException; 858 859 /** 860 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 861 * 862 * @param groupId the group ID 863 * @param folderIds the folder IDs 864 * @return the matching bookmarks entries that the user has permission to view 865 * @throws SystemException if a system exception occurred 866 */ 867 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 868 long groupId, long[] folderIds) 869 throws com.liferay.portal.kernel.exception.SystemException; 870 871 /** 872 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 873 * 874 * <p> 875 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 876 * </p> 877 * 878 * @param groupId the group ID 879 * @param folderIds the folder IDs 880 * @param start the lower bound of the range of bookmarks entries 881 * @param end the upper bound of the range of bookmarks entries (not inclusive) 882 * @return the range of matching bookmarks entries that the user has permission to view 883 * @throws SystemException if a system exception occurred 884 */ 885 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 886 long groupId, long[] folderIds, int start, int end) 887 throws com.liferay.portal.kernel.exception.SystemException; 888 889 /** 890 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 891 * 892 * <p> 893 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 894 * </p> 895 * 896 * @param groupId the group ID 897 * @param folderIds the folder IDs 898 * @param start the lower bound of the range of bookmarks entries 899 * @param end the upper bound of the range of bookmarks entries (not inclusive) 900 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 901 * @return the ordered range of matching bookmarks entries that the user has permission to view 902 * @throws SystemException if a system exception occurred 903 */ 904 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 905 long groupId, long[] folderIds, int start, int end, 906 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 907 throws com.liferay.portal.kernel.exception.SystemException; 908 909 /** 910 * Returns all the bookmarks entries where groupId = ? and folderId = any ?. 911 * 912 * <p> 913 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 914 * </p> 915 * 916 * @param groupId the group ID 917 * @param folderIds the folder IDs 918 * @return the matching bookmarks entries 919 * @throws SystemException if a system exception occurred 920 */ 921 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 922 long groupId, long[] folderIds) 923 throws com.liferay.portal.kernel.exception.SystemException; 924 925 /** 926 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ?. 927 * 928 * <p> 929 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 930 * </p> 931 * 932 * @param groupId the group ID 933 * @param folderIds the folder IDs 934 * @param start the lower bound of the range of bookmarks entries 935 * @param end the upper bound of the range of bookmarks entries (not inclusive) 936 * @return the range of matching bookmarks entries 937 * @throws SystemException if a system exception occurred 938 */ 939 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 940 long groupId, long[] folderIds, int start, int end) 941 throws com.liferay.portal.kernel.exception.SystemException; 942 943 /** 944 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ?. 945 * 946 * <p> 947 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 948 * </p> 949 * 950 * @param groupId the group ID 951 * @param folderIds the folder IDs 952 * @param start the lower bound of the range of bookmarks entries 953 * @param end the upper bound of the range of bookmarks entries (not inclusive) 954 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 955 * @return the ordered range of matching bookmarks entries 956 * @throws SystemException if a system exception occurred 957 */ 958 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 959 long groupId, long[] folderIds, int start, int end, 960 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 961 throws com.liferay.portal.kernel.exception.SystemException; 962 963 /** 964 * Removes all the bookmarks entries where groupId = ? and folderId = ? from the database. 965 * 966 * @param groupId the group ID 967 * @param folderId the folder ID 968 * @throws SystemException if a system exception occurred 969 */ 970 public void removeByG_F(long groupId, long folderId) 971 throws com.liferay.portal.kernel.exception.SystemException; 972 973 /** 974 * Returns the number of bookmarks entries where groupId = ? and folderId = ?. 975 * 976 * @param groupId the group ID 977 * @param folderId the folder ID 978 * @return the number of matching bookmarks entries 979 * @throws SystemException if a system exception occurred 980 */ 981 public int countByG_F(long groupId, long folderId) 982 throws com.liferay.portal.kernel.exception.SystemException; 983 984 /** 985 * Returns the number of bookmarks entries where groupId = ? and folderId = any ?. 986 * 987 * @param groupId the group ID 988 * @param folderIds the folder IDs 989 * @return the number of matching bookmarks entries 990 * @throws SystemException if a system exception occurred 991 */ 992 public int countByG_F(long groupId, long[] folderIds) 993 throws com.liferay.portal.kernel.exception.SystemException; 994 995 /** 996 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 997 * 998 * @param groupId the group ID 999 * @param folderId the folder ID 1000 * @return the number of matching bookmarks entries that the user has permission to view 1001 * @throws SystemException if a system exception occurred 1002 */ 1003 public int filterCountByG_F(long groupId, long folderId) 1004 throws com.liferay.portal.kernel.exception.SystemException; 1005 1006 /** 1007 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 1008 * 1009 * @param groupId the group ID 1010 * @param folderIds the folder IDs 1011 * @return the number of matching bookmarks entries that the user has permission to view 1012 * @throws SystemException if a system exception occurred 1013 */ 1014 public int filterCountByG_F(long groupId, long[] folderIds) 1015 throws com.liferay.portal.kernel.exception.SystemException; 1016 1017 /** 1018 * Returns all the bookmarks entries where groupId = ? and status = ?. 1019 * 1020 * @param groupId the group ID 1021 * @param status the status 1022 * @return the matching bookmarks entries 1023 * @throws SystemException if a system exception occurred 1024 */ 1025 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S( 1026 long groupId, int status) 1027 throws com.liferay.portal.kernel.exception.SystemException; 1028 1029 /** 1030 * Returns a range of all the bookmarks entries where groupId = ? and status = ?. 1031 * 1032 * <p> 1033 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1034 * </p> 1035 * 1036 * @param groupId the group ID 1037 * @param status the status 1038 * @param start the lower bound of the range of bookmarks entries 1039 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1040 * @return the range of matching bookmarks entries 1041 * @throws SystemException if a system exception occurred 1042 */ 1043 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S( 1044 long groupId, int status, int start, int end) 1045 throws com.liferay.portal.kernel.exception.SystemException; 1046 1047 /** 1048 * Returns an ordered range of all the bookmarks entries where groupId = ? and status = ?. 1049 * 1050 * <p> 1051 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1052 * </p> 1053 * 1054 * @param groupId the group ID 1055 * @param status the status 1056 * @param start the lower bound of the range of bookmarks entries 1057 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1058 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1059 * @return the ordered range of matching bookmarks entries 1060 * @throws SystemException if a system exception occurred 1061 */ 1062 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_S( 1063 long groupId, int status, int start, int end, 1064 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1065 throws com.liferay.portal.kernel.exception.SystemException; 1066 1067 /** 1068 * Returns the first bookmarks entry in the ordered set where groupId = ? and status = ?. 1069 * 1070 * @param groupId the group ID 1071 * @param status the status 1072 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1073 * @return the first matching bookmarks entry 1074 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1075 * @throws SystemException if a system exception occurred 1076 */ 1077 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_First( 1078 long groupId, int status, 1079 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1080 throws com.liferay.portal.kernel.exception.SystemException, 1081 com.liferay.portlet.bookmarks.NoSuchEntryException; 1082 1083 /** 1084 * Returns the first bookmarks entry in the ordered set where groupId = ? and status = ?. 1085 * 1086 * @param groupId the group ID 1087 * @param status the status 1088 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1089 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1090 * @throws SystemException if a system exception occurred 1091 */ 1092 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_First( 1093 long groupId, int status, 1094 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1095 throws com.liferay.portal.kernel.exception.SystemException; 1096 1097 /** 1098 * Returns the last bookmarks entry in the ordered set where groupId = ? and status = ?. 1099 * 1100 * @param groupId the group ID 1101 * @param status the status 1102 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1103 * @return the last matching bookmarks entry 1104 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1105 * @throws SystemException if a system exception occurred 1106 */ 1107 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_S_Last( 1108 long groupId, int status, 1109 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1110 throws com.liferay.portal.kernel.exception.SystemException, 1111 com.liferay.portlet.bookmarks.NoSuchEntryException; 1112 1113 /** 1114 * Returns the last bookmarks entry in the ordered set where groupId = ? and status = ?. 1115 * 1116 * @param groupId the group ID 1117 * @param status the status 1118 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1119 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1120 * @throws SystemException if a system exception occurred 1121 */ 1122 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_S_Last( 1123 long groupId, int status, 1124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1125 throws com.liferay.portal.kernel.exception.SystemException; 1126 1127 /** 1128 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and status = ?. 1129 * 1130 * @param entryId the primary key of the current bookmarks entry 1131 * @param groupId the group ID 1132 * @param status the status 1133 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1134 * @return the previous, current, and next bookmarks entry 1135 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1136 * @throws SystemException if a system exception occurred 1137 */ 1138 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_S_PrevAndNext( 1139 long entryId, long groupId, int status, 1140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1141 throws com.liferay.portal.kernel.exception.SystemException, 1142 com.liferay.portlet.bookmarks.NoSuchEntryException; 1143 1144 /** 1145 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1146 * 1147 * @param groupId the group ID 1148 * @param status the status 1149 * @return the matching bookmarks entries that the user has permission to view 1150 * @throws SystemException if a system exception occurred 1151 */ 1152 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S( 1153 long groupId, int status) 1154 throws com.liferay.portal.kernel.exception.SystemException; 1155 1156 /** 1157 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1158 * 1159 * <p> 1160 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1161 * </p> 1162 * 1163 * @param groupId the group ID 1164 * @param status the status 1165 * @param start the lower bound of the range of bookmarks entries 1166 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1167 * @return the range of matching bookmarks entries that the user has permission to view 1168 * @throws SystemException if a system exception occurred 1169 */ 1170 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S( 1171 long groupId, int status, int start, int end) 1172 throws com.liferay.portal.kernel.exception.SystemException; 1173 1174 /** 1175 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and status = ?. 1176 * 1177 * <p> 1178 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1179 * </p> 1180 * 1181 * @param groupId the group ID 1182 * @param status the status 1183 * @param start the lower bound of the range of bookmarks entries 1184 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1185 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1186 * @return the ordered range of matching bookmarks entries that the user has permission to view 1187 * @throws SystemException if a system exception occurred 1188 */ 1189 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_S( 1190 long groupId, int status, int start, int end, 1191 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1192 throws com.liferay.portal.kernel.exception.SystemException; 1193 1194 /** 1195 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1196 * 1197 * @param entryId the primary key of the current bookmarks entry 1198 * @param groupId the group ID 1199 * @param status the status 1200 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1201 * @return the previous, current, and next bookmarks entry 1202 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1203 * @throws SystemException if a system exception occurred 1204 */ 1205 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_S_PrevAndNext( 1206 long entryId, long groupId, int status, 1207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1208 throws com.liferay.portal.kernel.exception.SystemException, 1209 com.liferay.portlet.bookmarks.NoSuchEntryException; 1210 1211 /** 1212 * Removes all the bookmarks entries where groupId = ? and status = ? from the database. 1213 * 1214 * @param groupId the group ID 1215 * @param status the status 1216 * @throws SystemException if a system exception occurred 1217 */ 1218 public void removeByG_S(long groupId, int status) 1219 throws com.liferay.portal.kernel.exception.SystemException; 1220 1221 /** 1222 * Returns the number of bookmarks entries where groupId = ? and status = ?. 1223 * 1224 * @param groupId the group ID 1225 * @param status the status 1226 * @return the number of matching bookmarks entries 1227 * @throws SystemException if a system exception occurred 1228 */ 1229 public int countByG_S(long groupId, int status) 1230 throws com.liferay.portal.kernel.exception.SystemException; 1231 1232 /** 1233 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and status = ?. 1234 * 1235 * @param groupId the group ID 1236 * @param status the status 1237 * @return the number of matching bookmarks entries that the user has permission to view 1238 * @throws SystemException if a system exception occurred 1239 */ 1240 public int filterCountByG_S(long groupId, int status) 1241 throws com.liferay.portal.kernel.exception.SystemException; 1242 1243 /** 1244 * Returns all the bookmarks entries where groupId = ? and status ≠ ?. 1245 * 1246 * @param groupId the group ID 1247 * @param status the status 1248 * @return the matching bookmarks entries 1249 * @throws SystemException if a system exception occurred 1250 */ 1251 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS( 1252 long groupId, int status) 1253 throws com.liferay.portal.kernel.exception.SystemException; 1254 1255 /** 1256 * Returns a range of all the bookmarks entries where groupId = ? and status ≠ ?. 1257 * 1258 * <p> 1259 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1260 * </p> 1261 * 1262 * @param groupId the group ID 1263 * @param status the status 1264 * @param start the lower bound of the range of bookmarks entries 1265 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1266 * @return the range of matching bookmarks entries 1267 * @throws SystemException if a system exception occurred 1268 */ 1269 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS( 1270 long groupId, int status, int start, int end) 1271 throws com.liferay.portal.kernel.exception.SystemException; 1272 1273 /** 1274 * Returns an ordered range of all the bookmarks entries where groupId = ? 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1278 * </p> 1279 * 1280 * @param groupId the group ID 1281 * @param status the status 1282 * @param start the lower bound of the range of bookmarks entries 1283 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1284 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1285 * @return the ordered range of matching bookmarks entries 1286 * @throws SystemException if a system exception occurred 1287 */ 1288 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_NotS( 1289 long groupId, int status, int start, int end, 1290 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1291 throws com.liferay.portal.kernel.exception.SystemException; 1292 1293 /** 1294 * Returns the first bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1295 * 1296 * @param groupId the group ID 1297 * @param status the status 1298 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1299 * @return the first matching bookmarks entry 1300 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1301 * @throws SystemException if a system exception occurred 1302 */ 1303 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_First( 1304 long groupId, int status, 1305 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1306 throws com.liferay.portal.kernel.exception.SystemException, 1307 com.liferay.portlet.bookmarks.NoSuchEntryException; 1308 1309 /** 1310 * Returns the first bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1311 * 1312 * @param groupId the group ID 1313 * @param status the status 1314 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1315 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1316 * @throws SystemException if a system exception occurred 1317 */ 1318 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_First( 1319 long groupId, int status, 1320 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1321 throws com.liferay.portal.kernel.exception.SystemException; 1322 1323 /** 1324 * Returns the last bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1325 * 1326 * @param groupId the group ID 1327 * @param status the status 1328 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1329 * @return the last matching bookmarks entry 1330 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1331 * @throws SystemException if a system exception occurred 1332 */ 1333 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_NotS_Last( 1334 long groupId, int status, 1335 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1336 throws com.liferay.portal.kernel.exception.SystemException, 1337 com.liferay.portlet.bookmarks.NoSuchEntryException; 1338 1339 /** 1340 * Returns the last bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1341 * 1342 * @param groupId the group ID 1343 * @param status the status 1344 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1345 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1346 * @throws SystemException if a system exception occurred 1347 */ 1348 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_NotS_Last( 1349 long groupId, int status, 1350 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1351 throws com.liferay.portal.kernel.exception.SystemException; 1352 1353 /** 1354 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and status ≠ ?. 1355 * 1356 * @param entryId the primary key of the current bookmarks entry 1357 * @param groupId the group ID 1358 * @param status the status 1359 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1360 * @return the previous, current, and next bookmarks entry 1361 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1362 * @throws SystemException if a system exception occurred 1363 */ 1364 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_NotS_PrevAndNext( 1365 long entryId, long groupId, int status, 1366 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1367 throws com.liferay.portal.kernel.exception.SystemException, 1368 com.liferay.portlet.bookmarks.NoSuchEntryException; 1369 1370 /** 1371 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1372 * 1373 * @param groupId the group ID 1374 * @param status the status 1375 * @return the matching bookmarks entries that the user has permission to view 1376 * @throws SystemException if a system exception occurred 1377 */ 1378 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS( 1379 long groupId, int status) 1380 throws com.liferay.portal.kernel.exception.SystemException; 1381 1382 /** 1383 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1384 * 1385 * <p> 1386 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1387 * </p> 1388 * 1389 * @param groupId the group ID 1390 * @param status the status 1391 * @param start the lower bound of the range of bookmarks entries 1392 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1393 * @return the range of matching bookmarks entries that the user has permission to view 1394 * @throws SystemException if a system exception occurred 1395 */ 1396 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS( 1397 long groupId, int status, int start, int end) 1398 throws com.liferay.portal.kernel.exception.SystemException; 1399 1400 /** 1401 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and status ≠ ?. 1402 * 1403 * <p> 1404 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1405 * </p> 1406 * 1407 * @param groupId the group ID 1408 * @param status the status 1409 * @param start the lower bound of the range of bookmarks entries 1410 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1411 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1412 * @return the ordered range of matching bookmarks entries that the user has permission to view 1413 * @throws SystemException if a system exception occurred 1414 */ 1415 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_NotS( 1416 long groupId, int status, int start, int end, 1417 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1418 throws com.liferay.portal.kernel.exception.SystemException; 1419 1420 /** 1421 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1422 * 1423 * @param entryId the primary key of the current bookmarks entry 1424 * @param groupId the group ID 1425 * @param status the status 1426 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1427 * @return the previous, current, and next bookmarks entry 1428 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1429 * @throws SystemException if a system exception occurred 1430 */ 1431 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_NotS_PrevAndNext( 1432 long entryId, long groupId, int status, 1433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1434 throws com.liferay.portal.kernel.exception.SystemException, 1435 com.liferay.portlet.bookmarks.NoSuchEntryException; 1436 1437 /** 1438 * Removes all the bookmarks entries where groupId = ? and status ≠ ? from the database. 1439 * 1440 * @param groupId the group ID 1441 * @param status the status 1442 * @throws SystemException if a system exception occurred 1443 */ 1444 public void removeByG_NotS(long groupId, int status) 1445 throws com.liferay.portal.kernel.exception.SystemException; 1446 1447 /** 1448 * Returns the number of bookmarks entries where groupId = ? and status ≠ ?. 1449 * 1450 * @param groupId the group ID 1451 * @param status the status 1452 * @return the number of matching bookmarks entries 1453 * @throws SystemException if a system exception occurred 1454 */ 1455 public int countByG_NotS(long groupId, int status) 1456 throws com.liferay.portal.kernel.exception.SystemException; 1457 1458 /** 1459 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and status ≠ ?. 1460 * 1461 * @param groupId the group ID 1462 * @param status the status 1463 * @return the number of matching bookmarks entries that the user has permission to view 1464 * @throws SystemException if a system exception occurred 1465 */ 1466 public int filterCountByG_NotS(long groupId, int status) 1467 throws com.liferay.portal.kernel.exception.SystemException; 1468 1469 /** 1470 * Returns all the bookmarks entries where companyId = ? and status ≠ ?. 1471 * 1472 * @param companyId the company ID 1473 * @param status the status 1474 * @return the matching bookmarks entries 1475 * @throws SystemException if a system exception occurred 1476 */ 1477 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS( 1478 long companyId, int status) 1479 throws com.liferay.portal.kernel.exception.SystemException; 1480 1481 /** 1482 * Returns a range of all the bookmarks entries where companyId = ? and status ≠ ?. 1483 * 1484 * <p> 1485 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1486 * </p> 1487 * 1488 * @param companyId the company ID 1489 * @param status the status 1490 * @param start the lower bound of the range of bookmarks entries 1491 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1492 * @return the range of matching bookmarks entries 1493 * @throws SystemException if a system exception occurred 1494 */ 1495 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS( 1496 long companyId, int status, int start, int end) 1497 throws com.liferay.portal.kernel.exception.SystemException; 1498 1499 /** 1500 * Returns an ordered range of all the bookmarks entries where companyId = ? and status ≠ ?. 1501 * 1502 * <p> 1503 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1504 * </p> 1505 * 1506 * @param companyId the company ID 1507 * @param status the status 1508 * @param start the lower bound of the range of bookmarks entries 1509 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1510 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1511 * @return the ordered range of matching bookmarks entries 1512 * @throws SystemException if a system exception occurred 1513 */ 1514 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByC_NotS( 1515 long companyId, int status, int start, int end, 1516 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1517 throws com.liferay.portal.kernel.exception.SystemException; 1518 1519 /** 1520 * Returns the first bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1521 * 1522 * @param companyId the company ID 1523 * @param status the status 1524 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1525 * @return the first matching bookmarks entry 1526 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1527 * @throws SystemException if a system exception occurred 1528 */ 1529 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_First( 1530 long companyId, int status, 1531 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1532 throws com.liferay.portal.kernel.exception.SystemException, 1533 com.liferay.portlet.bookmarks.NoSuchEntryException; 1534 1535 /** 1536 * Returns the first bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1537 * 1538 * @param companyId the company ID 1539 * @param status the status 1540 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1541 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1542 * @throws SystemException if a system exception occurred 1543 */ 1544 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_First( 1545 long companyId, int status, 1546 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1547 throws com.liferay.portal.kernel.exception.SystemException; 1548 1549 /** 1550 * Returns the last bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1551 * 1552 * @param companyId the company ID 1553 * @param status the status 1554 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1555 * @return the last matching bookmarks entry 1556 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1557 * @throws SystemException if a system exception occurred 1558 */ 1559 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByC_NotS_Last( 1560 long companyId, int status, 1561 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1562 throws com.liferay.portal.kernel.exception.SystemException, 1563 com.liferay.portlet.bookmarks.NoSuchEntryException; 1564 1565 /** 1566 * Returns the last bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1567 * 1568 * @param companyId the company ID 1569 * @param status the status 1570 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1571 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1572 * @throws SystemException if a system exception occurred 1573 */ 1574 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByC_NotS_Last( 1575 long companyId, int status, 1576 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1577 throws com.liferay.portal.kernel.exception.SystemException; 1578 1579 /** 1580 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where companyId = ? and status ≠ ?. 1581 * 1582 * @param entryId the primary key of the current bookmarks entry 1583 * @param companyId the company ID 1584 * @param status the status 1585 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1586 * @return the previous, current, and next bookmarks entry 1587 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1588 * @throws SystemException if a system exception occurred 1589 */ 1590 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByC_NotS_PrevAndNext( 1591 long entryId, long companyId, int status, 1592 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1593 throws com.liferay.portal.kernel.exception.SystemException, 1594 com.liferay.portlet.bookmarks.NoSuchEntryException; 1595 1596 /** 1597 * Removes all the bookmarks entries where companyId = ? and status ≠ ? from the database. 1598 * 1599 * @param companyId the company ID 1600 * @param status the status 1601 * @throws SystemException if a system exception occurred 1602 */ 1603 public void removeByC_NotS(long companyId, int status) 1604 throws com.liferay.portal.kernel.exception.SystemException; 1605 1606 /** 1607 * Returns the number of bookmarks entries where companyId = ? and status ≠ ?. 1608 * 1609 * @param companyId the company ID 1610 * @param status the status 1611 * @return the number of matching bookmarks entries 1612 * @throws SystemException if a system exception occurred 1613 */ 1614 public int countByC_NotS(long companyId, int status) 1615 throws com.liferay.portal.kernel.exception.SystemException; 1616 1617 /** 1618 * Returns all the bookmarks entries where groupId = ? and userId = ? and status = ?. 1619 * 1620 * @param groupId the group ID 1621 * @param userId the user ID 1622 * @param status the status 1623 * @return the matching bookmarks entries 1624 * @throws SystemException if a system exception occurred 1625 */ 1626 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S( 1627 long groupId, long userId, int status) 1628 throws com.liferay.portal.kernel.exception.SystemException; 1629 1630 /** 1631 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and status = ?. 1632 * 1633 * <p> 1634 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1635 * </p> 1636 * 1637 * @param groupId the group ID 1638 * @param userId the user ID 1639 * @param status the status 1640 * @param start the lower bound of the range of bookmarks entries 1641 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1642 * @return the range of matching bookmarks entries 1643 * @throws SystemException if a system exception occurred 1644 */ 1645 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S( 1646 long groupId, long userId, int status, int start, int end) 1647 throws com.liferay.portal.kernel.exception.SystemException; 1648 1649 /** 1650 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and status = ?. 1651 * 1652 * <p> 1653 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1654 * </p> 1655 * 1656 * @param groupId the group ID 1657 * @param userId the user ID 1658 * @param status the status 1659 * @param start the lower bound of the range of bookmarks entries 1660 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1661 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1662 * @return the ordered range of matching bookmarks entries 1663 * @throws SystemException if a system exception occurred 1664 */ 1665 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_S( 1666 long groupId, long userId, int status, int start, int end, 1667 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1668 throws com.liferay.portal.kernel.exception.SystemException; 1669 1670 /** 1671 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1672 * 1673 * @param groupId the group ID 1674 * @param userId the user ID 1675 * @param status the status 1676 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1677 * @return the first matching bookmarks entry 1678 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1679 * @throws SystemException if a system exception occurred 1680 */ 1681 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_S_First( 1682 long groupId, long userId, int status, 1683 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1684 throws com.liferay.portal.kernel.exception.SystemException, 1685 com.liferay.portlet.bookmarks.NoSuchEntryException; 1686 1687 /** 1688 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1689 * 1690 * @param groupId the group ID 1691 * @param userId the user ID 1692 * @param status the status 1693 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1694 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1695 * @throws SystemException if a system exception occurred 1696 */ 1697 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_S_First( 1698 long groupId, long userId, int status, 1699 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1700 throws com.liferay.portal.kernel.exception.SystemException; 1701 1702 /** 1703 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1704 * 1705 * @param groupId the group ID 1706 * @param userId the user ID 1707 * @param status the status 1708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1709 * @return the last matching bookmarks entry 1710 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1711 * @throws SystemException if a system exception occurred 1712 */ 1713 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_S_Last( 1714 long groupId, long userId, int status, 1715 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1716 throws com.liferay.portal.kernel.exception.SystemException, 1717 com.liferay.portlet.bookmarks.NoSuchEntryException; 1718 1719 /** 1720 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1721 * 1722 * @param groupId the group ID 1723 * @param userId the user ID 1724 * @param status the status 1725 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1726 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1727 * @throws SystemException if a system exception occurred 1728 */ 1729 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_S_Last( 1730 long groupId, long userId, int status, 1731 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1732 throws com.liferay.portal.kernel.exception.SystemException; 1733 1734 /** 1735 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and status = ?. 1736 * 1737 * @param entryId the primary key of the current bookmarks entry 1738 * @param groupId the group ID 1739 * @param userId the user ID 1740 * @param status the status 1741 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1742 * @return the previous, current, and next bookmarks entry 1743 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1744 * @throws SystemException if a system exception occurred 1745 */ 1746 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_S_PrevAndNext( 1747 long entryId, long groupId, long userId, int status, 1748 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1749 throws com.liferay.portal.kernel.exception.SystemException, 1750 com.liferay.portlet.bookmarks.NoSuchEntryException; 1751 1752 /** 1753 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1754 * 1755 * @param groupId the group ID 1756 * @param userId the user ID 1757 * @param status the status 1758 * @return the matching bookmarks entries that the user has permission to view 1759 * @throws SystemException if a system exception occurred 1760 */ 1761 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S( 1762 long groupId, long userId, int status) 1763 throws com.liferay.portal.kernel.exception.SystemException; 1764 1765 /** 1766 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1767 * 1768 * <p> 1769 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1770 * </p> 1771 * 1772 * @param groupId the group ID 1773 * @param userId the user ID 1774 * @param status the status 1775 * @param start the lower bound of the range of bookmarks entries 1776 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1777 * @return the range of matching bookmarks entries that the user has permission to view 1778 * @throws SystemException if a system exception occurred 1779 */ 1780 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S( 1781 long groupId, long userId, int status, int start, int end) 1782 throws com.liferay.portal.kernel.exception.SystemException; 1783 1784 /** 1785 * Returns an ordered range of all the bookmarks entries that the user has permissions to view 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1789 * </p> 1790 * 1791 * @param groupId the group ID 1792 * @param userId the user ID 1793 * @param status the status 1794 * @param start the lower bound of the range of bookmarks entries 1795 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1796 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1797 * @return the ordered range of matching bookmarks entries that the user has permission to view 1798 * @throws SystemException if a system exception occurred 1799 */ 1800 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_S( 1801 long groupId, long userId, int status, int start, int end, 1802 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1803 throws com.liferay.portal.kernel.exception.SystemException; 1804 1805 /** 1806 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1807 * 1808 * @param entryId the primary key of the current bookmarks entry 1809 * @param groupId the group ID 1810 * @param userId the user ID 1811 * @param status the status 1812 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1813 * @return the previous, current, and next bookmarks entry 1814 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1815 * @throws SystemException if a system exception occurred 1816 */ 1817 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_S_PrevAndNext( 1818 long entryId, long groupId, long userId, int status, 1819 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1820 throws com.liferay.portal.kernel.exception.SystemException, 1821 com.liferay.portlet.bookmarks.NoSuchEntryException; 1822 1823 /** 1824 * Removes all the bookmarks entries where groupId = ? and userId = ? and status = ? from the database. 1825 * 1826 * @param groupId the group ID 1827 * @param userId the user ID 1828 * @param status the status 1829 * @throws SystemException if a system exception occurred 1830 */ 1831 public void removeByG_U_S(long groupId, long userId, int status) 1832 throws com.liferay.portal.kernel.exception.SystemException; 1833 1834 /** 1835 * Returns the number of bookmarks entries where groupId = ? and userId = ? and status = ?. 1836 * 1837 * @param groupId the group ID 1838 * @param userId the user ID 1839 * @param status the status 1840 * @return the number of matching bookmarks entries 1841 * @throws SystemException if a system exception occurred 1842 */ 1843 public int countByG_U_S(long groupId, long userId, int status) 1844 throws com.liferay.portal.kernel.exception.SystemException; 1845 1846 /** 1847 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status = ?. 1848 * 1849 * @param groupId the group ID 1850 * @param userId the user ID 1851 * @param status the status 1852 * @return the number of matching bookmarks entries that the user has permission to view 1853 * @throws SystemException if a system exception occurred 1854 */ 1855 public int filterCountByG_U_S(long groupId, long userId, int status) 1856 throws com.liferay.portal.kernel.exception.SystemException; 1857 1858 /** 1859 * Returns all the bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1860 * 1861 * @param groupId the group ID 1862 * @param userId the user ID 1863 * @param status the status 1864 * @return the matching bookmarks entries 1865 * @throws SystemException if a system exception occurred 1866 */ 1867 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS( 1868 long groupId, long userId, int status) 1869 throws com.liferay.portal.kernel.exception.SystemException; 1870 1871 /** 1872 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1873 * 1874 * <p> 1875 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1876 * </p> 1877 * 1878 * @param groupId the group ID 1879 * @param userId the user ID 1880 * @param status the status 1881 * @param start the lower bound of the range of bookmarks entries 1882 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1883 * @return the range of matching bookmarks entries 1884 * @throws SystemException if a system exception occurred 1885 */ 1886 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS( 1887 long groupId, long userId, int status, int start, int end) 1888 throws com.liferay.portal.kernel.exception.SystemException; 1889 1890 /** 1891 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 1892 * 1893 * <p> 1894 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1895 * </p> 1896 * 1897 * @param groupId the group ID 1898 * @param userId the user ID 1899 * @param status the status 1900 * @param start the lower bound of the range of bookmarks entries 1901 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1902 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1903 * @return the ordered range of matching bookmarks entries 1904 * @throws SystemException if a system exception occurred 1905 */ 1906 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_NotS( 1907 long groupId, long userId, int status, int start, int end, 1908 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1909 throws com.liferay.portal.kernel.exception.SystemException; 1910 1911 /** 1912 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1913 * 1914 * @param groupId the group ID 1915 * @param userId the user ID 1916 * @param status the status 1917 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1918 * @return the first matching bookmarks entry 1919 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1920 * @throws SystemException if a system exception occurred 1921 */ 1922 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_NotS_First( 1923 long groupId, long userId, int status, 1924 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1925 throws com.liferay.portal.kernel.exception.SystemException, 1926 com.liferay.portlet.bookmarks.NoSuchEntryException; 1927 1928 /** 1929 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1930 * 1931 * @param groupId the group ID 1932 * @param userId the user ID 1933 * @param status the status 1934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1935 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1936 * @throws SystemException if a system exception occurred 1937 */ 1938 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_NotS_First( 1939 long groupId, long userId, int status, 1940 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1941 throws com.liferay.portal.kernel.exception.SystemException; 1942 1943 /** 1944 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1945 * 1946 * @param groupId the group ID 1947 * @param userId the user ID 1948 * @param status the status 1949 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1950 * @return the last matching bookmarks entry 1951 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 1952 * @throws SystemException if a system exception occurred 1953 */ 1954 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_NotS_Last( 1955 long groupId, long userId, int status, 1956 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1957 throws com.liferay.portal.kernel.exception.SystemException, 1958 com.liferay.portlet.bookmarks.NoSuchEntryException; 1959 1960 /** 1961 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1962 * 1963 * @param groupId the group ID 1964 * @param userId the user ID 1965 * @param status the status 1966 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1967 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 1968 * @throws SystemException if a system exception occurred 1969 */ 1970 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_NotS_Last( 1971 long groupId, long userId, int status, 1972 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1973 throws com.liferay.portal.kernel.exception.SystemException; 1974 1975 /** 1976 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and status ≠ ?. 1977 * 1978 * @param entryId the primary key of the current bookmarks entry 1979 * @param groupId the group ID 1980 * @param userId the user ID 1981 * @param status the status 1982 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1983 * @return the previous, current, and next bookmarks entry 1984 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1985 * @throws SystemException if a system exception occurred 1986 */ 1987 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_NotS_PrevAndNext( 1988 long entryId, long groupId, long userId, int status, 1989 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1990 throws com.liferay.portal.kernel.exception.SystemException, 1991 com.liferay.portlet.bookmarks.NoSuchEntryException; 1992 1993 /** 1994 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 1995 * 1996 * @param groupId the group ID 1997 * @param userId the user ID 1998 * @param status the status 1999 * @return the matching bookmarks entries that the user has permission to view 2000 * @throws SystemException if a system exception occurred 2001 */ 2002 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS( 2003 long groupId, long userId, int status) 2004 throws com.liferay.portal.kernel.exception.SystemException; 2005 2006 /** 2007 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 2008 * 2009 * <p> 2010 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2011 * </p> 2012 * 2013 * @param groupId the group ID 2014 * @param userId the user ID 2015 * @param status the status 2016 * @param start the lower bound of the range of bookmarks entries 2017 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2018 * @return the range of matching bookmarks entries that the user has permission to view 2019 * @throws SystemException if a system exception occurred 2020 */ 2021 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS( 2022 long groupId, long userId, int status, int start, int end) 2023 throws com.liferay.portal.kernel.exception.SystemException; 2024 2025 /** 2026 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ? and status ≠ ?. 2027 * 2028 * <p> 2029 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2030 * </p> 2031 * 2032 * @param groupId the group ID 2033 * @param userId the user ID 2034 * @param status the status 2035 * @param start the lower bound of the range of bookmarks entries 2036 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2037 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2038 * @return the ordered range of matching bookmarks entries that the user has permission to view 2039 * @throws SystemException if a system exception occurred 2040 */ 2041 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_NotS( 2042 long groupId, long userId, int status, int start, int end, 2043 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2044 throws com.liferay.portal.kernel.exception.SystemException; 2045 2046 /** 2047 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 2048 * 2049 * @param entryId the primary key of the current bookmarks entry 2050 * @param groupId the group ID 2051 * @param userId the user ID 2052 * @param status the status 2053 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2054 * @return the previous, current, and next bookmarks entry 2055 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2056 * @throws SystemException if a system exception occurred 2057 */ 2058 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_NotS_PrevAndNext( 2059 long entryId, long groupId, long userId, int status, 2060 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2061 throws com.liferay.portal.kernel.exception.SystemException, 2062 com.liferay.portlet.bookmarks.NoSuchEntryException; 2063 2064 /** 2065 * Removes all the bookmarks entries where groupId = ? and userId = ? and status ≠ ? from the database. 2066 * 2067 * @param groupId the group ID 2068 * @param userId the user ID 2069 * @param status the status 2070 * @throws SystemException if a system exception occurred 2071 */ 2072 public void removeByG_U_NotS(long groupId, long userId, int status) 2073 throws com.liferay.portal.kernel.exception.SystemException; 2074 2075 /** 2076 * Returns the number of bookmarks entries where groupId = ? and userId = ? and status ≠ ?. 2077 * 2078 * @param groupId the group ID 2079 * @param userId the user ID 2080 * @param status the status 2081 * @return the number of matching bookmarks entries 2082 * @throws SystemException if a system exception occurred 2083 */ 2084 public int countByG_U_NotS(long groupId, long userId, int status) 2085 throws com.liferay.portal.kernel.exception.SystemException; 2086 2087 /** 2088 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and status ≠ ?. 2089 * 2090 * @param groupId the group ID 2091 * @param userId the user ID 2092 * @param status the status 2093 * @return the number of matching bookmarks entries that the user has permission to view 2094 * @throws SystemException if a system exception occurred 2095 */ 2096 public int filterCountByG_U_NotS(long groupId, long userId, int status) 2097 throws com.liferay.portal.kernel.exception.SystemException; 2098 2099 /** 2100 * Returns all the bookmarks entries where groupId = ? and folderId = ? and status = ?. 2101 * 2102 * @param groupId the group ID 2103 * @param folderId the folder ID 2104 * @param status the status 2105 * @return the matching bookmarks entries 2106 * @throws SystemException if a system exception occurred 2107 */ 2108 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2109 long groupId, long folderId, int status) 2110 throws com.liferay.portal.kernel.exception.SystemException; 2111 2112 /** 2113 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ? and status = ?. 2114 * 2115 * <p> 2116 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2117 * </p> 2118 * 2119 * @param groupId the group ID 2120 * @param folderId the folder ID 2121 * @param status the status 2122 * @param start the lower bound of the range of bookmarks entries 2123 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2124 * @return the range of matching bookmarks entries 2125 * @throws SystemException if a system exception occurred 2126 */ 2127 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2128 long groupId, long folderId, int status, int start, int end) 2129 throws com.liferay.portal.kernel.exception.SystemException; 2130 2131 /** 2132 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ? and status = ?. 2133 * 2134 * <p> 2135 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2136 * </p> 2137 * 2138 * @param groupId the group ID 2139 * @param folderId the folder ID 2140 * @param status the status 2141 * @param start the lower bound of the range of bookmarks entries 2142 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2143 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2144 * @return the ordered range of matching bookmarks entries 2145 * @throws SystemException if a system exception occurred 2146 */ 2147 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2148 long groupId, long folderId, int status, int start, int end, 2149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2150 throws com.liferay.portal.kernel.exception.SystemException; 2151 2152 /** 2153 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 2154 * 2155 * @param groupId the group ID 2156 * @param folderId the folder ID 2157 * @param status the status 2158 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2159 * @return the first matching bookmarks entry 2160 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2161 * @throws SystemException if a system exception occurred 2162 */ 2163 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_First( 2164 long groupId, long folderId, int status, 2165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2166 throws com.liferay.portal.kernel.exception.SystemException, 2167 com.liferay.portlet.bookmarks.NoSuchEntryException; 2168 2169 /** 2170 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 2171 * 2172 * @param groupId the group ID 2173 * @param folderId the folder ID 2174 * @param status the status 2175 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2176 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2177 * @throws SystemException if a system exception occurred 2178 */ 2179 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_First( 2180 long groupId, long folderId, int status, 2181 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2182 throws com.liferay.portal.kernel.exception.SystemException; 2183 2184 /** 2185 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 2186 * 2187 * @param groupId the group ID 2188 * @param folderId the folder ID 2189 * @param status the status 2190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2191 * @return the last matching bookmarks entry 2192 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2193 * @throws SystemException if a system exception occurred 2194 */ 2195 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_S_Last( 2196 long groupId, long folderId, int status, 2197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2198 throws com.liferay.portal.kernel.exception.SystemException, 2199 com.liferay.portlet.bookmarks.NoSuchEntryException; 2200 2201 /** 2202 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 2203 * 2204 * @param groupId the group ID 2205 * @param folderId the folder ID 2206 * @param status the status 2207 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2208 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2209 * @throws SystemException if a system exception occurred 2210 */ 2211 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_S_Last( 2212 long groupId, long folderId, int status, 2213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2214 throws com.liferay.portal.kernel.exception.SystemException; 2215 2216 /** 2217 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ? and status = ?. 2218 * 2219 * @param entryId the primary key of the current bookmarks entry 2220 * @param groupId the group ID 2221 * @param folderId the folder ID 2222 * @param status the status 2223 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2224 * @return the previous, current, and next bookmarks entry 2225 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2226 * @throws SystemException if a system exception occurred 2227 */ 2228 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_S_PrevAndNext( 2229 long entryId, long groupId, long folderId, int status, 2230 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2231 throws com.liferay.portal.kernel.exception.SystemException, 2232 com.liferay.portlet.bookmarks.NoSuchEntryException; 2233 2234 /** 2235 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 2236 * 2237 * @param groupId the group ID 2238 * @param folderId the folder ID 2239 * @param status the status 2240 * @return the matching bookmarks entries that the user has permission to view 2241 * @throws SystemException if a system exception occurred 2242 */ 2243 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2244 long groupId, long folderId, int status) 2245 throws com.liferay.portal.kernel.exception.SystemException; 2246 2247 /** 2248 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 2249 * 2250 * <p> 2251 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2252 * </p> 2253 * 2254 * @param groupId the group ID 2255 * @param folderId the folder ID 2256 * @param status the status 2257 * @param start the lower bound of the range of bookmarks entries 2258 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2259 * @return the range of matching bookmarks entries that the user has permission to view 2260 * @throws SystemException if a system exception occurred 2261 */ 2262 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2263 long groupId, long folderId, int status, int start, int end) 2264 throws com.liferay.portal.kernel.exception.SystemException; 2265 2266 /** 2267 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ? and status = ?. 2268 * 2269 * <p> 2270 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2271 * </p> 2272 * 2273 * @param groupId the group ID 2274 * @param folderId the folder ID 2275 * @param status the status 2276 * @param start the lower bound of the range of bookmarks entries 2277 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2278 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2279 * @return the ordered range of matching bookmarks entries that the user has permission to view 2280 * @throws SystemException if a system exception occurred 2281 */ 2282 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2283 long groupId, long folderId, int status, int start, int end, 2284 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2285 throws com.liferay.portal.kernel.exception.SystemException; 2286 2287 /** 2288 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 2289 * 2290 * @param entryId the primary key of the current bookmarks entry 2291 * @param groupId the group ID 2292 * @param folderId the folder ID 2293 * @param status the status 2294 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2295 * @return the previous, current, and next bookmarks entry 2296 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2297 * @throws SystemException if a system exception occurred 2298 */ 2299 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_S_PrevAndNext( 2300 long entryId, long groupId, long folderId, int status, 2301 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2302 throws com.liferay.portal.kernel.exception.SystemException, 2303 com.liferay.portlet.bookmarks.NoSuchEntryException; 2304 2305 /** 2306 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2307 * 2308 * @param groupId the group ID 2309 * @param folderIds the folder IDs 2310 * @param status the status 2311 * @return the matching bookmarks entries that the user has permission to view 2312 * @throws SystemException if a system exception occurred 2313 */ 2314 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2315 long groupId, long[] folderIds, int status) 2316 throws com.liferay.portal.kernel.exception.SystemException; 2317 2318 /** 2319 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2320 * 2321 * <p> 2322 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2323 * </p> 2324 * 2325 * @param groupId the group ID 2326 * @param folderIds the folder IDs 2327 * @param status the status 2328 * @param start the lower bound of the range of bookmarks entries 2329 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2330 * @return the range of matching bookmarks entries that the user has permission to view 2331 * @throws SystemException if a system exception occurred 2332 */ 2333 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2334 long groupId, long[] folderIds, int status, int start, int end) 2335 throws com.liferay.portal.kernel.exception.SystemException; 2336 2337 /** 2338 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2339 * 2340 * <p> 2341 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2342 * </p> 2343 * 2344 * @param groupId the group ID 2345 * @param folderIds the folder IDs 2346 * @param status the status 2347 * @param start the lower bound of the range of bookmarks entries 2348 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2349 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2350 * @return the ordered range of matching bookmarks entries that the user has permission to view 2351 * @throws SystemException if a system exception occurred 2352 */ 2353 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_S( 2354 long groupId, long[] folderIds, int status, int start, int end, 2355 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2356 throws com.liferay.portal.kernel.exception.SystemException; 2357 2358 /** 2359 * Returns all the bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2360 * 2361 * <p> 2362 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2363 * </p> 2364 * 2365 * @param groupId the group ID 2366 * @param folderIds the folder IDs 2367 * @param status the status 2368 * @return the matching bookmarks entries 2369 * @throws SystemException if a system exception occurred 2370 */ 2371 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2372 long groupId, long[] folderIds, int status) 2373 throws com.liferay.portal.kernel.exception.SystemException; 2374 2375 /** 2376 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2377 * 2378 * <p> 2379 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2380 * </p> 2381 * 2382 * @param groupId the group ID 2383 * @param folderIds the folder IDs 2384 * @param status the status 2385 * @param start the lower bound of the range of bookmarks entries 2386 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2387 * @return the range of matching bookmarks entries 2388 * @throws SystemException if a system exception occurred 2389 */ 2390 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2391 long groupId, long[] folderIds, int status, int start, int end) 2392 throws com.liferay.portal.kernel.exception.SystemException; 2393 2394 /** 2395 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2396 * 2397 * <p> 2398 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2399 * </p> 2400 * 2401 * @param groupId the group ID 2402 * @param folderIds the folder IDs 2403 * @param status the status 2404 * @param start the lower bound of the range of bookmarks entries 2405 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2406 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2407 * @return the ordered range of matching bookmarks entries 2408 * @throws SystemException if a system exception occurred 2409 */ 2410 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_S( 2411 long groupId, long[] folderIds, int status, int start, int end, 2412 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2413 throws com.liferay.portal.kernel.exception.SystemException; 2414 2415 /** 2416 * Removes all the bookmarks entries where groupId = ? and folderId = ? and status = ? from the database. 2417 * 2418 * @param groupId the group ID 2419 * @param folderId the folder ID 2420 * @param status the status 2421 * @throws SystemException if a system exception occurred 2422 */ 2423 public void removeByG_F_S(long groupId, long folderId, int status) 2424 throws com.liferay.portal.kernel.exception.SystemException; 2425 2426 /** 2427 * Returns the number of bookmarks entries where groupId = ? and folderId = ? and status = ?. 2428 * 2429 * @param groupId the group ID 2430 * @param folderId the folder ID 2431 * @param status the status 2432 * @return the number of matching bookmarks entries 2433 * @throws SystemException if a system exception occurred 2434 */ 2435 public int countByG_F_S(long groupId, long folderId, int status) 2436 throws com.liferay.portal.kernel.exception.SystemException; 2437 2438 /** 2439 * Returns the number of bookmarks entries where groupId = ? and folderId = any ? and status = ?. 2440 * 2441 * @param groupId the group ID 2442 * @param folderIds the folder IDs 2443 * @param status the status 2444 * @return the number of matching bookmarks entries 2445 * @throws SystemException if a system exception occurred 2446 */ 2447 public int countByG_F_S(long groupId, long[] folderIds, int status) 2448 throws com.liferay.portal.kernel.exception.SystemException; 2449 2450 /** 2451 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status = ?. 2452 * 2453 * @param groupId the group ID 2454 * @param folderId the folder ID 2455 * @param status the status 2456 * @return the number of matching bookmarks entries that the user has permission to view 2457 * @throws SystemException if a system exception occurred 2458 */ 2459 public int filterCountByG_F_S(long groupId, long folderId, int status) 2460 throws com.liferay.portal.kernel.exception.SystemException; 2461 2462 /** 2463 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status = ?. 2464 * 2465 * @param groupId the group ID 2466 * @param folderIds the folder IDs 2467 * @param status the status 2468 * @return the number of matching bookmarks entries that the user has permission to view 2469 * @throws SystemException if a system exception occurred 2470 */ 2471 public int filterCountByG_F_S(long groupId, long[] folderIds, int status) 2472 throws com.liferay.portal.kernel.exception.SystemException; 2473 2474 /** 2475 * Returns all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2476 * 2477 * @param groupId the group ID 2478 * @param folderId the folder ID 2479 * @param status the status 2480 * @return the matching bookmarks entries 2481 * @throws SystemException if a system exception occurred 2482 */ 2483 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2484 long groupId, long folderId, int status) 2485 throws com.liferay.portal.kernel.exception.SystemException; 2486 2487 /** 2488 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2489 * 2490 * <p> 2491 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2492 * </p> 2493 * 2494 * @param groupId the group ID 2495 * @param folderId the folder ID 2496 * @param status the status 2497 * @param start the lower bound of the range of bookmarks entries 2498 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2499 * @return the range of matching bookmarks entries 2500 * @throws SystemException if a system exception occurred 2501 */ 2502 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2503 long groupId, long folderId, int status, int start, int end) 2504 throws com.liferay.portal.kernel.exception.SystemException; 2505 2506 /** 2507 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2508 * 2509 * <p> 2510 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2511 * </p> 2512 * 2513 * @param groupId the group ID 2514 * @param folderId the folder ID 2515 * @param status the status 2516 * @param start the lower bound of the range of bookmarks entries 2517 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2518 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2519 * @return the ordered range of matching bookmarks entries 2520 * @throws SystemException if a system exception occurred 2521 */ 2522 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2523 long groupId, long folderId, int status, int start, int end, 2524 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2525 throws com.liferay.portal.kernel.exception.SystemException; 2526 2527 /** 2528 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2529 * 2530 * @param groupId the group ID 2531 * @param folderId the folder ID 2532 * @param status the status 2533 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2534 * @return the first matching bookmarks entry 2535 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2536 * @throws SystemException if a system exception occurred 2537 */ 2538 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_First( 2539 long groupId, long folderId, int status, 2540 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2541 throws com.liferay.portal.kernel.exception.SystemException, 2542 com.liferay.portlet.bookmarks.NoSuchEntryException; 2543 2544 /** 2545 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2546 * 2547 * @param groupId the group ID 2548 * @param folderId the folder ID 2549 * @param status the status 2550 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2551 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2552 * @throws SystemException if a system exception occurred 2553 */ 2554 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_First( 2555 long groupId, long folderId, int status, 2556 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2557 throws com.liferay.portal.kernel.exception.SystemException; 2558 2559 /** 2560 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2561 * 2562 * @param groupId the group ID 2563 * @param folderId the folder ID 2564 * @param status the status 2565 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2566 * @return the last matching bookmarks entry 2567 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2568 * @throws SystemException if a system exception occurred 2569 */ 2570 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_NotS_Last( 2571 long groupId, long folderId, int status, 2572 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2573 throws com.liferay.portal.kernel.exception.SystemException, 2574 com.liferay.portlet.bookmarks.NoSuchEntryException; 2575 2576 /** 2577 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2578 * 2579 * @param groupId the group ID 2580 * @param folderId the folder ID 2581 * @param status the status 2582 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2583 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2584 * @throws SystemException if a system exception occurred 2585 */ 2586 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_NotS_Last( 2587 long groupId, long folderId, int status, 2588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2589 throws com.liferay.portal.kernel.exception.SystemException; 2590 2591 /** 2592 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ? and status ≠ ?. 2593 * 2594 * @param entryId the primary key of the current bookmarks entry 2595 * @param groupId the group ID 2596 * @param folderId the folder ID 2597 * @param status the status 2598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2599 * @return the previous, current, and next bookmarks entry 2600 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2601 * @throws SystemException if a system exception occurred 2602 */ 2603 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_NotS_PrevAndNext( 2604 long entryId, long groupId, long folderId, int status, 2605 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2606 throws com.liferay.portal.kernel.exception.SystemException, 2607 com.liferay.portlet.bookmarks.NoSuchEntryException; 2608 2609 /** 2610 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2611 * 2612 * @param groupId the group ID 2613 * @param folderId the folder ID 2614 * @param status the status 2615 * @return the matching bookmarks entries that the user has permission to view 2616 * @throws SystemException if a system exception occurred 2617 */ 2618 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2619 long groupId, long folderId, int status) 2620 throws com.liferay.portal.kernel.exception.SystemException; 2621 2622 /** 2623 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2624 * 2625 * <p> 2626 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2627 * </p> 2628 * 2629 * @param groupId the group ID 2630 * @param folderId the folder ID 2631 * @param status the status 2632 * @param start the lower bound of the range of bookmarks entries 2633 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2634 * @return the range of matching bookmarks entries that the user has permission to view 2635 * @throws SystemException if a system exception occurred 2636 */ 2637 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2638 long groupId, long folderId, int status, int start, int end) 2639 throws com.liferay.portal.kernel.exception.SystemException; 2640 2641 /** 2642 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ? and status ≠ ?. 2643 * 2644 * <p> 2645 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2646 * </p> 2647 * 2648 * @param groupId the group ID 2649 * @param folderId the folder ID 2650 * @param status the status 2651 * @param start the lower bound of the range of bookmarks entries 2652 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2653 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2654 * @return the ordered range of matching bookmarks entries that the user has permission to view 2655 * @throws SystemException if a system exception occurred 2656 */ 2657 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2658 long groupId, long folderId, int status, int start, int end, 2659 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2660 throws com.liferay.portal.kernel.exception.SystemException; 2661 2662 /** 2663 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2664 * 2665 * @param entryId the primary key of the current bookmarks entry 2666 * @param groupId the group ID 2667 * @param folderId the folder ID 2668 * @param status the status 2669 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2670 * @return the previous, current, and next bookmarks entry 2671 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2672 * @throws SystemException if a system exception occurred 2673 */ 2674 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_NotS_PrevAndNext( 2675 long entryId, long groupId, long folderId, int status, 2676 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2677 throws com.liferay.portal.kernel.exception.SystemException, 2678 com.liferay.portlet.bookmarks.NoSuchEntryException; 2679 2680 /** 2681 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2682 * 2683 * @param groupId the group ID 2684 * @param folderIds the folder IDs 2685 * @param status the status 2686 * @return the matching bookmarks entries that the user has permission to view 2687 * @throws SystemException if a system exception occurred 2688 */ 2689 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2690 long groupId, long[] folderIds, int status) 2691 throws com.liferay.portal.kernel.exception.SystemException; 2692 2693 /** 2694 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2695 * 2696 * <p> 2697 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2698 * </p> 2699 * 2700 * @param groupId the group ID 2701 * @param folderIds the folder IDs 2702 * @param status the status 2703 * @param start the lower bound of the range of bookmarks entries 2704 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2705 * @return the range of matching bookmarks entries that the user has permission to view 2706 * @throws SystemException if a system exception occurred 2707 */ 2708 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2709 long groupId, long[] folderIds, int status, int start, int end) 2710 throws com.liferay.portal.kernel.exception.SystemException; 2711 2712 /** 2713 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2714 * 2715 * <p> 2716 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2717 * </p> 2718 * 2719 * @param groupId the group ID 2720 * @param folderIds the folder IDs 2721 * @param status the status 2722 * @param start the lower bound of the range of bookmarks entries 2723 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2724 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2725 * @return the ordered range of matching bookmarks entries that the user has permission to view 2726 * @throws SystemException if a system exception occurred 2727 */ 2728 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F_NotS( 2729 long groupId, long[] folderIds, int status, int start, int end, 2730 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2731 throws com.liferay.portal.kernel.exception.SystemException; 2732 2733 /** 2734 * Returns all the bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2735 * 2736 * <p> 2737 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2738 * </p> 2739 * 2740 * @param groupId the group ID 2741 * @param folderIds the folder IDs 2742 * @param status the status 2743 * @return the matching bookmarks entries 2744 * @throws SystemException if a system exception occurred 2745 */ 2746 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2747 long groupId, long[] folderIds, int status) 2748 throws com.liferay.portal.kernel.exception.SystemException; 2749 2750 /** 2751 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2752 * 2753 * <p> 2754 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2755 * </p> 2756 * 2757 * @param groupId the group ID 2758 * @param folderIds the folder IDs 2759 * @param status the status 2760 * @param start the lower bound of the range of bookmarks entries 2761 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2762 * @return the range of matching bookmarks entries 2763 * @throws SystemException if a system exception occurred 2764 */ 2765 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2766 long groupId, long[] folderIds, int status, int start, int end) 2767 throws com.liferay.portal.kernel.exception.SystemException; 2768 2769 /** 2770 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2771 * 2772 * <p> 2773 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2774 * </p> 2775 * 2776 * @param groupId the group ID 2777 * @param folderIds the folder IDs 2778 * @param status the status 2779 * @param start the lower bound of the range of bookmarks entries 2780 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2781 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2782 * @return the ordered range of matching bookmarks entries 2783 * @throws SystemException if a system exception occurred 2784 */ 2785 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F_NotS( 2786 long groupId, long[] folderIds, int status, int start, int end, 2787 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2788 throws com.liferay.portal.kernel.exception.SystemException; 2789 2790 /** 2791 * Removes all the bookmarks entries where groupId = ? and folderId = ? and status ≠ ? from the database. 2792 * 2793 * @param groupId the group ID 2794 * @param folderId the folder ID 2795 * @param status the status 2796 * @throws SystemException if a system exception occurred 2797 */ 2798 public void removeByG_F_NotS(long groupId, long folderId, int status) 2799 throws com.liferay.portal.kernel.exception.SystemException; 2800 2801 /** 2802 * Returns the number of bookmarks entries where groupId = ? and folderId = ? and status ≠ ?. 2803 * 2804 * @param groupId the group ID 2805 * @param folderId the folder ID 2806 * @param status the status 2807 * @return the number of matching bookmarks entries 2808 * @throws SystemException if a system exception occurred 2809 */ 2810 public int countByG_F_NotS(long groupId, long folderId, int status) 2811 throws com.liferay.portal.kernel.exception.SystemException; 2812 2813 /** 2814 * Returns the number of bookmarks entries where groupId = ? and folderId = any ? and status ≠ ?. 2815 * 2816 * @param groupId the group ID 2817 * @param folderIds the folder IDs 2818 * @param status the status 2819 * @return the number of matching bookmarks entries 2820 * @throws SystemException if a system exception occurred 2821 */ 2822 public int countByG_F_NotS(long groupId, long[] folderIds, int status) 2823 throws com.liferay.portal.kernel.exception.SystemException; 2824 2825 /** 2826 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ? and status ≠ ?. 2827 * 2828 * @param groupId the group ID 2829 * @param folderId the folder ID 2830 * @param status the status 2831 * @return the number of matching bookmarks entries that the user has permission to view 2832 * @throws SystemException if a system exception occurred 2833 */ 2834 public int filterCountByG_F_NotS(long groupId, long folderId, int status) 2835 throws com.liferay.portal.kernel.exception.SystemException; 2836 2837 /** 2838 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ? and status ≠ ?. 2839 * 2840 * @param groupId the group ID 2841 * @param folderIds the folder IDs 2842 * @param status the status 2843 * @return the number of matching bookmarks entries that the user has permission to view 2844 * @throws SystemException if a system exception occurred 2845 */ 2846 public int filterCountByG_F_NotS(long groupId, long[] folderIds, int status) 2847 throws com.liferay.portal.kernel.exception.SystemException; 2848 2849 /** 2850 * Returns all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2851 * 2852 * @param groupId the group ID 2853 * @param userId the user ID 2854 * @param folderId the folder ID 2855 * @param status the status 2856 * @return the matching bookmarks entries 2857 * @throws SystemException if a system exception occurred 2858 */ 2859 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2860 long groupId, long userId, long folderId, int status) 2861 throws com.liferay.portal.kernel.exception.SystemException; 2862 2863 /** 2864 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2865 * 2866 * <p> 2867 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2868 * </p> 2869 * 2870 * @param groupId the group ID 2871 * @param userId the user ID 2872 * @param folderId the folder ID 2873 * @param status the status 2874 * @param start the lower bound of the range of bookmarks entries 2875 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2876 * @return the range of matching bookmarks entries 2877 * @throws SystemException if a system exception occurred 2878 */ 2879 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2880 long groupId, long userId, long folderId, int status, int start, int end) 2881 throws com.liferay.portal.kernel.exception.SystemException; 2882 2883 /** 2884 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 2885 * 2886 * <p> 2887 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2888 * </p> 2889 * 2890 * @param groupId the group ID 2891 * @param userId the user ID 2892 * @param folderId the folder ID 2893 * @param status the status 2894 * @param start the lower bound of the range of bookmarks entries 2895 * @param end the upper bound of the range of bookmarks entries (not inclusive) 2896 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2897 * @return the ordered range of matching bookmarks entries 2898 * @throws SystemException if a system exception occurred 2899 */ 2900 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 2901 long groupId, long userId, long folderId, int status, int start, 2902 int end, 2903 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2904 throws com.liferay.portal.kernel.exception.SystemException; 2905 2906 /** 2907 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2908 * 2909 * @param groupId the group ID 2910 * @param userId the user ID 2911 * @param folderId the folder ID 2912 * @param status the status 2913 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2914 * @return the first matching bookmarks entry 2915 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2916 * @throws SystemException if a system exception occurred 2917 */ 2918 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_First( 2919 long groupId, long userId, long folderId, int status, 2920 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2921 throws com.liferay.portal.kernel.exception.SystemException, 2922 com.liferay.portlet.bookmarks.NoSuchEntryException; 2923 2924 /** 2925 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2926 * 2927 * @param groupId the group ID 2928 * @param userId the user ID 2929 * @param folderId the folder ID 2930 * @param status the status 2931 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2932 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2933 * @throws SystemException if a system exception occurred 2934 */ 2935 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_First( 2936 long groupId, long userId, long folderId, int status, 2937 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2938 throws com.liferay.portal.kernel.exception.SystemException; 2939 2940 /** 2941 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2942 * 2943 * @param groupId the group ID 2944 * @param userId the user ID 2945 * @param folderId the folder ID 2946 * @param status the status 2947 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2948 * @return the last matching bookmarks entry 2949 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 2950 * @throws SystemException if a system exception occurred 2951 */ 2952 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_F_S_Last( 2953 long groupId, long userId, long folderId, int status, 2954 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2955 throws com.liferay.portal.kernel.exception.SystemException, 2956 com.liferay.portlet.bookmarks.NoSuchEntryException; 2957 2958 /** 2959 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2960 * 2961 * @param groupId the group ID 2962 * @param userId the user ID 2963 * @param folderId the folder ID 2964 * @param status the status 2965 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2966 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 2967 * @throws SystemException if a system exception occurred 2968 */ 2969 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_F_S_Last( 2970 long groupId, long userId, long folderId, int status, 2971 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2972 throws com.liferay.portal.kernel.exception.SystemException; 2973 2974 /** 2975 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ? and folderId = ? and status = ?. 2976 * 2977 * @param entryId the primary key of the current bookmarks entry 2978 * @param groupId the group ID 2979 * @param userId the user ID 2980 * @param folderId the folder ID 2981 * @param status the status 2982 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2983 * @return the previous, current, and next bookmarks entry 2984 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 2985 * @throws SystemException if a system exception occurred 2986 */ 2987 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_F_S_PrevAndNext( 2988 long entryId, long groupId, long userId, long folderId, int status, 2989 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2990 throws com.liferay.portal.kernel.exception.SystemException, 2991 com.liferay.portlet.bookmarks.NoSuchEntryException; 2992 2993 /** 2994 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 2995 * 2996 * @param groupId the group ID 2997 * @param userId the user ID 2998 * @param folderId the folder ID 2999 * @param status the status 3000 * @return the matching bookmarks entries that the user has permission to view 3001 * @throws SystemException if a system exception occurred 3002 */ 3003 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 3004 long groupId, long userId, long folderId, int status) 3005 throws com.liferay.portal.kernel.exception.SystemException; 3006 3007 /** 3008 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 3009 * 3010 * <p> 3011 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3012 * </p> 3013 * 3014 * @param groupId the group ID 3015 * @param userId the user ID 3016 * @param folderId the folder ID 3017 * @param status the status 3018 * @param start the lower bound of the range of bookmarks entries 3019 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3020 * @return the range of matching bookmarks entries that the user has permission to view 3021 * @throws SystemException if a system exception occurred 3022 */ 3023 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 3024 long groupId, long userId, long folderId, int status, int start, int end) 3025 throws com.liferay.portal.kernel.exception.SystemException; 3026 3027 /** 3028 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ? and folderId = ? and status = ?. 3029 * 3030 * <p> 3031 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3032 * </p> 3033 * 3034 * @param groupId the group ID 3035 * @param userId the user ID 3036 * @param folderId the folder ID 3037 * @param status the status 3038 * @param start the lower bound of the range of bookmarks entries 3039 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3040 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3041 * @return the ordered range of matching bookmarks entries that the user has permission to view 3042 * @throws SystemException if a system exception occurred 3043 */ 3044 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 3045 long groupId, long userId, long folderId, int status, int start, 3046 int end, 3047 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3048 throws com.liferay.portal.kernel.exception.SystemException; 3049 3050 /** 3051 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 3052 * 3053 * @param entryId the primary key of the current bookmarks entry 3054 * @param groupId the group ID 3055 * @param userId the user ID 3056 * @param folderId the folder ID 3057 * @param status the status 3058 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3059 * @return the previous, current, and next bookmarks entry 3060 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 3061 * @throws SystemException if a system exception occurred 3062 */ 3063 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_F_S_PrevAndNext( 3064 long entryId, long groupId, long userId, long folderId, int status, 3065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3066 throws com.liferay.portal.kernel.exception.SystemException, 3067 com.liferay.portlet.bookmarks.NoSuchEntryException; 3068 3069 /** 3070 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 3071 * 3072 * @param groupId the group ID 3073 * @param userId the user ID 3074 * @param folderIds the folder IDs 3075 * @param status the status 3076 * @return the matching bookmarks entries that the user has permission to view 3077 * @throws SystemException if a system exception occurred 3078 */ 3079 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 3080 long groupId, long userId, long[] folderIds, int status) 3081 throws com.liferay.portal.kernel.exception.SystemException; 3082 3083 /** 3084 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 3085 * 3086 * <p> 3087 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3088 * </p> 3089 * 3090 * @param groupId the group ID 3091 * @param userId the user ID 3092 * @param folderIds the folder IDs 3093 * @param status the status 3094 * @param start the lower bound of the range of bookmarks entries 3095 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3096 * @return the range of matching bookmarks entries that the user has permission to view 3097 * @throws SystemException if a system exception occurred 3098 */ 3099 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 3100 long groupId, long userId, long[] folderIds, int status, int start, 3101 int end) throws com.liferay.portal.kernel.exception.SystemException; 3102 3103 /** 3104 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 3105 * 3106 * <p> 3107 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3108 * </p> 3109 * 3110 * @param groupId the group ID 3111 * @param userId the user ID 3112 * @param folderIds the folder IDs 3113 * @param status the status 3114 * @param start the lower bound of the range of bookmarks entries 3115 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3116 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3117 * @return the ordered range of matching bookmarks entries that the user has permission to view 3118 * @throws SystemException if a system exception occurred 3119 */ 3120 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U_F_S( 3121 long groupId, long userId, long[] folderIds, int status, int start, 3122 int end, 3123 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3124 throws com.liferay.portal.kernel.exception.SystemException; 3125 3126 /** 3127 * Returns all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 3128 * 3129 * <p> 3130 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3131 * </p> 3132 * 3133 * @param groupId the group ID 3134 * @param userId the user ID 3135 * @param folderIds the folder IDs 3136 * @param status the status 3137 * @return the matching bookmarks entries 3138 * @throws SystemException if a system exception occurred 3139 */ 3140 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 3141 long groupId, long userId, long[] folderIds, int status) 3142 throws com.liferay.portal.kernel.exception.SystemException; 3143 3144 /** 3145 * Returns a range of all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 3146 * 3147 * <p> 3148 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3149 * </p> 3150 * 3151 * @param groupId the group ID 3152 * @param userId the user ID 3153 * @param folderIds the folder IDs 3154 * @param status the status 3155 * @param start the lower bound of the range of bookmarks entries 3156 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3157 * @return the range of matching bookmarks entries 3158 * @throws SystemException if a system exception occurred 3159 */ 3160 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 3161 long groupId, long userId, long[] folderIds, int status, int start, 3162 int end) throws com.liferay.portal.kernel.exception.SystemException; 3163 3164 /** 3165 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 3166 * 3167 * <p> 3168 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3169 * </p> 3170 * 3171 * @param groupId the group ID 3172 * @param userId the user ID 3173 * @param folderIds the folder IDs 3174 * @param status the status 3175 * @param start the lower bound of the range of bookmarks entries 3176 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3177 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3178 * @return the ordered range of matching bookmarks entries 3179 * @throws SystemException if a system exception occurred 3180 */ 3181 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U_F_S( 3182 long groupId, long userId, long[] folderIds, int status, int start, 3183 int end, 3184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3185 throws com.liferay.portal.kernel.exception.SystemException; 3186 3187 /** 3188 * Removes all the bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ? from the database. 3189 * 3190 * @param groupId the group ID 3191 * @param userId the user ID 3192 * @param folderId the folder ID 3193 * @param status the status 3194 * @throws SystemException if a system exception occurred 3195 */ 3196 public void removeByG_U_F_S(long groupId, long userId, long folderId, 3197 int status) throws com.liferay.portal.kernel.exception.SystemException; 3198 3199 /** 3200 * Returns the number of bookmarks entries where groupId = ? and userId = ? and folderId = ? and status = ?. 3201 * 3202 * @param groupId the group ID 3203 * @param userId the user ID 3204 * @param folderId the folder ID 3205 * @param status the status 3206 * @return the number of matching bookmarks entries 3207 * @throws SystemException if a system exception occurred 3208 */ 3209 public int countByG_U_F_S(long groupId, long userId, long folderId, 3210 int status) throws com.liferay.portal.kernel.exception.SystemException; 3211 3212 /** 3213 * Returns the number of bookmarks entries where groupId = ? and userId = ? and folderId = any ? and status = ?. 3214 * 3215 * @param groupId the group ID 3216 * @param userId the user ID 3217 * @param folderIds the folder IDs 3218 * @param status the status 3219 * @return the number of matching bookmarks entries 3220 * @throws SystemException if a system exception occurred 3221 */ 3222 public int countByG_U_F_S(long groupId, long userId, long[] folderIds, 3223 int status) throws com.liferay.portal.kernel.exception.SystemException; 3224 3225 /** 3226 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = ? and status = ?. 3227 * 3228 * @param groupId the group ID 3229 * @param userId the user ID 3230 * @param folderId the folder ID 3231 * @param status the status 3232 * @return the number of matching bookmarks entries that the user has permission to view 3233 * @throws SystemException if a system exception occurred 3234 */ 3235 public int filterCountByG_U_F_S(long groupId, long userId, long folderId, 3236 int status) throws com.liferay.portal.kernel.exception.SystemException; 3237 3238 /** 3239 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ? and folderId = any ? and status = ?. 3240 * 3241 * @param groupId the group ID 3242 * @param userId the user ID 3243 * @param folderIds the folder IDs 3244 * @param status the status 3245 * @return the number of matching bookmarks entries that the user has permission to view 3246 * @throws SystemException if a system exception occurred 3247 */ 3248 public int filterCountByG_U_F_S(long groupId, long userId, 3249 long[] folderIds, int status) 3250 throws com.liferay.portal.kernel.exception.SystemException; 3251 3252 /** 3253 * Caches the bookmarks entry in the entity cache if it is enabled. 3254 * 3255 * @param bookmarksEntry the bookmarks entry 3256 */ 3257 public void cacheResult( 3258 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry); 3259 3260 /** 3261 * Caches the bookmarks entries in the entity cache if it is enabled. 3262 * 3263 * @param bookmarksEntries the bookmarks entries 3264 */ 3265 public void cacheResult( 3266 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries); 3267 3268 /** 3269 * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database. 3270 * 3271 * @param entryId the primary key for the new bookmarks entry 3272 * @return the new bookmarks entry 3273 */ 3274 public com.liferay.portlet.bookmarks.model.BookmarksEntry create( 3275 long entryId); 3276 3277 /** 3278 * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners. 3279 * 3280 * @param entryId the primary key of the bookmarks entry 3281 * @return the bookmarks entry that was removed 3282 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 3283 * @throws SystemException if a system exception occurred 3284 */ 3285 public com.liferay.portlet.bookmarks.model.BookmarksEntry remove( 3286 long entryId) 3287 throws com.liferay.portal.kernel.exception.SystemException, 3288 com.liferay.portlet.bookmarks.NoSuchEntryException; 3289 3290 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl( 3291 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) 3292 throws com.liferay.portal.kernel.exception.SystemException; 3293 3294 /** 3295 * Returns the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 3296 * 3297 * @param entryId the primary key of the bookmarks entry 3298 * @return the bookmarks entry 3299 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 3300 * @throws SystemException if a system exception occurred 3301 */ 3302 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey( 3303 long entryId) 3304 throws com.liferay.portal.kernel.exception.SystemException, 3305 com.liferay.portlet.bookmarks.NoSuchEntryException; 3306 3307 /** 3308 * Returns the bookmarks entry with the primary key or returns <code>null</code> if it could not be found. 3309 * 3310 * @param entryId the primary key of the bookmarks entry 3311 * @return the bookmarks entry, or <code>null</code> if a bookmarks entry with the primary key could not be found 3312 * @throws SystemException if a system exception occurred 3313 */ 3314 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey( 3315 long entryId) 3316 throws com.liferay.portal.kernel.exception.SystemException; 3317 3318 /** 3319 * Returns all the bookmarks entries. 3320 * 3321 * @return the bookmarks entries 3322 * @throws SystemException if a system exception occurred 3323 */ 3324 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll() 3325 throws com.liferay.portal.kernel.exception.SystemException; 3326 3327 /** 3328 * Returns a range of all the bookmarks entries. 3329 * 3330 * <p> 3331 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3332 * </p> 3333 * 3334 * @param start the lower bound of the range of bookmarks entries 3335 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3336 * @return the range of bookmarks entries 3337 * @throws SystemException if a system exception occurred 3338 */ 3339 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 3340 int start, int end) 3341 throws com.liferay.portal.kernel.exception.SystemException; 3342 3343 /** 3344 * Returns an ordered range of all the bookmarks entries. 3345 * 3346 * <p> 3347 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3348 * </p> 3349 * 3350 * @param start the lower bound of the range of bookmarks entries 3351 * @param end the upper bound of the range of bookmarks entries (not inclusive) 3352 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3353 * @return the ordered range of bookmarks entries 3354 * @throws SystemException if a system exception occurred 3355 */ 3356 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 3357 int start, int end, 3358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 3359 throws com.liferay.portal.kernel.exception.SystemException; 3360 3361 /** 3362 * Removes all the bookmarks entries from the database. 3363 * 3364 * @throws SystemException if a system exception occurred 3365 */ 3366 public void removeAll() 3367 throws com.liferay.portal.kernel.exception.SystemException; 3368 3369 /** 3370 * Returns the number of bookmarks entries. 3371 * 3372 * @return the number of bookmarks entries 3373 * @throws SystemException if a system exception occurred 3374 */ 3375 public int countAll() 3376 throws com.liferay.portal.kernel.exception.SystemException; 3377 }