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