001 /** 002 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portlet.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 * Caches the bookmarks entry in the entity cache if it is enabled. 042 * 043 * @param bookmarksEntry the bookmarks entry 044 */ 045 public void cacheResult( 046 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry); 047 048 /** 049 * Caches the bookmarks entries in the entity cache if it is enabled. 050 * 051 * @param bookmarksEntries the bookmarks entries 052 */ 053 public void cacheResult( 054 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries); 055 056 /** 057 * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database. 058 * 059 * @param entryId the primary key for the new bookmarks entry 060 * @return the new bookmarks entry 061 */ 062 public com.liferay.portlet.bookmarks.model.BookmarksEntry create( 063 long entryId); 064 065 /** 066 * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners. 067 * 068 * @param entryId the primary key of the bookmarks entry 069 * @return the bookmarks entry that was removed 070 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 071 * @throws SystemException if a system exception occurred 072 */ 073 public com.liferay.portlet.bookmarks.model.BookmarksEntry remove( 074 long entryId) 075 throws com.liferay.portal.kernel.exception.SystemException, 076 com.liferay.portlet.bookmarks.NoSuchEntryException; 077 078 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl( 079 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) 080 throws com.liferay.portal.kernel.exception.SystemException; 081 082 /** 083 * Returns the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 084 * 085 * @param entryId the primary key of the bookmarks entry 086 * @return the bookmarks entry 087 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 088 * @throws SystemException if a system exception occurred 089 */ 090 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey( 091 long entryId) 092 throws com.liferay.portal.kernel.exception.SystemException, 093 com.liferay.portlet.bookmarks.NoSuchEntryException; 094 095 /** 096 * Returns the bookmarks entry with the primary key or returns <code>null</code> if it could not be found. 097 * 098 * @param entryId the primary key of the bookmarks entry 099 * @return the bookmarks entry, or <code>null</code> if a bookmarks entry with the primary key could not be found 100 * @throws SystemException if a system exception occurred 101 */ 102 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey( 103 long entryId) 104 throws com.liferay.portal.kernel.exception.SystemException; 105 106 /** 107 * Returns all the bookmarks entries where resourceBlockId = ?. 108 * 109 * @param resourceBlockId the resource block ID 110 * @return the matching bookmarks entries 111 * @throws SystemException if a system exception occurred 112 */ 113 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 114 long resourceBlockId) 115 throws com.liferay.portal.kernel.exception.SystemException; 116 117 /** 118 * Returns a range of all the bookmarks entries where resourceBlockId = ?. 119 * 120 * <p> 121 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 122 * </p> 123 * 124 * @param resourceBlockId the resource block ID 125 * @param start the lower bound of the range of bookmarks entries 126 * @param end the upper bound of the range of bookmarks entries (not inclusive) 127 * @return the range of matching bookmarks entries 128 * @throws SystemException if a system exception occurred 129 */ 130 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 131 long resourceBlockId, int start, int end) 132 throws com.liferay.portal.kernel.exception.SystemException; 133 134 /** 135 * Returns an ordered range of all the bookmarks entries where resourceBlockId = ?. 136 * 137 * <p> 138 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 139 * </p> 140 * 141 * @param resourceBlockId the resource block ID 142 * @param start the lower bound of the range of bookmarks entries 143 * @param end the upper bound of the range of bookmarks entries (not inclusive) 144 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 145 * @return the ordered range of matching bookmarks entries 146 * @throws SystemException if a system exception occurred 147 */ 148 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByResourceBlockId( 149 long resourceBlockId, int start, int end, 150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 151 throws com.liferay.portal.kernel.exception.SystemException; 152 153 /** 154 * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. 155 * 156 * @param resourceBlockId the resource block ID 157 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 158 * @return the first matching bookmarks entry 159 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 160 * @throws SystemException if a system exception occurred 161 */ 162 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_First( 163 long resourceBlockId, 164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 165 throws com.liferay.portal.kernel.exception.SystemException, 166 com.liferay.portlet.bookmarks.NoSuchEntryException; 167 168 /** 169 * Returns the first bookmarks entry in the ordered set where resourceBlockId = ?. 170 * 171 * @param resourceBlockId the resource block ID 172 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 173 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 174 * @throws SystemException if a system exception occurred 175 */ 176 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_First( 177 long resourceBlockId, 178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. 183 * 184 * @param resourceBlockId the resource block ID 185 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 186 * @return the last matching bookmarks entry 187 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 188 * @throws SystemException if a system exception occurred 189 */ 190 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByResourceBlockId_Last( 191 long resourceBlockId, 192 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 193 throws com.liferay.portal.kernel.exception.SystemException, 194 com.liferay.portlet.bookmarks.NoSuchEntryException; 195 196 /** 197 * Returns the last bookmarks entry in the ordered set where resourceBlockId = ?. 198 * 199 * @param resourceBlockId the resource block ID 200 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 201 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 202 * @throws SystemException if a system exception occurred 203 */ 204 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByResourceBlockId_Last( 205 long resourceBlockId, 206 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 207 throws com.liferay.portal.kernel.exception.SystemException; 208 209 /** 210 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where resourceBlockId = ?. 211 * 212 * @param entryId the primary key of the current bookmarks entry 213 * @param resourceBlockId the resource block ID 214 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 215 * @return the previous, current, and next bookmarks entry 216 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 217 * @throws SystemException if a system exception occurred 218 */ 219 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByResourceBlockId_PrevAndNext( 220 long entryId, long resourceBlockId, 221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 222 throws com.liferay.portal.kernel.exception.SystemException, 223 com.liferay.portlet.bookmarks.NoSuchEntryException; 224 225 /** 226 * Returns all the bookmarks entries where uuid = ?. 227 * 228 * @param uuid the uuid 229 * @return the matching bookmarks entries 230 * @throws SystemException if a system exception occurred 231 */ 232 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 233 java.lang.String uuid) 234 throws com.liferay.portal.kernel.exception.SystemException; 235 236 /** 237 * Returns a range of all the bookmarks entries where uuid = ?. 238 * 239 * <p> 240 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 241 * </p> 242 * 243 * @param uuid the uuid 244 * @param start the lower bound of the range of bookmarks entries 245 * @param end the upper bound of the range of bookmarks entries (not inclusive) 246 * @return the range of matching bookmarks entries 247 * @throws SystemException if a system exception occurred 248 */ 249 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 250 java.lang.String uuid, int start, int end) 251 throws com.liferay.portal.kernel.exception.SystemException; 252 253 /** 254 * Returns an ordered range of all the bookmarks entries where uuid = ?. 255 * 256 * <p> 257 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 258 * </p> 259 * 260 * @param uuid the uuid 261 * @param start the lower bound of the range of bookmarks entries 262 * @param end the upper bound of the range of bookmarks entries (not inclusive) 263 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 264 * @return the ordered range of matching bookmarks entries 265 * @throws SystemException if a system exception occurred 266 */ 267 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 268 java.lang.String uuid, int start, int end, 269 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 270 throws com.liferay.portal.kernel.exception.SystemException; 271 272 /** 273 * Returns the first bookmarks entry in the ordered set where uuid = ?. 274 * 275 * @param uuid the uuid 276 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 277 * @return the first matching bookmarks entry 278 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 279 * @throws SystemException if a system exception occurred 280 */ 281 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First( 282 java.lang.String uuid, 283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 284 throws com.liferay.portal.kernel.exception.SystemException, 285 com.liferay.portlet.bookmarks.NoSuchEntryException; 286 287 /** 288 * Returns the first bookmarks entry in the ordered set where uuid = ?. 289 * 290 * @param uuid the uuid 291 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 292 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 293 * @throws SystemException if a system exception occurred 294 */ 295 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_First( 296 java.lang.String uuid, 297 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 298 throws com.liferay.portal.kernel.exception.SystemException; 299 300 /** 301 * Returns the last bookmarks entry in the ordered set where uuid = ?. 302 * 303 * @param uuid the uuid 304 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 305 * @return the last matching bookmarks entry 306 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 307 * @throws SystemException if a system exception occurred 308 */ 309 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last( 310 java.lang.String uuid, 311 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 312 throws com.liferay.portal.kernel.exception.SystemException, 313 com.liferay.portlet.bookmarks.NoSuchEntryException; 314 315 /** 316 * Returns the last bookmarks entry in the ordered set where uuid = ?. 317 * 318 * @param uuid the uuid 319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 320 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 321 * @throws SystemException if a system exception occurred 322 */ 323 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_Last( 324 java.lang.String uuid, 325 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 326 throws com.liferay.portal.kernel.exception.SystemException; 327 328 /** 329 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ?. 330 * 331 * @param entryId the primary key of the current bookmarks entry 332 * @param uuid the uuid 333 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 334 * @return the previous, current, and next bookmarks entry 335 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 336 * @throws SystemException if a system exception occurred 337 */ 338 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext( 339 long entryId, java.lang.String uuid, 340 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 341 throws com.liferay.portal.kernel.exception.SystemException, 342 com.liferay.portlet.bookmarks.NoSuchEntryException; 343 344 /** 345 * Returns the bookmarks entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 346 * 347 * @param uuid the uuid 348 * @param groupId the group ID 349 * @return the matching bookmarks entry 350 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 351 * @throws SystemException if a system exception occurred 352 */ 353 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G( 354 java.lang.String uuid, long groupId) 355 throws com.liferay.portal.kernel.exception.SystemException, 356 com.liferay.portlet.bookmarks.NoSuchEntryException; 357 358 /** 359 * Returns the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 360 * 361 * @param uuid the uuid 362 * @param groupId the group ID 363 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 364 * @throws SystemException if a system exception occurred 365 */ 366 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 367 java.lang.String uuid, long groupId) 368 throws com.liferay.portal.kernel.exception.SystemException; 369 370 /** 371 * Returns the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 372 * 373 * @param uuid the uuid 374 * @param groupId the group ID 375 * @param retrieveFromCache whether to use the finder cache 376 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 377 * @throws SystemException if a system exception occurred 378 */ 379 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 380 java.lang.String uuid, long groupId, boolean retrieveFromCache) 381 throws com.liferay.portal.kernel.exception.SystemException; 382 383 /** 384 * Returns all the bookmarks entries where uuid = ? and companyId = ?. 385 * 386 * @param uuid the uuid 387 * @param companyId the company ID 388 * @return the matching bookmarks entries 389 * @throws SystemException if a system exception occurred 390 */ 391 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 392 java.lang.String uuid, long companyId) 393 throws com.liferay.portal.kernel.exception.SystemException; 394 395 /** 396 * Returns a range of all the bookmarks entries where uuid = ? and companyId = ?. 397 * 398 * <p> 399 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 400 * </p> 401 * 402 * @param uuid the uuid 403 * @param companyId the company ID 404 * @param start the lower bound of the range of bookmarks entries 405 * @param end the upper bound of the range of bookmarks entries (not inclusive) 406 * @return the range of matching bookmarks entries 407 * @throws SystemException if a system exception occurred 408 */ 409 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 410 java.lang.String uuid, long companyId, int start, int end) 411 throws com.liferay.portal.kernel.exception.SystemException; 412 413 /** 414 * Returns an ordered range of all the bookmarks entries where uuid = ? and companyId = ?. 415 * 416 * <p> 417 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 418 * </p> 419 * 420 * @param uuid the uuid 421 * @param companyId the company ID 422 * @param start the lower bound of the range of bookmarks entries 423 * @param end the upper bound of the range of bookmarks entries (not inclusive) 424 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 425 * @return the ordered range of matching bookmarks entries 426 * @throws SystemException if a system exception occurred 427 */ 428 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid_C( 429 java.lang.String uuid, long companyId, int start, int end, 430 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 431 throws com.liferay.portal.kernel.exception.SystemException; 432 433 /** 434 * Returns the first bookmarks entry in the ordered set where uuid = ? and companyId = ?. 435 * 436 * @param uuid the uuid 437 * @param companyId the company ID 438 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 439 * @return the first matching bookmarks entry 440 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 441 * @throws SystemException if a system exception occurred 442 */ 443 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_First( 444 java.lang.String uuid, long companyId, 445 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 446 throws com.liferay.portal.kernel.exception.SystemException, 447 com.liferay.portlet.bookmarks.NoSuchEntryException; 448 449 /** 450 * Returns the first bookmarks entry in the ordered set where uuid = ? and companyId = ?. 451 * 452 * @param uuid the uuid 453 * @param companyId the company ID 454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 455 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 456 * @throws SystemException if a system exception occurred 457 */ 458 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_First( 459 java.lang.String uuid, long companyId, 460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 461 throws com.liferay.portal.kernel.exception.SystemException; 462 463 /** 464 * Returns the last bookmarks entry in the ordered set where uuid = ? and companyId = ?. 465 * 466 * @param uuid the uuid 467 * @param companyId the company ID 468 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 469 * @return the last matching bookmarks entry 470 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 471 * @throws SystemException if a system exception occurred 472 */ 473 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_C_Last( 474 java.lang.String uuid, long companyId, 475 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 476 throws com.liferay.portal.kernel.exception.SystemException, 477 com.liferay.portlet.bookmarks.NoSuchEntryException; 478 479 /** 480 * Returns the last bookmarks entry in the ordered set where uuid = ? and companyId = ?. 481 * 482 * @param uuid the uuid 483 * @param companyId the company ID 484 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 485 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 486 * @throws SystemException if a system exception occurred 487 */ 488 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUuid_C_Last( 489 java.lang.String uuid, long companyId, 490 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 491 throws com.liferay.portal.kernel.exception.SystemException; 492 493 /** 494 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ? and companyId = ?. 495 * 496 * @param entryId the primary key of the current bookmarks entry 497 * @param uuid the uuid 498 * @param companyId the company ID 499 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 500 * @return the previous, current, and next bookmarks entry 501 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 502 * @throws SystemException if a system exception occurred 503 */ 504 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_C_PrevAndNext( 505 long entryId, java.lang.String uuid, long companyId, 506 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 507 throws com.liferay.portal.kernel.exception.SystemException, 508 com.liferay.portlet.bookmarks.NoSuchEntryException; 509 510 /** 511 * Returns all the bookmarks entries where groupId = ?. 512 * 513 * @param groupId the group ID 514 * @return the matching bookmarks entries 515 * @throws SystemException if a system exception occurred 516 */ 517 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId( 518 long groupId) 519 throws com.liferay.portal.kernel.exception.SystemException; 520 521 /** 522 * Returns a range of all the bookmarks entries where groupId = ?. 523 * 524 * <p> 525 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 526 * </p> 527 * 528 * @param groupId the group ID 529 * @param start the lower bound of the range of bookmarks entries 530 * @param end the upper bound of the range of bookmarks entries (not inclusive) 531 * @return the range of matching bookmarks entries 532 * @throws SystemException if a system exception occurred 533 */ 534 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId( 535 long groupId, int start, int end) 536 throws com.liferay.portal.kernel.exception.SystemException; 537 538 /** 539 * Returns an ordered range of all the bookmarks entries where groupId = ?. 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. 543 * </p> 544 * 545 * @param groupId the group 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 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 549 * @return the ordered range of matching bookmarks entries 550 * @throws SystemException if a system exception occurred 551 */ 552 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId( 553 long groupId, int start, int end, 554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 555 throws com.liferay.portal.kernel.exception.SystemException; 556 557 /** 558 * Returns the first bookmarks entry in the ordered set where groupId = ?. 559 * 560 * @param groupId the group ID 561 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 562 * @return the first matching bookmarks entry 563 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 564 * @throws SystemException if a system exception occurred 565 */ 566 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First( 567 long groupId, 568 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 569 throws com.liferay.portal.kernel.exception.SystemException, 570 com.liferay.portlet.bookmarks.NoSuchEntryException; 571 572 /** 573 * Returns the first bookmarks entry in the ordered set where groupId = ?. 574 * 575 * @param groupId the group ID 576 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 577 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 578 * @throws SystemException if a system exception occurred 579 */ 580 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByGroupId_First( 581 long groupId, 582 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 583 throws com.liferay.portal.kernel.exception.SystemException; 584 585 /** 586 * Returns the last bookmarks entry in the ordered set where groupId = ?. 587 * 588 * @param groupId the group ID 589 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 590 * @return the last matching bookmarks entry 591 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 592 * @throws SystemException if a system exception occurred 593 */ 594 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last( 595 long groupId, 596 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 597 throws com.liferay.portal.kernel.exception.SystemException, 598 com.liferay.portlet.bookmarks.NoSuchEntryException; 599 600 /** 601 * Returns the last bookmarks entry in the ordered set where groupId = ?. 602 * 603 * @param groupId the group ID 604 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 605 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 606 * @throws SystemException if a system exception occurred 607 */ 608 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByGroupId_Last( 609 long groupId, 610 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 611 throws com.liferay.portal.kernel.exception.SystemException; 612 613 /** 614 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ?. 615 * 616 * @param entryId the primary key of the current bookmarks entry 617 * @param groupId the group ID 618 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 619 * @return the previous, current, and next bookmarks entry 620 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 621 * @throws SystemException if a system exception occurred 622 */ 623 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext( 624 long entryId, long groupId, 625 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 626 throws com.liferay.portal.kernel.exception.SystemException, 627 com.liferay.portlet.bookmarks.NoSuchEntryException; 628 629 /** 630 * Returns all the bookmarks entries that the user has permission to view where groupId = ?. 631 * 632 * @param groupId the group ID 633 * @return the matching bookmarks entries that the user has permission to view 634 * @throws SystemException if a system exception occurred 635 */ 636 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId( 637 long groupId) 638 throws com.liferay.portal.kernel.exception.SystemException; 639 640 /** 641 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ?. 642 * 643 * <p> 644 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 645 * </p> 646 * 647 * @param groupId the group ID 648 * @param start the lower bound of the range of bookmarks entries 649 * @param end the upper bound of the range of bookmarks entries (not inclusive) 650 * @return the range of matching bookmarks entries that the user has permission to view 651 * @throws SystemException if a system exception occurred 652 */ 653 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId( 654 long groupId, int start, int end) 655 throws com.liferay.portal.kernel.exception.SystemException; 656 657 /** 658 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ?. 659 * 660 * <p> 661 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 662 * </p> 663 * 664 * @param groupId the group ID 665 * @param start the lower bound of the range of bookmarks entries 666 * @param end the upper bound of the range of bookmarks entries (not inclusive) 667 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 668 * @return the ordered range of matching bookmarks entries that the user has permission to view 669 * @throws SystemException if a system exception occurred 670 */ 671 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId( 672 long groupId, int start, int end, 673 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 674 throws com.liferay.portal.kernel.exception.SystemException; 675 676 /** 677 * 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 = ?. 678 * 679 * @param entryId the primary key of the current bookmarks entry 680 * @param groupId the group ID 681 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 682 * @return the previous, current, and next bookmarks entry 683 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 684 * @throws SystemException if a system exception occurred 685 */ 686 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByGroupId_PrevAndNext( 687 long entryId, long groupId, 688 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 689 throws com.liferay.portal.kernel.exception.SystemException, 690 com.liferay.portlet.bookmarks.NoSuchEntryException; 691 692 /** 693 * Returns all the bookmarks entries where groupId = ? and userId = ?. 694 * 695 * @param groupId the group ID 696 * @param userId the user ID 697 * @return the matching bookmarks entries 698 * @throws SystemException if a system exception occurred 699 */ 700 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U( 701 long groupId, long userId) 702 throws com.liferay.portal.kernel.exception.SystemException; 703 704 /** 705 * Returns a range of all the bookmarks entries where groupId = ? and userId = ?. 706 * 707 * <p> 708 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 709 * </p> 710 * 711 * @param groupId the group ID 712 * @param userId the user ID 713 * @param start the lower bound of the range of bookmarks entries 714 * @param end the upper bound of the range of bookmarks entries (not inclusive) 715 * @return the range of matching bookmarks entries 716 * @throws SystemException if a system exception occurred 717 */ 718 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U( 719 long groupId, long userId, int start, int end) 720 throws com.liferay.portal.kernel.exception.SystemException; 721 722 /** 723 * Returns an ordered range of all the bookmarks entries where groupId = ? and userId = ?. 724 * 725 * <p> 726 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 727 * </p> 728 * 729 * @param groupId the group ID 730 * @param userId the user ID 731 * @param start the lower bound of the range of bookmarks entries 732 * @param end the upper bound of the range of bookmarks entries (not inclusive) 733 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 734 * @return the ordered range of matching bookmarks entries 735 * @throws SystemException if a system exception occurred 736 */ 737 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U( 738 long groupId, long userId, int start, int end, 739 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 740 throws com.liferay.portal.kernel.exception.SystemException; 741 742 /** 743 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ?. 744 * 745 * @param groupId the group ID 746 * @param userId the user ID 747 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 748 * @return the first matching bookmarks entry 749 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 750 * @throws SystemException if a system exception occurred 751 */ 752 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First( 753 long groupId, long userId, 754 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 755 throws com.liferay.portal.kernel.exception.SystemException, 756 com.liferay.portlet.bookmarks.NoSuchEntryException; 757 758 /** 759 * Returns the first bookmarks entry in the ordered set where groupId = ? and userId = ?. 760 * 761 * @param groupId the group ID 762 * @param userId the user ID 763 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 764 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 765 * @throws SystemException if a system exception occurred 766 */ 767 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_First( 768 long groupId, long userId, 769 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 770 throws com.liferay.portal.kernel.exception.SystemException; 771 772 /** 773 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ?. 774 * 775 * @param groupId the group ID 776 * @param userId the user ID 777 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 778 * @return the last matching bookmarks entry 779 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 780 * @throws SystemException if a system exception occurred 781 */ 782 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last( 783 long groupId, long userId, 784 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 785 throws com.liferay.portal.kernel.exception.SystemException, 786 com.liferay.portlet.bookmarks.NoSuchEntryException; 787 788 /** 789 * Returns the last bookmarks entry in the ordered set where groupId = ? and userId = ?. 790 * 791 * @param groupId the group ID 792 * @param userId the user ID 793 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 794 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 795 * @throws SystemException if a system exception occurred 796 */ 797 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_U_Last( 798 long groupId, long userId, 799 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 800 throws com.liferay.portal.kernel.exception.SystemException; 801 802 /** 803 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ?. 804 * 805 * @param entryId the primary key of the current bookmarks entry 806 * @param groupId the group ID 807 * @param userId the user ID 808 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 809 * @return the previous, current, and next bookmarks entry 810 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 811 * @throws SystemException if a system exception occurred 812 */ 813 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext( 814 long entryId, long groupId, long userId, 815 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 816 throws com.liferay.portal.kernel.exception.SystemException, 817 com.liferay.portlet.bookmarks.NoSuchEntryException; 818 819 /** 820 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and userId = ?. 821 * 822 * @param groupId the group ID 823 * @param userId the user ID 824 * @return the matching bookmarks entries that the user has permission to view 825 * @throws SystemException if a system exception occurred 826 */ 827 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U( 828 long groupId, long userId) 829 throws com.liferay.portal.kernel.exception.SystemException; 830 831 /** 832 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and userId = ?. 833 * 834 * <p> 835 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 836 * </p> 837 * 838 * @param groupId the group ID 839 * @param userId the user ID 840 * @param start the lower bound of the range of bookmarks entries 841 * @param end the upper bound of the range of bookmarks entries (not inclusive) 842 * @return the range of matching bookmarks entries that the user has permission to view 843 * @throws SystemException if a system exception occurred 844 */ 845 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U( 846 long groupId, long userId, int start, int end) 847 throws com.liferay.portal.kernel.exception.SystemException; 848 849 /** 850 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and userId = ?. 851 * 852 * <p> 853 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 854 * </p> 855 * 856 * @param groupId the group ID 857 * @param userId the user ID 858 * @param start the lower bound of the range of bookmarks entries 859 * @param end the upper bound of the range of bookmarks entries (not inclusive) 860 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 861 * @return the ordered range of matching bookmarks entries that the user has permission to view 862 * @throws SystemException if a system exception occurred 863 */ 864 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U( 865 long groupId, long userId, int start, int end, 866 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * 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 = ?. 871 * 872 * @param entryId the primary key of the current bookmarks entry 873 * @param groupId the group ID 874 * @param userId the user ID 875 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 876 * @return the previous, current, and next bookmarks entry 877 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 878 * @throws SystemException if a system exception occurred 879 */ 880 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_U_PrevAndNext( 881 long entryId, long groupId, long userId, 882 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 883 throws com.liferay.portal.kernel.exception.SystemException, 884 com.liferay.portlet.bookmarks.NoSuchEntryException; 885 886 /** 887 * Returns all the bookmarks entries where groupId = ? and folderId = ?. 888 * 889 * @param groupId the group ID 890 * @param folderId the folder ID 891 * @return the matching bookmarks entries 892 * @throws SystemException if a system exception occurred 893 */ 894 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 895 long groupId, long folderId) 896 throws com.liferay.portal.kernel.exception.SystemException; 897 898 /** 899 * Returns a range of all the bookmarks entries where groupId = ? and folderId = ?. 900 * 901 * <p> 902 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 903 * </p> 904 * 905 * @param groupId the group ID 906 * @param folderId the folder ID 907 * @param start the lower bound of the range of bookmarks entries 908 * @param end the upper bound of the range of bookmarks entries (not inclusive) 909 * @return the range of matching bookmarks entries 910 * @throws SystemException if a system exception occurred 911 */ 912 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 913 long groupId, long folderId, int start, int end) 914 throws com.liferay.portal.kernel.exception.SystemException; 915 916 /** 917 * Returns an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. 918 * 919 * <p> 920 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 921 * </p> 922 * 923 * @param groupId the group ID 924 * @param folderId the folder ID 925 * @param start the lower bound of the range of bookmarks entries 926 * @param end the upper bound of the range of bookmarks entries (not inclusive) 927 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 928 * @return the ordered range of matching bookmarks entries 929 * @throws SystemException if a system exception occurred 930 */ 931 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 932 long groupId, long folderId, int start, int end, 933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 934 throws com.liferay.portal.kernel.exception.SystemException; 935 936 /** 937 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 938 * 939 * @param groupId the group ID 940 * @param folderId the folder ID 941 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 942 * @return the first matching bookmarks entry 943 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 944 * @throws SystemException if a system exception occurred 945 */ 946 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First( 947 long groupId, long folderId, 948 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 949 throws com.liferay.portal.kernel.exception.SystemException, 950 com.liferay.portlet.bookmarks.NoSuchEntryException; 951 952 /** 953 * Returns the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 954 * 955 * @param groupId the group ID 956 * @param folderId the folder ID 957 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 958 * @return the first matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 959 * @throws SystemException if a system exception occurred 960 */ 961 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_First( 962 long groupId, long folderId, 963 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 964 throws com.liferay.portal.kernel.exception.SystemException; 965 966 /** 967 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 968 * 969 * @param groupId the group ID 970 * @param folderId the folder ID 971 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 972 * @return the last matching bookmarks entry 973 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 974 * @throws SystemException if a system exception occurred 975 */ 976 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last( 977 long groupId, long folderId, 978 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 979 throws com.liferay.portal.kernel.exception.SystemException, 980 com.liferay.portlet.bookmarks.NoSuchEntryException; 981 982 /** 983 * Returns the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 984 * 985 * @param groupId the group ID 986 * @param folderId the folder ID 987 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 988 * @return the last matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 989 * @throws SystemException if a system exception occurred 990 */ 991 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByG_F_Last( 992 long groupId, long folderId, 993 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 994 throws com.liferay.portal.kernel.exception.SystemException; 995 996 /** 997 * Returns the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ?. 998 * 999 * @param entryId the primary key of the current bookmarks entry 1000 * @param groupId the group ID 1001 * @param folderId the folder ID 1002 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1003 * @return the previous, current, and next bookmarks entry 1004 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1005 * @throws SystemException if a system exception occurred 1006 */ 1007 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext( 1008 long entryId, long groupId, long folderId, 1009 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1010 throws com.liferay.portal.kernel.exception.SystemException, 1011 com.liferay.portlet.bookmarks.NoSuchEntryException; 1012 1013 /** 1014 * Returns all the bookmarks entries where groupId = ? and folderId = any ?. 1015 * 1016 * <p> 1017 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1018 * </p> 1019 * 1020 * @param groupId the group ID 1021 * @param folderIds the folder IDs 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_F( 1026 long groupId, long[] folderIds) 1027 throws com.liferay.portal.kernel.exception.SystemException; 1028 1029 /** 1030 * Returns a range of all the bookmarks entries where groupId = ? and folderId = any ?. 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. 1034 * </p> 1035 * 1036 * @param groupId the group ID 1037 * @param folderIds the folder IDs 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_F( 1044 long groupId, long[] folderIds, 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 folderId = any ?. 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. 1052 * </p> 1053 * 1054 * @param groupId the group ID 1055 * @param folderIds the folder IDs 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_F( 1063 long groupId, long[] folderIds, int start, int end, 1064 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1065 throws com.liferay.portal.kernel.exception.SystemException; 1066 1067 /** 1068 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 1069 * 1070 * @param groupId the group ID 1071 * @param folderId the folder ID 1072 * @return the matching bookmarks entries that the user has permission to view 1073 * @throws SystemException if a system exception occurred 1074 */ 1075 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 1076 long groupId, long folderId) 1077 throws com.liferay.portal.kernel.exception.SystemException; 1078 1079 /** 1080 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 1081 * 1082 * <p> 1083 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1084 * </p> 1085 * 1086 * @param groupId the group ID 1087 * @param folderId the folder ID 1088 * @param start the lower bound of the range of bookmarks entries 1089 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1090 * @return the range of matching bookmarks entries that the user has permission to view 1091 * @throws SystemException if a system exception occurred 1092 */ 1093 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 1094 long groupId, long folderId, int start, int end) 1095 throws com.liferay.portal.kernel.exception.SystemException; 1096 1097 /** 1098 * Returns an ordered range of all the bookmarks entries that the user has permissions to view where groupId = ? and folderId = ?. 1099 * 1100 * <p> 1101 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1102 * </p> 1103 * 1104 * @param groupId the group ID 1105 * @param folderId the folder ID 1106 * @param start the lower bound of the range of bookmarks entries 1107 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1108 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1109 * @return the ordered range of matching bookmarks entries that the user has permission to view 1110 * @throws SystemException if a system exception occurred 1111 */ 1112 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 1113 long groupId, long folderId, int start, int end, 1114 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1115 throws com.liferay.portal.kernel.exception.SystemException; 1116 1117 /** 1118 * 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 = ?. 1119 * 1120 * @param entryId the primary key of the current bookmarks entry 1121 * @param groupId the group ID 1122 * @param folderId the folder ID 1123 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1124 * @return the previous, current, and next bookmarks entry 1125 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 1126 * @throws SystemException if a system exception occurred 1127 */ 1128 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] filterFindByG_F_PrevAndNext( 1129 long entryId, long groupId, long folderId, 1130 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1131 throws com.liferay.portal.kernel.exception.SystemException, 1132 com.liferay.portlet.bookmarks.NoSuchEntryException; 1133 1134 /** 1135 * Returns all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 1136 * 1137 * @param groupId the group ID 1138 * @param folderIds the folder IDs 1139 * @return the matching bookmarks entries that the user has permission to view 1140 * @throws SystemException if a system exception occurred 1141 */ 1142 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 1143 long groupId, long[] folderIds) 1144 throws com.liferay.portal.kernel.exception.SystemException; 1145 1146 /** 1147 * Returns a range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 1148 * 1149 * <p> 1150 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1151 * </p> 1152 * 1153 * @param groupId the group ID 1154 * @param folderIds the folder IDs 1155 * @param start the lower bound of the range of bookmarks entries 1156 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1157 * @return the range of matching bookmarks entries that the user has permission to view 1158 * @throws SystemException if a system exception occurred 1159 */ 1160 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 1161 long groupId, long[] folderIds, int start, int end) 1162 throws com.liferay.portal.kernel.exception.SystemException; 1163 1164 /** 1165 * Returns an ordered range of all the bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 1166 * 1167 * <p> 1168 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1169 * </p> 1170 * 1171 * @param groupId the group ID 1172 * @param folderIds the folder IDs 1173 * @param start the lower bound of the range of bookmarks entries 1174 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1175 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1176 * @return the ordered range of matching bookmarks entries that the user has permission to view 1177 * @throws SystemException if a system exception occurred 1178 */ 1179 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 1180 long groupId, long[] folderIds, int start, int end, 1181 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1182 throws com.liferay.portal.kernel.exception.SystemException; 1183 1184 /** 1185 * Returns all the bookmarks entries. 1186 * 1187 * @return the bookmarks entries 1188 * @throws SystemException if a system exception occurred 1189 */ 1190 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll() 1191 throws com.liferay.portal.kernel.exception.SystemException; 1192 1193 /** 1194 * Returns a range of all the bookmarks entries. 1195 * 1196 * <p> 1197 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1198 * </p> 1199 * 1200 * @param start the lower bound of the range of bookmarks entries 1201 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1202 * @return the range of bookmarks entries 1203 * @throws SystemException if a system exception occurred 1204 */ 1205 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 1206 int start, int end) 1207 throws com.liferay.portal.kernel.exception.SystemException; 1208 1209 /** 1210 * Returns an ordered range of all the bookmarks entries. 1211 * 1212 * <p> 1213 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1214 * </p> 1215 * 1216 * @param start the lower bound of the range of bookmarks entries 1217 * @param end the upper bound of the range of bookmarks entries (not inclusive) 1218 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1219 * @return the ordered range of bookmarks entries 1220 * @throws SystemException if a system exception occurred 1221 */ 1222 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 1223 int start, int end, 1224 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1225 throws com.liferay.portal.kernel.exception.SystemException; 1226 1227 /** 1228 * Removes all the bookmarks entries where resourceBlockId = ? from the database. 1229 * 1230 * @param resourceBlockId the resource block ID 1231 * @throws SystemException if a system exception occurred 1232 */ 1233 public void removeByResourceBlockId(long resourceBlockId) 1234 throws com.liferay.portal.kernel.exception.SystemException; 1235 1236 /** 1237 * Removes all the bookmarks entries where uuid = ? from the database. 1238 * 1239 * @param uuid the uuid 1240 * @throws SystemException if a system exception occurred 1241 */ 1242 public void removeByUuid(java.lang.String uuid) 1243 throws com.liferay.portal.kernel.exception.SystemException; 1244 1245 /** 1246 * Removes the bookmarks entry where uuid = ? and groupId = ? from the database. 1247 * 1248 * @param uuid the uuid 1249 * @param groupId the group ID 1250 * @return the bookmarks entry that was removed 1251 * @throws SystemException if a system exception occurred 1252 */ 1253 public com.liferay.portlet.bookmarks.model.BookmarksEntry removeByUUID_G( 1254 java.lang.String uuid, long groupId) 1255 throws com.liferay.portal.kernel.exception.SystemException, 1256 com.liferay.portlet.bookmarks.NoSuchEntryException; 1257 1258 /** 1259 * Removes all the bookmarks entries where uuid = ? and companyId = ? from the database. 1260 * 1261 * @param uuid the uuid 1262 * @param companyId the company ID 1263 * @throws SystemException if a system exception occurred 1264 */ 1265 public void removeByUuid_C(java.lang.String uuid, long companyId) 1266 throws com.liferay.portal.kernel.exception.SystemException; 1267 1268 /** 1269 * Removes all the bookmarks entries where groupId = ? from the database. 1270 * 1271 * @param groupId the group ID 1272 * @throws SystemException if a system exception occurred 1273 */ 1274 public void removeByGroupId(long groupId) 1275 throws com.liferay.portal.kernel.exception.SystemException; 1276 1277 /** 1278 * Removes all the bookmarks entries where groupId = ? and userId = ? from the database. 1279 * 1280 * @param groupId the group ID 1281 * @param userId the user ID 1282 * @throws SystemException if a system exception occurred 1283 */ 1284 public void removeByG_U(long groupId, long userId) 1285 throws com.liferay.portal.kernel.exception.SystemException; 1286 1287 /** 1288 * Removes all the bookmarks entries where groupId = ? and folderId = ? from the database. 1289 * 1290 * @param groupId the group ID 1291 * @param folderId the folder ID 1292 * @throws SystemException if a system exception occurred 1293 */ 1294 public void removeByG_F(long groupId, long folderId) 1295 throws com.liferay.portal.kernel.exception.SystemException; 1296 1297 /** 1298 * Removes all the bookmarks entries from the database. 1299 * 1300 * @throws SystemException if a system exception occurred 1301 */ 1302 public void removeAll() 1303 throws com.liferay.portal.kernel.exception.SystemException; 1304 1305 /** 1306 * Returns the number of bookmarks entries where resourceBlockId = ?. 1307 * 1308 * @param resourceBlockId the resource block ID 1309 * @return the number of matching bookmarks entries 1310 * @throws SystemException if a system exception occurred 1311 */ 1312 public int countByResourceBlockId(long resourceBlockId) 1313 throws com.liferay.portal.kernel.exception.SystemException; 1314 1315 /** 1316 * Returns the number of bookmarks entries where uuid = ?. 1317 * 1318 * @param uuid the uuid 1319 * @return the number of matching bookmarks entries 1320 * @throws SystemException if a system exception occurred 1321 */ 1322 public int countByUuid(java.lang.String uuid) 1323 throws com.liferay.portal.kernel.exception.SystemException; 1324 1325 /** 1326 * Returns the number of bookmarks entries where uuid = ? and groupId = ?. 1327 * 1328 * @param uuid the uuid 1329 * @param groupId the group ID 1330 * @return the number of matching bookmarks entries 1331 * @throws SystemException if a system exception occurred 1332 */ 1333 public int countByUUID_G(java.lang.String uuid, long groupId) 1334 throws com.liferay.portal.kernel.exception.SystemException; 1335 1336 /** 1337 * Returns the number of bookmarks entries where uuid = ? and companyId = ?. 1338 * 1339 * @param uuid the uuid 1340 * @param companyId the company ID 1341 * @return the number of matching bookmarks entries 1342 * @throws SystemException if a system exception occurred 1343 */ 1344 public int countByUuid_C(java.lang.String uuid, long companyId) 1345 throws com.liferay.portal.kernel.exception.SystemException; 1346 1347 /** 1348 * Returns the number of bookmarks entries where groupId = ?. 1349 * 1350 * @param groupId the group ID 1351 * @return the number of matching bookmarks entries 1352 * @throws SystemException if a system exception occurred 1353 */ 1354 public int countByGroupId(long groupId) 1355 throws com.liferay.portal.kernel.exception.SystemException; 1356 1357 /** 1358 * Returns the number of bookmarks entries that the user has permission to view where groupId = ?. 1359 * 1360 * @param groupId the group ID 1361 * @return the number of matching bookmarks entries that the user has permission to view 1362 * @throws SystemException if a system exception occurred 1363 */ 1364 public int filterCountByGroupId(long groupId) 1365 throws com.liferay.portal.kernel.exception.SystemException; 1366 1367 /** 1368 * Returns the number of bookmarks entries where groupId = ? and userId = ?. 1369 * 1370 * @param groupId the group ID 1371 * @param userId the user ID 1372 * @return the number of matching bookmarks entries 1373 * @throws SystemException if a system exception occurred 1374 */ 1375 public int countByG_U(long groupId, long userId) 1376 throws com.liferay.portal.kernel.exception.SystemException; 1377 1378 /** 1379 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and userId = ?. 1380 * 1381 * @param groupId the group ID 1382 * @param userId the user ID 1383 * @return the number of matching bookmarks entries that the user has permission to view 1384 * @throws SystemException if a system exception occurred 1385 */ 1386 public int filterCountByG_U(long groupId, long userId) 1387 throws com.liferay.portal.kernel.exception.SystemException; 1388 1389 /** 1390 * Returns the number of bookmarks entries where groupId = ? and folderId = ?. 1391 * 1392 * @param groupId the group ID 1393 * @param folderId the folder ID 1394 * @return the number of matching bookmarks entries 1395 * @throws SystemException if a system exception occurred 1396 */ 1397 public int countByG_F(long groupId, long folderId) 1398 throws com.liferay.portal.kernel.exception.SystemException; 1399 1400 /** 1401 * Returns the number of bookmarks entries where groupId = ? and folderId = any ?. 1402 * 1403 * @param groupId the group ID 1404 * @param folderIds the folder IDs 1405 * @return the number of matching bookmarks entries 1406 * @throws SystemException if a system exception occurred 1407 */ 1408 public int countByG_F(long groupId, long[] folderIds) 1409 throws com.liferay.portal.kernel.exception.SystemException; 1410 1411 /** 1412 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = ?. 1413 * 1414 * @param groupId the group ID 1415 * @param folderId the folder ID 1416 * @return the number of matching bookmarks entries that the user has permission to view 1417 * @throws SystemException if a system exception occurred 1418 */ 1419 public int filterCountByG_F(long groupId, long folderId) 1420 throws com.liferay.portal.kernel.exception.SystemException; 1421 1422 /** 1423 * Returns the number of bookmarks entries that the user has permission to view where groupId = ? and folderId = any ?. 1424 * 1425 * @param groupId the group ID 1426 * @param folderIds the folder IDs 1427 * @return the number of matching bookmarks entries that the user has permission to view 1428 * @throws SystemException if a system exception occurred 1429 */ 1430 public int filterCountByG_F(long groupId, long[] folderIds) 1431 throws com.liferay.portal.kernel.exception.SystemException; 1432 1433 /** 1434 * Returns the number of bookmarks entries. 1435 * 1436 * @return the number of bookmarks entries 1437 * @throws SystemException if a system exception occurred 1438 */ 1439 public int countAll() 1440 throws com.liferay.portal.kernel.exception.SystemException; 1441 }