001 /** 002 * Copyright (c) 2000-2010 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 * Never modify this interface directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regnerate this interface. 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 * Caches the bookmarks entry in the entity cache if it is enabled. 036 * 037 * @param bookmarksEntry the bookmarks entry to cache 038 */ 039 public void cacheResult( 040 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry); 041 042 /** 043 * Caches the bookmarks entries in the entity cache if it is enabled. 044 * 045 * @param bookmarksEntries the bookmarks entries to cache 046 */ 047 public void cacheResult( 048 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries); 049 050 /** 051 * Creates a new bookmarks entry with the primary key. 052 * 053 * @param entryId the primary key for the new bookmarks entry 054 * @return the new bookmarks entry 055 */ 056 public com.liferay.portlet.bookmarks.model.BookmarksEntry create( 057 long entryId); 058 059 /** 060 * Removes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners. 061 * 062 * @param entryId the primary key of the bookmarks entry to remove 063 * @return the bookmarks entry that was removed 064 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 065 * @throws SystemException if a system exception occurred 066 */ 067 public com.liferay.portlet.bookmarks.model.BookmarksEntry remove( 068 long entryId) 069 throws com.liferay.portal.kernel.exception.SystemException, 070 com.liferay.portlet.bookmarks.NoSuchEntryException; 071 072 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl( 073 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry, 074 boolean merge) 075 throws com.liferay.portal.kernel.exception.SystemException; 076 077 /** 078 * Finds the bookmarks entry with the primary key or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 079 * 080 * @param entryId the primary key of the bookmarks entry to find 081 * @return the bookmarks entry 082 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 083 * @throws SystemException if a system exception occurred 084 */ 085 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey( 086 long entryId) 087 throws com.liferay.portal.kernel.exception.SystemException, 088 com.liferay.portlet.bookmarks.NoSuchEntryException; 089 090 /** 091 * Finds the bookmarks entry with the primary key or returns <code>null</code> if it could not be found. 092 * 093 * @param entryId the primary key of the bookmarks entry to find 094 * @return the bookmarks entry, or <code>null</code> if a bookmarks entry with the primary key could not be found 095 * @throws SystemException if a system exception occurred 096 */ 097 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey( 098 long entryId) 099 throws com.liferay.portal.kernel.exception.SystemException; 100 101 /** 102 * Finds all the bookmarks entries where uuid = ?. 103 * 104 * @param uuid the uuid to search with 105 * @return the matching bookmarks entries 106 * @throws SystemException if a system exception occurred 107 */ 108 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 109 java.lang.String uuid) 110 throws com.liferay.portal.kernel.exception.SystemException; 111 112 /** 113 * Finds a range of all the bookmarks entries where uuid = ?. 114 * 115 * <p> 116 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 117 * </p> 118 * 119 * @param uuid the uuid to search with 120 * @param start the lower bound of the range of bookmarks entries to return 121 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 122 * @return the range of matching bookmarks entries 123 * @throws SystemException if a system exception occurred 124 */ 125 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 126 java.lang.String uuid, int start, int end) 127 throws com.liferay.portal.kernel.exception.SystemException; 128 129 /** 130 * Finds an ordered range of all the bookmarks entries where uuid = ?. 131 * 132 * <p> 133 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 134 * </p> 135 * 136 * @param uuid the uuid to search with 137 * @param start the lower bound of the range of bookmarks entries to return 138 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 139 * @param orderByComparator the comparator to order the results by 140 * @return the ordered range of matching bookmarks entries 141 * @throws SystemException if a system exception occurred 142 */ 143 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid( 144 java.lang.String uuid, int start, int end, 145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 146 throws com.liferay.portal.kernel.exception.SystemException; 147 148 /** 149 * Finds the first bookmarks entry in the ordered set where uuid = ?. 150 * 151 * <p> 152 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 153 * </p> 154 * 155 * @param uuid the uuid to search with 156 * @param orderByComparator the comparator to order the set by 157 * @return the first matching bookmarks entry 158 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 159 * @throws SystemException if a system exception occurred 160 */ 161 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First( 162 java.lang.String uuid, 163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 164 throws com.liferay.portal.kernel.exception.SystemException, 165 com.liferay.portlet.bookmarks.NoSuchEntryException; 166 167 /** 168 * Finds the last bookmarks entry in the ordered set where uuid = ?. 169 * 170 * <p> 171 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 172 * </p> 173 * 174 * @param uuid the uuid to search with 175 * @param orderByComparator the comparator to order the set by 176 * @return the last matching bookmarks entry 177 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 178 * @throws SystemException if a system exception occurred 179 */ 180 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last( 181 java.lang.String uuid, 182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 183 throws com.liferay.portal.kernel.exception.SystemException, 184 com.liferay.portlet.bookmarks.NoSuchEntryException; 185 186 /** 187 * Finds the bookmarks entries before and after the current bookmarks entry in the ordered set where uuid = ?. 188 * 189 * <p> 190 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 191 * </p> 192 * 193 * @param entryId the primary key of the current bookmarks entry 194 * @param uuid the uuid to search with 195 * @param orderByComparator the comparator to order the set by 196 * @return the previous, current, and next bookmarks entry 197 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 198 * @throws SystemException if a system exception occurred 199 */ 200 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext( 201 long entryId, java.lang.String uuid, 202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 203 throws com.liferay.portal.kernel.exception.SystemException, 204 com.liferay.portlet.bookmarks.NoSuchEntryException; 205 206 /** 207 * Finds the bookmarks entry where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.bookmarks.NoSuchEntryException} if it could not be found. 208 * 209 * @param uuid the uuid to search with 210 * @param groupId the group id to search with 211 * @return the matching bookmarks entry 212 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 213 * @throws SystemException if a system exception occurred 214 */ 215 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G( 216 java.lang.String uuid, long groupId) 217 throws com.liferay.portal.kernel.exception.SystemException, 218 com.liferay.portlet.bookmarks.NoSuchEntryException; 219 220 /** 221 * Finds the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 222 * 223 * @param uuid the uuid to search with 224 * @param groupId the group id to search with 225 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 226 * @throws SystemException if a system exception occurred 227 */ 228 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 229 java.lang.String uuid, long groupId) 230 throws com.liferay.portal.kernel.exception.SystemException; 231 232 /** 233 * Finds the bookmarks entry where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 234 * 235 * @param uuid the uuid to search with 236 * @param groupId the group id to search with 237 * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found 238 * @throws SystemException if a system exception occurred 239 */ 240 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G( 241 java.lang.String uuid, long groupId, boolean retrieveFromCache) 242 throws com.liferay.portal.kernel.exception.SystemException; 243 244 /** 245 * Finds all the bookmarks entries where groupId = ?. 246 * 247 * @param groupId the group id to search with 248 * @return the matching bookmarks entries 249 * @throws SystemException if a system exception occurred 250 */ 251 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId( 252 long groupId) 253 throws com.liferay.portal.kernel.exception.SystemException; 254 255 /** 256 * Finds a range of all the bookmarks entries where groupId = ?. 257 * 258 * <p> 259 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 260 * </p> 261 * 262 * @param groupId the group id to search with 263 * @param start the lower bound of the range of bookmarks entries to return 264 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 265 * @return the range of matching bookmarks entries 266 * @throws SystemException if a system exception occurred 267 */ 268 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId( 269 long groupId, int start, int end) 270 throws com.liferay.portal.kernel.exception.SystemException; 271 272 /** 273 * Finds an ordered range of all the bookmarks entries where groupId = ?. 274 * 275 * <p> 276 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 277 * </p> 278 * 279 * @param groupId the group id to search with 280 * @param start the lower bound of the range of bookmarks entries to return 281 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 282 * @param orderByComparator the comparator to order the results by 283 * @return the ordered range of matching bookmarks entries 284 * @throws SystemException if a system exception occurred 285 */ 286 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId( 287 long groupId, int start, int end, 288 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 289 throws com.liferay.portal.kernel.exception.SystemException; 290 291 /** 292 * Finds the first bookmarks entry in the ordered set where groupId = ?. 293 * 294 * <p> 295 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 296 * </p> 297 * 298 * @param groupId the group id to search with 299 * @param orderByComparator the comparator to order the set by 300 * @return the first matching bookmarks entry 301 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 302 * @throws SystemException if a system exception occurred 303 */ 304 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First( 305 long groupId, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException, 308 com.liferay.portlet.bookmarks.NoSuchEntryException; 309 310 /** 311 * Finds the last bookmarks entry in the ordered set where groupId = ?. 312 * 313 * <p> 314 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 315 * </p> 316 * 317 * @param groupId the group id to search with 318 * @param orderByComparator the comparator to order the set by 319 * @return the last matching bookmarks entry 320 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException 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 findByGroupId_Last( 324 long groupId, 325 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 326 throws com.liferay.portal.kernel.exception.SystemException, 327 com.liferay.portlet.bookmarks.NoSuchEntryException; 328 329 /** 330 * Finds the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ?. 331 * 332 * <p> 333 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 334 * </p> 335 * 336 * @param entryId the primary key of the current bookmarks entry 337 * @param groupId the group id to search with 338 * @param orderByComparator the comparator to order the set by 339 * @return the previous, current, and next bookmarks entry 340 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 341 * @throws SystemException if a system exception occurred 342 */ 343 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext( 344 long entryId, long groupId, 345 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 346 throws com.liferay.portal.kernel.exception.SystemException, 347 com.liferay.portlet.bookmarks.NoSuchEntryException; 348 349 /** 350 * Filters by the user's permissions and finds all the bookmarks entries where groupId = ?. 351 * 352 * @param groupId the group id to search with 353 * @return the matching bookmarks entries that the user has permission to view 354 * @throws SystemException if a system exception occurred 355 */ 356 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId( 357 long groupId) 358 throws com.liferay.portal.kernel.exception.SystemException; 359 360 /** 361 * Filters by the user's permissions and finds a range of all the bookmarks entries where groupId = ?. 362 * 363 * <p> 364 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 365 * </p> 366 * 367 * @param groupId the group id to search with 368 * @param start the lower bound of the range of bookmarks entries to return 369 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 370 * @return the range of matching bookmarks entries that the user has permission to view 371 * @throws SystemException if a system exception occurred 372 */ 373 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId( 374 long groupId, int start, int end) 375 throws com.liferay.portal.kernel.exception.SystemException; 376 377 /** 378 * Filters by the user's permissions and finds an ordered range of all the bookmarks entries where groupId = ?. 379 * 380 * <p> 381 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 382 * </p> 383 * 384 * @param groupId the group id to search with 385 * @param start the lower bound of the range of bookmarks entries to return 386 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 387 * @param orderByComparator the comparator to order the results by 388 * @return the ordered range of matching bookmarks entries that the user has permission to view 389 * @throws SystemException if a system exception occurred 390 */ 391 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId( 392 long groupId, int start, int end, 393 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 394 throws com.liferay.portal.kernel.exception.SystemException; 395 396 /** 397 * Finds all the bookmarks entries where groupId = ? and userId = ?. 398 * 399 * @param groupId the group id to search with 400 * @param userId the user id to search with 401 * @return the matching bookmarks entries 402 * @throws SystemException if a system exception occurred 403 */ 404 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U( 405 long groupId, long userId) 406 throws com.liferay.portal.kernel.exception.SystemException; 407 408 /** 409 * Finds a range of all the bookmarks entries where groupId = ? and userId = ?. 410 * 411 * <p> 412 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 413 * </p> 414 * 415 * @param groupId the group id to search with 416 * @param userId the user id to search with 417 * @param start the lower bound of the range of bookmarks entries to return 418 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 419 * @return the range of matching bookmarks entries 420 * @throws SystemException if a system exception occurred 421 */ 422 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U( 423 long groupId, long userId, int start, int end) 424 throws com.liferay.portal.kernel.exception.SystemException; 425 426 /** 427 * Finds an ordered range of all the bookmarks entries where groupId = ? and userId = ?. 428 * 429 * <p> 430 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 431 * </p> 432 * 433 * @param groupId the group id to search with 434 * @param userId the user id to search with 435 * @param start the lower bound of the range of bookmarks entries to return 436 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 437 * @param orderByComparator the comparator to order the results by 438 * @return the ordered range of matching bookmarks entries 439 * @throws SystemException if a system exception occurred 440 */ 441 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U( 442 long groupId, long userId, int start, int end, 443 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 444 throws com.liferay.portal.kernel.exception.SystemException; 445 446 /** 447 * Finds the first bookmarks entry in the ordered set where groupId = ? and userId = ?. 448 * 449 * <p> 450 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 451 * </p> 452 * 453 * @param groupId the group id to search with 454 * @param userId the user id to search with 455 * @param orderByComparator the comparator to order the set by 456 * @return the first matching bookmarks entry 457 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 458 * @throws SystemException if a system exception occurred 459 */ 460 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First( 461 long groupId, long userId, 462 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 463 throws com.liferay.portal.kernel.exception.SystemException, 464 com.liferay.portlet.bookmarks.NoSuchEntryException; 465 466 /** 467 * Finds the last bookmarks entry in the ordered set where groupId = ? and userId = ?. 468 * 469 * <p> 470 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 471 * </p> 472 * 473 * @param groupId the group id to search with 474 * @param userId the user id to search with 475 * @param orderByComparator the comparator to order the set by 476 * @return the last matching bookmarks entry 477 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 478 * @throws SystemException if a system exception occurred 479 */ 480 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last( 481 long groupId, long userId, 482 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 483 throws com.liferay.portal.kernel.exception.SystemException, 484 com.liferay.portlet.bookmarks.NoSuchEntryException; 485 486 /** 487 * Finds the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and userId = ?. 488 * 489 * <p> 490 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 491 * </p> 492 * 493 * @param entryId the primary key of the current bookmarks entry 494 * @param groupId the group id to search with 495 * @param userId the user id to search with 496 * @param orderByComparator the comparator to order the set by 497 * @return the previous, current, and next bookmarks entry 498 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 499 * @throws SystemException if a system exception occurred 500 */ 501 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext( 502 long entryId, long groupId, long userId, 503 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 504 throws com.liferay.portal.kernel.exception.SystemException, 505 com.liferay.portlet.bookmarks.NoSuchEntryException; 506 507 /** 508 * Filters by the user's permissions and finds all the bookmarks entries where groupId = ? and userId = ?. 509 * 510 * @param groupId the group id to search with 511 * @param userId the user id to search with 512 * @return the matching bookmarks entries that the user has permission to view 513 * @throws SystemException if a system exception occurred 514 */ 515 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U( 516 long groupId, long userId) 517 throws com.liferay.portal.kernel.exception.SystemException; 518 519 /** 520 * Filters by the user's permissions and finds a range of all the bookmarks entries where groupId = ? and userId = ?. 521 * 522 * <p> 523 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 524 * </p> 525 * 526 * @param groupId the group id to search with 527 * @param userId the user id to search with 528 * @param start the lower bound of the range of bookmarks entries to return 529 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 530 * @return the range of matching bookmarks entries that the user has permission to view 531 * @throws SystemException if a system exception occurred 532 */ 533 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U( 534 long groupId, long userId, int start, int end) 535 throws com.liferay.portal.kernel.exception.SystemException; 536 537 /** 538 * Filters by the user's permissions and finds an ordered range of all the bookmarks entries where groupId = ? and userId = ?. 539 * 540 * <p> 541 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 542 * </p> 543 * 544 * @param groupId the group id to search with 545 * @param userId the user id to search with 546 * @param start the lower bound of the range of bookmarks entries to return 547 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 548 * @param orderByComparator the comparator to order the results by 549 * @return the ordered range of matching bookmarks entries that the user has permission to view 550 * @throws SystemException if a system exception occurred 551 */ 552 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U( 553 long groupId, long userId, int start, int end, 554 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 555 throws com.liferay.portal.kernel.exception.SystemException; 556 557 /** 558 * Finds all the bookmarks entries where groupId = ? and folderId = ?. 559 * 560 * @param groupId the group id to search with 561 * @param folderId the folder id to search with 562 * @return the matching bookmarks entries 563 * @throws SystemException if a system exception occurred 564 */ 565 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 566 long groupId, long folderId) 567 throws com.liferay.portal.kernel.exception.SystemException; 568 569 /** 570 * Finds a range of all the bookmarks entries where groupId = ? and folderId = ?. 571 * 572 * <p> 573 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 574 * </p> 575 * 576 * @param groupId the group id to search with 577 * @param folderId the folder id to search with 578 * @param start the lower bound of the range of bookmarks entries to return 579 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 580 * @return the range of matching bookmarks entries 581 * @throws SystemException if a system exception occurred 582 */ 583 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 584 long groupId, long folderId, int start, int end) 585 throws com.liferay.portal.kernel.exception.SystemException; 586 587 /** 588 * Finds an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. 589 * 590 * <p> 591 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 592 * </p> 593 * 594 * @param groupId the group id to search with 595 * @param folderId the folder id to search with 596 * @param start the lower bound of the range of bookmarks entries to return 597 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 598 * @param orderByComparator the comparator to order the results by 599 * @return the ordered range of matching bookmarks entries 600 * @throws SystemException if a system exception occurred 601 */ 602 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 603 long groupId, long folderId, int start, int end, 604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 605 throws com.liferay.portal.kernel.exception.SystemException; 606 607 /** 608 * Finds the first bookmarks entry in the ordered set where groupId = ? and folderId = ?. 609 * 610 * <p> 611 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 612 * </p> 613 * 614 * @param groupId the group id to search with 615 * @param folderId the folder id to search with 616 * @param orderByComparator the comparator to order the set by 617 * @return the first matching bookmarks entry 618 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 619 * @throws SystemException if a system exception occurred 620 */ 621 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First( 622 long groupId, long folderId, 623 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 624 throws com.liferay.portal.kernel.exception.SystemException, 625 com.liferay.portlet.bookmarks.NoSuchEntryException; 626 627 /** 628 * Finds the last bookmarks entry in the ordered set where groupId = ? and folderId = ?. 629 * 630 * <p> 631 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 632 * </p> 633 * 634 * @param groupId the group id to search with 635 * @param folderId the folder id to search with 636 * @param orderByComparator the comparator to order the set by 637 * @return the last matching bookmarks entry 638 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a matching bookmarks entry could not be found 639 * @throws SystemException if a system exception occurred 640 */ 641 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last( 642 long groupId, long folderId, 643 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 644 throws com.liferay.portal.kernel.exception.SystemException, 645 com.liferay.portlet.bookmarks.NoSuchEntryException; 646 647 /** 648 * Finds the bookmarks entries before and after the current bookmarks entry in the ordered set where groupId = ? and folderId = ?. 649 * 650 * <p> 651 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 652 * </p> 653 * 654 * @param entryId the primary key of the current bookmarks entry 655 * @param groupId the group id to search with 656 * @param folderId the folder id to search with 657 * @param orderByComparator the comparator to order the set by 658 * @return the previous, current, and next bookmarks entry 659 * @throws com.liferay.portlet.bookmarks.NoSuchEntryException if a bookmarks entry with the primary key could not be found 660 * @throws SystemException if a system exception occurred 661 */ 662 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext( 663 long entryId, long groupId, long folderId, 664 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 665 throws com.liferay.portal.kernel.exception.SystemException, 666 com.liferay.portlet.bookmarks.NoSuchEntryException; 667 668 /** 669 * Finds all the bookmarks entries where groupId = ? and folderId = any ?. 670 * 671 * <p> 672 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 673 * </p> 674 * 675 * @param groupId the group id to search with 676 * @param folderIds the folder ids to search with 677 * @return the matching bookmarks entries 678 * @throws SystemException if a system exception occurred 679 */ 680 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 681 long groupId, long[] folderIds) 682 throws com.liferay.portal.kernel.exception.SystemException; 683 684 /** 685 * Finds a range of all the bookmarks entries where groupId = ? and folderId = any ?. 686 * 687 * <p> 688 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 689 * </p> 690 * 691 * @param groupId the group id to search with 692 * @param folderIds the folder ids to search with 693 * @param start the lower bound of the range of bookmarks entries to return 694 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 695 * @return the range of matching bookmarks entries 696 * @throws SystemException if a system exception occurred 697 */ 698 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 699 long groupId, long[] folderIds, int start, int end) 700 throws com.liferay.portal.kernel.exception.SystemException; 701 702 /** 703 * Finds an ordered range of all the bookmarks entries where groupId = ? and folderId = any ?. 704 * 705 * <p> 706 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 707 * </p> 708 * 709 * @param groupId the group id to search with 710 * @param folderIds the folder ids to search with 711 * @param start the lower bound of the range of bookmarks entries to return 712 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 713 * @param orderByComparator the comparator to order the results by 714 * @return the ordered range of matching bookmarks entries 715 * @throws SystemException if a system exception occurred 716 */ 717 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F( 718 long groupId, long[] folderIds, int start, int end, 719 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 720 throws com.liferay.portal.kernel.exception.SystemException; 721 722 /** 723 * Filters by the user's permissions and finds all the bookmarks entries where groupId = ? and folderId = ?. 724 * 725 * @param groupId the group id to search with 726 * @param folderId the folder id to search with 727 * @return the matching bookmarks entries that the user has permission to view 728 * @throws SystemException if a system exception occurred 729 */ 730 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 731 long groupId, long folderId) 732 throws com.liferay.portal.kernel.exception.SystemException; 733 734 /** 735 * Filters by the user's permissions and finds a range of all the bookmarks entries where groupId = ? and folderId = ?. 736 * 737 * <p> 738 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 739 * </p> 740 * 741 * @param groupId the group id to search with 742 * @param folderId the folder id to search with 743 * @param start the lower bound of the range of bookmarks entries to return 744 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 745 * @return the range of matching bookmarks entries that the user has permission to view 746 * @throws SystemException if a system exception occurred 747 */ 748 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 749 long groupId, long folderId, int start, int end) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Filters by the user's permissions and finds an ordered range of all the bookmarks entries where groupId = ? and folderId = ?. 754 * 755 * <p> 756 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 757 * </p> 758 * 759 * @param groupId the group id to search with 760 * @param folderId the folder id to search with 761 * @param start the lower bound of the range of bookmarks entries to return 762 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 763 * @param orderByComparator the comparator to order the results by 764 * @return the ordered range of matching bookmarks entries that the user has permission to view 765 * @throws SystemException if a system exception occurred 766 */ 767 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 768 long groupId, long folderId, int start, int end, 769 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 770 throws com.liferay.portal.kernel.exception.SystemException; 771 772 /** 773 * Filters by the user's permissions and finds all the bookmarks entries where groupId = ? and folderId = any ?. 774 * 775 * <p> 776 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 777 * </p> 778 * 779 * @param groupId the group id to search with 780 * @param folderIds the folder ids to search with 781 * @return the matching bookmarks entries that the user has permission to view 782 * @throws SystemException if a system exception occurred 783 */ 784 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 785 long groupId, long[] folderIds) 786 throws com.liferay.portal.kernel.exception.SystemException; 787 788 /** 789 * Filters by the user's permissions and finds a range of all the bookmarks entries where groupId = ? and folderId = any ?. 790 * 791 * <p> 792 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 793 * </p> 794 * 795 * @param groupId the group id to search with 796 * @param folderIds the folder ids to search with 797 * @param start the lower bound of the range of bookmarks entries to return 798 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 799 * @return the range of matching bookmarks entries that the user has permission to view 800 * @throws SystemException if a system exception occurred 801 */ 802 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 803 long groupId, long[] folderIds, int start, int end) 804 throws com.liferay.portal.kernel.exception.SystemException; 805 806 /** 807 * Filters by the user's permissions and finds an ordered range of all the bookmarks entries where groupId = ? and folderId = any ?. 808 * 809 * <p> 810 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 811 * </p> 812 * 813 * @param groupId the group id to search with 814 * @param folderIds the folder ids to search with 815 * @param start the lower bound of the range of bookmarks entries to return 816 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 817 * @param orderByComparator the comparator to order the results by 818 * @return the ordered range of matching bookmarks entries that the user has permission to view 819 * @throws SystemException if a system exception occurred 820 */ 821 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F( 822 long groupId, long[] folderIds, int start, int end, 823 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 824 throws com.liferay.portal.kernel.exception.SystemException; 825 826 /** 827 * Finds all the bookmarks entries. 828 * 829 * @return the bookmarks entries 830 * @throws SystemException if a system exception occurred 831 */ 832 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll() 833 throws com.liferay.portal.kernel.exception.SystemException; 834 835 /** 836 * Finds a range of all the bookmarks entries. 837 * 838 * <p> 839 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 840 * </p> 841 * 842 * @param start the lower bound of the range of bookmarks entries to return 843 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 844 * @return the range of bookmarks entries 845 * @throws SystemException if a system exception occurred 846 */ 847 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 848 int start, int end) 849 throws com.liferay.portal.kernel.exception.SystemException; 850 851 /** 852 * Finds an ordered range of all the bookmarks entries. 853 * 854 * <p> 855 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 856 * </p> 857 * 858 * @param start the lower bound of the range of bookmarks entries to return 859 * @param end the upper bound of the range of bookmarks entries to return (not inclusive) 860 * @param orderByComparator the comparator to order the results by 861 * @return the ordered range of bookmarks entries 862 * @throws SystemException if a system exception occurred 863 */ 864 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll( 865 int start, int end, 866 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 867 throws com.liferay.portal.kernel.exception.SystemException; 868 869 /** 870 * Removes all the bookmarks entries where uuid = ? from the database. 871 * 872 * @param uuid the uuid to search with 873 * @throws SystemException if a system exception occurred 874 */ 875 public void removeByUuid(java.lang.String uuid) 876 throws com.liferay.portal.kernel.exception.SystemException; 877 878 /** 879 * Removes the bookmarks entry where uuid = ? and groupId = ? from the database. 880 * 881 * @param uuid the uuid to search with 882 * @param groupId the group id to search with 883 * @throws SystemException if a system exception occurred 884 */ 885 public void removeByUUID_G(java.lang.String uuid, long groupId) 886 throws com.liferay.portal.kernel.exception.SystemException, 887 com.liferay.portlet.bookmarks.NoSuchEntryException; 888 889 /** 890 * Removes all the bookmarks entries where groupId = ? from the database. 891 * 892 * @param groupId the group id to search with 893 * @throws SystemException if a system exception occurred 894 */ 895 public void removeByGroupId(long groupId) 896 throws com.liferay.portal.kernel.exception.SystemException; 897 898 /** 899 * Removes all the bookmarks entries where groupId = ? and userId = ? from the database. 900 * 901 * @param groupId the group id to search with 902 * @param userId the user id to search with 903 * @throws SystemException if a system exception occurred 904 */ 905 public void removeByG_U(long groupId, long userId) 906 throws com.liferay.portal.kernel.exception.SystemException; 907 908 /** 909 * Removes all the bookmarks entries where groupId = ? and folderId = ? from the database. 910 * 911 * @param groupId the group id to search with 912 * @param folderId the folder id to search with 913 * @throws SystemException if a system exception occurred 914 */ 915 public void removeByG_F(long groupId, long folderId) 916 throws com.liferay.portal.kernel.exception.SystemException; 917 918 /** 919 * Removes all the bookmarks entries from the database. 920 * 921 * @throws SystemException if a system exception occurred 922 */ 923 public void removeAll() 924 throws com.liferay.portal.kernel.exception.SystemException; 925 926 /** 927 * Counts all the bookmarks entries where uuid = ?. 928 * 929 * @param uuid the uuid to search with 930 * @return the number of matching bookmarks entries 931 * @throws SystemException if a system exception occurred 932 */ 933 public int countByUuid(java.lang.String uuid) 934 throws com.liferay.portal.kernel.exception.SystemException; 935 936 /** 937 * Counts all the bookmarks entries where uuid = ? and groupId = ?. 938 * 939 * @param uuid the uuid to search with 940 * @param groupId the group id to search with 941 * @return the number of matching bookmarks entries 942 * @throws SystemException if a system exception occurred 943 */ 944 public int countByUUID_G(java.lang.String uuid, long groupId) 945 throws com.liferay.portal.kernel.exception.SystemException; 946 947 /** 948 * Counts all the bookmarks entries where groupId = ?. 949 * 950 * @param groupId the group id to search with 951 * @return the number of matching bookmarks entries 952 * @throws SystemException if a system exception occurred 953 */ 954 public int countByGroupId(long groupId) 955 throws com.liferay.portal.kernel.exception.SystemException; 956 957 /** 958 * Filters by the user's permissions and counts all the bookmarks entries where groupId = ?. 959 * 960 * @param groupId the group id to search with 961 * @return the number of matching bookmarks entries that the user has permission to view 962 * @throws SystemException if a system exception occurred 963 */ 964 public int filterCountByGroupId(long groupId) 965 throws com.liferay.portal.kernel.exception.SystemException; 966 967 /** 968 * Counts all the bookmarks entries where groupId = ? and userId = ?. 969 * 970 * @param groupId the group id to search with 971 * @param userId the user id to search with 972 * @return the number of matching bookmarks entries 973 * @throws SystemException if a system exception occurred 974 */ 975 public int countByG_U(long groupId, long userId) 976 throws com.liferay.portal.kernel.exception.SystemException; 977 978 /** 979 * Filters by the user's permissions and counts all the bookmarks entries where groupId = ? and userId = ?. 980 * 981 * @param groupId the group id to search with 982 * @param userId the user id to search with 983 * @return the number of matching bookmarks entries that the user has permission to view 984 * @throws SystemException if a system exception occurred 985 */ 986 public int filterCountByG_U(long groupId, long userId) 987 throws com.liferay.portal.kernel.exception.SystemException; 988 989 /** 990 * Counts all the bookmarks entries where groupId = ? and folderId = ?. 991 * 992 * @param groupId the group id to search with 993 * @param folderId the folder id to search with 994 * @return the number of matching bookmarks entries 995 * @throws SystemException if a system exception occurred 996 */ 997 public int countByG_F(long groupId, long folderId) 998 throws com.liferay.portal.kernel.exception.SystemException; 999 1000 /** 1001 * Counts all the bookmarks entries where groupId = ? and folderId = any ?. 1002 * 1003 * @param groupId the group id to search with 1004 * @param folderIds the folder ids to search with 1005 * @return the number of matching bookmarks entries 1006 * @throws SystemException if a system exception occurred 1007 */ 1008 public int countByG_F(long groupId, long[] folderIds) 1009 throws com.liferay.portal.kernel.exception.SystemException; 1010 1011 /** 1012 * Filters by the user's permissions and counts all the bookmarks entries where groupId = ? and folderId = ?. 1013 * 1014 * @param groupId the group id to search with 1015 * @param folderId the folder id to search with 1016 * @return the number of matching bookmarks entries that the user has permission to view 1017 * @throws SystemException if a system exception occurred 1018 */ 1019 public int filterCountByG_F(long groupId, long folderId) 1020 throws com.liferay.portal.kernel.exception.SystemException; 1021 1022 /** 1023 * Filters by the user's permissions and counts all the bookmarks entries where groupId = ? and folderId = any ?. 1024 * 1025 * @param groupId the group id to search with 1026 * @param folderIds the folder ids to search with 1027 * @return the number of matching bookmarks entries that the user has permission to view 1028 * @throws SystemException if a system exception occurred 1029 */ 1030 public int filterCountByG_F(long groupId, long[] folderIds) 1031 throws com.liferay.portal.kernel.exception.SystemException; 1032 1033 /** 1034 * Counts all the bookmarks entries. 1035 * 1036 * @return the number of bookmarks entries 1037 * @throws SystemException if a system exception occurred 1038 */ 1039 public int countAll() 1040 throws com.liferay.portal.kernel.exception.SystemException; 1041 }