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