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